[INFO] fetching crate patlite-beacon-serv 0.1.0... [INFO] checking patlite-beacon-serv-0.1.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate patlite-beacon-serv 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate patlite-beacon-serv 0.1.0 [INFO] finished tweaking crates.io crate patlite-beacon-serv 0.1.0 [INFO] tweaked toml for crates.io crate patlite-beacon-serv 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate patlite-beacon-serv 0.1.0 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate patlite-beacon-serv 0.1.0 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e745be60e590c3ecd8919ee16dde06b2826398068d567ddb2f84b9fae2ebf4c [INFO] running `Command { std: "docker" "start" "-a" "0e745be60e590c3ecd8919ee16dde06b2826398068d567ddb2f84b9fae2ebf4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e745be60e590c3ecd8919ee16dde06b2826398068d567ddb2f84b9fae2ebf4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e745be60e590c3ecd8919ee16dde06b2826398068d567ddb2f84b9fae2ebf4c", kill_on_drop: false }` [INFO] [stdout] 0e745be60e590c3ecd8919ee16dde06b2826398068d567ddb2f84b9fae2ebf4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7915de0ba9b6a10473c415d8319d95d09e3248bc74265059bddc6d1a14ccbbc3 [INFO] running `Command { std: "docker" "start" "-a" "7915de0ba9b6a10473c415d8319d95d09e3248bc74265059bddc6d1a14ccbbc3", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling cc v1.2.36 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling rusb v0.9.4 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking clap_builder v4.5.47 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking indexmap v2.11.1 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Compiling libusb1-sys v0.7.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking clap v4.5.47 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking rust-patlite-beacon v0.1.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking patlite-beacon-serv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `LightState` is never constructed [INFO] [stdout] --> src/api.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct LightState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LightState` is never constructed [INFO] [stdout] --> src/api.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct LightState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/auth.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | let response = app [INFO] [stdout] | ________________________^ [INFO] [stdout] 61 | | .oneshot(Request::builder().uri("/test").body(Body::empty()).unwrap()) [INFO] [stdout] 62 | | .await [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/auth.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/auth.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | let response = app [INFO] [stdout] | ________________________^ [INFO] [stdout] 61 | | .oneshot(Request::builder().uri("/test").body(Body::empty()).unwrap()) [INFO] [stdout] 62 | | .await [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/auth.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | let response = app [INFO] [stdout] | ________________________^ [INFO] [stdout] 85 | | .oneshot( [INFO] [stdout] 86 | | Request::builder() [INFO] [stdout] 87 | | .uri(format!("/test?apiKey={}", api_key)) [INFO] [stdout] ... | [INFO] [stdout] 91 | | .await [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/auth.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/auth.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | let response = app [INFO] [stdout] | ________________________^ [INFO] [stdout] 85 | | .oneshot( [INFO] [stdout] 86 | | Request::builder() [INFO] [stdout] 87 | | .uri(format!("/test?apiKey={}", api_key)) [INFO] [stdout] ... | [INFO] [stdout] 91 | | .await [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/auth.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | let response = app [INFO] [stdout] | ________________________^ [INFO] [stdout] 113 | | .oneshot( [INFO] [stdout] 114 | | Request::builder() [INFO] [stdout] 115 | | .uri("/test?apiKey=wrong-key") [INFO] [stdout] ... | [INFO] [stdout] 119 | | .await [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/auth.rs:119:14 [INFO] [stdout] | [INFO] [stdout] 119 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/auth.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | let response = app [INFO] [stdout] | ________________________^ [INFO] [stdout] 113 | | .oneshot( [INFO] [stdout] 114 | | Request::builder() [INFO] [stdout] 115 | | .uri("/test?apiKey=wrong-key") [INFO] [stdout] ... | [INFO] [stdout] 119 | | .await [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/auth.rs:140:24 [INFO] [stdout] | [INFO] [stdout] 140 | let response = app [INFO] [stdout] | ________________________^ [INFO] [stdout] 141 | | .oneshot(Request::builder().uri("/test").body(Body::empty()).unwrap()) [INFO] [stdout] 142 | | .await [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/auth.rs:142:14 [INFO] [stdout] | [INFO] [stdout] 142 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/auth.rs:140:24 [INFO] [stdout] | [INFO] [stdout] 140 | let response = app [INFO] [stdout] | ________________________^ [INFO] [stdout] 141 | | .oneshot(Request::builder().uri("/test").body(Body::empty()).unwrap()) [INFO] [stdout] 142 | | .await [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:349:24 [INFO] [stdout] | [INFO] [stdout] 349 | let response = app [INFO] [stdout] | ________________________^ [INFO] [stdout] 350 | | .oneshot( [INFO] [stdout] 351 | | Request::builder() [INFO] [stdout] 352 | | .uri("/") [INFO] [stdout] ... | [INFO] [stdout] 356 | | .await [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:356:14 [INFO] [stdout] | [INFO] [stdout] 356 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:349:24 [INFO] [stdout] | [INFO] [stdout] 349 | let response = app [INFO] [stdout] | ________________________^ [INFO] [stdout] 350 | | .oneshot( [INFO] [stdout] 351 | | Request::builder() [INFO] [stdout] 352 | | .uri("/") [INFO] [stdout] ... | [INFO] [stdout] 356 | | .await [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:372:24 [INFO] [stdout] | [INFO] [stdout] 372 | let response = app [INFO] [stdout] | ________________________^ [INFO] [stdout] 373 | | .oneshot( [INFO] [stdout] 374 | | Request::builder() [INFO] [stdout] 375 | | .uri(format!("/?apiKey={}", api_key)) [INFO] [stdout] ... | [INFO] [stdout] 379 | | .await [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:379:14 [INFO] [stdout] | [INFO] [stdout] 379 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:372:24 [INFO] [stdout] | [INFO] [stdout] 372 | let response = app [INFO] [stdout] | ________________________^ [INFO] [stdout] 373 | | .oneshot( [INFO] [stdout] 374 | | Request::builder() [INFO] [stdout] 375 | | .uri(format!("/?apiKey={}", api_key)) [INFO] [stdout] ... | [INFO] [stdout] 379 | | .await [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:394:24 [INFO] [stdout] | [INFO] [stdout] 394 | let response = app [INFO] [stdout] | ________________________^ [INFO] [stdout] 395 | | .oneshot( [INFO] [stdout] 396 | | Request::builder() [INFO] [stdout] 397 | | .uri("/?apiKey=wrong-key") [INFO] [stdout] ... | [INFO] [stdout] 401 | | .await [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:401:14 [INFO] [stdout] | [INFO] [stdout] 401 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:394:24 [INFO] [stdout] | [INFO] [stdout] 394 | let response = app [INFO] [stdout] | ________________________^ [INFO] [stdout] 395 | | .oneshot( [INFO] [stdout] 396 | | Request::builder() [INFO] [stdout] 397 | | .uri("/?apiKey=wrong-key") [INFO] [stdout] ... | [INFO] [stdout] 401 | | .await [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:423:24 [INFO] [stdout] | [INFO] [stdout] 423 | let response = app [INFO] [stdout] | ________________________^ [INFO] [stdout] 424 | | .oneshot( [INFO] [stdout] 425 | | Request::builder() [INFO] [stdout] 426 | | .method("PUT") [INFO] [stdout] ... | [INFO] [stdout] 432 | | .await [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:432:14 [INFO] [stdout] | [INFO] [stdout] 432 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:423:24 [INFO] [stdout] | [INFO] [stdout] 423 | let response = app [INFO] [stdout] | ________________________^ [INFO] [stdout] 424 | | .oneshot( [INFO] [stdout] 425 | | Request::builder() [INFO] [stdout] 426 | | .method("PUT") [INFO] [stdout] ... | [INFO] [stdout] 432 | | .await [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:447:24 [INFO] [stdout] | [INFO] [stdout] 447 | let response = app [INFO] [stdout] | ________________________^ [INFO] [stdout] 448 | | .oneshot( [INFO] [stdout] 449 | | Request::builder() [INFO] [stdout] 450 | | .method("POST") [INFO] [stdout] ... | [INFO] [stdout] 455 | | .await [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:455:14 [INFO] [stdout] | [INFO] [stdout] 455 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:447:24 [INFO] [stdout] | [INFO] [stdout] 447 | let response = app [INFO] [stdout] | ________________________^ [INFO] [stdout] 448 | | .oneshot( [INFO] [stdout] 449 | | Request::builder() [INFO] [stdout] 450 | | .method("POST") [INFO] [stdout] ... | [INFO] [stdout] 455 | | .await [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `patlite-beacon-serv` (bin "patlite-beacon-serv" test) due to 27 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "7915de0ba9b6a10473c415d8319d95d09e3248bc74265059bddc6d1a14ccbbc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7915de0ba9b6a10473c415d8319d95d09e3248bc74265059bddc6d1a14ccbbc3", kill_on_drop: false }` [INFO] [stdout] 7915de0ba9b6a10473c415d8319d95d09e3248bc74265059bddc6d1a14ccbbc3