[INFO] cloning repository https://github.com/kinshotomoya/web-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kinshotomoya/web-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkinshotomoya%2Fweb-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkinshotomoya%2Fweb-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 77a866b8c46fdacb25f48d5bad0f9cb89624b656 [INFO] testing kinshotomoya/web-server against beta-2025-09-21 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkinshotomoya%2Fweb-server" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kinshotomoya/web-server [INFO] finished tweaking git repo https://github.com/kinshotomoya/web-server [INFO] tweaked toml for git repo https://github.com/kinshotomoya/web-server written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kinshotomoya/web-server on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kinshotomoya/web-server 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] 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] 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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 371137eaef57e44aa29ae467345f5f46cb157a85f825341c4203c4f20be66f05 [INFO] running `Command { std: "docker" "start" "-a" "371137eaef57e44aa29ae467345f5f46cb157a85f825341c4203c4f20be66f05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "371137eaef57e44aa29ae467345f5f46cb157a85f825341c4203c4f20be66f05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "371137eaef57e44aa29ae467345f5f46cb157a85f825341c4203c4f20be66f05", kill_on_drop: false }` [INFO] [stdout] 371137eaef57e44aa29ae467345f5f46cb157a85f825341c4203c4f20be66f05 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5f0f8bfca2270b1627f363b24431118a265e6674d0a6c09cedc30cbc10004c5 [INFO] running `Command { std: "docker" "start" "-a" "d5f0f8bfca2270b1627f363b24431118a265e6674d0a6c09cedc30cbc10004c5", kill_on_drop: false }` [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] 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.38 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling syn v1.0.94 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling dlv-list v0.3.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling mysqlclient-sys v0.2.5 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling hashbrown v0.12.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling nix v0.24.1 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling matchit v0.4.6 [INFO] [stderr] Compiling base64ct v1.5.0 [INFO] [stderr] Compiling ordered-multimap v0.4.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.11 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling rust-ini v0.18.0 [INFO] [stderr] Compiling ctrlc v3.2.2 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling actix_derive v0.6.0 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling tokio v1.18.2 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling axum-core v0.1.2 [INFO] [stderr] Compiling tower-http v0.3.3 [INFO] [stderr] Compiling tokio-util v0.7.2 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling tower v0.4.12 [INFO] [stderr] Compiling actix v0.13.0 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling ron v0.7.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tower-http v0.2.5 [INFO] [stderr] Compiling config v0.13.1 [INFO] [stderr] Compiling axum v0.4.8 [INFO] [stderr] Compiling web-server-domain v0.1.0 (/opt/rustwide/workdir/web-server-domain) [INFO] [stderr] Compiling web-server-adapter v0.1.0 (/opt/rustwide/workdir/web-server-adapter) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-server-adapter/src/models.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_project` [INFO] [stdout] 4 | pub struct Project { [INFO] [stdout] | ------- `Project` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> web-server-adapter/src/models.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newproject` [INFO] [stdout] ... [INFO] [stdout] 13 | pub struct NewProject { [INFO] [stdout] | ---------- `NewProject` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> web-server-adapter/src/models.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Insertable)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newproject` [INFO] [stdout] ... [INFO] [stdout] 13 | pub struct NewProject { [INFO] [stdout] | ---------- `NewProject` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> web-server-adapter/src/models.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newproject` [INFO] [stdout] ... [INFO] [stdout] 13 | pub struct NewProject { [INFO] [stdout] | ---------- `NewProject` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> web-server-adapter/src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | projects (project_id) { [INFO] [stdout] 3 | | project_id -> Unsigned, [INFO] [stdout] 4 | | name -> Varchar, [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> web-server-adapter/src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | projects (project_id) { [INFO] [stdout] 3 | | project_id -> Unsigned, [INFO] [stdout] | | ---------- `project_id` is not local [INFO] [stdout] 4 | | name -> Varchar, [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_project_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> web-server-adapter/src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | projects (project_id) { [INFO] [stdout] 3 | | project_id -> Unsigned, [INFO] [stdout] 4 | | name -> Varchar, [INFO] [stdout] | | ---- `name` is not local [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling web-server-usecase v0.1.0 (/opt/rustwide/workdir/web-server-usecase) [INFO] [stdout] warning: unused import: `crate::actor::search_actor::InitializeMessage::Initialized` [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::actor::search_actor::InitializeMessage::Initialized; [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: `search_actor` [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::actor::{search_actor, supervisor_actor}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instrument` [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing::{debug, Instrument}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix::dev::MessageResponse` [INFO] [stdout] --> web-server-usecase/src/actor/supervisor_actor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use actix::dev::MessageResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Actor`, `MailboxError`, and `Supervisor` [INFO] [stdout] --> web-server-usecase/src/usecase/actor_usecase.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use actix::{Actor, Addr, MailboxError, Supervisor}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | fn restarting(&mut self, ctx: &mut ::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:81:50 [INFO] [stdout] | [INFO] [stdout] 81 | fn handle(&mut self, msg: InitializeMessage, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project_id` [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:108:40 [INFO] [stdout] | [INFO] [stdout] 108 | Message::Execute { project_id } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `project_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:97:40 [INFO] [stdout] | [INFO] [stdout] 97 | fn handle(&mut self, msg: Message, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor` [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:101:70 [INFO] [stdout] | [INFO] [stdout] 101 | Box::pin(async { Ok(()) }.into_actor(self).map(|res, actor, ctx| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_actor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor` [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:120:40 [INFO] [stdout] | [INFO] [stdout] 120 | ... .map(|res, actor, ctx| res), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_actor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:120:47 [INFO] [stdout] | [INFO] [stdout] 120 | ... .map(|res, actor, ctx| res), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor` [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:147:32 [INFO] [stdout] | [INFO] [stdout] 147 | .map(|res, actor, ctx| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_actor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> web-server-usecase/src/actor/supervisor_actor.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | fn restarting(&mut self, ctx: &mut ::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> web-server-usecase/src/actor/supervisor_actor.rs:160:27 [INFO] [stdout] | [INFO] [stdout] 160 | fn started(&mut self, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `act` [INFO] [stdout] --> web-server-usecase/src/actor/supervisor_actor.rs:216:32 [INFO] [stdout] | [INFO] [stdout] 216 | .map(|res, act, _ctx| res), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_act` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> web-server-usecase/src/actor/timer_actor.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | fn restarting(&mut self, ctx: &mut ::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `project_id` and `last_started_at` are never read [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct SearchActor { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 39 | project_id: u64, // プロジェクト毎にこのアクターを生成する [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | last_started_at: Instant, // ここで時間をもっていても何をトリガーに生存期間を過ぎたかどうかを判断するべきか?? [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:114:33 [INFO] [stdout] | [INFO] [stdout] 114 | / ... reply_to [INFO] [stdout] 115 | | ... .send(supervisor_actor::Message::CompletedSearch) [INFO] [stdout] 116 | | ... .await; [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 114 | let _ = reply_to [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> web-server-usecase/src/actor/supervisor_actor.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | / search_actor [INFO] [stdout] 89 | | .send(search_actor::Message::Execute { project_id }) [INFO] [stdout] 90 | | .await; [INFO] [stdout] | |__________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 88 | let _ = search_actor [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> web-server-usecase/src/actor/supervisor_actor.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | / search_actor [INFO] [stdout] 105 | | .send(search_actor::Message::Execute { project_id }) [INFO] [stdout] 106 | | .await; [INFO] [stdout] | |__________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 104 | let _ = search_actor [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> web-server-usecase/src/actor/supervisor_actor.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | reply_to.send(Message::LoopExecute { child_actors }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 146 | let _ = reply_to.send(Message::LoopExecute { child_actors }).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> web-server-usecase/src/actor/timer_actor.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | / ... supervisor_actor_address_clone [INFO] [stdout] 55 | | ... .send(supervisor_actor::Message::CheckSearchActor) [INFO] [stdout] 56 | | ... .await; [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = supervisor_actor_address_clone [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling web-server-api v0.1.0 (/opt/rustwide/workdir/web-server-api) [INFO] [stdout] warning: unused import: `actix::prelude::*` [INFO] [stdout] --> web-server-api/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use actix::prelude::*; [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: `web_server_usecase::actor::supervisor_actor::SuperVisorActor` [INFO] [stdout] --> web-server-api/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use web_server_usecase::actor::supervisor_actor::SuperVisorActor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::body::BoxBody` [INFO] [stdout] --> web-server-api/src/error_handling.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::body::BoxBody; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MailboxError` [INFO] [stdout] --> web-server-api/src/modules.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use actix::{Actor, MailboxError, Supervisor}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_server_domain::error::Error` [INFO] [stdout] --> web-server-api/src/modules.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use web_server_domain::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StatusCode` [INFO] [stdout] --> web-server-api/src/route/controllers/create_project.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{IntoResponse, Modules, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::response::Response` [INFO] [stdout] --> web-server-api/src/route/controllers/create_project.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::response::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> web-server-api/src/route/controllers/create_project.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::error_handling::HandleError` [INFO] [stdout] --> web-server-api/src/route.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use axum::error_handling::HandleError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::fmt::layer` [INFO] [stdout] --> web-server-api/src/route.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tracing_subscriber::fmt::layer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> web-server-api/src/modules.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut timer_actor = TimerActor::new(); [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: unused import: `Actor` [INFO] [stdout] --> web-server-api/src/modules.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use actix::{Actor, MailboxError, Supervisor}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> web-server-api/src/hasher.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let a = String::from(""); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> web-server-api/src/main.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | signal_handle_thread.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 104 | let _ = signal_handle_thread.join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> web-server-api/src/modules.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / timer_actor [INFO] [stdout] 31 | | .send(Message::CheckSearchActor { [INFO] [stdout] 32 | | supervisor_actor_address: Arc::clone(&supervisor_actor), [INFO] [stdout] 33 | | }) [INFO] [stdout] 34 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 30 | let _ = timer_actor [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.14s [INFO] running `Command { std: "docker" "inspect" "d5f0f8bfca2270b1627f363b24431118a265e6674d0a6c09cedc30cbc10004c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5f0f8bfca2270b1627f363b24431118a265e6674d0a6c09cedc30cbc10004c5", kill_on_drop: false }` [INFO] [stdout] d5f0f8bfca2270b1627f363b24431118a265e6674d0a6c09cedc30cbc10004c5 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f06296b16f593dc86ed542483e4eaf9c5c6cb063332678d9c32c25eec4a26da [INFO] running `Command { std: "docker" "start" "-a" "2f06296b16f593dc86ed542483e4eaf9c5c6cb063332678d9c32c25eec4a26da", kill_on_drop: false }` [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] 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] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-server-adapter/src/models.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_project` [INFO] [stdout] 4 | pub struct Project { [INFO] [stdout] | ------- `Project` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> web-server-adapter/src/models.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newproject` [INFO] [stdout] ... [INFO] [stdout] 13 | pub struct NewProject { [INFO] [stdout] | ---------- `NewProject` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> web-server-adapter/src/models.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Insertable)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newproject` [INFO] [stdout] ... [INFO] [stdout] 13 | pub struct NewProject { [INFO] [stdout] | ---------- `NewProject` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> web-server-adapter/src/models.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newproject` [INFO] [stdout] ... [INFO] [stdout] 13 | pub struct NewProject { [INFO] [stdout] | ---------- `NewProject` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> web-server-adapter/src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | projects (project_id) { [INFO] [stdout] 3 | | project_id -> Unsigned, [INFO] [stdout] 4 | | name -> Varchar, [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> web-server-adapter/src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | projects (project_id) { [INFO] [stdout] 3 | | project_id -> Unsigned, [INFO] [stdout] | | ---------- `project_id` is not local [INFO] [stdout] 4 | | name -> Varchar, [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_project_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> web-server-adapter/src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | projects (project_id) { [INFO] [stdout] 3 | | project_id -> Unsigned, [INFO] [stdout] 4 | | name -> Varchar, [INFO] [stdout] | | ---- `name` is not local [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::actor::search_actor::InitializeMessage::Initialized` [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::actor::search_actor::InitializeMessage::Initialized; [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: `search_actor` [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::actor::{search_actor, supervisor_actor}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instrument` [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing::{debug, Instrument}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix::dev::MessageResponse` [INFO] [stdout] --> web-server-usecase/src/actor/supervisor_actor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use actix::dev::MessageResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Actor`, `MailboxError`, and `Supervisor` [INFO] [stdout] --> web-server-usecase/src/usecase/actor_usecase.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use actix::{Actor, Addr, MailboxError, Supervisor}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | fn restarting(&mut self, ctx: &mut ::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:81:50 [INFO] [stdout] | [INFO] [stdout] 81 | fn handle(&mut self, msg: InitializeMessage, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project_id` [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:108:40 [INFO] [stdout] | [INFO] [stdout] 108 | Message::Execute { project_id } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `project_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:97:40 [INFO] [stdout] | [INFO] [stdout] 97 | fn handle(&mut self, msg: Message, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor` [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:101:70 [INFO] [stdout] | [INFO] [stdout] 101 | Box::pin(async { Ok(()) }.into_actor(self).map(|res, actor, ctx| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_actor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor` [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:120:40 [INFO] [stdout] | [INFO] [stdout] 120 | ... .map(|res, actor, ctx| res), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_actor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:120:47 [INFO] [stdout] | [INFO] [stdout] 120 | ... .map(|res, actor, ctx| res), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor` [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:147:32 [INFO] [stdout] | [INFO] [stdout] 147 | .map(|res, actor, ctx| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_actor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> web-server-usecase/src/actor/supervisor_actor.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | fn restarting(&mut self, ctx: &mut ::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> web-server-usecase/src/actor/supervisor_actor.rs:160:27 [INFO] [stdout] | [INFO] [stdout] 160 | fn started(&mut self, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `act` [INFO] [stdout] --> web-server-usecase/src/actor/supervisor_actor.rs:216:32 [INFO] [stdout] | [INFO] [stdout] 216 | .map(|res, act, _ctx| res), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_act` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> web-server-usecase/src/actor/timer_actor.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | fn restarting(&mut self, ctx: &mut ::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `project_id` and `last_started_at` are never read [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct SearchActor { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 39 | project_id: u64, // プロジェクト毎にこのアクターを生成する [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | last_started_at: Instant, // ここで時間をもっていても何をトリガーに生存期間を過ぎたかどうかを判断するべきか?? [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:114:33 [INFO] [stdout] | [INFO] [stdout] 114 | / ... reply_to [INFO] [stdout] 115 | | ... .send(supervisor_actor::Message::CompletedSearch) [INFO] [stdout] 116 | | ... .await; [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 114 | let _ = reply_to [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> web-server-usecase/src/actor/supervisor_actor.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | / search_actor [INFO] [stdout] 89 | | .send(search_actor::Message::Execute { project_id }) [INFO] [stdout] 90 | | .await; [INFO] [stdout] | |__________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 88 | let _ = search_actor [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> web-server-usecase/src/actor/supervisor_actor.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | / search_actor [INFO] [stdout] 105 | | .send(search_actor::Message::Execute { project_id }) [INFO] [stdout] 106 | | .await; [INFO] [stdout] | |__________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 104 | let _ = search_actor [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> web-server-usecase/src/actor/supervisor_actor.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | reply_to.send(Message::LoopExecute { child_actors }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 146 | let _ = reply_to.send(Message::LoopExecute { child_actors }).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> web-server-usecase/src/actor/timer_actor.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | / ... supervisor_actor_address_clone [INFO] [stdout] 55 | | ... .send(supervisor_actor::Message::CheckSearchActor) [INFO] [stdout] 56 | | ... .await; [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = supervisor_actor_address_clone [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling web-server-usecase v0.1.0 (/opt/rustwide/workdir/web-server-usecase) [INFO] [stderr] Compiling web-server-adapter v0.1.0 (/opt/rustwide/workdir/web-server-adapter) [INFO] [stderr] Compiling web-server-domain v0.1.0 (/opt/rustwide/workdir/web-server-domain) [INFO] [stderr] Compiling web-server-api v0.1.0 (/opt/rustwide/workdir/web-server-api) [INFO] [stdout] warning: unused import: `crate::actor::search_actor::InitializeMessage::Initialized` [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::actor::search_actor::InitializeMessage::Initialized; [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: `search_actor` [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::actor::{search_actor, supervisor_actor}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instrument` [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing::{debug, Instrument}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix::dev::MessageResponse` [INFO] [stdout] --> web-server-usecase/src/actor/supervisor_actor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use actix::dev::MessageResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Actor`, `MailboxError`, and `Supervisor` [INFO] [stdout] --> web-server-usecase/src/usecase/actor_usecase.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use actix::{Actor, Addr, MailboxError, Supervisor}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix::prelude::*` [INFO] [stdout] --> web-server-api/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use actix::prelude::*; [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: `web_server_usecase::actor::supervisor_actor::SuperVisorActor` [INFO] [stdout] --> web-server-api/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use web_server_usecase::actor::supervisor_actor::SuperVisorActor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::body::BoxBody` [INFO] [stdout] --> web-server-api/src/error_handling.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::body::BoxBody; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MailboxError` [INFO] [stdout] --> web-server-api/src/modules.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use actix::{Actor, MailboxError, Supervisor}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_server_domain::error::Error` [INFO] [stdout] --> web-server-api/src/modules.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use web_server_domain::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StatusCode` [INFO] [stdout] --> web-server-api/src/route/controllers/create_project.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{IntoResponse, Modules, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::response::Response` [INFO] [stdout] --> web-server-api/src/route/controllers/create_project.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::response::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> web-server-api/src/route/controllers/create_project.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::error_handling::HandleError` [INFO] [stdout] --> web-server-api/src/route.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use axum::error_handling::HandleError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::fmt::layer` [INFO] [stdout] --> web-server-api/src/route.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tracing_subscriber::fmt::layer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> web-server-api/src/modules.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut timer_actor = TimerActor::new(); [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-server-adapter/src/models.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_project` [INFO] [stdout] 4 | pub struct Project { [INFO] [stdout] | ------- `Project` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> web-server-adapter/src/models.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newproject` [INFO] [stdout] ... [INFO] [stdout] 13 | pub struct NewProject { [INFO] [stdout] | ---------- `NewProject` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> web-server-adapter/src/models.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Insertable)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newproject` [INFO] [stdout] ... [INFO] [stdout] 13 | pub struct NewProject { [INFO] [stdout] | ---------- `NewProject` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> web-server-adapter/src/models.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newproject` [INFO] [stdout] ... [INFO] [stdout] 13 | pub struct NewProject { [INFO] [stdout] | ---------- `NewProject` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> web-server-adapter/src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | projects (project_id) { [INFO] [stdout] 3 | | project_id -> Unsigned, [INFO] [stdout] 4 | | name -> Varchar, [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> web-server-adapter/src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | projects (project_id) { [INFO] [stdout] 3 | | project_id -> Unsigned, [INFO] [stdout] | | ---------- `project_id` is not local [INFO] [stdout] 4 | | name -> Varchar, [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_project_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> web-server-adapter/src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | projects (project_id) { [INFO] [stdout] 3 | | project_id -> Unsigned, [INFO] [stdout] 4 | | name -> Varchar, [INFO] [stdout] | | ---- `name` is not local [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | fn restarting(&mut self, ctx: &mut ::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:81:50 [INFO] [stdout] | [INFO] [stdout] 81 | fn handle(&mut self, msg: InitializeMessage, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project_id` [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:108:40 [INFO] [stdout] | [INFO] [stdout] 108 | Message::Execute { project_id } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `project_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:97:40 [INFO] [stdout] | [INFO] [stdout] 97 | fn handle(&mut self, msg: Message, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor` [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:101:70 [INFO] [stdout] | [INFO] [stdout] 101 | Box::pin(async { Ok(()) }.into_actor(self).map(|res, actor, ctx| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_actor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor` [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:120:40 [INFO] [stdout] | [INFO] [stdout] 120 | ... .map(|res, actor, ctx| res), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_actor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:120:47 [INFO] [stdout] | [INFO] [stdout] 120 | ... .map(|res, actor, ctx| res), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor` [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:147:32 [INFO] [stdout] | [INFO] [stdout] 147 | .map(|res, actor, ctx| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_actor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> web-server-usecase/src/actor/supervisor_actor.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | fn restarting(&mut self, ctx: &mut ::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> web-server-usecase/src/actor/supervisor_actor.rs:160:27 [INFO] [stdout] | [INFO] [stdout] 160 | fn started(&mut self, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `act` [INFO] [stdout] --> web-server-usecase/src/actor/supervisor_actor.rs:216:32 [INFO] [stdout] | [INFO] [stdout] 216 | .map(|res, act, _ctx| res), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_act` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> web-server-usecase/src/actor/timer_actor.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | fn restarting(&mut self, ctx: &mut ::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `project_id` and `last_started_at` are never read [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct SearchActor { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 39 | project_id: u64, // プロジェクト毎にこのアクターを生成する [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | last_started_at: Instant, // ここで時間をもっていても何をトリガーに生存期間を過ぎたかどうかを判断するべきか?? [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> web-server-usecase/src/actor/search_actor.rs:114:33 [INFO] [stdout] | [INFO] [stdout] 114 | / ... reply_to [INFO] [stdout] 115 | | ... .send(supervisor_actor::Message::CompletedSearch) [INFO] [stdout] 116 | | ... .await; [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 114 | let _ = reply_to [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> web-server-usecase/src/actor/supervisor_actor.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | / search_actor [INFO] [stdout] 89 | | .send(search_actor::Message::Execute { project_id }) [INFO] [stdout] 90 | | .await; [INFO] [stdout] | |__________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 88 | let _ = search_actor [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> web-server-usecase/src/actor/supervisor_actor.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | / search_actor [INFO] [stdout] 105 | | .send(search_actor::Message::Execute { project_id }) [INFO] [stdout] 106 | | .await; [INFO] [stdout] | |__________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 104 | let _ = search_actor [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> web-server-usecase/src/actor/supervisor_actor.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | reply_to.send(Message::LoopExecute { child_actors }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 146 | let _ = reply_to.send(Message::LoopExecute { child_actors }).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> web-server-usecase/src/actor/timer_actor.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | / ... supervisor_actor_address_clone [INFO] [stdout] 55 | | ... .send(supervisor_actor::Message::CheckSearchActor) [INFO] [stdout] 56 | | ... .await; [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = supervisor_actor_address_clone [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Actor` [INFO] [stdout] --> web-server-api/src/modules.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use actix::{Actor, MailboxError, Supervisor}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> web-server-api/src/hasher.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let a = String::from(""); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> web-server-api/src/main.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | signal_handle_thread.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 104 | let _ = signal_handle_thread.join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> web-server-api/src/modules.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / timer_actor [INFO] [stdout] 31 | | .send(Message::CheckSearchActor { [INFO] [stdout] 32 | | supervisor_actor_address: Arc::clone(&supervisor_actor), [INFO] [stdout] 33 | | }) [INFO] [stdout] 34 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 30 | let _ = timer_actor [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.97s [INFO] running `Command { std: "docker" "inspect" "2f06296b16f593dc86ed542483e4eaf9c5c6cb063332678d9c32c25eec4a26da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f06296b16f593dc86ed542483e4eaf9c5c6cb063332678d9c32c25eec4a26da", kill_on_drop: false }` [INFO] [stdout] 2f06296b16f593dc86ed542483e4eaf9c5c6cb063332678d9c32c25eec4a26da [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f81bfcd72b4ea625e0e20a9a23382e490543ae662eba2f1deb7ba641a594e1a2 [INFO] running `Command { std: "docker" "start" "-a" "f81bfcd72b4ea625e0e20a9a23382e490543ae662eba2f1deb7ba641a594e1a2", kill_on_drop: false }` [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] 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-server-adapter/src/models.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Queryable)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Queryable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_queryable_for_project` [INFO] [stderr] 4 | pub struct Project { [INFO] [stderr] | ------- `Project` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-server-adapter/src/models.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Insertable)] [INFO] [stderr] | ^--------- [INFO] [stderr] | | [INFO] [stderr] | `Insertable` is not local [INFO] [stderr] | `table` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_insertable_for_newproject` [INFO] [stderr] ... [INFO] [stderr] 13 | pub struct NewProject { [INFO] [stderr] | ---------- `NewProject` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-server-adapter/src/models.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Insertable)] [INFO] [stderr] | -^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Insertable` is not local [INFO] [stderr] | `table` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_insertable_for_newproject` [INFO] [stderr] ... [INFO] [stderr] 13 | pub struct NewProject { [INFO] [stderr] | ---------- `NewProject` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-server-adapter/src/models.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Insertable)] [INFO] [stderr] | ^--------- [INFO] [stderr] | | [INFO] [stderr] | `UndecoratedInsertRecord` is not local [INFO] [stderr] | `table` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_insertable_for_newproject` [INFO] [stderr] ... [INFO] [stderr] 13 | pub struct NewProject { [INFO] [stderr] | ---------- `NewProject` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-server-adapter/src/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | projects (project_id) { [INFO] [stderr] 3 | | project_id -> Unsigned, [INFO] [stderr] 4 | | name -> Varchar, [INFO] [stderr] 5 | | } [INFO] [stderr] 6 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | | `table` is not local [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-server-adapter/src/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | projects (project_id) { [INFO] [stderr] 3 | | project_id -> Unsigned, [INFO] [stderr] | | ---------- `project_id` is not local [INFO] [stderr] 4 | | name -> Varchar, [INFO] [stderr] 5 | | } [INFO] [stderr] 6 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_project_id` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-server-adapter/src/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | projects (project_id) { [INFO] [stderr] 3 | | project_id -> Unsigned, [INFO] [stderr] 4 | | name -> Varchar, [INFO] [stderr] | | ---- `name` is not local [INFO] [stderr] 5 | | } [INFO] [stderr] 6 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_name` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `web-server-adapter` (lib) generated 7 warnings [INFO] [stderr] warning: `web-server-adapter` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] warning: unused import: `crate::actor::search_actor::InitializeMessage::Initialized` [INFO] [stderr] --> web-server-usecase/src/actor/search_actor.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::actor::search_actor::InitializeMessage::Initialized; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `search_actor` [INFO] [stderr] --> web-server-usecase/src/actor/search_actor.rs:3:20 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::actor::{search_actor, supervisor_actor}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Instrument` [INFO] [stderr] --> web-server-usecase/src/actor/search_actor.rs:9:22 [INFO] [stderr] | [INFO] [stderr] 9 | use tracing::{debug, Instrument}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix::dev::MessageResponse` [INFO] [stderr] --> web-server-usecase/src/actor/supervisor_actor.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use actix::dev::MessageResponse; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Actor`, `MailboxError`, and `Supervisor` [INFO] [stderr] --> web-server-usecase/src/usecase/actor_usecase.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use actix::{Actor, Addr, MailboxError, Supervisor}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> web-server-usecase/src/actor/search_actor.rs:70:30 [INFO] [stderr] | [INFO] [stderr] 70 | fn restarting(&mut self, ctx: &mut ::Context) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> web-server-usecase/src/actor/search_actor.rs:81:50 [INFO] [stderr] | [INFO] [stderr] 81 | fn handle(&mut self, msg: InitializeMessage, ctx: &mut Self::Context) -> Self::Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `project_id` [INFO] [stderr] --> web-server-usecase/src/actor/search_actor.rs:108:40 [INFO] [stderr] | [INFO] [stderr] 108 | Message::Execute { project_id } => { [INFO] [stderr] | ^^^^^^^^^^ help: try ignoring the field: `project_id: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> web-server-usecase/src/actor/search_actor.rs:97:40 [INFO] [stderr] | [INFO] [stderr] 97 | fn handle(&mut self, msg: Message, ctx: &mut Self::Context) -> Self::Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `actor` [INFO] [stderr] --> web-server-usecase/src/actor/search_actor.rs:101:70 [INFO] [stderr] | [INFO] [stderr] 101 | Box::pin(async { Ok(()) }.into_actor(self).map(|res, actor, ctx| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_actor` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `actor` [INFO] [stderr] --> web-server-usecase/src/actor/search_actor.rs:120:40 [INFO] [stderr] | [INFO] [stderr] 120 | ... .map(|res, actor, ctx| res), [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_actor` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> web-server-usecase/src/actor/search_actor.rs:120:47 [INFO] [stderr] | [INFO] [stderr] 120 | ... .map(|res, actor, ctx| res), [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `actor` [INFO] [stderr] --> web-server-usecase/src/actor/search_actor.rs:147:32 [INFO] [stderr] | [INFO] [stderr] 147 | .map(|res, actor, ctx| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_actor` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> web-server-usecase/src/actor/supervisor_actor.rs:47:30 [INFO] [stderr] | [INFO] [stderr] 47 | fn restarting(&mut self, ctx: &mut ::Context) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> web-server-usecase/src/actor/supervisor_actor.rs:160:27 [INFO] [stderr] | [INFO] [stderr] 160 | fn started(&mut self, ctx: &mut Self::Context) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `act` [INFO] [stderr] --> web-server-usecase/src/actor/supervisor_actor.rs:216:32 [INFO] [stderr] | [INFO] [stderr] 216 | .map(|res, act, _ctx| res), [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_act` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> web-server-usecase/src/actor/timer_actor.rs:31:30 [INFO] [stderr] | [INFO] [stderr] 31 | fn restarting(&mut self, ctx: &mut ::Context) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: fields `project_id` and `last_started_at` are never read [INFO] [stderr] --> web-server-usecase/src/actor/search_actor.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 38 | pub struct SearchActor { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 39 | project_id: u64, // プロジェクト毎にこのアクターを生成する [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 42 | last_started_at: Instant, // ここで時間をもっていても何をトリガーに生存期間を過ぎたかどうかを判断するべきか?? [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> web-server-usecase/src/actor/search_actor.rs:114:33 [INFO] [stderr] | [INFO] [stderr] 114 | / ... reply_to [INFO] [stderr] 115 | | ... .send(supervisor_actor::Message::CompletedSearch) [INFO] [stderr] 116 | | ... .await; [INFO] [stderr] | |________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 114 | let _ = reply_to [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> web-server-usecase/src/actor/supervisor_actor.rs:88:25 [INFO] [stderr] | [INFO] [stderr] 88 | / search_actor [INFO] [stderr] 89 | | .send(search_actor::Message::Execute { project_id }) [INFO] [stderr] 90 | | .await; [INFO] [stderr] | |__________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 88 | let _ = search_actor [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> web-server-usecase/src/actor/supervisor_actor.rs:104:25 [INFO] [stderr] | [INFO] [stderr] 104 | / search_actor [INFO] [stderr] 105 | | .send(search_actor::Message::Execute { project_id }) [INFO] [stderr] 106 | | .await; [INFO] [stderr] | |__________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 104 | let _ = search_actor [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> web-server-usecase/src/actor/supervisor_actor.rs:146:21 [INFO] [stderr] | [INFO] [stderr] 146 | reply_to.send(Message::LoopExecute { child_actors }).await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 146 | let _ = reply_to.send(Message::LoopExecute { child_actors }).await; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> web-server-usecase/src/actor/timer_actor.rs:54:29 [INFO] [stderr] | [INFO] [stderr] 54 | / ... supervisor_actor_address_clone [INFO] [stderr] 55 | | ... .send(supervisor_actor::Message::CheckSearchActor) [INFO] [stderr] 56 | | ... .await; [INFO] [stderr] | |________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 54 | let _ = supervisor_actor_address_clone [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `web-server-usecase` (lib) generated 23 warnings (run `cargo fix --lib -p web-server-usecase` to apply 5 suggestions) [INFO] [stderr] warning: `web-server-usecase` (lib test) generated 23 warnings (23 duplicates) [INFO] [stderr] warning: unused import: `actix::prelude::*` [INFO] [stderr] --> web-server-api/src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use actix::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `web_server_usecase::actor::supervisor_actor::SuperVisorActor` [INFO] [stderr] --> web-server-api/src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use web_server_usecase::actor::supervisor_actor::SuperVisorActor; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `axum::body::BoxBody` [INFO] [stderr] --> web-server-api/src/error_handling.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use axum::body::BoxBody; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `MailboxError` [INFO] [stderr] --> web-server-api/src/modules.rs:1:20 [INFO] [stderr] | [INFO] [stderr] 1 | use actix::{Actor, MailboxError, Supervisor}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `web_server_domain::error::Error` [INFO] [stderr] --> web-server-api/src/modules.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use web_server_domain::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `StatusCode` [INFO] [stderr] --> web-server-api/src/route/controllers/create_project.rs:2:36 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::{IntoResponse, Modules, StatusCode}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `axum::response::Response` [INFO] [stderr] --> web-server-api/src/route/controllers/create_project.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use axum::response::Response; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Serialize` [INFO] [stderr] --> web-server-api/src/route/controllers/create_project.rs:6:26 [INFO] [stderr] | [INFO] [stderr] 6 | use serde::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `axum::error_handling::HandleError` [INFO] [stderr] --> web-server-api/src/route.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use axum::error_handling::HandleError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tracing_subscriber::fmt::layer` [INFO] [stderr] --> web-server-api/src/route.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use tracing_subscriber::fmt::layer; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> web-server-api/src/modules.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | let mut timer_actor = TimerActor::new(); [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Actor` [INFO] [stderr] --> web-server-api/src/modules.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use actix::{Actor, MailboxError, Supervisor}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a` [INFO] [stderr] --> web-server-api/src/hasher.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | let a = String::from(""); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> web-server-api/src/main.rs:104:5 [INFO] [stderr] | [INFO] [stderr] 104 | signal_handle_thread.join(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 104 | let _ = signal_handle_thread.join(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> web-server-api/src/modules.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | / timer_actor [INFO] [stderr] 31 | | .send(Message::CheckSearchActor { [INFO] [stderr] 32 | | supervisor_actor_address: Arc::clone(&supervisor_actor), [INFO] [stderr] 33 | | }) [INFO] [stderr] 34 | | .await; [INFO] [stderr] | |__________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 30 | let _ = timer_actor [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `web-server-api` (bin "web-server-api" test) generated 15 warnings (run `cargo fix --bin "web-server-api" --tests` to apply 11 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/web_server_adapter-3a821df125fbf920) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/web_server_api-142d1f2a693f4bc3) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [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] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/web_server_domain-4e911459ebc2c699) [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] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/web_server_usecase-4de64e77e5a70f08) [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] [stderr] Doc-tests web_server_adapter [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] [stderr] Doc-tests web_server_domain [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] [stderr] Doc-tests web_server_usecase [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" "f81bfcd72b4ea625e0e20a9a23382e490543ae662eba2f1deb7ba641a594e1a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f81bfcd72b4ea625e0e20a9a23382e490543ae662eba2f1deb7ba641a594e1a2", kill_on_drop: false }` [INFO] [stdout] f81bfcd72b4ea625e0e20a9a23382e490543ae662eba2f1deb7ba641a594e1a2