[INFO] updating cached repository https://github.com/Kofituo/RocketNPC [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a051a5779428c931eacc074732ffd810ef0e5d0e [INFO] checking Kofituo/RocketNPC/a051a5779428c931eacc074732ffd810ef0e5d0e against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKofituo%2FRocketNPC" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kofituo/RocketNPC on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Kofituo/RocketNPC [INFO] finished tweaking git repo https://github.com/Kofituo/RocketNPC [INFO] tweaked toml for git repo https://github.com/Kofituo/RocketNPC written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Kofituo/RocketNPC 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53e20f975b45719edbdc8e26a64a48f31eb0c1fa51928fd41e82d8fa3d943634 [INFO] running `Command { std: "docker" "start" "-a" "53e20f975b45719edbdc8e26a64a48f31eb0c1fa51928fd41e82d8fa3d943634", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53e20f975b45719edbdc8e26a64a48f31eb0c1fa51928fd41e82d8fa3d943634", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53e20f975b45719edbdc8e26a64a48f31eb0c1fa51928fd41e82d8fa3d943634", kill_on_drop: false }` [INFO] [stdout] 53e20f975b45719edbdc8e26a64a48f31eb0c1fa51928fd41e82d8fa3d943634 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba068a5d5edb6345e7c58c85bded4a962f6d534a2d6297e4c882ba0aaf0838fc [INFO] running `Command { std: "docker" "start" "-a" "ba068a5d5edb6345e7c58c85bded4a962f6d534a2d6297e4c882ba0aaf0838fc", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling cc v1.0.100 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling serde_json v1.0.118 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Checking winnow v0.6.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Checking capnp v0.19.6 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Compiling hyper v0.14.29 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Compiling devise v0.4.1 [INFO] [stderr] Compiling capnpc v0.19.0 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Compiling OCS360API v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking capnp-futures v0.19.0 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Checking thread-id v4.2.1 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking capnp-rpc v0.19.2 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking toml_edit v0.22.14 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Checking log4rs v1.3.0 [INFO] [stderr] Checking toml v0.8.14 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stdout] warning: unused import: `crate::model::api_response::ApiResponse` [INFO] [stdout] --> src/application/authenticate.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::model::api_response::ApiResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::hello_world_capnp::hello_world::say_hello_results` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::hello_world_capnp::hello_world::say_hello_results; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::api_response::ApiResponse` [INFO] [stdout] --> src/application/authenticate.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::model::api_response::ApiResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::hello_world_capnp::hello_world::say_hello_results` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::hello_world_capnp::hello_world::say_hello_results; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/infrastructure/capnp_rpc/client.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let mut client: RpcClient = RpcClient::new(message); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/infrastructure/capnp_rpc/client.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | async fn get_response(mut self) -> Result { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/infrastructure/capnp_rpc/client.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let mut client: RpcClient = RpcClient::new(message); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/infrastructure/capnp_rpc/client.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | async fn get_response(mut self) -> Result { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_transaction` [INFO] [stdout] --> src/application/transactions/start_transaction.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | start_transaction: &start_transaction::StartTransaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_transaction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction_id` [INFO] [stdout] --> src/application/transactions/commit.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let transaction_id = commit.transactionId; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction_id` [INFO] [stdout] --> src/application/transactions/rollback.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let transaction_id = rollback.transactionId; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `datetime_now_plus_session_time_out` is never read [INFO] [stdout] --> src/application/validate_token.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut datetime_now_plus_session_time_out = Utc::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/application/validate_token.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | if let Err(e) = is_token_valid_result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api_params` [INFO] [stdout] --> src/application/validate_token.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn validate_token(api_params: &String, token: &String) -> Result<(), APIError> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/main.rs:91:33 [INFO] [stdout] | [INFO] [stdout] 91 | fn shutdown(shutdown: Shutdown, request: api_request::APIRequest<'_>) -> &'static str { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | fn shutdown(shutdown: Shutdown, request: api_request::APIRequest<'_>) -> &'static str { [INFO] [stdout] | ^^^^^^^^ matches no values because `(Status, Infallible)` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_transaction` [INFO] [stdout] --> src/application/transactions/start_transaction.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | start_transaction: &start_transaction::StartTransaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_transaction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction_id` [INFO] [stdout] --> src/application/transactions/commit.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let transaction_id = commit.transactionId; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction_id` [INFO] [stdout] --> src/application/transactions/rollback.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let transaction_id = rollback.transactionId; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `datetime_now_plus_session_time_out` is never read [INFO] [stdout] --> src/application/validate_token.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut datetime_now_plus_session_time_out = Utc::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/application/validate_token.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | if let Err(e) = is_token_valid_result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api_params` [INFO] [stdout] --> src/application/validate_token.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn validate_token(api_params: &String, token: &String) -> Result<(), APIError> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model/transactions/rollback.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Rollback { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(transaction_id:i32, token: String) -> Rollback{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FILE` is never used [INFO] [stdout] --> src/application/transactions/start_transaction.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const FILE: &str = "application/start_transaction.rs"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METHOD` is never used [INFO] [stdout] --> src/application/transactions/start_transaction.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | const METHOD: &str = "start_transaction"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_token` is never used [INFO] [stdout] --> src/application/validate_token.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn validate_token(api_params: &String, token: &String) -> Result<(), APIError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `userName` should have a snake case name [INFO] [stdout] --> src/model/authenticate.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub userName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `user_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `userPassword` should have a snake case name [INFO] [stdout] --> src/model/authenticate.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub userPassword: String [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `user_password` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `readOnly` should have a snake case name [INFO] [stdout] --> src/model/transactions/start_transaction.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub readOnly: bool, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `read_only` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `transactionId` should have a snake case name [INFO] [stdout] --> src/model/transactions/commit.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub transactionId: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `transaction_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `transactionId` should have a snake case name [INFO] [stdout] --> src/model/transactions/rollback.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub transactionId: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `transaction_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/main.rs:91:33 [INFO] [stdout] | [INFO] [stdout] 91 | fn shutdown(shutdown: Shutdown, request: api_request::APIRequest<'_>) -> &'static str { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | fn shutdown(shutdown: Shutdown, request: api_request::APIRequest<'_>) -> &'static str { [INFO] [stdout] | ^^^^^^^^ matches no values because `(Status, Infallible)` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model/transactions/rollback.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Rollback { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(transaction_id:i32, token: String) -> Rollback{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FILE` is never used [INFO] [stdout] --> src/application/transactions/start_transaction.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const FILE: &str = "application/start_transaction.rs"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METHOD` is never used [INFO] [stdout] --> src/application/transactions/start_transaction.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | const METHOD: &str = "start_transaction"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_token` is never used [INFO] [stdout] --> src/application/validate_token.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn validate_token(api_params: &String, token: &String) -> Result<(), APIError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `userName` should have a snake case name [INFO] [stdout] --> src/model/authenticate.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub userName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `user_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `userPassword` should have a snake case name [INFO] [stdout] --> src/model/authenticate.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub userPassword: String [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `user_password` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `readOnly` should have a snake case name [INFO] [stdout] --> src/model/transactions/start_transaction.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub readOnly: bool, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `read_only` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `transactionId` should have a snake case name [INFO] [stdout] --> src/model/transactions/commit.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub transactionId: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `transaction_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `transactionId` should have a snake case name [INFO] [stdout] --> src/model/transactions/rollback.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub transactionId: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `transaction_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 50s [INFO] running `Command { std: "docker" "inspect" "ba068a5d5edb6345e7c58c85bded4a962f6d534a2d6297e4c882ba0aaf0838fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba068a5d5edb6345e7c58c85bded4a962f6d534a2d6297e4c882ba0aaf0838fc", kill_on_drop: false }` [INFO] [stdout] ba068a5d5edb6345e7c58c85bded4a962f6d534a2d6297e4c882ba0aaf0838fc