[INFO] cloning repository https://github.com/piderking/tools [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/piderking/tools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpiderking%2Ftools", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpiderking%2Ftools'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 78e5e272e65c2586417315abb870984dcfc13776 [INFO] checking piderking/tools against master#7c41ee66db9d08e3989858acaefa1c72a6a88518 for mutual-coercion [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpiderking%2Ftools" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/piderking/tools [INFO] finished tweaking git repo https://github.com/piderking/tools [INFO] tweaked toml for git repo https://github.com/piderking/tools written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/piderking/tools on toolchain 7c41ee66db9d08e3989858acaefa1c72a6a88518 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7c41ee66db9d08e3989858acaefa1c72a6a88518" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/piderking/tools 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" "+7c41ee66db9d08e3989858acaefa1c72a6a88518" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded axum-core v0.5.2 [INFO] [stderr] Downloaded http-range-header v0.4.2 [INFO] [stderr] Downloaded nanodb v0.4.5 [INFO] [stderr] Downloaded tempfile v3.21.0 [INFO] [stderr] Downloaded wit-bindgen v0.45.0 [INFO] [stderr] Downloaded wasi v0.14.3+wasi-0.2.4 [INFO] [stderr] Downloaded axum v0.8.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+7c41ee66db9d08e3989858acaefa1c72a6a88518" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4ea8b5d799dbe643563a93a97a34d84e26b18c16e1eb4b72aa26e350dd3cb75 [INFO] running `Command { std: "docker" "start" "-a" "a4ea8b5d799dbe643563a93a97a34d84e26b18c16e1eb4b72aa26e350dd3cb75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4ea8b5d799dbe643563a93a97a34d84e26b18c16e1eb4b72aa26e350dd3cb75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4ea8b5d799dbe643563a93a97a34d84e26b18c16e1eb4b72aa26e350dd3cb75", kill_on_drop: false }` [INFO] [stdout] a4ea8b5d799dbe643563a93a97a34d84e26b18c16e1eb4b72aa26e350dd3cb75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+7c41ee66db9d08e3989858acaefa1c72a6a88518" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e28cf997ed186ed8d0bc89af7034a1a192eef6ba47e3d547114d4492f82f3a5c [INFO] running `Command { std: "docker" "start" "-a" "e28cf997ed186ed8d0bc89af7034a1a192eef6ba47e3d547114d4492f82f3a5c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking http-range-header v0.4.2 [INFO] [stderr] Checking colored v3.0.0 [INFO] [stderr] Checking dyn-clone v1.0.20 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking tempfile v3.21.0 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling typetag-impl v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling ghost v0.1.20 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Checking inventory v0.2.3 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking erased-serde v0.3.31 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking typetag v0.1.8 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking nanodb v0.4.5 [INFO] [stderr] Checking tools v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/jobs/job.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, error::Error, fmt}; [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: `JobSuperTrait` [INFO] [stdout] --> src/jobs/job.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::jobs::job::Contract::{ContractError, Job, JobSuperTrait, JobType, State as JobState}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dyn_clone::DynClone` [INFO] [stdout] --> src/jobs/job.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use dyn_clone::DynClone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `job_query` [INFO] [stdout] --> src/jobs/job.rs:142:14 [INFO] [stdout] | [INFO] [stdout] 142 | macro_rules! job_query { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/middleware.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Router`, `StatusCode`, and `routing::get` [INFO] [stdout] --> src/middleware.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Router, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | body::Body, [INFO] [stdout] 6 | http::{Request, StatusCode}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | routing::get, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt` [INFO] [stdout] --> src/routes.rs:1:54 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, convert::Infallible, fmt}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Method`, `Response`, and `body::Body` [INFO] [stdout] --> src/routes.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | body::Body, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | http::{Method, Response}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MapAccess`, `Visitor`, and `self` [INFO] [stdout] --> src/routes.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::de::{self, MapAccess, Visitor}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::ser::SerializeMap` [INFO] [stdout] --> src/routes.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::ser::SerializeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_repr::*` [INFO] [stdout] --> src/routes.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use serde_repr::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `add_to_has` [INFO] [stdout] --> src/routes.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | macro_rules! add_to_has { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Contract::Job` and `Route` [INFO] [stdout] --> src/server.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | jobs::job::{Contract::Job, Jobs}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 3 | middleware::log_path, [INFO] [stdout] 4 | routes::{Methods, Opperation, Route, Routes}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MethodRouter`, `Response`, and `extract::State` [INFO] [stdout] --> src/server.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | extract::State, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | response::{IntoResponse, Response}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | routing::{MethodRouter, get, get_service}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `borrow::BorrowMut`, `cell::RefCell`, `convert::Infallible`, `ops::Deref`, `rc::Rc`, and `vec` [INFO] [stdout] --> src/server.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | borrow::BorrowMut, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | cell::RefCell, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 19 | convert::Infallible, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | ops::Deref, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | rc::Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | sync::{Arc, Mutex}, [INFO] [stdout] 23 | vec, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Any` [INFO] [stdout] --> src/server.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | cors::{AllowOrigin, Any, CorsLayer}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/subrouter/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `routes::Routes` and `server::Server` [INFO] [stdout] --> src/subrouter/mod.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{routes::Routes, server::Server}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::routing::get` [INFO] [stdout] --> src/subrouter/conn.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use axum::routing::get; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Opperation`, `Route`, `Routes`, `new_route`, `self`, and `subrouter::traits::SubRouter` [INFO] [stdout] --> src/subrouter/conn.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | new_route, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | routes::{self, Opperation, Route, Routes}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^ [INFO] [stdout] 13 | subrouter::traits::SubRouter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Json` [INFO] [stdout] --> src/subrouter/subrouter.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | routing::{get, post}, Json, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::format` [INFO] [stdout] --> src/subrouter/subrouter.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | fmt::format, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid` [INFO] [stdout] --> src/subrouter/subrouter.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | use uuid::{Uuid, uuid}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OpenConnection` [INFO] [stdout] --> src/subrouter/subrouter.rs:15:63 [INFO] [stdout] | [INFO] [stdout] 15 | conn::{Connection, ConnectionError, ConnectionStatus, OpenConnection, TemplateTypeConnection, TypeConnection}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `traits::SubRouter` [INFO] [stdout] --> src/subrouter/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use traits::SubRouter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Routes` [INFO] [stdout] --> src/swagger.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::routes::{Route, Routes}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/subrouter/subrouter.rs:143:50 [INFO] [stdout] | [INFO] [stdout] 143 | post: Opperation::new(post(|Path(params): Path| async move { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/subrouter/conn.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ConnectionError { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 19 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start` is never read [INFO] [stdout] --> src/subrouter/conn.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct OpenConnection { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 97 | start: SystemTime, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenConnection` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/subrouter/subrouter.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct ConnectionSubRouter { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 22 | routes: Routes, [INFO] [stdout] 23 | data: Arc>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Contract` should have a snake case name [INFO] [stdout] --> src/jobs/job.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod Contract { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `contract` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jobs/job.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Job_registry` [INFO] [stdout] 36 | pub trait Job: Send + Sync + DynClone { [INFO] [stdout] | --- `Job` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jobs/job.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Job_registry` [INFO] [stdout] 36 | pub trait Job: Send + Sync + DynClone { [INFO] [stdout] | --- `Job` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jobs/job.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Job_registry` [INFO] [stdout] 36 | pub trait Job: Send + Sync + DynClone { [INFO] [stdout] | --- `Job` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jobs/job.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Job_registry` [INFO] [stdout] 36 | pub trait Job: Send + Sync + DynClone { [INFO] [stdout] | --- `Job` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jobs/job.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ move the `impl` block outside of this constant `_Job_registry` [INFO] [stdout] 36 | pub trait Job: Send + Sync + DynClone { [INFO] [stdout] | --- `Job` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jobs/job.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Strictest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Job_registry` [INFO] [stdout] 36 | pub trait Job: Send + Sync + DynClone { [INFO] [stdout] | --- `Job` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jobs/job.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | #[typetag::serde] [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Job_registry` [INFO] [stdout] 36 | pub trait Job: Send + Sync + DynClone { [INFO] [stdout] | --- `Job` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jobs/job.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | #[typetag::serde] [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Job_registry` [INFO] [stdout] 36 | pub trait Job: Send + Sync + DynClone { [INFO] [stdout] | --- `Job` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jobs/job.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | #[typetag::serde] [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Job_registry` [INFO] [stdout] 36 | pub trait Job: Send + Sync + DynClone { [INFO] [stdout] | --- `Job` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jobs/job.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | #[typetag::serde] [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Job_registry` [INFO] [stdout] 36 | pub trait Job: Send + Sync + DynClone { [INFO] [stdout] | --- `Job` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `basePath` should have a snake case name [INFO] [stdout] --> src/swagger.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub basePath: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `base_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/jobs/job.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, error::Error, fmt}; [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: `JobSuperTrait` [INFO] [stdout] --> src/jobs/job.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::jobs::job::Contract::{ContractError, Job, JobSuperTrait, JobType, State as JobState}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dyn_clone::DynClone` [INFO] [stdout] --> src/jobs/job.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use dyn_clone::DynClone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `job_query` [INFO] [stdout] --> src/jobs/job.rs:142:14 [INFO] [stdout] | [INFO] [stdout] 142 | macro_rules! job_query { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/middleware.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Router`, `StatusCode`, and `routing::get` [INFO] [stdout] --> src/middleware.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Router, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | body::Body, [INFO] [stdout] 6 | http::{Request, StatusCode}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | routing::get, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt` [INFO] [stdout] --> src/routes.rs:1:54 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, convert::Infallible, fmt}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Method`, `Response`, and `body::Body` [INFO] [stdout] --> src/routes.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | body::Body, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | http::{Method, Response}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MapAccess`, `Visitor`, and `self` [INFO] [stdout] --> src/routes.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::de::{self, MapAccess, Visitor}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::ser::SerializeMap` [INFO] [stdout] --> src/routes.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::ser::SerializeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_repr::*` [INFO] [stdout] --> src/routes.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use serde_repr::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `add_to_has` [INFO] [stdout] --> src/routes.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | macro_rules! add_to_has { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Contract::Job` and `Route` [INFO] [stdout] --> src/server.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | jobs::job::{Contract::Job, Jobs}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 3 | middleware::log_path, [INFO] [stdout] 4 | routes::{Methods, Opperation, Route, Routes}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MethodRouter`, `Response`, and `extract::State` [INFO] [stdout] --> src/server.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | extract::State, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | response::{IntoResponse, Response}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | routing::{MethodRouter, get, get_service}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `borrow::BorrowMut`, `cell::RefCell`, `convert::Infallible`, `ops::Deref`, `rc::Rc`, and `vec` [INFO] [stdout] --> src/server.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | borrow::BorrowMut, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | cell::RefCell, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 19 | convert::Infallible, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | ops::Deref, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | rc::Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | sync::{Arc, Mutex}, [INFO] [stdout] 23 | vec, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Any` [INFO] [stdout] --> src/server.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | cors::{AllowOrigin, Any, CorsLayer}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/subrouter/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `routes::Routes` and `server::Server` [INFO] [stdout] --> src/subrouter/mod.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{routes::Routes, server::Server}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::routing::get` [INFO] [stdout] --> src/subrouter/conn.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use axum::routing::get; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Opperation`, `Route`, `Routes`, `new_route`, `self`, and `subrouter::traits::SubRouter` [INFO] [stdout] --> src/subrouter/conn.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | new_route, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | routes::{self, Opperation, Route, Routes}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^ [INFO] [stdout] 13 | subrouter::traits::SubRouter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Json` [INFO] [stdout] --> src/subrouter/subrouter.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | routing::{get, post}, Json, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::format` [INFO] [stdout] --> src/subrouter/subrouter.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | fmt::format, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid` [INFO] [stdout] --> src/subrouter/subrouter.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | use uuid::{Uuid, uuid}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OpenConnection` [INFO] [stdout] --> src/subrouter/subrouter.rs:15:63 [INFO] [stdout] | [INFO] [stdout] 15 | conn::{Connection, ConnectionError, ConnectionStatus, OpenConnection, TemplateTypeConnection, TypeConnection}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `traits::SubRouter` [INFO] [stdout] --> src/subrouter/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use traits::SubRouter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Routes` [INFO] [stdout] --> src/swagger.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::routes::{Route, Routes}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/subrouter/subrouter.rs:143:50 [INFO] [stdout] | [INFO] [stdout] 143 | post: Opperation::new(post(|Path(params): Path| async move { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/subrouter/conn.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ConnectionError { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 19 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start` is never read [INFO] [stdout] --> src/subrouter/conn.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct OpenConnection { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 97 | start: SystemTime, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenConnection` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/subrouter/subrouter.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct ConnectionSubRouter { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 22 | routes: Routes, [INFO] [stdout] 23 | data: Arc>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Contract` should have a snake case name [INFO] [stdout] --> src/jobs/job.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod Contract { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `contract` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jobs/job.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Job_registry` [INFO] [stdout] 36 | pub trait Job: Send + Sync + DynClone { [INFO] [stdout] | --- `Job` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jobs/job.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Job_registry` [INFO] [stdout] 36 | pub trait Job: Send + Sync + DynClone { [INFO] [stdout] | --- `Job` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jobs/job.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Job_registry` [INFO] [stdout] 36 | pub trait Job: Send + Sync + DynClone { [INFO] [stdout] | --- `Job` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jobs/job.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Job_registry` [INFO] [stdout] 36 | pub trait Job: Send + Sync + DynClone { [INFO] [stdout] | --- `Job` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jobs/job.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ move the `impl` block outside of this constant `_Job_registry` [INFO] [stdout] 36 | pub trait Job: Send + Sync + DynClone { [INFO] [stdout] | --- `Job` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jobs/job.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Strictest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Job_registry` [INFO] [stdout] 36 | pub trait Job: Send + Sync + DynClone { [INFO] [stdout] | --- `Job` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jobs/job.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | #[typetag::serde] [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Job_registry` [INFO] [stdout] 36 | pub trait Job: Send + Sync + DynClone { [INFO] [stdout] | --- `Job` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jobs/job.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | #[typetag::serde] [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Job_registry` [INFO] [stdout] 36 | pub trait Job: Send + Sync + DynClone { [INFO] [stdout] | --- `Job` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jobs/job.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | #[typetag::serde] [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Job_registry` [INFO] [stdout] 36 | pub trait Job: Send + Sync + DynClone { [INFO] [stdout] | --- `Job` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jobs/job.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | #[typetag::serde] [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Job_registry` [INFO] [stdout] 36 | pub trait Job: Send + Sync + DynClone { [INFO] [stdout] | --- `Job` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `basePath` should have a snake case name [INFO] [stdout] --> src/swagger.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub basePath: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `base_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.16s [INFO] running `Command { std: "docker" "inspect" "e28cf997ed186ed8d0bc89af7034a1a192eef6ba47e3d547114d4492f82f3a5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e28cf997ed186ed8d0bc89af7034a1a192eef6ba47e3d547114d4492f82f3a5c", kill_on_drop: false }` [INFO] [stdout] e28cf997ed186ed8d0bc89af7034a1a192eef6ba47e3d547114d4492f82f3a5c