[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 try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsdelvalle57%2Fvf_rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sdelvalle57/vf_rust on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 464b0339af6368b49e1db2f458bbc4fded1261ca7162c3cd113c3a616033df71 [INFO] running `Command { std: "docker" "start" "-a" "464b0339af6368b49e1db2f458bbc4fded1261ca7162c3cd113c3a616033df71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "464b0339af6368b49e1db2f458bbc4fded1261ca7162c3cd113c3a616033df71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "464b0339af6368b49e1db2f458bbc4fded1261ca7162c3cd113c3a616033df71", kill_on_drop: false }` [INFO] [stdout] 464b0339af6368b49e1db2f458bbc4fded1261ca7162c3cd113c3a616033df71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 318bad5e47ae01cebd2f247fed6d14c013b4b7078bfae74e55ba66c184b69827 [INFO] running `Command { std: "docker" "start" "-a" "318bad5e47ae01cebd2f247fed6d14c013b4b7078bfae74e55ba66c184b69827", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling ident_case v1.0.1 [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 rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling cc v1.1.13 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling time v0.3.36 [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 tracing v0.1.40 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling cpufeatures v0.2.13 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling flate2 v1.0.32 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Compiling impl-more v0.1.6 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling mediatype v0.19.18 [INFO] [stderr] Compiling derive_utils v0.11.2 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [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 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 actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling tokio v1.39.3 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling graphql-parser v0.3.0 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling dsl_auto_type v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling diesel_derives v2.2.2 [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 actix-server v2.5.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ipnetwork v0.18.0 [INFO] [stderr] Compiling serde_html_form v0.2.6 [INFO] [stderr] Compiling csv v1.3.0 [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-web-lab v0.19.2 [INFO] [stderr] Compiling actix-cors v0.6.5 [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 23s [INFO] running `Command { std: "docker" "inspect" "318bad5e47ae01cebd2f247fed6d14c013b4b7078bfae74e55ba66c184b69827", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "318bad5e47ae01cebd2f247fed6d14c013b4b7078bfae74e55ba66c184b69827", kill_on_drop: false }` [INFO] [stdout] 318bad5e47ae01cebd2f247fed6d14c013b4b7078bfae74e55ba66c184b69827 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2c6d100425d340b687575fe85e8e3a37e644830f229143339d9ac4943eb8f8c [INFO] running `Command { std: "docker" "start" "-a" "b2c6d100425d340b687575fe85e8e3a37e644830f229143339d9ac4943eb8f8c", 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] [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] [stderr] Compiling vf v0.1.0 (/opt/rustwide/workdir) [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 35.11s [INFO] running `Command { std: "docker" "inspect" "b2c6d100425d340b687575fe85e8e3a37e644830f229143339d9ac4943eb8f8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2c6d100425d340b687575fe85e8e3a37e644830f229143339d9ac4943eb8f8c", kill_on_drop: false }` [INFO] [stdout] b2c6d100425d340b687575fe85e8e3a37e644830f229143339d9ac4943eb8f8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b0879ef82b10d34a496603971733763ca43ffcbf36f5c507aa86454c77b8f0c7 [INFO] running `Command { std: "docker" "start" "-a" "b0879ef82b10d34a496603971733763ca43ffcbf36f5c507aa86454c77b8f0c7", 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.35s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/vf-21c2082d704c56f3) [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' (17) 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: 0x619578a2fb7a - std[e72de78501789eb0]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x619578a2fb7a - std[e72de78501789eb0]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x619578a2fb7a - std[e72de78501789eb0]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x619578a2fb7a - <::print::DisplayBacktrace as core[6aaeda2c7ad07a48]::fmt::Display>::fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x619578a43c3a - ::fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x619578a43c3a - core[6aaeda2c7ad07a48]::fmt::write [INFO] [stdout] 6: 0x619578a34512 - std[e72de78501789eb0]::io::default_write_fmt::> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x619578a34512 - as std[e72de78501789eb0]::io::Write>::write_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x619578a0ed9f - ::print [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x619578a0ed9f - std[e72de78501789eb0]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x619578a28139 - std[e72de78501789eb0]::panicking::default_hook [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x61957896b7dc - core[6aaeda2c7ad07a48]::ops::function::Fn<(&'a std[e72de78501789eb0]::panic::PanicHookInfo<'b>,), Output = ()> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::Fn<(&std[e72de78501789eb0]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 12: 0x61957896b7dc - test[4f12b380f1fb68c5]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x619578a282f2 - core[6aaeda2c7ad07a48]::ops::function::Fn<(&'a std[e72de78501789eb0]::panic::PanicHookInfo<'b>,), Output = ()> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::Fn<(&std[e72de78501789eb0]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 14: 0x619578a282f2 - std[e72de78501789eb0]::panicking::panic_with_hook [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x619578a0ee58 - std[e72de78501789eb0]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x619578a067c9 - std[e72de78501789eb0]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x619578a0fb6d - __rustc[78a4cf188af856fc]::rust_begin_unwind [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x619578a443fc - core[6aaeda2c7ad07a48]::panicking::panic_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x619578a44142 - core[6aaeda2c7ad07a48]::result::unwrap_failed [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x6195789484fa - >, r2d2[93bf1ab3d5f83356]::Error>>::expect [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/result.rs:1185:23 [INFO] [stdout] 21: 0x6195789390de - vf[5ec92085cc4fffae]::graphql::modules::templates::template::tests::get_test_pool [INFO] [stdout] at /opt/rustwide/workdir/src/graphql/modules/templates/template.rs:542:14 [INFO] [stdout] 22: 0x61957893912c - vf[5ec92085cc4fffae]::graphql::modules::templates::template::tests::logic_delete [INFO] [stdout] at /opt/rustwide/workdir/src/graphql/modules/templates/template.rs:548:20 [INFO] [stdout] 23: 0x619578937f57 - vf[5ec92085cc4fffae]::graphql::modules::templates::template::tests::logic_delete::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/graphql/modules/templates/template.rs:546:22 [INFO] [stdout] 24: 0x61957892a036 - >::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x61957895f8bb - core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x61957895f8bb - test[4f12b380f1fb68c5]::__rust_begin_short_backtrace::, fn() -> core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x61957896c2ab - test[4f12b380f1fb68c5]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x61957896c2ab - as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 29: 0x61957896c2ab - std[e72de78501789eb0]::panicking::catch_unwind::do_call::, core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stdout] 30: 0x61957896c2ab - std[e72de78501789eb0]::panicking::catch_unwind::, core[6aaeda2c7ad07a48]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stdout] 31: 0x61957896c2ab - std[e72de78501789eb0]::panic::catch_unwind::, core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x61957896c2ab - test[4f12b380f1fb68c5]::run_test_in_process [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x61957896c2ab - test[4f12b380f1fb68c5]::run_test::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x6195789679c4 - test[4f12b380f1fb68c5]::run_test::{closure#1} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x6195789679c4 - std[e72de78501789eb0]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 36: 0x61957896eeb2 - std[e72de78501789eb0]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 37: 0x61957896eeb2 - ::{closure#1}::{closure#0}> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 38: 0x61957896eeb2 - std[e72de78501789eb0]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stdout] 39: 0x61957896eeb2 - std[e72de78501789eb0]::panicking::catch_unwind::<(), core[6aaeda2c7ad07a48]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stdout] 40: 0x61957896eeb2 - std[e72de78501789eb0]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x61957896eeb2 - std[e72de78501789eb0]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 42: 0x61957896eeb2 - ::{closure#1} as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x619578a2f48f - + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2240:9 [INFO] [stdout] 44: 0x619578a2f48f - ::new::thread_start [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 45: 0x74c5fe09daa4 - [INFO] [stdout] 46: 0x74c5fe12aa64 - 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.16s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "b0879ef82b10d34a496603971733763ca43ffcbf36f5c507aa86454c77b8f0c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0879ef82b10d34a496603971733763ca43ffcbf36f5c507aa86454c77b8f0c7", kill_on_drop: false }` [INFO] [stdout] b0879ef82b10d34a496603971733763ca43ffcbf36f5c507aa86454c77b8f0c7