[INFO] cloning repository https://github.com/naipofo/biedbot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/naipofo/biedbot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaipofo%2Fbiedbot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaipofo%2Fbiedbot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cc1b42dfceacf4816c680118e1dc9afeba455cd2 [INFO] testing naipofo/biedbot against nightly-2025-01-18+rustflags=-Zrandomize-layout for randomize-layout-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaipofo%2Fbiedbot" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/naipofo/biedbot on toolchain nightly-2025-01-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/naipofo/biedbot [INFO] finished tweaking git repo https://github.com/naipofo/biedbot [INFO] tweaked toml for git repo https://github.com/naipofo/biedbot written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/naipofo/biedbot 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" "+nightly-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c248148105e6dca02258561d1ea0a98dce238a3e5a1cfd20c6c492306dc2a06 [INFO] running `Command { std: "docker" "start" "-a" "0c248148105e6dca02258561d1ea0a98dce238a3e5a1cfd20c6c492306dc2a06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c248148105e6dca02258561d1ea0a98dce238a3e5a1cfd20c6c492306dc2a06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c248148105e6dca02258561d1ea0a98dce238a3e5a1cfd20c6c492306dc2a06", kill_on_drop: false }` [INFO] [stdout] 0c248148105e6dca02258561d1ea0a98dce238a3e5a1cfd20c6c492306dc2a06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 039ab11910854957c73010efded5c5d408aa934dc55f9a4d6eff9c43316d2115 [INFO] running `Command { std: "docker" "start" "-a" "039ab11910854957c73010efded5c5d408aa934dc55f9a4d6eff9c43316d2115", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling once_cell v1.13.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling futures-core v0.3.23 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling futures-channel v0.3.23 [INFO] [stderr] Compiling futures-task v0.3.23 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling futures-sink v0.3.23 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling futures-util v0.3.23 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling futures-io v0.3.23 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling erasable v1.2.1 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling iana-time-zone v0.1.46 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling uuid v1.1.2 [INFO] [stderr] Compiling rc-box v1.2.0 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling never v0.1.0 [INFO] [stderr] Compiling takecell v0.1.1 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling chrono v0.4.22 [INFO] [stderr] Compiling time v0.3.13 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-macro v0.3.23 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling aquamarine v0.1.12 [INFO] [stderr] Compiling teloxide-macros v0.7.0 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling thiserror v1.0.32 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling futures-executor v0.3.23 [INFO] [stderr] Compiling futures v0.3.23 [INFO] [stderr] Compiling dptree v0.3.0 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling h2 v0.3.14 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.11 [INFO] [stderr] Compiling teloxide-core v0.8.0 [INFO] [stderr] Compiling teloxide v0.11.3 [INFO] [stderr] Compiling biedbot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/api.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct ApiError(String); [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `offer_type` and `product_url` are never read [INFO] [stdout] --> src/api.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 217 | struct OfferElement { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 218 | offer_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | product_url: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `has_module_version_changed` and `has_api_version_changed` are never read [INFO] [stdout] --> src/api.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 243 | struct VersionInfoResponce { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 244 | has_module_version_changed: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 245 | has_api_version_changed: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version_info` is never read [INFO] [stdout] --> src/api.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 250 | struct BiedApiResponce { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 251 | version_info: VersionInfoResponce, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/db.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct StoreError(String); [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `StoreError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/cache.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | for of in api.get_offers(user.auth).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 35 | while let Ok(of) = api.get_offers(user.auth).await { [INFO] [stdout] | ~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider unwrapping the `Result` with `?` to iterate over its contents [INFO] [stdout] | [INFO] [stdout] 35 | for of in api.get_offers(user.auth).await? { [INFO] [stdout] | + [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 35 | if let Ok(of) = api.get_offers(user.auth).await { [INFO] [stdout] | ~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.30s [INFO] running `Command { std: "docker" "inspect" "039ab11910854957c73010efded5c5d408aa934dc55f9a4d6eff9c43316d2115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "039ab11910854957c73010efded5c5d408aa934dc55f9a4d6eff9c43316d2115", kill_on_drop: false }` [INFO] [stdout] 039ab11910854957c73010efded5c5d408aa934dc55f9a4d6eff9c43316d2115 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d273a1515bbaffc7ee4c74fc8e4cd9c7c7372baca215956de31440b76c31ed00 [INFO] running `Command { std: "docker" "start" "-a" "d273a1515bbaffc7ee4c74fc8e4cd9c7c7372baca215956de31440b76c31ed00", kill_on_drop: false }` [INFO] [stderr] Compiling biedbot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/api.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct ApiError(String); [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `offer_type` and `product_url` are never read [INFO] [stdout] --> src/api.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 217 | struct OfferElement { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 218 | offer_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | product_url: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `has_module_version_changed` and `has_api_version_changed` are never read [INFO] [stdout] --> src/api.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 243 | struct VersionInfoResponce { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 244 | has_module_version_changed: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 245 | has_api_version_changed: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version_info` is never read [INFO] [stdout] --> src/api.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 250 | struct BiedApiResponce { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 251 | version_info: VersionInfoResponce, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/db.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct StoreError(String); [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `StoreError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/cache.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | for of in api.get_offers(user.auth).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 35 | while let Ok(of) = api.get_offers(user.auth).await { [INFO] [stdout] | ~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider unwrapping the `Result` with `?` to iterate over its contents [INFO] [stdout] | [INFO] [stdout] 35 | for of in api.get_offers(user.auth).await? { [INFO] [stdout] | + [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 35 | if let Ok(of) = api.get_offers(user.auth).await { [INFO] [stdout] | ~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.64s [INFO] running `Command { std: "docker" "inspect" "d273a1515bbaffc7ee4c74fc8e4cd9c7c7372baca215956de31440b76c31ed00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d273a1515bbaffc7ee4c74fc8e4cd9c7c7372baca215956de31440b76c31ed00", kill_on_drop: false }` [INFO] [stdout] d273a1515bbaffc7ee4c74fc8e4cd9c7c7372baca215956de31440b76c31ed00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 19d20cc2b39c69dedf08e53e72e0cc777d15b8ec516b198d9d75c8dcb98581bf [INFO] running `Command { std: "docker" "start" "-a" "19d20cc2b39c69dedf08e53e72e0cc777d15b8ec516b198d9d75c8dcb98581bf", kill_on_drop: false }` [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/api.rs:78:21 [INFO] [stderr] | [INFO] [stderr] 78 | pub struct ApiError(String); [INFO] [stderr] | -------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `offer_type` and `product_url` are never read [INFO] [stderr] --> src/api.rs:218:5 [INFO] [stderr] | [INFO] [stderr] 217 | struct OfferElement { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 218 | offer_type: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 232 | product_url: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `has_module_version_changed` and `has_api_version_changed` are never read [INFO] [stderr] --> src/api.rs:244:5 [INFO] [stderr] | [INFO] [stderr] 243 | struct VersionInfoResponce { [INFO] [stderr] | ------------------- fields in this struct [INFO] [stderr] 244 | has_module_version_changed: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 245 | has_api_version_changed: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `version_info` is never read [INFO] [stderr] --> src/api.rs:251:5 [INFO] [stderr] | [INFO] [stderr] 250 | struct BiedApiResponce { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] 251 | version_info: VersionInfoResponce, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/db.rs:66:23 [INFO] [stderr] | [INFO] [stderr] 66 | pub struct StoreError(String); [INFO] [stderr] | ---------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `StoreError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/cache.rs:35:23 [INFO] [stderr] | [INFO] [stderr] 35 | for of in api.get_offers(user.auth).await { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 35 | while let Ok(of) = api.get_offers(user.auth).await { [INFO] [stderr] | ~~~~~~~~~~~~~ ~~~ [INFO] [stderr] help: consider unwrapping the `Result` with `?` to iterate over its contents [INFO] [stderr] | [INFO] [stderr] 35 | for of in api.get_offers(user.auth).await? { [INFO] [stderr] | + [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 35 | if let Ok(of) = api.get_offers(user.auth).await { [INFO] [stderr] | ~~~~~~~~~~ ~~~ [INFO] [stderr] [INFO] [stderr] warning: `biedbot` (bin "biedbot" test) generated 6 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/biedbot-0ecf02037fb3bff9) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "19d20cc2b39c69dedf08e53e72e0cc777d15b8ec516b198d9d75c8dcb98581bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19d20cc2b39c69dedf08e53e72e0cc777d15b8ec516b198d9d75c8dcb98581bf", kill_on_drop: false }` [INFO] [stdout] 19d20cc2b39c69dedf08e53e72e0cc777d15b8ec516b198d9d75c8dcb98581bf