[INFO] cloning repository https://github.com/sdelvalle57/vf_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sdelvalle57/vf_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsdelvalle57%2Fvf_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsdelvalle57%2Fvf_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d0ade0399c6f5950f69ce0a543433239a046c50c [INFO] testing sdelvalle57/vf_rust 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%2Fsdelvalle57%2Fvf_rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sdelvalle57/vf_rust [INFO] finished tweaking git repo https://github.com/sdelvalle57/vf_rust [INFO] tweaked toml for git repo https://github.com/sdelvalle57/vf_rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sdelvalle57/vf_rust 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/sdelvalle57/vf_rust 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] b970918b745a4b1655f026a7a64d9ff60e86ad4d49b1d8e4f1fd0241b4e562b4 [INFO] running `Command { std: "docker" "start" "-a" "b970918b745a4b1655f026a7a64d9ff60e86ad4d49b1d8e4f1fd0241b4e562b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b970918b745a4b1655f026a7a64d9ff60e86ad4d49b1d8e4f1fd0241b4e562b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b970918b745a4b1655f026a7a64d9ff60e86ad4d49b1d8e4f1fd0241b4e562b4", kill_on_drop: false }` [INFO] [stdout] b970918b745a4b1655f026a7a64d9ff60e86ad4d49b1d8e4f1fd0241b4e562b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 888134761da90acf419b020fa5374e49b5676cde032c8dd34d903ec77a77bdde [INFO] running `Command { std: "docker" "start" "-a" "888134761da90acf419b020fa5374e49b5676cde032c8dd34d903ec77a77bdde", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling flate2 v1.0.32 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling cc v1.1.13 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Compiling impl-more v0.1.6 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling mediatype v0.19.18 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling derive_utils v0.11.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling juniper_codegen v0.15.9 [INFO] [stderr] Compiling futures-enum v0.1.17 [INFO] [stderr] Compiling actix-web-lab-derive v0.19.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling tokio v1.39.3 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling graphql-parser v0.3.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling dsl_auto_type v0.1.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling diesel_derives v2.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling actix-server v2.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ipnetwork v0.18.0 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling serde_html_form v0.2.6 [INFO] [stderr] Compiling bigdecimal v0.3.1 [INFO] [stderr] Compiling bson v1.2.4 [INFO] [stderr] Compiling diesel v2.2.2 [INFO] [stderr] Compiling juniper v0.15.12 [INFO] [stderr] Compiling actix-http v3.9.0 [INFO] [stderr] Compiling actix-web v4.9.0 [INFO] [stderr] Compiling actix-cors v0.6.5 [INFO] [stderr] Compiling actix-web-lab v0.19.2 [INFO] [stderr] Compiling vf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `recipe_template_blacklist::RecipeTemplateBlacklist` [INFO] [stdout] --> src/templates/recipe_template.rs:12:83 [INFO] [stdout] | [INFO] [stdout] 12 | use super::{recipe_flow_template::{ActionType, RecipeFlowTemplateWithDataFields}, recipe_template_blacklist::RecipeTemplateBlacklist}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphql/modules/templates/template.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | let mut recipe = get_template_by_id(context, template_id)?; [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: struct `Recipe` is never constructed [INFO] [stdout] --> src/recipe/recipe.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Recipe { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeResource` is never constructed [INFO] [stdout] --> src/recipe/recipe.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct RecipeResource { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeWithResources` is never constructed [INFO] [stdout] --> src/recipe/recipe.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct RecipeWithResources { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/recipe/recipe.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl RecipeWithResources { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 80 | pub fn new(recipe: Recipe, resource_specifications: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeProcess` is never constructed [INFO] [stdout] --> src/recipe/process/process.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct RecipeProcess { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OutputOf` is never constructed [INFO] [stdout] --> src/recipe/process/process.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct OutputOf { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeProcessResponse` is never constructed [INFO] [stdout] --> src/recipe/process/process.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct RecipeProcessResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_recipe_process_flow`, and `add_output_of` are never used [INFO] [stdout] --> src/recipe/process/process.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl RecipeProcessResponse { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 102 | pub fn new(recipe_process: RecipeProcess) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn add_recipe_process_flow(&mut self, recipe_process_flow: RecipeProcessFlowResponse) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn add_output_of(&mut self, id: Uuid) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessFlow` is never constructed [INFO] [stdout] --> src/recipe/process/process.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct ProcessFlow { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeProcessFlow` is never constructed [INFO] [stdout] --> src/recipe/process/flow.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct RecipeProcessFlow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeProcessFlowResponse` is never constructed [INFO] [stdout] --> src/recipe/process/flow.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct RecipeProcessFlowResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_data_field` are never used [INFO] [stdout] --> src/recipe/process/flow.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl RecipeProcessFlowResponse { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 66 | pub fn new(recipe_process_flow: RecipeProcessFlow) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn add_data_field(&mut self, data_field: RecipeFlowDataField) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeFlowDataField` is never constructed [INFO] [stdout] --> src/recipe/process/data_field.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct RecipeFlowDataField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessExecution` is never constructed [INFO] [stdout] --> src/recipe/process/execution.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ProcessExecution { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Pool` is never used [INFO] [stdout] --> src/db/conn.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type Pool = r2d2::Pool>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `establish_connection_pool` is never used [INFO] [stdout] --> src/db/conn.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn establish_connection_pool() -> Pool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryRoot` is never constructed [INFO] [stdout] --> src/graphql/queries.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct QueryRoot; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MutationRoot` is never constructed [INFO] [stdout] --> src/graphql/mutations.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct MutationRoot; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Schema` is never used [INFO] [stdout] --> src/graphql/schema.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type Schema = RootNode<'static, QueryRoot, MutationRoot, EmptySubscription>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_schema` is never used [INFO] [stdout] --> src/graphql/schema.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_schema() -> Schema { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_server` is never used [INFO] [stdout] --> src/graphql/handler.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | pub async fn start_server(pool: Arc) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/graphql/context.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recipe_by_id` is never used [INFO] [stdout] --> src/graphql/modules/recipe/recipe.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn recipe_by_id(context: &Context, recipe_id: Uuid) -> FieldResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recipes_by_agent` is never used [INFO] [stdout] --> src/graphql/modules/recipe/recipe.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn recipes_by_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_recipe` is never used [INFO] [stdout] --> src/graphql/modules/recipe/recipe.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn create_recipe( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `all_agents` is never used [INFO] [stdout] --> src/graphql/modules/common/agent.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn all_agents(context: &Context) -> FieldResult> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `agent_by_id` is never used [INFO] [stdout] --> src/graphql/modules/common/agent.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn agent_by_id(context: &Context, agent_id: Uuid) -> FieldResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `agents_with_location` is never used [INFO] [stdout] --> src/graphql/modules/common/agent.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn agents_with_location(context: &Context) -> FieldResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_agent` is never used [INFO] [stdout] --> src/graphql/modules/common/agent.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn create_agent(context: &Context, name: String, note: Option) -> FieldResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `economic_resources_by_specification_id` is never used [INFO] [stdout] --> src/graphql/modules/common/economic_resource.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn economic_resources_by_specification_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `economic_resources_by_agent` is never used [INFO] [stdout] --> src/graphql/modules/common/economic_resource.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn economic_resources_by_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_economic_resource` is never used [INFO] [stdout] --> src/graphql/modules/common/economic_resource.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn create_economic_resource( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `all_resource_specifications` is never used [INFO] [stdout] --> src/graphql/modules/common/resource_specification.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn all_resource_specifications(context: &Context) -> FieldResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resource_specifications_by_agent` is never used [INFO] [stdout] --> src/graphql/modules/common/resource_specification.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn resource_specifications_by_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resource_specification_by_id` is never used [INFO] [stdout] --> src/graphql/modules/common/resource_specification.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn resource_specification_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_resource_specification` is never used [INFO] [stdout] --> src/graphql/modules/common/resource_specification.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn create_resource_specification( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `locations_by_agent` is never used [INFO] [stdout] --> src/graphql/modules/common/location.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn locations_by_agent(context: &Context, agent_id: Uuid) -> FieldResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_location` is never used [INFO] [stdout] --> src/graphql/modules/common/location.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn create_location(context: &Context, agent_id: Uuid, name: String, value: String) -> FieldResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeFlowTemplateGroup` is never constructed [INFO] [stdout] --> src/graphql/modules/templates/template.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct RecipeFlowTemplateGroup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeFlowTemplateArg` is never constructed [INFO] [stdout] --> src/graphql/modules/templates/template.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct RecipeFlowTemplateArg { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FieldInheritance` is never constructed [INFO] [stdout] --> src/graphql/modules/templates/template.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct FieldInheritance { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeFlowTemplateDataFieldArg` is never constructed [INFO] [stdout] --> src/graphql/modules/templates/template.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct RecipeFlowTemplateDataFieldArg { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MapTemplateBlacklist` is never constructed [INFO] [stdout] --> src/graphql/modules/templates/template.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct MapTemplateBlacklist { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_recipe_flow_template_data_fields` is never used [INFO] [stdout] --> src/graphql/modules/templates/template.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn get_recipe_flow_template_data_fields( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_recipe_template_with_flows` is never used [INFO] [stdout] --> src/graphql/modules/templates/template.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn get_recipe_template_with_flows( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_map_templates` is never used [INFO] [stdout] --> src/graphql/modules/templates/template.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn get_map_templates(context: &Context) -> FieldResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_map_template_by_id` is never used [INFO] [stdout] --> src/graphql/modules/templates/template.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn get_map_template_by_id(context: &Context, map_id: Uuid) -> FieldResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_template_by_id` is never used [INFO] [stdout] --> src/graphql/modules/templates/template.rs:201:8 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn get_template_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_templates_access_by_agent` is never used [INFO] [stdout] --> src/graphql/modules/templates/template.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn get_templates_access_by_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_blacklists_by_map_template` is never used [INFO] [stdout] --> src/graphql/modules/templates/template.rs:243:4 [INFO] [stdout] | [INFO] [stdout] 243 | fn get_blacklists_by_map_template( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_map_template` is never used [INFO] [stdout] --> src/graphql/modules/templates/template.rs:259:8 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn create_map_template( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_recipe_template` is never used [INFO] [stdout] --> src/graphql/modules/templates/template.rs:281:8 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn create_recipe_template( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_map_template_blacklists` is never used [INFO] [stdout] --> src/graphql/modules/templates/template.rs:445:8 [INFO] [stdout] | [INFO] [stdout] 445 | pub fn set_map_template_blacklists( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assign_template_to_agent` is never used [INFO] [stdout] --> src/graphql/modules/templates/template.rs:487:8 [INFO] [stdout] | [INFO] [stdout] 487 | pub fn assign_template_to_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MapTemplate` is never constructed [INFO] [stdout] --> src/templates/map_template.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct MapTemplate { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MapTemplateResponse` is never constructed [INFO] [stdout] --> src/templates/map_template.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct MapTemplateResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_template` are never used [INFO] [stdout] --> src/templates/map_template.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl MapTemplateResponse { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 82 | pub fn new(map: MapTemplate, blacklists: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn add_template(&mut self, template: RecipeTemplateWithRecipeFlows) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeTemplate` is never constructed [INFO] [stdout] --> src/templates/recipe_template.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct RecipeTemplate { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeTemplateWithRecipeFlows` is never constructed [INFO] [stdout] --> src/templates/recipe_template.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct RecipeTemplateWithRecipeFlows { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_recipe_flow` are never used [INFO] [stdout] --> src/templates/recipe_template.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl RecipeTemplateWithRecipeFlows { [INFO] [stdout] | ---------------------------------- associated items in this implementation [INFO] [stdout] 74 | pub fn new(recipe_template: & RecipeTemplate) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn add_recipe_flow(&mut self, recipe_flow: RecipeFlowTemplateWithDataFields) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeTemplateAccess` is never constructed [INFO] [stdout] --> src/templates/recipe_template_access.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct RecipeTemplateAccess { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeFlowTemplate` is never constructed [INFO] [stdout] --> src/templates/recipe_flow_template.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct RecipeFlowTemplate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeFlowTemplateWithDataFields` is never constructed [INFO] [stdout] --> src/templates/recipe_flow_template.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | pub struct RecipeFlowTemplateWithDataFields { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_data_field`, and `add_group` are never used [INFO] [stdout] --> src/templates/recipe_flow_template.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 190 | impl RecipeFlowTemplateWithDataFields { [INFO] [stdout] | ------------------------------------- associated items in this implementation [INFO] [stdout] 191 | pub fn new(recipe_flow_template: &RecipeFlowTemplate) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn add_data_field(&mut self, data_field: RecipeFlowTemplateDataFieldInput) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn add_group(&mut self, group: RecipeFlowTemplateGroupDataField) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeFlowTemplateGroupDataField` is never constructed [INFO] [stdout] --> src/templates/recipe_flow_template_group_data_fields.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct RecipeFlowTemplateGroupDataField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeFlowTemplateDataField` is never constructed [INFO] [stdout] --> src/templates/recipe_flow_template_data_field.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct RecipeFlowTemplateDataField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeFlowTemplateDataFieldInput` is never constructed [INFO] [stdout] --> src/templates/recipe_flow_template_data_field.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 204 | pub struct RecipeFlowTemplateDataFieldInput { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeTemplateBlacklist` is never constructed [INFO] [stdout] --> src/templates/recipe_template_blacklist.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct RecipeTemplateBlacklist { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Agent` is never constructed [INFO] [stdout] --> src/common/agent.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Agent { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AgentLocation` is never constructed [INFO] [stdout] --> src/common/agent.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct AgentLocation { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AgentWithLocations` is never constructed [INFO] [stdout] --> src/common/agent.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct AgentWithLocations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/common/agent.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl AgentWithLocations { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 53 | pub fn new(id: Uuid, name: String, locations: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResourceSpecification` is never constructed [INFO] [stdout] --> src/common/resource_specification.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct ResourceSpecification { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EconomicResource` is never constructed [INFO] [stdout] --> src/common/economic_resource.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct EconomicResource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EconomicResourceWithSpec` is never constructed [INFO] [stdout] --> src/common/economic_resource.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct EconomicResourceWithSpec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `build` is never used [INFO] [stdout] --> src/common/economic_resource.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl EconomicResourceWithSpec { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 92 | pub fn build( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location` is never constructed [INFO] [stdout] --> src/common/location.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `recipe_template_blacklist::RecipeTemplateBlacklist` [INFO] [stdout] --> src/templates/recipe_template.rs:12:83 [INFO] [stdout] | [INFO] [stdout] 12 | use super::{recipe_flow_template::{ActionType, RecipeFlowTemplateWithDataFields}, recipe_template_blacklist::RecipeTemplateBlacklist}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphql/modules/templates/template.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | let mut recipe = get_template_by_id(context, template_id)?; [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: struct `RecipeProcess` is never constructed [INFO] [stdout] --> src/recipe/process/process.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct RecipeProcess { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OutputOf` is never constructed [INFO] [stdout] --> src/recipe/process/process.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct OutputOf { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeProcessResponse` is never constructed [INFO] [stdout] --> src/recipe/process/process.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct RecipeProcessResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_recipe_process_flow`, and `add_output_of` are never used [INFO] [stdout] --> src/recipe/process/process.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl RecipeProcessResponse { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 102 | pub fn new(recipe_process: RecipeProcess) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn add_recipe_process_flow(&mut self, recipe_process_flow: RecipeProcessFlowResponse) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn add_output_of(&mut self, id: Uuid) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessFlow` is never constructed [INFO] [stdout] --> src/recipe/process/process.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct ProcessFlow { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeProcessFlow` is never constructed [INFO] [stdout] --> src/recipe/process/flow.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct RecipeProcessFlow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeProcessFlowResponse` is never constructed [INFO] [stdout] --> src/recipe/process/flow.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct RecipeProcessFlowResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_data_field` are never used [INFO] [stdout] --> src/recipe/process/flow.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl RecipeProcessFlowResponse { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 66 | pub fn new(recipe_process_flow: RecipeProcessFlow) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn add_data_field(&mut self, data_field: RecipeFlowDataField) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeFlowDataField` is never constructed [INFO] [stdout] --> src/recipe/process/data_field.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct RecipeFlowDataField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessExecution` is never constructed [INFO] [stdout] --> src/recipe/process/execution.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ProcessExecution { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 09s [INFO] running `Command { std: "docker" "inspect" "888134761da90acf419b020fa5374e49b5676cde032c8dd34d903ec77a77bdde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "888134761da90acf419b020fa5374e49b5676cde032c8dd34d903ec77a77bdde", kill_on_drop: false }` [INFO] [stdout] 888134761da90acf419b020fa5374e49b5676cde032c8dd34d903ec77a77bdde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] ac5f24c6f09fcf0ac6517404819c62077800b8852849a5eea24d770bba7b8a82 [INFO] running `Command { std: "docker" "start" "-a" "ac5f24c6f09fcf0ac6517404819c62077800b8852849a5eea24d770bba7b8a82", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `recipe_template_blacklist::RecipeTemplateBlacklist` [INFO] [stdout] --> src/templates/recipe_template.rs:12:83 [INFO] [stdout] | [INFO] [stdout] 12 | use super::{recipe_flow_template::{ActionType, RecipeFlowTemplateWithDataFields}, recipe_template_blacklist::RecipeTemplateBlacklist}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphql/modules/templates/template.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | let mut recipe = get_template_by_id(context, template_id)?; [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: struct `Recipe` is never constructed [INFO] [stdout] --> src/recipe/recipe.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Recipe { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeResource` is never constructed [INFO] [stdout] --> src/recipe/recipe.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct RecipeResource { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeWithResources` is never constructed [INFO] [stdout] --> src/recipe/recipe.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct RecipeWithResources { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/recipe/recipe.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl RecipeWithResources { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 80 | pub fn new(recipe: Recipe, resource_specifications: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeProcess` is never constructed [INFO] [stdout] --> src/recipe/process/process.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct RecipeProcess { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OutputOf` is never constructed [INFO] [stdout] --> src/recipe/process/process.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct OutputOf { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeProcessResponse` is never constructed [INFO] [stdout] --> src/recipe/process/process.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct RecipeProcessResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_recipe_process_flow`, and `add_output_of` are never used [INFO] [stdout] --> src/recipe/process/process.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl RecipeProcessResponse { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 102 | pub fn new(recipe_process: RecipeProcess) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn add_recipe_process_flow(&mut self, recipe_process_flow: RecipeProcessFlowResponse) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn add_output_of(&mut self, id: Uuid) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessFlow` is never constructed [INFO] [stdout] --> src/recipe/process/process.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct ProcessFlow { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeProcessFlow` is never constructed [INFO] [stdout] --> src/recipe/process/flow.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct RecipeProcessFlow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeProcessFlowResponse` is never constructed [INFO] [stdout] --> src/recipe/process/flow.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct RecipeProcessFlowResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_data_field` are never used [INFO] [stdout] --> src/recipe/process/flow.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl RecipeProcessFlowResponse { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 66 | pub fn new(recipe_process_flow: RecipeProcessFlow) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn add_data_field(&mut self, data_field: RecipeFlowDataField) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeFlowDataField` is never constructed [INFO] [stdout] --> src/recipe/process/data_field.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct RecipeFlowDataField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessExecution` is never constructed [INFO] [stdout] --> src/recipe/process/execution.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ProcessExecution { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Pool` is never used [INFO] [stdout] --> src/db/conn.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type Pool = r2d2::Pool>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `establish_connection_pool` is never used [INFO] [stdout] --> src/db/conn.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn establish_connection_pool() -> Pool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryRoot` is never constructed [INFO] [stdout] --> src/graphql/queries.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct QueryRoot; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MutationRoot` is never constructed [INFO] [stdout] --> src/graphql/mutations.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct MutationRoot; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Schema` is never used [INFO] [stdout] --> src/graphql/schema.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type Schema = RootNode<'static, QueryRoot, MutationRoot, EmptySubscription>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_schema` is never used [INFO] [stdout] --> src/graphql/schema.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_schema() -> Schema { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_server` is never used [INFO] [stdout] --> src/graphql/handler.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | pub async fn start_server(pool: Arc) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/graphql/context.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recipe_by_id` is never used [INFO] [stdout] --> src/graphql/modules/recipe/recipe.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn recipe_by_id(context: &Context, recipe_id: Uuid) -> FieldResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recipes_by_agent` is never used [INFO] [stdout] --> src/graphql/modules/recipe/recipe.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn recipes_by_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_recipe` is never used [INFO] [stdout] --> src/graphql/modules/recipe/recipe.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn create_recipe( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `all_agents` is never used [INFO] [stdout] --> src/graphql/modules/common/agent.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn all_agents(context: &Context) -> FieldResult> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `agent_by_id` is never used [INFO] [stdout] --> src/graphql/modules/common/agent.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn agent_by_id(context: &Context, agent_id: Uuid) -> FieldResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `agents_with_location` is never used [INFO] [stdout] --> src/graphql/modules/common/agent.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn agents_with_location(context: &Context) -> FieldResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_agent` is never used [INFO] [stdout] --> src/graphql/modules/common/agent.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn create_agent(context: &Context, name: String, note: Option) -> FieldResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `economic_resources_by_specification_id` is never used [INFO] [stdout] --> src/graphql/modules/common/economic_resource.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn economic_resources_by_specification_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `economic_resources_by_agent` is never used [INFO] [stdout] --> src/graphql/modules/common/economic_resource.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn economic_resources_by_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_economic_resource` is never used [INFO] [stdout] --> src/graphql/modules/common/economic_resource.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn create_economic_resource( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `all_resource_specifications` is never used [INFO] [stdout] --> src/graphql/modules/common/resource_specification.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn all_resource_specifications(context: &Context) -> FieldResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resource_specifications_by_agent` is never used [INFO] [stdout] --> src/graphql/modules/common/resource_specification.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn resource_specifications_by_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resource_specification_by_id` is never used [INFO] [stdout] --> src/graphql/modules/common/resource_specification.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn resource_specification_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_resource_specification` is never used [INFO] [stdout] --> src/graphql/modules/common/resource_specification.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn create_resource_specification( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `locations_by_agent` is never used [INFO] [stdout] --> src/graphql/modules/common/location.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn locations_by_agent(context: &Context, agent_id: Uuid) -> FieldResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_location` is never used [INFO] [stdout] --> src/graphql/modules/common/location.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn create_location(context: &Context, agent_id: Uuid, name: String, value: String) -> FieldResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeFlowTemplateGroup` is never constructed [INFO] [stdout] --> src/graphql/modules/templates/template.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct RecipeFlowTemplateGroup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeFlowTemplateArg` is never constructed [INFO] [stdout] --> src/graphql/modules/templates/template.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct RecipeFlowTemplateArg { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FieldInheritance` is never constructed [INFO] [stdout] --> src/graphql/modules/templates/template.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct FieldInheritance { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeFlowTemplateDataFieldArg` is never constructed [INFO] [stdout] --> src/graphql/modules/templates/template.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct RecipeFlowTemplateDataFieldArg { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MapTemplateBlacklist` is never constructed [INFO] [stdout] --> src/graphql/modules/templates/template.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct MapTemplateBlacklist { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_recipe_flow_template_data_fields` is never used [INFO] [stdout] --> src/graphql/modules/templates/template.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn get_recipe_flow_template_data_fields( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_recipe_template_with_flows` is never used [INFO] [stdout] --> src/graphql/modules/templates/template.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn get_recipe_template_with_flows( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_map_templates` is never used [INFO] [stdout] --> src/graphql/modules/templates/template.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn get_map_templates(context: &Context) -> FieldResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_map_template_by_id` is never used [INFO] [stdout] --> src/graphql/modules/templates/template.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn get_map_template_by_id(context: &Context, map_id: Uuid) -> FieldResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling vf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `get_template_by_id` is never used [INFO] [stdout] --> src/graphql/modules/templates/template.rs:201:8 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn get_template_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_templates_access_by_agent` is never used [INFO] [stdout] --> src/graphql/modules/templates/template.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn get_templates_access_by_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_blacklists_by_map_template` is never used [INFO] [stdout] --> src/graphql/modules/templates/template.rs:243:4 [INFO] [stdout] | [INFO] [stdout] 243 | fn get_blacklists_by_map_template( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_map_template` is never used [INFO] [stdout] --> src/graphql/modules/templates/template.rs:259:8 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn create_map_template( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_recipe_template` is never used [INFO] [stdout] --> src/graphql/modules/templates/template.rs:281:8 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn create_recipe_template( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_map_template_blacklists` is never used [INFO] [stdout] --> src/graphql/modules/templates/template.rs:445:8 [INFO] [stdout] | [INFO] [stdout] 445 | pub fn set_map_template_blacklists( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assign_template_to_agent` is never used [INFO] [stdout] --> src/graphql/modules/templates/template.rs:487:8 [INFO] [stdout] | [INFO] [stdout] 487 | pub fn assign_template_to_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MapTemplate` is never constructed [INFO] [stdout] --> src/templates/map_template.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct MapTemplate { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MapTemplateResponse` is never constructed [INFO] [stdout] --> src/templates/map_template.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct MapTemplateResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_template` are never used [INFO] [stdout] --> src/templates/map_template.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl MapTemplateResponse { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 82 | pub fn new(map: MapTemplate, blacklists: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn add_template(&mut self, template: RecipeTemplateWithRecipeFlows) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeTemplate` is never constructed [INFO] [stdout] --> src/templates/recipe_template.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct RecipeTemplate { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeTemplateWithRecipeFlows` is never constructed [INFO] [stdout] --> src/templates/recipe_template.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct RecipeTemplateWithRecipeFlows { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_recipe_flow` are never used [INFO] [stdout] --> src/templates/recipe_template.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl RecipeTemplateWithRecipeFlows { [INFO] [stdout] | ---------------------------------- associated items in this implementation [INFO] [stdout] 74 | pub fn new(recipe_template: & RecipeTemplate) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn add_recipe_flow(&mut self, recipe_flow: RecipeFlowTemplateWithDataFields) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeTemplateAccess` is never constructed [INFO] [stdout] --> src/templates/recipe_template_access.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct RecipeTemplateAccess { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeFlowTemplate` is never constructed [INFO] [stdout] --> src/templates/recipe_flow_template.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct RecipeFlowTemplate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeFlowTemplateWithDataFields` is never constructed [INFO] [stdout] --> src/templates/recipe_flow_template.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | pub struct RecipeFlowTemplateWithDataFields { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_data_field`, and `add_group` are never used [INFO] [stdout] --> src/templates/recipe_flow_template.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 190 | impl RecipeFlowTemplateWithDataFields { [INFO] [stdout] | ------------------------------------- associated items in this implementation [INFO] [stdout] 191 | pub fn new(recipe_flow_template: &RecipeFlowTemplate) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn add_data_field(&mut self, data_field: RecipeFlowTemplateDataFieldInput) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn add_group(&mut self, group: RecipeFlowTemplateGroupDataField) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeFlowTemplateGroupDataField` is never constructed [INFO] [stdout] --> src/templates/recipe_flow_template_group_data_fields.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct RecipeFlowTemplateGroupDataField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeFlowTemplateDataField` is never constructed [INFO] [stdout] --> src/templates/recipe_flow_template_data_field.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct RecipeFlowTemplateDataField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeFlowTemplateDataFieldInput` is never constructed [INFO] [stdout] --> src/templates/recipe_flow_template_data_field.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 204 | pub struct RecipeFlowTemplateDataFieldInput { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeTemplateBlacklist` is never constructed [INFO] [stdout] --> src/templates/recipe_template_blacklist.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct RecipeTemplateBlacklist { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Agent` is never constructed [INFO] [stdout] --> src/common/agent.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Agent { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AgentLocation` is never constructed [INFO] [stdout] --> src/common/agent.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct AgentLocation { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AgentWithLocations` is never constructed [INFO] [stdout] --> src/common/agent.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct AgentWithLocations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/common/agent.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl AgentWithLocations { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 53 | pub fn new(id: Uuid, name: String, locations: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResourceSpecification` is never constructed [INFO] [stdout] --> src/common/resource_specification.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct ResourceSpecification { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EconomicResource` is never constructed [INFO] [stdout] --> src/common/economic_resource.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct EconomicResource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EconomicResourceWithSpec` is never constructed [INFO] [stdout] --> src/common/economic_resource.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct EconomicResourceWithSpec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `build` is never used [INFO] [stdout] --> src/common/economic_resource.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl EconomicResourceWithSpec { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 92 | pub fn build( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location` is never constructed [INFO] [stdout] --> src/common/location.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/graphql/modules/templates/template.rs:522:9 [INFO] [stdout] | [INFO] [stdout] 522 | use std::env; [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: `diesel::prelude::*` [INFO] [stdout] --> src/graphql/modules/templates/template.rs:525:9 [INFO] [stdout] | [INFO] [stdout] 525 | use diesel::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `recipe_template_blacklist::RecipeTemplateBlacklist` [INFO] [stdout] --> src/templates/recipe_template.rs:12:83 [INFO] [stdout] | [INFO] [stdout] 12 | use super::{recipe_flow_template::{ActionType, RecipeFlowTemplateWithDataFields}, recipe_template_blacklist::RecipeTemplateBlacklist}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/graphql/modules/templates/template.rs:522:9 [INFO] [stdout] | [INFO] [stdout] 522 | use std::env; [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: `diesel::prelude::*` [INFO] [stdout] --> src/graphql/modules/templates/template.rs:525:9 [INFO] [stdout] | [INFO] [stdout] 525 | use diesel::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `recipe_template_blacklist::RecipeTemplateBlacklist` [INFO] [stdout] --> src/templates/recipe_template.rs:12:83 [INFO] [stdout] | [INFO] [stdout] 12 | use super::{recipe_flow_template::{ActionType, RecipeFlowTemplateWithDataFields}, recipe_template_blacklist::RecipeTemplateBlacklist}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphql/modules/templates/template.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | let mut recipe = get_template_by_id(context, template_id)?; [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: variable does not need to be mutable [INFO] [stdout] --> src/graphql/modules/templates/template.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | let mut recipe = get_template_by_id(context, template_id)?; [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: struct `Recipe` is never constructed [INFO] [stdout] --> src/recipe/recipe.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Recipe { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeResource` is never constructed [INFO] [stdout] --> src/recipe/recipe.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct RecipeResource { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeWithResources` is never constructed [INFO] [stdout] --> src/recipe/recipe.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct RecipeWithResources { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/recipe/recipe.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl RecipeWithResources { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 80 | pub fn new(recipe: Recipe, resource_specifications: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeProcess` is never constructed [INFO] [stdout] --> src/recipe/process/process.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct RecipeProcess { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OutputOf` is never constructed [INFO] [stdout] --> src/recipe/process/process.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct OutputOf { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeProcessResponse` is never constructed [INFO] [stdout] --> src/recipe/process/process.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct RecipeProcessResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_recipe_process_flow`, and `add_output_of` are never used [INFO] [stdout] --> src/recipe/process/process.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl RecipeProcessResponse { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 102 | pub fn new(recipe_process: RecipeProcess) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn add_recipe_process_flow(&mut self, recipe_process_flow: RecipeProcessFlowResponse) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn add_output_of(&mut self, id: Uuid) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessFlow` is never constructed [INFO] [stdout] --> src/recipe/process/process.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct ProcessFlow { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeProcessFlow` is never constructed [INFO] [stdout] --> src/recipe/process/flow.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct RecipeProcessFlow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeProcessFlowResponse` is never constructed [INFO] [stdout] --> src/recipe/process/flow.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct RecipeProcessFlowResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_data_field` are never used [INFO] [stdout] --> src/recipe/process/flow.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl RecipeProcessFlowResponse { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 66 | pub fn new(recipe_process_flow: RecipeProcessFlow) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn add_data_field(&mut self, data_field: RecipeFlowDataField) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeFlowDataField` is never constructed [INFO] [stdout] --> src/recipe/process/data_field.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct RecipeFlowDataField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessExecution` is never constructed [INFO] [stdout] --> src/recipe/process/execution.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ProcessExecution { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Pool` is never used [INFO] [stdout] --> src/db/conn.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type Pool = r2d2::Pool>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `establish_connection_pool` is never used [INFO] [stdout] --> src/db/conn.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn establish_connection_pool() -> Pool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryRoot` is never constructed [INFO] [stdout] --> src/graphql/queries.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct QueryRoot; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MutationRoot` is never constructed [INFO] [stdout] --> src/graphql/mutations.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct MutationRoot; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Schema` is never used [INFO] [stdout] --> src/graphql/schema.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type Schema = RootNode<'static, QueryRoot, MutationRoot, EmptySubscription>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_schema` is never used [INFO] [stdout] --> src/graphql/schema.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_schema() -> Schema { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_server` is never used [INFO] [stdout] --> src/graphql/handler.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | pub async fn start_server(pool: Arc) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/graphql/context.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recipe_by_id` is never used [INFO] [stdout] --> src/graphql/modules/recipe/recipe.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn recipe_by_id(context: &Context, recipe_id: Uuid) -> FieldResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recipes_by_agent` is never used [INFO] [stdout] --> src/graphql/modules/recipe/recipe.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn recipes_by_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_recipe` is never used [INFO] [stdout] --> src/graphql/modules/recipe/recipe.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn create_recipe( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `all_agents` is never used [INFO] [stdout] --> src/graphql/modules/common/agent.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn all_agents(context: &Context) -> FieldResult> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `agent_by_id` is never used [INFO] [stdout] --> src/graphql/modules/common/agent.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn agent_by_id(context: &Context, agent_id: Uuid) -> FieldResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `agents_with_location` is never used [INFO] [stdout] --> src/graphql/modules/common/agent.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn agents_with_location(context: &Context) -> FieldResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_agent` is never used [INFO] [stdout] --> src/graphql/modules/common/agent.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn create_agent(context: &Context, name: String, note: Option) -> FieldResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `economic_resources_by_specification_id` is never used [INFO] [stdout] --> src/graphql/modules/common/economic_resource.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn economic_resources_by_specification_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `economic_resources_by_agent` is never used [INFO] [stdout] --> src/graphql/modules/common/economic_resource.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn economic_resources_by_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_economic_resource` is never used [INFO] [stdout] --> src/graphql/modules/common/economic_resource.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn create_economic_resource( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `all_resource_specifications` is never used [INFO] [stdout] --> src/graphql/modules/common/resource_specification.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn all_resource_specifications(context: &Context) -> FieldResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resource_specifications_by_agent` is never used [INFO] [stdout] --> src/graphql/modules/common/resource_specification.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn resource_specifications_by_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resource_specification_by_id` is never used [INFO] [stdout] --> src/graphql/modules/common/resource_specification.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn resource_specification_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_resource_specification` is never used [INFO] [stdout] --> src/graphql/modules/common/resource_specification.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn create_resource_specification( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `locations_by_agent` is never used [INFO] [stdout] --> src/graphql/modules/common/location.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn locations_by_agent(context: &Context, agent_id: Uuid) -> FieldResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_location` is never used [INFO] [stdout] --> src/graphql/modules/common/location.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn create_location(context: &Context, agent_id: Uuid, name: String, value: String) -> FieldResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeFlowTemplateGroup` is never constructed [INFO] [stdout] --> src/graphql/modules/templates/template.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct RecipeFlowTemplateGroup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeFlowTemplateArg` is never constructed [INFO] [stdout] --> src/graphql/modules/templates/template.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct RecipeFlowTemplateArg { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FieldInheritance` is never constructed [INFO] [stdout] --> src/graphql/modules/templates/template.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct FieldInheritance { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeFlowTemplateDataFieldArg` is never constructed [INFO] [stdout] --> src/graphql/modules/templates/template.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct RecipeFlowTemplateDataFieldArg { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MapTemplateBlacklist` is never constructed [INFO] [stdout] --> src/graphql/modules/templates/template.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct MapTemplateBlacklist { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_recipe_flow_template_data_fields` is never used [INFO] [stdout] --> src/graphql/modules/templates/template.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn get_recipe_flow_template_data_fields( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_recipe_template_with_flows` is never used [INFO] [stdout] --> src/graphql/modules/templates/template.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn get_recipe_template_with_flows( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_map_templates` is never used [INFO] [stdout] --> src/graphql/modules/templates/template.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn get_map_templates(context: &Context) -> FieldResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_map_template_by_id` is never used [INFO] [stdout] --> src/graphql/modules/templates/template.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn get_map_template_by_id(context: &Context, map_id: Uuid) -> FieldResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_template_by_id` is never used [INFO] [stdout] --> src/graphql/modules/templates/template.rs:201:8 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn get_template_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_templates_access_by_agent` is never used [INFO] [stdout] --> src/graphql/modules/templates/template.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn get_templates_access_by_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_blacklists_by_map_template` is never used [INFO] [stdout] --> src/graphql/modules/templates/template.rs:243:4 [INFO] [stdout] | [INFO] [stdout] 243 | fn get_blacklists_by_map_template( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_map_template` is never used [INFO] [stdout] --> src/graphql/modules/templates/template.rs:259:8 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn create_map_template( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_recipe_template` is never used [INFO] [stdout] --> src/graphql/modules/templates/template.rs:281:8 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn create_recipe_template( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_map_template_blacklists` is never used [INFO] [stdout] --> src/graphql/modules/templates/template.rs:445:8 [INFO] [stdout] | [INFO] [stdout] 445 | pub fn set_map_template_blacklists( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assign_template_to_agent` is never used [INFO] [stdout] --> src/graphql/modules/templates/template.rs:487:8 [INFO] [stdout] | [INFO] [stdout] 487 | pub fn assign_template_to_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MapTemplate` is never constructed [INFO] [stdout] --> src/templates/map_template.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct MapTemplate { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MapTemplateResponse` is never constructed [INFO] [stdout] --> src/templates/map_template.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct MapTemplateResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_template` are never used [INFO] [stdout] --> src/templates/map_template.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl MapTemplateResponse { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 82 | pub fn new(map: MapTemplate, blacklists: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn add_template(&mut self, template: RecipeTemplateWithRecipeFlows) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeTemplate` is never constructed [INFO] [stdout] --> src/templates/recipe_template.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct RecipeTemplate { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeTemplateWithRecipeFlows` is never constructed [INFO] [stdout] --> src/templates/recipe_template.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct RecipeTemplateWithRecipeFlows { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_recipe_flow` are never used [INFO] [stdout] --> src/templates/recipe_template.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl RecipeTemplateWithRecipeFlows { [INFO] [stdout] | ---------------------------------- associated items in this implementation [INFO] [stdout] 74 | pub fn new(recipe_template: & RecipeTemplate) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn add_recipe_flow(&mut self, recipe_flow: RecipeFlowTemplateWithDataFields) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeTemplateAccess` is never constructed [INFO] [stdout] --> src/templates/recipe_template_access.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct RecipeTemplateAccess { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeFlowTemplate` is never constructed [INFO] [stdout] --> src/templates/recipe_flow_template.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct RecipeFlowTemplate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeFlowTemplateWithDataFields` is never constructed [INFO] [stdout] --> src/templates/recipe_flow_template.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | pub struct RecipeFlowTemplateWithDataFields { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_data_field`, and `add_group` are never used [INFO] [stdout] --> src/templates/recipe_flow_template.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 190 | impl RecipeFlowTemplateWithDataFields { [INFO] [stdout] | ------------------------------------- associated items in this implementation [INFO] [stdout] 191 | pub fn new(recipe_flow_template: &RecipeFlowTemplate) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn add_data_field(&mut self, data_field: RecipeFlowTemplateDataFieldInput) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn add_group(&mut self, group: RecipeFlowTemplateGroupDataField) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeFlowTemplateGroupDataField` is never constructed [INFO] [stdout] --> src/templates/recipe_flow_template_group_data_fields.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct RecipeFlowTemplateGroupDataField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeFlowTemplateDataField` is never constructed [INFO] [stdout] --> src/templates/recipe_flow_template_data_field.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct RecipeFlowTemplateDataField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeFlowTemplateDataFieldInput` is never constructed [INFO] [stdout] --> src/templates/recipe_flow_template_data_field.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 204 | pub struct RecipeFlowTemplateDataFieldInput { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeTemplateBlacklist` is never constructed [INFO] [stdout] --> src/templates/recipe_template_blacklist.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct RecipeTemplateBlacklist { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Agent` is never constructed [INFO] [stdout] --> src/common/agent.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Agent { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AgentLocation` is never constructed [INFO] [stdout] --> src/common/agent.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct AgentLocation { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AgentWithLocations` is never constructed [INFO] [stdout] --> src/common/agent.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct AgentWithLocations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/common/agent.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl AgentWithLocations { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 53 | pub fn new(id: Uuid, name: String, locations: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResourceSpecification` is never constructed [INFO] [stdout] --> src/common/resource_specification.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct ResourceSpecification { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EconomicResource` is never constructed [INFO] [stdout] --> src/common/economic_resource.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct EconomicResource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EconomicResourceWithSpec` is never constructed [INFO] [stdout] --> src/common/economic_resource.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct EconomicResourceWithSpec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `build` is never used [INFO] [stdout] --> src/common/economic_resource.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl EconomicResourceWithSpec { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 92 | pub fn build( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location` is never constructed [INFO] [stdout] --> src/common/location.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeProcess` is never constructed [INFO] [stdout] --> src/recipe/process/process.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct RecipeProcess { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OutputOf` is never constructed [INFO] [stdout] --> src/recipe/process/process.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct OutputOf { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeProcessResponse` is never constructed [INFO] [stdout] --> src/recipe/process/process.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct RecipeProcessResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_recipe_process_flow`, and `add_output_of` are never used [INFO] [stdout] --> src/recipe/process/process.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl RecipeProcessResponse { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 102 | pub fn new(recipe_process: RecipeProcess) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn add_recipe_process_flow(&mut self, recipe_process_flow: RecipeProcessFlowResponse) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn add_output_of(&mut self, id: Uuid) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessFlow` is never constructed [INFO] [stdout] --> src/recipe/process/process.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct ProcessFlow { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeProcessFlow` is never constructed [INFO] [stdout] --> src/recipe/process/flow.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct RecipeProcessFlow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeProcessFlowResponse` is never constructed [INFO] [stdout] --> src/recipe/process/flow.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct RecipeProcessFlowResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_data_field` are never used [INFO] [stdout] --> src/recipe/process/flow.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl RecipeProcessFlowResponse { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 66 | pub fn new(recipe_process_flow: RecipeProcessFlow) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn add_data_field(&mut self, data_field: RecipeFlowDataField) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeFlowDataField` is never constructed [INFO] [stdout] --> src/recipe/process/data_field.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct RecipeFlowDataField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessExecution` is never constructed [INFO] [stdout] --> src/recipe/process/execution.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ProcessExecution { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 30.57s [INFO] running `Command { std: "docker" "inspect" "ac5f24c6f09fcf0ac6517404819c62077800b8852849a5eea24d770bba7b8a82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac5f24c6f09fcf0ac6517404819c62077800b8852849a5eea24d770bba7b8a82", kill_on_drop: false }` [INFO] [stdout] ac5f24c6f09fcf0ac6517404819c62077800b8852849a5eea24d770bba7b8a82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 5d57a4a0e10018864034c2724c020892a74fad2bfc30f508ae311adba5ef5c7b [INFO] running `Command { std: "docker" "start" "-a" "5d57a4a0e10018864034c2724c020892a74fad2bfc30f508ae311adba5ef5c7b", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `recipe_template_blacklist::RecipeTemplateBlacklist` [INFO] [stderr] --> src/templates/recipe_template.rs:12:83 [INFO] [stderr] | [INFO] [stderr] 12 | use super::{recipe_flow_template::{ActionType, RecipeFlowTemplateWithDataFields}, recipe_template_blacklist::RecipeTemplateBlacklist}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/graphql/modules/templates/template.rs:236:13 [INFO] [stderr] | [INFO] [stderr] 236 | let mut recipe = get_template_by_id(context, template_id)?; [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: struct `Recipe` is never constructed [INFO] [stderr] --> src/recipe/recipe.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct Recipe { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `RecipeResource` is never constructed [INFO] [stderr] --> src/recipe/recipe.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | pub struct RecipeResource { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RecipeWithResources` is never constructed [INFO] [stderr] --> src/recipe/recipe.rs:47:12 [INFO] [stderr] | [INFO] [stderr] 47 | pub struct RecipeWithResources { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/recipe/recipe.rs:80:12 [INFO] [stderr] | [INFO] [stderr] 79 | impl RecipeWithResources { [INFO] [stderr] | ------------------------ associated function in this implementation [INFO] [stderr] 80 | pub fn new(recipe: Recipe, resource_specifications: Vec) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RecipeProcess` is never constructed [INFO] [stderr] --> src/recipe/process/process.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct RecipeProcess { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `OutputOf` is never constructed [INFO] [stderr] --> src/recipe/process/process.rs:63:12 [INFO] [stderr] | [INFO] [stderr] 63 | pub struct OutputOf { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RecipeProcessResponse` is never constructed [INFO] [stderr] --> src/recipe/process/process.rs:91:12 [INFO] [stderr] | [INFO] [stderr] 91 | pub struct RecipeProcessResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `add_recipe_process_flow`, and `add_output_of` are never used [INFO] [stderr] --> src/recipe/process/process.rs:102:12 [INFO] [stderr] | [INFO] [stderr] 101 | impl RecipeProcessResponse { [INFO] [stderr] | -------------------------- associated items in this implementation [INFO] [stderr] 102 | pub fn new(recipe_process: RecipeProcess) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 114 | pub fn add_recipe_process_flow(&mut self, recipe_process_flow: RecipeProcessFlowResponse) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 118 | pub fn add_output_of(&mut self, id: Uuid) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ProcessFlow` is never constructed [INFO] [stderr] --> src/recipe/process/process.rs:127:12 [INFO] [stderr] | [INFO] [stderr] 127 | pub struct ProcessFlow { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RecipeProcessFlow` is never constructed [INFO] [stderr] --> src/recipe/process/flow.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct RecipeProcessFlow { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RecipeProcessFlowResponse` is never constructed [INFO] [stderr] --> src/recipe/process/flow.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 56 | pub struct RecipeProcessFlowResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `add_data_field` are never used [INFO] [stderr] --> src/recipe/process/flow.rs:66:12 [INFO] [stderr] | [INFO] [stderr] 65 | impl RecipeProcessFlowResponse { [INFO] [stderr] | ------------------------------ associated items in this implementation [INFO] [stderr] 66 | pub fn new(recipe_process_flow: RecipeProcessFlow) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 77 | pub fn add_data_field(&mut self, data_field: RecipeFlowDataField) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RecipeFlowDataField` is never constructed [INFO] [stderr] --> src/recipe/process/data_field.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct RecipeFlowDataField { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ProcessExecution` is never constructed [INFO] [stderr] --> src/recipe/process/execution.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct ProcessExecution { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Pool` is never used [INFO] [stderr] --> src/db/conn.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | pub type Pool = r2d2::Pool>; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `establish_connection_pool` is never used [INFO] [stderr] --> src/db/conn.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn establish_connection_pool() -> Pool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `QueryRoot` is never constructed [INFO] [stderr] --> src/graphql/queries.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct QueryRoot; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MutationRoot` is never constructed [INFO] [stderr] --> src/graphql/mutations.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct MutationRoot; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Schema` is never used [INFO] [stderr] --> src/graphql/schema.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | pub type Schema = RootNode<'static, QueryRoot, MutationRoot, EmptySubscription>; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_schema` is never used [INFO] [stderr] --> src/graphql/schema.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn create_schema() -> Schema { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `start_server` is never used [INFO] [stderr] --> src/graphql/handler.rs:32:14 [INFO] [stderr] | [INFO] [stderr] 32 | pub async fn start_server(pool: Arc) -> std::io::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Context` is never constructed [INFO] [stderr] --> src/graphql/context.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct Context { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `recipe_by_id` is never used [INFO] [stderr] --> src/graphql/modules/recipe/recipe.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn recipe_by_id(context: &Context, recipe_id: Uuid) -> FieldResult { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `recipes_by_agent` is never used [INFO] [stderr] --> src/graphql/modules/recipe/recipe.rs:36:8 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn recipes_by_agent( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_recipe` is never used [INFO] [stderr] --> src/graphql/modules/recipe/recipe.rs:70:8 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn create_recipe( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `all_agents` is never used [INFO] [stderr] --> src/graphql/modules/common/agent.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn all_agents(context: &Context) -> FieldResult> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `agent_by_id` is never used [INFO] [stderr] --> src/graphql/modules/common/agent.rs:23:8 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn agent_by_id(context: &Context, agent_id: Uuid) -> FieldResult { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `agents_with_location` is never used [INFO] [stderr] --> src/graphql/modules/common/agent.rs:37:8 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn agents_with_location(context: &Context) -> FieldResult> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_agent` is never used [INFO] [stderr] --> src/graphql/modules/common/agent.rs:56:8 [INFO] [stderr] | [INFO] [stderr] 56 | pub fn create_agent(context: &Context, name: String, note: Option) -> FieldResult { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `economic_resources_by_specification_id` is never used [INFO] [stderr] --> src/graphql/modules/common/economic_resource.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn economic_resources_by_specification_id( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `economic_resources_by_agent` is never used [INFO] [stderr] --> src/graphql/modules/common/economic_resource.rs:26:8 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn economic_resources_by_agent( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_economic_resource` is never used [INFO] [stderr] --> src/graphql/modules/common/economic_resource.rs:46:8 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn create_economic_resource( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `all_resource_specifications` is never used [INFO] [stderr] --> src/graphql/modules/common/resource_specification.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn all_resource_specifications(context: &Context) -> FieldResult> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `resource_specifications_by_agent` is never used [INFO] [stderr] --> src/graphql/modules/common/resource_specification.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn resource_specifications_by_agent( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `resource_specification_by_id` is never used [INFO] [stderr] --> src/graphql/modules/common/resource_specification.rs:36:8 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn resource_specification_by_id( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_resource_specification` is never used [INFO] [stderr] --> src/graphql/modules/common/resource_specification.rs:55:8 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn create_resource_specification( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `locations_by_agent` is never used [INFO] [stderr] --> src/graphql/modules/common/location.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn locations_by_agent(context: &Context, agent_id: Uuid) -> FieldResult> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_location` is never used [INFO] [stderr] --> src/graphql/modules/common/location.rs:26:8 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn create_location(context: &Context, agent_id: Uuid, name: String, value: String) -> FieldResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RecipeFlowTemplateGroup` is never constructed [INFO] [stderr] --> src/graphql/modules/templates/template.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | pub struct RecipeFlowTemplateGroup { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RecipeFlowTemplateArg` is never constructed [INFO] [stderr] --> src/graphql/modules/templates/template.rs:39:12 [INFO] [stderr] | [INFO] [stderr] 39 | pub struct RecipeFlowTemplateArg { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `FieldInheritance` is never constructed [INFO] [stderr] --> src/graphql/modules/templates/template.rs:50:12 [INFO] [stderr] | [INFO] [stderr] 50 | pub struct FieldInheritance { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RecipeFlowTemplateDataFieldArg` is never constructed [INFO] [stderr] --> src/graphql/modules/templates/template.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 56 | pub struct RecipeFlowTemplateDataFieldArg { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MapTemplateBlacklist` is never constructed [INFO] [stderr] --> src/graphql/modules/templates/template.rs:69:12 [INFO] [stderr] | [INFO] [stderr] 69 | pub struct MapTemplateBlacklist { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_recipe_flow_template_data_fields` is never used [INFO] [stderr] --> src/graphql/modules/templates/template.rs:75:4 [INFO] [stderr] | [INFO] [stderr] 75 | fn get_recipe_flow_template_data_fields( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_recipe_template_with_flows` is never used [INFO] [stderr] --> src/graphql/modules/templates/template.rs:114:4 [INFO] [stderr] | [INFO] [stderr] 114 | fn get_recipe_template_with_flows( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_map_templates` is never used [INFO] [stderr] --> src/graphql/modules/templates/template.rs:141:8 [INFO] [stderr] | [INFO] [stderr] 141 | pub fn get_map_templates(context: &Context) -> FieldResult> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_map_template_by_id` is never used [INFO] [stderr] --> src/graphql/modules/templates/template.rs:173:8 [INFO] [stderr] | [INFO] [stderr] 173 | pub fn get_map_template_by_id(context: &Context, map_id: Uuid) -> FieldResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_template_by_id` is never used [INFO] [stderr] --> src/graphql/modules/templates/template.rs:201:8 [INFO] [stderr] | [INFO] [stderr] 201 | pub fn get_template_by_id( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_templates_access_by_agent` is never used [INFO] [stderr] --> src/graphql/modules/templates/template.rs:219:8 [INFO] [stderr] | [INFO] [stderr] 219 | pub fn get_templates_access_by_agent( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_blacklists_by_map_template` is never used [INFO] [stderr] --> src/graphql/modules/templates/template.rs:243:4 [INFO] [stderr] | [INFO] [stderr] 243 | fn get_blacklists_by_map_template( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_map_template` is never used [INFO] [stderr] --> src/graphql/modules/templates/template.rs:259:8 [INFO] [stderr] | [INFO] [stderr] 259 | pub fn create_map_template( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_recipe_template` is never used [INFO] [stderr] --> src/graphql/modules/templates/template.rs:281:8 [INFO] [stderr] | [INFO] [stderr] 281 | pub fn create_recipe_template( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `set_map_template_blacklists` is never used [INFO] [stderr] --> src/graphql/modules/templates/template.rs:445:8 [INFO] [stderr] | [INFO] [stderr] 445 | pub fn set_map_template_blacklists( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `assign_template_to_agent` is never used [INFO] [stderr] --> src/graphql/modules/templates/template.rs:487:8 [INFO] [stderr] | [INFO] [stderr] 487 | pub fn assign_template_to_agent( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MapTemplate` is never constructed [INFO] [stderr] --> src/templates/map_template.rs:49:12 [INFO] [stderr] | [INFO] [stderr] 49 | pub struct MapTemplate { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MapTemplateResponse` is never constructed [INFO] [stderr] --> src/templates/map_template.rs:75:12 [INFO] [stderr] | [INFO] [stderr] 75 | pub struct MapTemplateResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `add_template` are never used [INFO] [stderr] --> src/templates/map_template.rs:82:12 [INFO] [stderr] | [INFO] [stderr] 81 | impl MapTemplateResponse { [INFO] [stderr] | ------------------------ associated items in this implementation [INFO] [stderr] 82 | pub fn new(map: MapTemplate, blacklists: Vec) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 90 | pub fn add_template(&mut self, template: RecipeTemplateWithRecipeFlows) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RecipeTemplate` is never constructed [INFO] [stderr] --> src/templates/recipe_template.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct RecipeTemplate { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RecipeTemplateWithRecipeFlows` is never constructed [INFO] [stderr] --> src/templates/recipe_template.rs:62:12 [INFO] [stderr] | [INFO] [stderr] 62 | pub struct RecipeTemplateWithRecipeFlows { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `add_recipe_flow` are never used [INFO] [stderr] --> src/templates/recipe_template.rs:74:12 [INFO] [stderr] | [INFO] [stderr] 73 | impl RecipeTemplateWithRecipeFlows { [INFO] [stderr] | ---------------------------------- associated items in this implementation [INFO] [stderr] 74 | pub fn new(recipe_template: & RecipeTemplate) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 87 | pub fn add_recipe_flow(&mut self, recipe_flow: RecipeFlowTemplateWithDataFields) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RecipeTemplateAccess` is never constructed [INFO] [stderr] --> src/templates/recipe_template_access.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct RecipeTemplateAccess { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RecipeFlowTemplate` is never constructed [INFO] [stderr] --> src/templates/recipe_flow_template.rs:132:12 [INFO] [stderr] | [INFO] [stderr] 132 | pub struct RecipeFlowTemplate { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RecipeFlowTemplateWithDataFields` is never constructed [INFO] [stderr] --> src/templates/recipe_flow_template.rs:178:12 [INFO] [stderr] | [INFO] [stderr] 178 | pub struct RecipeFlowTemplateWithDataFields { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `add_data_field`, and `add_group` are never used [INFO] [stderr] --> src/templates/recipe_flow_template.rs:191:12 [INFO] [stderr] | [INFO] [stderr] 190 | impl RecipeFlowTemplateWithDataFields { [INFO] [stderr] | ------------------------------------- associated items in this implementation [INFO] [stderr] 191 | pub fn new(recipe_flow_template: &RecipeFlowTemplate) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 205 | pub fn add_data_field(&mut self, data_field: RecipeFlowTemplateDataFieldInput) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 209 | pub fn add_group(&mut self, group: RecipeFlowTemplateGroupDataField) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RecipeFlowTemplateGroupDataField` is never constructed [INFO] [stderr] --> src/templates/recipe_flow_template_group_data_fields.rs:59:12 [INFO] [stderr] | [INFO] [stderr] 59 | pub struct RecipeFlowTemplateGroupDataField { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RecipeFlowTemplateDataField` is never constructed [INFO] [stderr] --> src/templates/recipe_flow_template_data_field.rs:140:12 [INFO] [stderr] | [INFO] [stderr] 140 | pub struct RecipeFlowTemplateDataField { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RecipeFlowTemplateDataFieldInput` is never constructed [INFO] [stderr] --> src/templates/recipe_flow_template_data_field.rs:204:12 [INFO] [stderr] | [INFO] [stderr] 204 | pub struct RecipeFlowTemplateDataFieldInput { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RecipeTemplateBlacklist` is never constructed [INFO] [stderr] --> src/templates/recipe_template_blacklist.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct RecipeTemplateBlacklist { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Agent` is never constructed [INFO] [stderr] --> src/common/agent.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct Agent { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AgentLocation` is never constructed [INFO] [stderr] --> src/common/agent.rs:39:12 [INFO] [stderr] | [INFO] [stderr] 39 | pub struct AgentLocation { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AgentWithLocations` is never constructed [INFO] [stderr] --> src/common/agent.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct AgentWithLocations { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/common/agent.rs:53:12 [INFO] [stderr] | [INFO] [stderr] 52 | impl AgentWithLocations { [INFO] [stderr] | ----------------------- associated function in this implementation [INFO] [stderr] 53 | pub fn new(id: Uuid, name: String, locations: Vec) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ResourceSpecification` is never constructed [INFO] [stderr] --> src/common/resource_specification.rs:52:12 [INFO] [stderr] | [INFO] [stderr] 52 | pub struct ResourceSpecification { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `EconomicResource` is never constructed [INFO] [stderr] --> src/common/economic_resource.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct EconomicResource { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `EconomicResourceWithSpec` is never constructed [INFO] [stderr] --> src/common/economic_resource.rs:76:12 [INFO] [stderr] | [INFO] [stderr] 76 | pub struct EconomicResourceWithSpec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `build` is never used [INFO] [stderr] --> src/common/economic_resource.rs:92:12 [INFO] [stderr] | [INFO] [stderr] 91 | impl EconomicResourceWithSpec { [INFO] [stderr] | ----------------------------- associated function in this implementation [INFO] [stderr] 92 | pub fn build( [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Location` is never constructed [INFO] [stderr] --> src/common/location.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct Location { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::env` [INFO] [stderr] --> src/graphql/modules/templates/template.rs:522:9 [INFO] [stderr] | [INFO] [stderr] 522 | use std::env; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `diesel::prelude::*` [INFO] [stderr] --> src/graphql/modules/templates/template.rs:525:9 [INFO] [stderr] | [INFO] [stderr] 525 | use diesel::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `recipe_template_blacklist::RecipeTemplateBlacklist` [INFO] [stderr] --> src/templates/recipe_template.rs:12:83 [INFO] [stderr] | [INFO] [stderr] 12 | use super::{recipe_flow_template::{ActionType, RecipeFlowTemplateWithDataFields}, recipe_template_blacklist::RecipeTemplateBlacklist}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `vf` (lib) generated 79 warnings (run `cargo fix --lib -p vf` to apply 2 suggestions) [INFO] [stderr] warning: `vf` (lib test) generated 81 warnings (78 duplicates) (run `cargo fix --lib -p vf --tests` to apply 3 suggestions) [INFO] [stderr] warning: struct `RecipeProcess` is never constructed [INFO] [stderr] --> src/recipe/process/process.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct RecipeProcess { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `vf` (bin "vf" test) generated 14 warnings (13 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/vf-29fa632964ca42ba) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test graphql::modules::templates::template::tests::logic_delete ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- graphql::modules::templates::template::tests::logic_delete stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'graphql::modules::templates::template::tests::logic_delete' (25) panicked at src/graphql/modules/templates/template.rs:542:14: [INFO] [stdout] Failed to create pool.: Error(Some("connection to server at \"localhost\" (::1), port 5432 failed: Connection refused\n\tIs the server running on that host and accepting TCP/IP connections?\nconnection to server at \"localhost\" (127.0.0.1), port 5432 failed: Connection refused\n\tIs the server running on that host and accepting TCP/IP connections?\n")) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x59a3411c8a42 - std::backtrace_rs::backtrace::libunwind::trace::hcab59e1e990fdc24 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x59a3411c8a42 - std::backtrace_rs::backtrace::trace_unsynchronized::he24cc57f3d2f47b7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x59a3411c8a42 - std::sys::backtrace::_print_fmt::hf8d65ede198eeb54 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x59a3411c8a42 - ::fmt::h67edf0e4d33c343c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x59a3411d8f0f - core::fmt::rt::Argument::fmt::hef94184842aeafdd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x59a3411d8f0f - core::fmt::write::hcf0c66b48a8fa606 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x59a341195e41 - std::io::default_write_fmt::h69967ac0ba93195f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x59a341195e41 - std::io::Write::write_fmt::h8db9396209deaa1c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x59a3411a1ea2 - std::sys::backtrace::BacktraceLock::print::h07e5435aa717b414 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x59a3411a6a4f - std::panicking::default_hook::{{closure}}::h91001850288db5f7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x59a3411a68e1 - std::panicking::default_hook::h2346dbb704ef5512 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x59a3411092ce - as core::ops::function::Fn>::call::h18383b2e29377420 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x59a3411092ce - test::test_main_with_exit_callback::{{closure}}::h272d7ef99aef06dc [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x59a3411a710f - as core::ops::function::Fn>::call::h6dba6e441651a0d1 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x59a3411a710f - std::panicking::panic_with_hook::hd2b063a6090d23a4 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x59a3411a6f6a - std::panicking::panic_handler::{{closure}}::he666d95f139a333e [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x59a3411a1fd9 - std::sys::backtrace::__rust_end_short_backtrace::h631ad224854ebee5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x59a34118a31d - __rustc[1d67440d6e82e4f]::rust_begin_unwind [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x59a3411e0a60 - core::panicking::panic_fmt::h420ddb7fd73daf53 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x59a3411e0026 - core::result::unwrap_failed::hdde076be853d034f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x59a3410b544a - core::result::Result::expect::hd8c6d385be731151 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/result.rs:1178:23 [INFO] [stdout] 21: 0x59a3410bae1e - vf::graphql::modules::templates::template::tests::get_test_pool::hf8ef77bf5a45ea87 [INFO] [stdout] at /opt/rustwide/workdir/src/graphql/modules/templates/template.rs:542:14 [INFO] [stdout] 22: 0x59a3410b9fdc - vf::graphql::modules::templates::template::tests::logic_delete::h5255e896f740a013 [INFO] [stdout] at /opt/rustwide/workdir/src/graphql/modules/templates/template.rs:548:20 [INFO] [stdout] 23: 0x59a3410ba187 - vf::graphql::modules::templates::template::tests::logic_delete::{{closure}}::hc56014ff820b1bce [INFO] [stdout] at /opt/rustwide/workdir/src/graphql/modules/templates/template.rs:546:22 [INFO] [stdout] 24: 0x59a3410bb706 - core::ops::function::FnOnce::call_once::hb1497fc61fced51a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x59a34110908b - core::ops::function::FnOnce::call_once::h70887edf07a630ba [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x59a34110908b - test::__rust_begin_short_backtrace::h27763c4cbbdb8601 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x59a34111ecf5 - test::run_test_in_process::{{closure}}::h4dc8bc6d5e3924d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x59a34111ecf5 - as core::ops::function::FnOnce<()>>::call_once::h75905e8ffe81974f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x59a34111ecf5 - std::panicking::catch_unwind::do_call::h0bc60366ba66eba5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x59a34111ecf5 - std::panicking::catch_unwind::hae1ec7bf94407afa [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x59a34111ecf5 - std::panic::catch_unwind::h0f4ff4773d84d3cd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x59a34111ecf5 - test::run_test_in_process::h03fbc77ae48b3f10 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x59a34111ecf5 - test::run_test::{{closure}}::h83476a9c453dc4d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x59a3410f54e4 - test::run_test::{{closure}}::h515482ad1e7fe7de [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x59a3410f54e4 - std::sys::backtrace::__rust_begin_short_backtrace::hed09f6ac5fe9d647 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x59a3410f8daa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h988e2cd969319888 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x59a3410f8daa - as core::ops::function::FnOnce<()>>::call_once::hd70e28dc46ec20be [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x59a3410f8daa - std::panicking::catch_unwind::do_call::hdc29e11311eb7655 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x59a3410f8daa - std::panicking::catch_unwind::h9e402d6a96fef41c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x59a3410f8daa - std::panic::catch_unwind::h9213c0c54aec70e0 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x59a3410f8daa - std::thread::Builder::spawn_unchecked_::{{closure}}::h6262965869ed2b87 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x59a3410f8daa - core::ops::function::FnOnce::call_once{{vtable.shim}}::h05c05ed02619e462 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x59a34119d13f - as core::ops::function::FnOnce>::call_once::h2044e71c41d3958a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x59a34119d13f - std::sys::thread::unix::Thread::new::thread_start::hf277835320aa8e5a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x70e5861b1aa4 - [INFO] [stdout] 46: 0x70e58623ea34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] graphql::modules::templates::template::tests::logic_delete [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 30.21s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "5d57a4a0e10018864034c2724c020892a74fad2bfc30f508ae311adba5ef5c7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d57a4a0e10018864034c2724c020892a74fad2bfc30f508ae311adba5ef5c7b", kill_on_drop: false }` [INFO] [stdout] 5d57a4a0e10018864034c2724c020892a74fad2bfc30f508ae311adba5ef5c7b