[INFO] cloning repository https://github.com/Asone/nostr-banhammer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Asone/nostr-banhammer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAsone%2Fnostr-banhammer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAsone%2Fnostr-banhammer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 873173744975178d096ce2c5606bde06e7245421 [INFO] checking Asone/nostr-banhammer against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAsone%2Fnostr-banhammer" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Asone/nostr-banhammer [INFO] finished tweaking git repo https://github.com/Asone/nostr-banhammer [INFO] tweaked toml for git repo https://github.com/Asone/nostr-banhammer written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Asone/nostr-banhammer 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 git repo https://github.com/Asone/nostr-banhammer 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] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-6-tc2/source/banhammer_cli/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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] 15770e8505c6df84e707f45c5db72a880dcf5abbe5c2fdf4a5a989e3f8f8355b [INFO] running `Command { std: "docker" "start" "-a" "15770e8505c6df84e707f45c5db72a880dcf5abbe5c2fdf4a5a989e3f8f8355b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15770e8505c6df84e707f45c5db72a880dcf5abbe5c2fdf4a5a989e3f8f8355b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15770e8505c6df84e707f45c5db72a880dcf5abbe5c2fdf4a5a989e3f8f8355b", kill_on_drop: false }` [INFO] [stdout] 15770e8505c6df84e707f45c5db72a880dcf5abbe5c2fdf4a5a989e3f8f8355b [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] 7ef27ede1917a1b68a730ea1ec85db926c5d175ab53415f373fc85dd845b5941 [INFO] running `Command { std: "docker" "start" "-a" "7ef27ede1917a1b68a730ea1ec85db926c5d175ab53415f373fc85dd845b5941", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/banhammer_cli/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Compiling rustix v0.38.20 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling indexmap v2.0.2 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking bytecount v0.6.7 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking papergrid v0.10.0 [INFO] [stderr] Checking clap_builder v4.4.7 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking unsafe-libyaml v0.2.9 [INFO] [stderr] Compiling tempfile v3.8.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Compiling secp256k1-sys v0.9.0 [INFO] [stderr] Checking protoc v2.28.0 [INFO] [stderr] Compiling tabled_derive v0.6.0 [INFO] [stderr] Checking tabled v0.14.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling prost-derive v0.12.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling num-derive v0.4.1 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking secp256k1 v0.28.0 [INFO] [stderr] Checking tokio v1.33.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Compiling prost v0.12.1 [INFO] [stderr] Checking clap v4.4.7 [INFO] [stderr] Compiling prost-types v0.12.1 [INFO] [stderr] Compiling prost-build v0.12.1 [INFO] [stderr] Compiling tonic-build v0.10.2 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Compiling banhammer_grpc v1.0.0 (/opt/rustwide/workdir/banhammer_grpc) [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking serde_yaml v0.9.25 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.10.2 [INFO] [stderr] error: could not compile `banhammer_grpc` (lib test) due to 14 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> banhammer_grpc/src/lib.rs:11:65 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Serialize, Deserialize, Clone, Copy, PartialEq, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_BanTypesEnum` [INFO] [stdout] 12 | pub enum BanTypesEnum { [INFO] [stdout] | ------------ `BanTypesEnum` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (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] --> banhammer_grpc/src/nauthz.rs:349:42 [INFO] [stdout] | [INFO] [stdout] 349 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 350 | | let inner = inner.0; [INFO] [stdout] 351 | | let method = EventAdmitSvc(inner); [INFO] [stdout] 352 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 363 | | Ok(res) [INFO] [stdout] 364 | | }; [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] --> banhammer_grpc/src/nauthz.rs:363:25 [INFO] [stdout] | [INFO] [stdout] 363 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> banhammer_grpc/src/nauthz.rs:368:41 [INFO] [stdout] | [INFO] [stdout] 368 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 369 | | Ok( [INFO] [stdout] 370 | | http::Response::builder() [INFO] [stdout] 371 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 377 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> banhammer_grpc/src/nauthz.rs:369:25 [INFO] [stdout] | [INFO] [stdout] 369 | / Ok( [INFO] [stdout] 370 | | http::Response::builder() [INFO] [stdout] 371 | | .status(200) [INFO] [stdout] 372 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 375 | | .unwrap(), [INFO] [stdout] 376 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> banhammer_grpc/src/validationcontrol.rs:420:42 [INFO] [stdout] | [INFO] [stdout] 420 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 421 | | let inner = inner.0; [INFO] [stdout] 422 | | let method = StateSvc(inner); [INFO] [stdout] 423 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 434 | | Ok(res) [INFO] [stdout] 435 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> banhammer_grpc/src/validationcontrol.rs:434:25 [INFO] [stdout] | [INFO] [stdout] 434 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> banhammer_grpc/src/validationcontrol.rs:466:42 [INFO] [stdout] | [INFO] [stdout] 466 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 467 | | let inner = inner.0; [INFO] [stdout] 468 | | let method = AddBanSvc(inner); [INFO] [stdout] 469 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 480 | | Ok(res) [INFO] [stdout] 481 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> banhammer_grpc/src/validationcontrol.rs:480:25 [INFO] [stdout] | [INFO] [stdout] 480 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> banhammer_grpc/src/validationcontrol.rs:512:42 [INFO] [stdout] | [INFO] [stdout] 512 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 513 | | let inner = inner.0; [INFO] [stdout] 514 | | let method = ListBansSvc(inner); [INFO] [stdout] 515 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 526 | | Ok(res) [INFO] [stdout] 527 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> banhammer_grpc/src/validationcontrol.rs:526:25 [INFO] [stdout] | [INFO] [stdout] 526 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> banhammer_grpc/src/validationcontrol.rs:558:42 [INFO] [stdout] | [INFO] [stdout] 558 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 559 | | let inner = inner.0; [INFO] [stdout] 560 | | let method = RemoveBanSvc(inner); [INFO] [stdout] 561 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 572 | | Ok(res) [INFO] [stdout] 573 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> banhammer_grpc/src/validationcontrol.rs:572:25 [INFO] [stdout] | [INFO] [stdout] 572 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> banhammer_grpc/src/validationcontrol.rs:577:41 [INFO] [stdout] | [INFO] [stdout] 577 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 578 | | Ok( [INFO] [stdout] 579 | | http::Response::builder() [INFO] [stdout] 580 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 586 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> banhammer_grpc/src/validationcontrol.rs:578:25 [INFO] [stdout] | [INFO] [stdout] 578 | / Ok( [INFO] [stdout] 579 | | http::Response::builder() [INFO] [stdout] 580 | | .status(200) [INFO] [stdout] 581 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 584 | | .unwrap(), [INFO] [stdout] 585 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> banhammer_grpc/src/lib.rs:11:65 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Serialize, Deserialize, Clone, Copy, PartialEq, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_BanTypesEnum` [INFO] [stdout] 12 | pub enum BanTypesEnum { [INFO] [stdout] | ------------ `BanTypesEnum` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (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] --> banhammer_grpc/src/nauthz.rs:349:42 [INFO] [stdout] | [INFO] [stdout] 349 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 350 | | let inner = inner.0; [INFO] [stdout] 351 | | let method = EventAdmitSvc(inner); [INFO] [stdout] 352 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 363 | | Ok(res) [INFO] [stdout] 364 | | }; [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] --> banhammer_grpc/src/nauthz.rs:363:25 [INFO] [stdout] | [INFO] [stdout] 363 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> banhammer_grpc/src/nauthz.rs:368:41 [INFO] [stdout] | [INFO] [stdout] 368 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 369 | | Ok( [INFO] [stdout] 370 | | http::Response::builder() [INFO] [stdout] 371 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 377 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> banhammer_grpc/src/nauthz.rs:369:25 [INFO] [stdout] | [INFO] [stdout] 369 | / Ok( [INFO] [stdout] 370 | | http::Response::builder() [INFO] [stdout] 371 | | .status(200) [INFO] [stdout] 372 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 375 | | .unwrap(), [INFO] [stdout] 376 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> banhammer_grpc/src/validationcontrol.rs:420:42 [INFO] [stdout] | [INFO] [stdout] 420 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 421 | | let inner = inner.0; [INFO] [stdout] 422 | | let method = StateSvc(inner); [INFO] [stdout] 423 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 434 | | Ok(res) [INFO] [stdout] 435 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> banhammer_grpc/src/validationcontrol.rs:434:25 [INFO] [stdout] | [INFO] [stdout] 434 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> banhammer_grpc/src/validationcontrol.rs:466:42 [INFO] [stdout] | [INFO] [stdout] 466 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 467 | | let inner = inner.0; [INFO] [stdout] 468 | | let method = AddBanSvc(inner); [INFO] [stdout] 469 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 480 | | Ok(res) [INFO] [stdout] 481 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> banhammer_grpc/src/validationcontrol.rs:480:25 [INFO] [stdout] | [INFO] [stdout] 480 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> banhammer_grpc/src/validationcontrol.rs:512:42 [INFO] [stdout] | [INFO] [stdout] 512 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 513 | | let inner = inner.0; [INFO] [stdout] 514 | | let method = ListBansSvc(inner); [INFO] [stdout] 515 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 526 | | Ok(res) [INFO] [stdout] 527 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> banhammer_grpc/src/validationcontrol.rs:526:25 [INFO] [stdout] | [INFO] [stdout] 526 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> banhammer_grpc/src/validationcontrol.rs:558:42 [INFO] [stdout] | [INFO] [stdout] 558 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 559 | | let inner = inner.0; [INFO] [stdout] 560 | | let method = RemoveBanSvc(inner); [INFO] [stdout] 561 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 572 | | Ok(res) [INFO] [stdout] 573 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> banhammer_grpc/src/validationcontrol.rs:572:25 [INFO] [stdout] | [INFO] [stdout] 572 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> banhammer_grpc/src/validationcontrol.rs:577:41 [INFO] [stdout] | [INFO] [stdout] 577 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 578 | | Ok( [INFO] [stdout] 579 | | http::Response::builder() [INFO] [stdout] 580 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 586 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> banhammer_grpc/src/validationcontrol.rs:578:25 [INFO] [stdout] | [INFO] [stdout] 578 | / Ok( [INFO] [stdout] 579 | | http::Response::builder() [INFO] [stdout] 580 | | .status(200) [INFO] [stdout] 581 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 584 | | .unwrap(), [INFO] [stdout] 585 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `banhammer_grpc` (lib) due to 14 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "7ef27ede1917a1b68a730ea1ec85db926c5d175ab53415f373fc85dd845b5941", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ef27ede1917a1b68a730ea1ec85db926c5d175ab53415f373fc85dd845b5941", kill_on_drop: false }` [INFO] [stdout] 7ef27ede1917a1b68a730ea1ec85db926c5d175ab53415f373fc85dd845b5941