[INFO] fetching crate mob_push 0.2.1... [INFO] checking mob_push-0.2.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate mob_push 0.2.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate mob_push 0.2.1 [INFO] finished tweaking crates.io crate mob_push 0.2.1 [INFO] tweaked toml for crates.io crate mob_push 0.2.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mob_push 0.2.1 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 166 packages to latest compatible versions [INFO] [stderr] Adding md5 v0.7.0 (available: v0.8.0) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.24) [INFO] [stderr] Adding toml v0.7.8 (available: v0.9.8) [INFO] [stderr] Adding typed-builder v0.14.0 (available: v0.23.0) [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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] eda9c6013d91114ad0ffa15eec81497f0c049cb454f3c9280dabd1a9f2d81b7d [INFO] running `Command { std: "docker" "start" "-a" "eda9c6013d91114ad0ffa15eec81497f0c049cb454f3c9280dabd1a9f2d81b7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eda9c6013d91114ad0ffa15eec81497f0c049cb454f3c9280dabd1a9f2d81b7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eda9c6013d91114ad0ffa15eec81497f0c049cb454f3c9280dabd1a9f2d81b7d", kill_on_drop: false }` [INFO] [stdout] eda9c6013d91114ad0ffa15eec81497f0c049cb454f3c9280dabd1a9f2d81b7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 3136a996b429f3a64f2f126a16a0e6f9958c4c45418ca825224a4e90be6cfe43 [INFO] running `Command { std: "docker" "start" "-a" "3136a996b429f3a64f2f126a16a0e6f9958c4c45418ca825224a4e90be6cfe43", kill_on_drop: false }` [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Compiling typed-builder v0.14.0 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking mob_push v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `MobPushConfigTrait` is never used [INFO] [stdout] --> src/config/app_info.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait MobPushConfigTrait { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/test_push.rs:175:45 [INFO] [stdout] | [INFO] [stdout] 175 | ) -> Result, Self::Err> { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 176 | | Ok(input [INFO] [stdout] 177 | | .filter(|data| data.get_resource() == &11 || data.get_resource() == &15) [INFO] [stdout] 178 | | .collect()) [INFO] [stdout] 179 | | } [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] --> tests/test_push.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | / Ok(input [INFO] [stdout] 177 | | .filter(|data| data.get_resource() == &11 || data.get_resource() == &15) [INFO] [stdout] 178 | | .collect()) [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/test_push.rs:181:98 [INFO] [stdout] | [INFO] [stdout] 181 | fn contains(&self, target: &::Resource) -> Result { [INFO] [stdout] | __________________________________________________________________________________________________^ [INFO] [stdout] 182 | | Ok(target == &11 || target == &15) [INFO] [stdout] 183 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/test_push.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | Ok(target == &11 || target == &15) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/test_push.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | async fn fetch_subscribe_filter( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/test_push.rs:188:1 [INFO] [stdout] | [INFO] [stdout] 188 | #[async_trait::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `async_trait::async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/test_push.rs:201:42 [INFO] [stdout] | [INFO] [stdout] 201 | ) -> Result { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 202 | | Ok(Filter) [INFO] [stdout] 203 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/test_push.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | Ok(Filter) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/test_push.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | async fn check_subscribed( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/test_push.rs:188:1 [INFO] [stdout] | [INFO] [stdout] 188 | #[async_trait::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `async_trait::async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/test_push.rs:209:34 [INFO] [stdout] | [INFO] [stdout] 209 | ) -> Result { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 210 | | let resp = Filter.contains(data_resource); [INFO] [stdout] 211 | | resp [INFO] [stdout] 212 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/test_push.rs:210:20 [INFO] [stdout] | [INFO] [stdout] 210 | let resp = Filter.contains(data_resource); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/test_push.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | resp [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/test_push.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | async fn fetch_all_subscriber( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/test_push.rs:188:1 [INFO] [stdout] | [INFO] [stdout] 188 | #[async_trait::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `async_trait::async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/test_push.rs:217:53 [INFO] [stdout] | [INFO] [stdout] 217 | ) -> Result, Self::Err> { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 218 | | let resp = if data_resource == &11 || data_resource == &15 { [INFO] [stdout] 219 | | vec![ [INFO] [stdout] ... | [INFO] [stdout] 234 | | Ok(resp) [INFO] [stdout] 235 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/test_push.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | Ok(resp) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mob_push` (test "test_push") due to 17 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait `MobPushConfigTrait` is never used [INFO] [stdout] --> src/config/app_info.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait MobPushConfigTrait { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3136a996b429f3a64f2f126a16a0e6f9958c4c45418ca825224a4e90be6cfe43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3136a996b429f3a64f2f126a16a0e6f9958c4c45418ca825224a4e90be6cfe43", kill_on_drop: false }` [INFO] [stdout] 3136a996b429f3a64f2f126a16a0e6f9958c4c45418ca825224a4e90be6cfe43