[INFO] cloning repository https://github.com/Kofituo/RocketNPC [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kofituo/RocketNPC" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKofituo%2FRocketNPC", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKofituo%2FRocketNPC'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a051a5779428c931eacc074732ffd810ef0e5d0e [INFO] checking Kofituo/RocketNPC against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKofituo%2FRocketNPC" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kofituo/RocketNPC on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "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-3-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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded capnpc v0.19.0 [INFO] [stderr] Downloaded capnp-futures v0.19.0 [INFO] [stderr] Downloaded bcrypt v0.15.1 [INFO] [stderr] Downloaded capnp-rpc v0.19.2 [INFO] [stderr] Downloaded capnp v0.19.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dbaf6ffec6eac96de581a91479d89c22dc6e11affccfef918e7ef85a2c64d182 [INFO] running `Command { std: "docker" "start" "-a" "dbaf6ffec6eac96de581a91479d89c22dc6e11affccfef918e7ef85a2c64d182", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbaf6ffec6eac96de581a91479d89c22dc6e11affccfef918e7ef85a2c64d182", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbaf6ffec6eac96de581a91479d89c22dc6e11affccfef918e7ef85a2c64d182", kill_on_drop: false }` [INFO] [stdout] dbaf6ffec6eac96de581a91479d89c22dc6e11affccfef918e7ef85a2c64d182 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f1d75bfb4ec7cd9204abbcff2413af32e31fac9a2bf3827a47b1a76edebeb0e [INFO] running `Command { std: "docker" "start" "-a" "5f1d75bfb4ec7cd9204abbcff2413af32e31fac9a2bf3827a47b1a76edebeb0e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling cc v1.0.100 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking futures-task v0.3.30 [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 cookie v0.18.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling serde_json v1.0.118 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Checking winnow v0.6.13 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling capnp v0.19.6 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Checking rustix v0.38.34 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking thread-id v4.2.1 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Checking capnpc v0.19.0 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling hyper v0.14.29 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Compiling OCS360API v0.1.0 (/opt/rustwide/workdir) [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 async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling devise v0.4.1 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking capnp-futures v0.19.0 [INFO] [stderr] Checking capnp-rpc v0.19.2 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking log v0.4.21 [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 serde-value v0.7.0 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking toml_edit v0.22.14 [INFO] [stderr] Checking h2 v0.3.26 [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 tokio-rustls v0.24.1 [INFO] [stderr] Checking toml v0.8.14 [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: `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: `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: `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: 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: 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] = note: `#[warn(dead_code)]` on by default [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: 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] = note: `#[warn(dead_code)]` on by default [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: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.28s [INFO] running `Command { std: "docker" "inspect" "5f1d75bfb4ec7cd9204abbcff2413af32e31fac9a2bf3827a47b1a76edebeb0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f1d75bfb4ec7cd9204abbcff2413af32e31fac9a2bf3827a47b1a76edebeb0e", kill_on_drop: false }` [INFO] [stdout] 5f1d75bfb4ec7cd9204abbcff2413af32e31fac9a2bf3827a47b1a76edebeb0e [INFO] checking Kofituo/RocketNPC against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKofituo%2FRocketNPC" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kofituo/RocketNPC on toolchain d856f2da3433420b7077c0dc7ee9441455bc1302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "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-3-tc2/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" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6018076e6c937c99b1427895abd96332beed2015cdbb4ac654f3ae270680c952 [INFO] running `Command { std: "docker" "start" "-a" "6018076e6c937c99b1427895abd96332beed2015cdbb4ac654f3ae270680c952", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6018076e6c937c99b1427895abd96332beed2015cdbb4ac654f3ae270680c952", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6018076e6c937c99b1427895abd96332beed2015cdbb4ac654f3ae270680c952", kill_on_drop: false }` [INFO] [stdout] 6018076e6c937c99b1427895abd96332beed2015cdbb4ac654f3ae270680c952 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a861967bd1bf0003b5b499e879de4b94e19ac2b906e44f62aa0675f024d342c0 [INFO] running `Command { std: "docker" "start" "-a" "a861967bd1bf0003b5b499e879de4b94e19ac2b906e44f62aa0675f024d342c0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling cc v1.0.100 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking futures-task v0.3.30 [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 cookie v0.18.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling serde_json v1.0.118 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking winnow v0.6.13 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 841 | impl_integer_for_isize!(i8, test_integer_i8); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 842 | impl_integer_for_isize!(i16, test_integer_i16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 843 | impl_integer_for_isize!(i32, test_integer_i32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 844 | impl_integer_for_isize!(i64, test_integer_i64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 845 | impl_integer_for_isize!(i128, test_integer_i128); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 846 | impl_integer_for_isize!(isize, test_integer_isize); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num-integer` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a861967bd1bf0003b5b499e879de4b94e19ac2b906e44f62aa0675f024d342c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a861967bd1bf0003b5b499e879de4b94e19ac2b906e44f62aa0675f024d342c0", kill_on_drop: false }` [INFO] [stdout] a861967bd1bf0003b5b499e879de4b94e19ac2b906e44f62aa0675f024d342c0