[INFO] fetching crate scancode-rust 0.0.4... [INFO] testing scancode-rust-0.0.4 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate scancode-rust 0.0.4 into /workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate scancode-rust 0.0.4 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc_version_runtime v0.3.0 [INFO] [stderr] Downloaded packageurl v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a6d1e9aa80361fc29f8cc7d2236968053520c8a00da0a9cf6ef3550a91dcd4d [INFO] running `Command { std: "docker" "start" "-a" "1a6d1e9aa80361fc29f8cc7d2236968053520c8a00da0a9cf6ef3550a91dcd4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a6d1e9aa80361fc29f8cc7d2236968053520c8a00da0a9cf6ef3550a91dcd4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a6d1e9aa80361fc29f8cc7d2236968053520c8a00da0a9cf6ef3550a91dcd4d", kill_on_drop: false }` [INFO] [stdout] 1a6d1e9aa80361fc29f8cc7d2236968053520c8a00da0a9cf6ef3550a91dcd4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ef0492253d771f817a8ad04abcd66a8346d82dea275fdb320bc93819282feaa7 [INFO] running `Command { std: "docker" "start" "-a" "ef0492253d771f817a8ad04abcd66a8346d82dea275fdb320bc93819282feaa7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling num-traits v0.2.19 [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 anstyle-parse v0.2.6 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling toml_write v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling clap_builder v4.5.38 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling regex-automata v0.4.9 [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 include_dir_macros v0.7.4 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling darling_macro v0.20.11 [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 darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling packageurl v0.4.2 [INFO] [stderr] Compiling clap v4.5.38 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_builder v0.20.2 [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 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: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 199 | pub fn scan(&self, text: &TextData) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/askalono/strategy.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | fn scan_elimination(&self, text: &TextData) -> ScanResult { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 206 | fn scan_elimination(&self, text: &TextData) -> ScanResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/askalono/strategy.rs:273:21 [INFO] [stdout] | [INFO] [stdout] 273 | fn scan_topdown(&self, text: &TextData) -> ScanResult { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 273 | fn scan_topdown(&self, text: &TextData) -> ScanResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/askalono/strategy.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 302 | ) -> Option { [INFO] [stdout] | --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 302 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 199 | pub fn scan(&self, text: &TextData) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/askalono/strategy.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | fn scan_elimination(&self, text: &TextData) -> ScanResult { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 206 | fn scan_elimination(&self, text: &TextData) -> ScanResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/askalono/strategy.rs:273:21 [INFO] [stdout] | [INFO] [stdout] 273 | fn scan_topdown(&self, text: &TextData) -> ScanResult { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 273 | fn scan_topdown(&self, text: &TextData) -> ScanResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/askalono/strategy.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 302 | ) -> Option { [INFO] [stdout] | --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 302 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 30s [INFO] running `Command { std: "docker" "inspect" "ef0492253d771f817a8ad04abcd66a8346d82dea275fdb320bc93819282feaa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef0492253d771f817a8ad04abcd66a8346d82dea275fdb320bc93819282feaa7", kill_on_drop: false }` [INFO] [stdout] ef0492253d771f817a8ad04abcd66a8346d82dea275fdb320bc93819282feaa7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 431055e551b838b1cf53f6770eb6f94fd441632bfb70beb3d58aa64d143b3261 [INFO] running `Command { std: "docker" "start" "-a" "431055e551b838b1cf53f6770eb6f94fd441632bfb70beb3d58aa64d143b3261", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling jiff v0.2.13 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling scancode-rust v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 199 | pub fn scan(&self, text: &TextData) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/askalono/strategy.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | fn scan_elimination(&self, text: &TextData) -> ScanResult { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 206 | fn scan_elimination(&self, text: &TextData) -> ScanResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/askalono/strategy.rs:273:21 [INFO] [stdout] | [INFO] [stdout] 273 | fn scan_topdown(&self, text: &TextData) -> ScanResult { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 273 | fn scan_topdown(&self, text: &TextData) -> ScanResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/askalono/strategy.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 302 | ) -> Option { [INFO] [stdout] | --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 302 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 199 | pub fn scan(&self, text: &TextData) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/askalono/strategy.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | fn scan_elimination(&self, text: &TextData) -> ScanResult { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 206 | fn scan_elimination(&self, text: &TextData) -> ScanResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/askalono/strategy.rs:273:21 [INFO] [stdout] | [INFO] [stdout] 273 | fn scan_topdown(&self, text: &TextData) -> ScanResult { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 273 | fn scan_topdown(&self, text: &TextData) -> ScanResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/askalono/strategy.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 302 | ) -> Option { [INFO] [stdout] | --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 302 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 199 | pub fn scan(&self, text: &TextData) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/askalono/strategy.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | fn scan_elimination(&self, text: &TextData) -> ScanResult { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 206 | fn scan_elimination(&self, text: &TextData) -> ScanResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/askalono/strategy.rs:273:21 [INFO] [stdout] | [INFO] [stdout] 273 | fn scan_topdown(&self, text: &TextData) -> ScanResult { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 273 | fn scan_topdown(&self, text: &TextData) -> ScanResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/askalono/strategy.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 302 | ) -> Option { [INFO] [stdout] | --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 302 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 19.73s [INFO] running `Command { std: "docker" "inspect" "431055e551b838b1cf53f6770eb6f94fd441632bfb70beb3d58aa64d143b3261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "431055e551b838b1cf53f6770eb6f94fd441632bfb70beb3d58aa64d143b3261", kill_on_drop: false }` [INFO] [stdout] 431055e551b838b1cf53f6770eb6f94fd441632bfb70beb3d58aa64d143b3261 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 225f58582d0e90730011796bca25307da5cbc658311fc15aad3493c6ee2bdb63 [INFO] running `Command { std: "docker" "start" "-a" "225f58582d0e90730011796bca25307da5cbc658311fc15aad3493c6ee2bdb63", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 199 | pub fn scan(&self, text: &TextData) -> Result, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/askalono/strategy.rs:206:25 [INFO] [stderr] | [INFO] [stderr] 206 | fn scan_elimination(&self, text: &TextData) -> ScanResult { [INFO] [stderr] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 206 | fn scan_elimination(&self, text: &TextData) -> ScanResult<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/askalono/strategy.rs:273:21 [INFO] [stderr] | [INFO] [stderr] 273 | fn scan_topdown(&self, text: &TextData) -> ScanResult { [INFO] [stderr] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 273 | fn scan_topdown(&self, text: &TextData) -> ScanResult<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/askalono/strategy.rs:299:9 [INFO] [stderr] | [INFO] [stderr] 299 | &self, [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 302 | ) -> Option { [INFO] [stderr] | --------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/scancode_rust-9fdc847c9afd7104) [INFO] [stdout] [INFO] [stdout] running 35 tests [INFO] [stdout] test askalono::ngram::tests::no_nan ... ok [INFO] [stdout] test askalono::ngram::tests::can_construct ... ok [INFO] [stdout] test askalono::ngram::tests::identical ... 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::same_size ... 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::view_and_white_out ... 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 parsers::cargo_test::tests::test_extract_dependencies ... 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_dependencies ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_extract_with_complex_dependencies ... ok [INFO] [stdout] test askalono::license::tests::optimize_doesnt_grow_view ... ok [INFO] [stdout] test parsers::npm_test::tests::test_extract_basic_package_info ... ok [INFO] [stdout] test parsers::npm_test::tests::test_extract_different_license_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::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::npm_test::tests::test_extract_multiple_contributors ... ok [INFO] [stdout] test askalono::strategy::tests::single_optimize ... 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 askalono::strategy::tests::find_multiple_licenses_topdown ... ok [INFO] [stdout] test askalono::license::tests::optimize_bounds ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/scancode_rust-fbbb917b5e582b7d) [INFO] [stdout] test parsers::python_test::tests::test_extract_from_pyproject_toml ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [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::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::no_nan ... ok [INFO] [stdout] test askalono::preproc::tests::normalize_no_line_mangle ... ok [INFO] [stdout] test askalono::license::tests::match_small ... ok [INFO] [stdout] test askalono::license::tests::view_and_white_out ... ok [INFO] [stdout] test askalono::license::tests::match_empty ... ok [INFO] [stdout] test askalono::strategy::tests::shallow_scan ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_empty_or_invalid_cargo_toml ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_extract_dependencies ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_is_match ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_extract_basic_package_info ... ok [INFO] [stdout] test parsers::npm_test::tests::test_extract_basic_package_info ... 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_dependencies ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_extract_with_complex_dependencies ... ok [INFO] [stdout] test askalono::license::tests::optimize_doesnt_grow_view ... ok [INFO] [stdout] test parsers::npm_test::tests::test_extract_multiple_contributors ... 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::npm_test::tests::test_extract_repository_formats ... ok [INFO] [stdout] test parsers::python_test::tests::test_extract_from_setup_py ... ok [INFO] [stdout] test askalono::strategy::tests::find_multiple_licenses_elimination ... ok [INFO] [stdout] test askalono::strategy::tests::single_optimize ... ok [INFO] [stdout] test askalono::license::tests::optimize_bounds ... ok [INFO] [stdout] test askalono::strategy::tests::find_multiple_licenses_topdown ... ok [INFO] [stdout] test parsers::python_test::tests::test_is_match ... ok [INFO] [stdout] test parsers::npm_test::tests::test_extract_scoped_package ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "225f58582d0e90730011796bca25307da5cbc658311fc15aad3493c6ee2bdb63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "225f58582d0e90730011796bca25307da5cbc658311fc15aad3493c6ee2bdb63", kill_on_drop: false }` [INFO] [stdout] 225f58582d0e90730011796bca25307da5cbc658311fc15aad3493c6ee2bdb63