[INFO] fetching crate sesters 0.3.2... [INFO] testing sesters-0.3.2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate sesters 0.3.2 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate sesters 0.3.2 [INFO] finished tweaking crates.io crate sesters 0.3.2 [INFO] tweaked toml for crates.io crate sesters 0.3.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sesters 0.3.2 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 sesters 0.3.2 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memchr v2.4.0 [INFO] [stderr] Downloaded directories v2.0.2 [INFO] [stderr] Downloaded arrayref v0.3.6 [INFO] [stderr] Downloaded rusqlite_migration v0.5.0 [INFO] [stderr] Downloaded anyhow v1.0.44 [INFO] [stderr] Downloaded serde_derive v1.0.130 [INFO] [stderr] Downloaded rusqlite v0.24.2 [INFO] [stderr] Downloaded itertools v0.10.1 [INFO] [stderr] Downloaded encoding-index-japanese v1.20141219.5 [INFO] [stderr] Downloaded encoding-index-korean v1.20141219.5 [INFO] [stderr] Downloaded serde_json v1.0.68 [INFO] [stderr] Downloaded encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Downloaded encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Downloaded encoding v0.2.33 [INFO] [stderr] Downloaded syn v1.0.68 [INFO] [stderr] Downloaded rustls v0.19.0 [INFO] [stderr] Downloaded regex v1.5.4 [INFO] [stderr] Downloaded ahash v0.4.7 [INFO] [stderr] Downloaded regex-syntax v0.6.25 [INFO] [stderr] Downloaded serde v1.0.130 [INFO] [stderr] Downloaded ureq v2.2.0 [INFO] [stderr] Downloaded hashlink v0.6.0 [INFO] [stderr] Downloaded dirs-sys v0.3.5 [INFO] [stderr] Downloaded encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Downloaded fallible-iterator v0.2.0 [INFO] [stderr] Downloaded confy v0.4.0 [INFO] [stderr] Downloaded libc v0.2.92 [INFO] [stderr] Downloaded redox_users v0.4.0 [INFO] [stderr] Downloaded encoding_index_tests v0.1.4 [INFO] [stderr] Downloaded serde_rusqlite v0.26.0 [INFO] [stderr] Downloaded test-case v1.2.0 [INFO] [stderr] Downloaded libsqlite3-sys v0.20.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] e6053d5d1c328b4c79d4d4943758e6c573976ae47140e0d3908ef7f6e444581f [INFO] running `Command { std: "docker" "start" "-a" "e6053d5d1c328b4c79d4d4943758e6c573976ae47140e0d3908ef7f6e444581f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6053d5d1c328b4c79d4d4943758e6c573976ae47140e0d3908ef7f6e444581f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6053d5d1c328b4c79d4d4943758e6c573976ae47140e0d3908ef7f6e444581f", kill_on_drop: false }` [INFO] [stdout] e6053d5d1c328b4c79d4d4943758e6c573976ae47140e0d3908ef7f6e444581f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 554d9e7aaec2d1b1573c1513a9f802a31168d50638caa4c907023d32e6f35c13 [INFO] running `Command { std: "docker" "start" "-a" "554d9e7aaec2d1b1573c1513a9f802a31168d50638caa4c907023d32e6f35c13", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling hashlink v0.6.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling chunked_transfer v1.4.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling directories v2.0.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling rustls v0.19.0 [INFO] [stderr] Compiling confy v0.4.0 [INFO] [stderr] Compiling ureq v2.2.0 [INFO] [stderr] Compiling rusqlite v0.24.2 [INFO] [stderr] Compiling serde_rusqlite v0.26.0 [INFO] [stderr] Compiling rusqlite_migration v0.5.0 [INFO] [stderr] Compiling sesters v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `rate` and `amount` are never read [INFO] [stdout] --> src/currency.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct ConversionError<'a, 'c, 'r> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 105 | rate: &'r Rate<'c>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 106 | amount: &'a PriceTag<'c>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConversionError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `decimal_separators` is never read [INFO] [stdout] --> src/price_format.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct PriceFormat { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 97 | decimal_separators: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PriceFormat` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/price_in_text.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 95 | currency: &'c Currency, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 98 | ) -> PriceTagMatch { [INFO] [stdout] | ------------- the lifetime gets resolved as `'c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'c` [INFO] [stdout] | [INFO] [stdout] 98 | ) -> PriceTagMatch<'c> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/price_in_text.rs:139:19 [INFO] [stdout] | [INFO] [stdout] 139 | fn find<'txt>(&self, plain_text: &'txt str) -> Vec { [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] 139 | fn find<'txt>(&self, plain_text: &'txt str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/price_in_text.rs:220:33 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn all_price_tags<'txt>(&self, plain_text: &'txt str) -> Vec { [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] 220 | pub fn all_price_tags<'txt>(&self, plain_text: &'txt str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/price_in_text.rs:228:27 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn top_price_tags(&self, n: usize, plain_text: &str) -> Vec { [INFO] [stdout] | ^^^^^ this lifetime flows to the output -------- 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] 228 | pub fn top_price_tags(&self, n: usize, plain_text: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.40s [INFO] running `Command { std: "docker" "inspect" "554d9e7aaec2d1b1573c1513a9f802a31168d50638caa4c907023d32e6f35c13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "554d9e7aaec2d1b1573c1513a9f802a31168d50638caa4c907023d32e6f35c13", kill_on_drop: false }` [INFO] [stdout] 554d9e7aaec2d1b1573c1513a9f802a31168d50638caa4c907023d32e6f35c13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] a1cd2e92b4e98005d1956e157eee86405cf87f335ff2ebf36ca03fa71385dc6f [INFO] running `Command { std: "docker" "start" "-a" "a1cd2e92b4e98005d1956e157eee86405cf87f335ff2ebf36ca03fa71385dc6f", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling test-case v1.2.0 [INFO] [stderr] Compiling sesters v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `rate` and `amount` are never read [INFO] [stdout] --> src/currency.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct ConversionError<'a, 'c, 'r> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 105 | rate: &'r Rate<'c>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 106 | amount: &'a PriceTag<'c>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConversionError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `decimal_separators` is never read [INFO] [stdout] --> src/price_format.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct PriceFormat { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 97 | decimal_separators: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PriceFormat` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/db/tests.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | &rate.cache_until().to_sql(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 78 | let _ = &rate.cache_until().to_sql(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/db/tests.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | &rates_uptodate; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 114 | let _ = &rates_uptodate; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/price_format.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | &price_format.regex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 48 | let _ = &price_format.regex; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/price_in_text.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 95 | currency: &'c Currency, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 98 | ) -> PriceTagMatch { [INFO] [stdout] | ------------- the lifetime gets resolved as `'c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'c` [INFO] [stdout] | [INFO] [stdout] 98 | ) -> PriceTagMatch<'c> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/price_in_text.rs:139:19 [INFO] [stdout] | [INFO] [stdout] 139 | fn find<'txt>(&self, plain_text: &'txt str) -> Vec { [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] 139 | fn find<'txt>(&self, plain_text: &'txt str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/price_in_text.rs:220:33 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn all_price_tags<'txt>(&self, plain_text: &'txt str) -> Vec { [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] 220 | pub fn all_price_tags<'txt>(&self, plain_text: &'txt str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/price_in_text.rs:228:27 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn top_price_tags(&self, n: usize, plain_text: &str) -> Vec { [INFO] [stdout] | ^^^^^ this lifetime flows to the output -------- 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] 228 | pub fn top_price_tags(&self, n: usize, plain_text: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.33s [INFO] running `Command { std: "docker" "inspect" "a1cd2e92b4e98005d1956e157eee86405cf87f335ff2ebf36ca03fa71385dc6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1cd2e92b4e98005d1956e157eee86405cf87f335ff2ebf36ca03fa71385dc6f", kill_on_drop: false }` [INFO] [stdout] a1cd2e92b4e98005d1956e157eee86405cf87f335ff2ebf36ca03fa71385dc6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 2235be6fc293f3c930421d9f1ec86580e724f122aff48753e681ddd8cb8eb4ac [INFO] running `Command { std: "docker" "start" "-a" "2235be6fc293f3c930421d9f1ec86580e724f122aff48753e681ddd8cb8eb4ac", kill_on_drop: false }` [INFO] [stderr] warning: fields `rate` and `amount` are never read [INFO] [stderr] --> src/currency.rs:105:5 [INFO] [stderr] | [INFO] [stderr] 104 | pub struct ConversionError<'a, 'c, 'r> { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 105 | rate: &'r Rate<'c>, [INFO] [stderr] | ^^^^ [INFO] [stderr] 106 | amount: &'a PriceTag<'c>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ConversionError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `decimal_separators` is never read [INFO] [stderr] --> src/price_format.rs:97:5 [INFO] [stderr] | [INFO] [stderr] 96 | pub struct PriceFormat { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 97 | decimal_separators: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PriceFormat` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/db/tests.rs:78:9 [INFO] [stderr] | [INFO] [stderr] 78 | &rate.cache_until().to_sql(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 78 | let _ = &rate.cache_until().to_sql(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/db/tests.rs:114:9 [INFO] [stderr] | [INFO] [stderr] 114 | &rates_uptodate; [INFO] [stderr] | ^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 114 | let _ = &rates_uptodate; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/price_format.rs:48:17 [INFO] [stderr] | [INFO] [stderr] 48 | &price_format.regex; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 48 | let _ = &price_format.regex; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/price_in_text.rs:95:20 [INFO] [stderr] | [INFO] [stderr] 95 | currency: &'c Currency, [INFO] [stderr] | ^^ this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 98 | ) -> PriceTagMatch { [INFO] [stderr] | ------------- the lifetime gets resolved as `'c` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to consistently use `'c` [INFO] [stderr] | [INFO] [stderr] 98 | ) -> PriceTagMatch<'c> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/price_in_text.rs:139:19 [INFO] [stderr] | [INFO] [stderr] 139 | fn find<'txt>(&self, plain_text: &'txt str) -> Vec { [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] 139 | fn find<'txt>(&self, plain_text: &'txt str) -> Vec> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/price_in_text.rs:220:33 [INFO] [stderr] | [INFO] [stderr] 220 | pub fn all_price_tags<'txt>(&self, plain_text: &'txt str) -> Vec { [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] 220 | pub fn all_price_tags<'txt>(&self, plain_text: &'txt str) -> Vec> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/price_in_text.rs:228:27 [INFO] [stderr] | [INFO] [stderr] 228 | pub fn top_price_tags(&self, n: usize, plain_text: &str) -> Vec { [INFO] [stderr] | ^^^^^ this lifetime flows to the output -------- 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] 228 | pub fn top_price_tags(&self, n: usize, plain_text: &str) -> Vec> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `sesters` (bin "sesters" test) generated 9 warnings (run `cargo fix --bin "sesters" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/sesters-ede2724ed18f6c2f) [INFO] [stdout] [INFO] [stdout] running 74 tests [INFO] [stdout] test currency::tests::static_currency_iso ... ok [INFO] [stdout] test currency::tests::static_currency_check ... ok [INFO] [stdout] test price_format::tests::extract_number_common::_100_01_negative ... ok [INFO] [stdout] test price_format::tests::extract_number_common::_100_01_expects_100_01 ... ok [INFO] [stdout] test price_format::tests::extract_number_common::_40_000_04_expects_40_000_04 ... ok [INFO] [stdout] test price_format::tests::extract_number_common::_100_01_negative_spaced ... ok [INFO] [stdout] test price_format::tests::extract_number_common::_50_000_05_expects_50_000_05 ... ok [INFO] [stdout] test price_format::tests::extract_number_common::comma_separator_100 ... ok [INFO] [stdout] test price_format::tests::extract_number_common::_7_00_0_00_0_0_7_expects_7_000_000_07 ... ok [INFO] [stdout] test price_format::tests::extract_number_common::simple_1 ... ok [INFO] [stdout] test price_format::tests::extract_number_common::_20_000_02_expects_20_000_02 ... ok [INFO] [stdout] test price_format::tests::match_price_format::common_price_format ... ok [INFO] [stdout] test price_format::tests::extract_number_common::comma_separator_300_negative ... ok [INFO] [stdout] test price_format::tests::extract_number_common::_5_00_0_00_0_0_5_expects_5_000_000_05 ... ok [INFO] [stdout] test price_format::tests::extract_number_common::simple_1000 ... ok [INFO] [stdout] test price_format::tests::extract_number_common::simple_10 ... ok [INFO] [stdout] test price_format::tests::extract_number_common::simple_100 ... ok [INFO] [stdout] test price_format::tests::match_price_format::french_price_format ... ok [INFO] [stdout] test price_format::tests::separator_some_empty ... ok [INFO] [stdout] test price_format::tests::not_price_then_no_matches::sign_only ... ok [INFO] [stdout] test price_format::tests::match_price_format::american_price_format ... ok [INFO] [stdout] test price_format::tests::not_price_then_no_matches::letters ... ok [INFO] [stdout] test price_format::tests::not_price_then_no_matches::empty_string ... ok [INFO] [stdout] test price_in_text::tests::iso::case_sensitive_no_lowercase_iso::_12_usd_ ... ok [INFO] [stdout] test db::tests::rate_convert_back_forth_test ... ok [INFO] [stdout] test db::tests::cache_until_none_rejected_test ... ok [INFO] [stdout] test db::tests::migrations_test ... ok [INFO] [stdout] test price_in_text::tests::iso::case_sensitive_no_lowercase_iso::_eur_38_ ... ok [INFO] [stdout] test price_in_text::tests::iso::case_sensitive_no_lowercase_iso::_usd_38_ ... ok [INFO] [stdout] test price_in_text::tests::iso::case_sensitive_no_lowercase_iso::_12_eur_ ... ok [INFO] [stdout] test db::tests::uptodate_test ... ok [INFO] [stdout] test price_in_text::tests::iso::gh_issue1_ambiguous ... ok [INFO] [stdout] test price_in_text::tests::iso::gh_issue1_various_format::_eur_4_pricetag_new_eur_4_ ... ok [INFO] [stdout] test price_in_text::tests::iso::iso_eur_before ... ok [INFO] [stdout] test price_in_text::tests::iso::gh_issue1_various_format::_32_pricetag_new_eur_32_ ... ok [INFO] [stdout] test price_in_text::tests::iso::gh_issue1_various_format::_12_pricetag_new_eur_12_ ... ok [INFO] [stdout] test price_in_text::tests::iso::gh_issue1_various_format::_12_usd_pricetag_new_usd_12_ ... ok [INFO] [stdout] test price_in_text::tests::iso::iso_before_negative_amount ... ok [INFO] [stdout] test price_in_text::tests::iso::iso_before ... ok [INFO] [stdout] test price_in_text::tests::iso::iso_before_null_amount ... ok [INFO] [stdout] test price_in_text::tests::iso::iso_before_float ... ok [INFO] [stdout] test price_in_text::tests::iso::iso_none ... ok [INFO] [stdout] test price_in_text::tests::iso::iso_none_before ... ok [INFO] [stdout] test price_in_text::tests::iso::iso_empty_string ... ok [INFO] [stdout] test price_in_text::tests::iso::multiline::_1234_5678_neur_ ... ok [INFO] [stdout] test price_in_text::tests::iso::multiline::symbol_no_space ... ok [INFO] [stdout] test price_in_text::tests::iso::iso_none_after ... ok [INFO] [stdout] test price_in_text::tests::iso::multiline::price_after_percent ... ok [INFO] [stdout] test price_in_text::tests::iso::multiple_pricetags::_12_eur_10_ ... ok [INFO] [stdout] test price_in_text::tests::iso::multiline::spaced_symbol ... ok [INFO] [stdout] test price_in_text::tests::iso::spaces::_1234eur_ ... ok [INFO] [stdout] test price_in_text::tests::iso::multiline::price_before_percent ... ok [INFO] [stdout] test price_in_text::tests::iso::multiline::_some_long_text_n_lorem_ipsum_dolor_sit_amet_consectetur_adipisicing_elit_sed_do_eiusmod_tempor_incididunt_ut_labore_et_dolore_magna_aliqua_ut_enim_ad_minim_veniam_quis_nostrud_exercitation_ullamco_laboris_nisi_ut_aliquip_ex_ea_commodo_consequat_duis_aute_irure_dolor_in_reprehenderit_in_voluptate_velit_esse_cillum_dolore_eu_fugiat_nulla_pariatur_excepteur_sint_occaecat_cupidatat_non_proident_sunt_in_culpa_qui_officia_deserunt_mollit_anim_id_est_laborum_n1234_5678_neur_n_lorem_ipsum_dolor_sit_amet_consectetur_adipisicing_elit_sed_do_eiusmod_tempor_incididunt_ut_labore_et_dolore_magna_aliqua_ut_enim_ad_minim_veniam_quis_nostrud_exercitation_ullamco_laboris_nisi_ut_aliquip_ex_ea_commodo_consequat_duis_aute_irure_dolor_in_reprehenderit_in_voluptate_velit_esse_cillum_dolore_eu_fugiat_nulla_pariatur_excepteur_sint_occaecat_cupidatat_non_proident_sunt_in_culpa_qui_officia_deserunt_mollit_anim_id_est_laborum_ ... ok [INFO] [stdout] test price_in_text::tests::iso::multiline::_eur_n1234_5678_ ... ok [INFO] [stdout] test price_in_text::tests::iso::spaces::price_before_percent ... ok [INFO] [stdout] test price_in_text::tests::iso::multiple_pricetags::line_return ... ok [INFO] [stdout] test price_in_text::tests::iso::spaces::_eur_1234_ ... ok [INFO] [stdout] test price_in_text::tests::iso::spaces::price_after_percent ... ok [INFO] [stdout] test price_in_text::tests::price_tag_match::right_partial_ordering ... ok [INFO] [stdout] test price_in_text::tests::iso::spaces::_1234_eur_ ... ok [INFO] [stdout] test price_in_text::tests::iso::multiple_pricetags::more_spaces ... ok [INFO] [stdout] test price_in_text::tests::iso::spaces::_eur1234_ ... ok [INFO] [stdout] test price_in_text::tests::price_tag_match::right_partial_ordering_array ... ok [INFO] [stdout] test price_in_text::tests::iso::spaces::spaced_symbol ... ok [INFO] [stdout] test price_in_text::tests::iso::spaces_comma::_1234_5678_eur_ ... ok [INFO] [stdout] test price_in_text::tests::iso::spaces_comma::price_after_percent ... ok [INFO] [stdout] test price_in_text::tests::iso::spaces::symbol_no_space ... ok [INFO] [stdout] test price_in_text::tests::iso::spaces_comma::_eur1234_5678_ ... ok [INFO] [stdout] test price_in_text::tests::iso::spaces_comma::_1234_5678eur_ ... ok [INFO] [stdout] test price_in_text::tests::iso::spaces_comma::_eur_1234_5678_ ... ok [INFO] [stdout] test price_in_text::tests::iso::spaces_comma::spaced_symbol ... ok [INFO] [stdout] test price_in_text::tests::iso::spaces_comma::price_before_percent ... ok [INFO] [stdout] test price_in_text::tests::iso::spaces_comma::symbol_no_space ... ok [INFO] [stdout] test price_format::tests::separator_duplicated_thousand_decimal - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 74 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2235be6fc293f3c930421d9f1ec86580e724f122aff48753e681ddd8cb8eb4ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2235be6fc293f3c930421d9f1ec86580e724f122aff48753e681ddd8cb8eb4ac", kill_on_drop: false }` [INFO] [stdout] 2235be6fc293f3c930421d9f1ec86580e724f122aff48753e681ddd8cb8eb4ac