[INFO] cloning repository https://github.com/priceshark/database [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/priceshark/database" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpriceshark%2Fdatabase", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpriceshark%2Fdatabase'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a36ce8e61981a0e6071fe2307617793ce781a50 [INFO] building priceshark/database against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpriceshark%2Fdatabase" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/priceshark/database [INFO] finished tweaking git repo https://github.com/priceshark/database [INFO] tweaked toml for git repo https://github.com/priceshark/database written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/priceshark/database on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/priceshark/database 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded darling_macro v0.20.8 [INFO] [stderr] Downloaded cobs v0.2.3 [INFO] [stderr] Downloaded atomic-polyfill v1.0.3 [INFO] [stderr] Downloaded embedded-io v0.4.0 [INFO] [stderr] Downloaded hash32 v0.2.1 [INFO] [stderr] Downloaded serde_repr v0.1.19 [INFO] [stderr] Downloaded rustls-pki-types v1.5.0 [INFO] [stderr] Downloaded typed_floats_macros v1.0.1 [INFO] [stderr] Downloaded serde_with_macros v3.7.0 [INFO] [stderr] Downloaded critical-section v1.1.2 [INFO] [stderr] Downloaded typed_floats v1.0.1 [INFO] [stderr] Downloaded darling v0.20.8 [INFO] [stderr] Downloaded geo-types v0.7.13 [INFO] [stderr] Downloaded rstar v0.12.0 [INFO] [stderr] Downloaded either v1.11.0 [INFO] [stderr] Downloaded cc v1.0.95 [INFO] [stderr] Downloaded proc-macro2 v1.0.81 [INFO] [stderr] Downloaded ureq v2.9.6 [INFO] [stderr] Downloaded serde_derive v1.0.198 [INFO] [stderr] Downloaded serde_yaml v0.9.34+deprecated [INFO] [stderr] Downloaded allocator-api2 v0.2.18 [INFO] [stderr] Downloaded postcard v1.0.8 [INFO] [stderr] Downloaded serde v1.0.198 [INFO] [stderr] Downloaded unsafe-libyaml v0.2.11 [INFO] [stderr] Downloaded geographiclib-rs v0.2.4 [INFO] [stderr] Downloaded heapless v0.7.17 [INFO] [stderr] Downloaded darling_core v0.20.8 [INFO] [stderr] Downloaded itertools v0.11.0 [INFO] [stderr] Downloaded serde_with v3.7.0 [INFO] [stderr] Downloaded serde_json v1.0.116 [INFO] [stderr] Downloaded rustls-webpki v0.102.3 [INFO] [stderr] Downloaded syn v2.0.60 [INFO] [stderr] Downloaded geo v0.28.0 [INFO] [stderr] Downloaded webpki-roots v0.26.1 [INFO] [stderr] Downloaded spade v2.6.0 [INFO] [stderr] Downloaded robust v1.1.0 [INFO] [stderr] Downloaded earcutr v0.4.3 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e987177e84a1fdc40ab2df3478fe71fb8006c0ab664bc79f21677b72399fc71f [INFO] running `Command { std: "docker" "start" "-a" "e987177e84a1fdc40ab2df3478fe71fb8006c0ab664bc79f21677b72399fc71f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e987177e84a1fdc40ab2df3478fe71fb8006c0ab664bc79f21677b72399fc71f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e987177e84a1fdc40ab2df3478fe71fb8006c0ab664bc79f21677b72399fc71f", kill_on_drop: false }` [INFO] [stdout] e987177e84a1fdc40ab2df3478fe71fb8006c0ab664bc79f21677b72399fc71f [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 669daf9b882741806057161a688f14c6abe8f19e6dbf87cfe79070ceea5c3d99 [INFO] running `Command { std: "docker" "start" "-a" "669daf9b882741806057161a688f14c6abe8f19e6dbf87cfe79070ceea5c3d99", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling wasi v0.11.0+wasi-snapshot-preview1 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling hash32 v0.3.1 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling rustls-pki-types v1.5.0 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling rstar v0.12.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling robust v1.1.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling spade v2.6.0 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling earcutr v0.4.3 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling webpki-roots v0.26.1 [INFO] [stderr] Compiling geographiclib-rs v0.2.4 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling embedded-io v0.4.0 [INFO] [stderr] Compiling float_next_after v1.0.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling cobs v0.2.3 [INFO] [stderr] Compiling indicatif v0.17.8 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling rustls-webpki v0.102.3 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling typed_floats_macros v1.0.1 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling serde_with_macros v3.7.0 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling zstd v0.13.1 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling geo-types v0.7.13 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling serde_with v3.7.0 [INFO] [stderr] Compiling typed_floats v1.0.1 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling postcard v1.0.8 [INFO] [stderr] Compiling geo v0.28.0 [INFO] [stderr] Compiling ureq v2.9.6 [INFO] [stderr] Compiling database v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `size::Size` [INFO] [stdout] --> src/products/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use self::{size::Size, tokens::Tokenizer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::BTreeMap` [INFO] [stdout] --> src/products/coles.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::BTreeMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/products/tokens.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::BTreeMap` [INFO] [stdout] --> src/products/woolworths.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::BTreeMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `BTreeSet`, and `HashSet` [INFO] [stdout] --> src/stores/mod.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{BTreeMap, BTreeSet, HashSet}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/stores/mod.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/stores/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `indicatif::ProgressBar` [INFO] [stdout] --> src/stores/gnaf_addrs.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use indicatif::ProgressBar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ureq::Agent` [INFO] [stdout] --> src/stores/gnaf_addrs.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ureq::Agent; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt` [INFO] [stdout] --> src/stores/osm_addrs.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | fmt, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/stores/osm_addrs.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/products/coles.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut reader = BufReader::new(File::open("internal/coles-products/raw.jsonl")?); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/prices/coles.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 74 | struct Pricing { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 75 | comparable: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 76 | unit: UnitPricing, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | online_special: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 81 | special_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 82 | save_amount: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 83 | save_statement: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | price_description: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 87 | promotion_description: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 88 | save_percent: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pricing` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `type` are never read [INFO] [stdout] --> src/prices/coles.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 93 | struct MultiBuyPricing { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 94 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 97 | r#type: MultiBuyType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MultiBuyPricing` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_available` and `in_store_availability_info` are never read [INFO] [stdout] --> src/prices/woolworths.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 78 | struct Item { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 82 | is_available: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 83 | in_store_availability_info: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/prices/woolworths.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 94 | struct InStoreAvailability { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 95 | status: AvailabilityStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InStoreAvailability` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nutrition` and `size` are never read [INFO] [stdout] --> src/products/coles.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 91 | struct RawProduct { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 95 | nutrition: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 96 | name: String, [INFO] [stdout] 97 | size: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawProduct` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `serving_size` and `servings_per_package` are never read [INFO] [stdout] --> src/products/coles.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 102 | struct RawNutrition { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 103 | serving_size: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 104 | servings_per_package: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawNutrition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Size` is never constructed [INFO] [stdout] --> src/products/size.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Size { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `amount`, `total`, and `comparable` are never used [INFO] [stdout] --> src/products/size.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Size { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 14 | pub fn amount(amount: f32, unit: Unit) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn total(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn comparable(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Unit` is never used [INFO] [stdout] --> src/products/size.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum Unit { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `multiplier` is never used [INFO] [stdout] --> src/products/size.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Unit { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 45 | pub fn multiplier(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_amount` is never used [INFO] [stdout] --> src/products/size.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn find_amount(s: &str) -> Option<(f32, Unit)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_unit` is never used [INFO] [stdout] --> src/products/size.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn split_unit(s: &str) -> Option<(f32, &str)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parents` is never read [INFO] [stdout] --> src/products/tokens.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct Token { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 12 | words: Vec, [INFO] [stdout] 13 | parents: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `package_size` is never read [INFO] [stdout] --> src/products/woolworths.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct RawProduct { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | pub package_size: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawProduct` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OSMAddress` is never constructed [INFO] [stdout] --> src/stores/osm_addrs.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct OSMAddress { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 52s [INFO] running `Command { std: "docker" "inspect" "669daf9b882741806057161a688f14c6abe8f19e6dbf87cfe79070ceea5c3d99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "669daf9b882741806057161a688f14c6abe8f19e6dbf87cfe79070ceea5c3d99", kill_on_drop: false }` [INFO] [stdout] 669daf9b882741806057161a688f14c6abe8f19e6dbf87cfe79070ceea5c3d99 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] b2b04b85fb863190c353600145a644f26c1e4e422cc93b9f58ea60c6082cbea8 [INFO] running `Command { std: "docker" "start" "-a" "b2b04b85fb863190c353600145a644f26c1e4e422cc93b9f58ea60c6082cbea8", kill_on_drop: false }` [INFO] [stderr] Compiling database v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `size::Size` [INFO] [stdout] --> src/products/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use self::{size::Size, tokens::Tokenizer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::BTreeMap` [INFO] [stdout] --> src/products/coles.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::BTreeMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/products/tokens.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::BTreeMap` [INFO] [stdout] --> src/products/woolworths.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::BTreeMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `BTreeSet`, and `HashSet` [INFO] [stdout] --> src/stores/mod.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{BTreeMap, BTreeSet, HashSet}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/stores/mod.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/stores/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `indicatif::ProgressBar` [INFO] [stdout] --> src/stores/gnaf_addrs.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use indicatif::ProgressBar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ureq::Agent` [INFO] [stdout] --> src/stores/gnaf_addrs.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ureq::Agent; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt` [INFO] [stdout] --> src/stores/osm_addrs.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | fmt, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/stores/osm_addrs.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/products/coles.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut reader = BufReader::new(File::open("internal/coles-products/raw.jsonl")?); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/prices/coles.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 74 | struct Pricing { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 75 | comparable: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 76 | unit: UnitPricing, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | online_special: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 81 | special_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 82 | save_amount: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 83 | save_statement: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | price_description: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 87 | promotion_description: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 88 | save_percent: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pricing` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `type` are never read [INFO] [stdout] --> src/prices/coles.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 93 | struct MultiBuyPricing { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 94 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 97 | r#type: MultiBuyType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MultiBuyPricing` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_available` and `in_store_availability_info` are never read [INFO] [stdout] --> src/prices/woolworths.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 78 | struct Item { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 82 | is_available: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 83 | in_store_availability_info: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/prices/woolworths.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 94 | struct InStoreAvailability { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 95 | status: AvailabilityStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InStoreAvailability` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nutrition` and `size` are never read [INFO] [stdout] --> src/products/coles.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 91 | struct RawProduct { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 95 | nutrition: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 96 | name: String, [INFO] [stdout] 97 | size: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawProduct` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `serving_size` and `servings_per_package` are never read [INFO] [stdout] --> src/products/coles.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 102 | struct RawNutrition { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 103 | serving_size: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 104 | servings_per_package: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawNutrition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Size` is never constructed [INFO] [stdout] --> src/products/size.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Size { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `amount`, `total`, and `comparable` are never used [INFO] [stdout] --> src/products/size.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Size { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 14 | pub fn amount(amount: f32, unit: Unit) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn total(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn comparable(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Unit` is never used [INFO] [stdout] --> src/products/size.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum Unit { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `multiplier` is never used [INFO] [stdout] --> src/products/size.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Unit { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 45 | pub fn multiplier(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_amount` is never used [INFO] [stdout] --> src/products/size.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn find_amount(s: &str) -> Option<(f32, Unit)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_unit` is never used [INFO] [stdout] --> src/products/size.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn split_unit(s: &str) -> Option<(f32, &str)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parents` is never read [INFO] [stdout] --> src/products/tokens.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct Token { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 12 | words: Vec, [INFO] [stdout] 13 | parents: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `package_size` is never read [INFO] [stdout] --> src/products/woolworths.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct RawProduct { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | pub package_size: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawProduct` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OSMAddress` is never constructed [INFO] [stdout] --> src/stores/osm_addrs.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct OSMAddress { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.69s [INFO] running `Command { std: "docker" "inspect" "b2b04b85fb863190c353600145a644f26c1e4e422cc93b9f58ea60c6082cbea8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2b04b85fb863190c353600145a644f26c1e4e422cc93b9f58ea60c6082cbea8", kill_on_drop: false }` [INFO] [stdout] b2b04b85fb863190c353600145a644f26c1e4e422cc93b9f58ea60c6082cbea8