[INFO] cloning repository https://github.com/ducc/artifacts-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ducc/artifacts-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fducc%2Fartifacts-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fducc%2Fartifacts-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6215e28fa42632862e2eae30ec64c123c98ed633 [INFO] building ducc/artifacts-rs against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fducc%2Fartifacts-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ducc/artifacts-rs [INFO] finished tweaking git repo https://github.com/ducc/artifacts-rs [INFO] tweaked toml for git repo https://github.com/ducc/artifacts-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ducc/artifacts-rs on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ducc/artifacts-rs 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded validator_types v0.16.0 [INFO] [stderr] Downloaded tokio-openssl v0.6.4 [INFO] [stderr] Downloaded hyper-openssl v0.9.2 [INFO] [stderr] Downloaded slog v2.7.0 [INFO] [stderr] Downloaded float-cmp v0.9.0 [INFO] [stderr] Downloaded frunk_proc_macros v0.0.5 [INFO] [stderr] Downloaded frunk-enum-derive v0.2.1 [INFO] [stderr] Downloaded linked_hash_set v0.1.4 [INFO] [stderr] Downloaded frunk v0.3.2 [INFO] [stderr] Downloaded frunk_proc_macros_impl v0.0.5 [INFO] [stderr] Downloaded safemem v0.3.3 [INFO] [stderr] Downloaded frunk_proc_macro_helpers v0.0.4 [INFO] [stderr] Downloaded base64 v0.9.3 [INFO] [stderr] Downloaded percent-encoding v1.0.1 [INFO] [stderr] Downloaded language-tags v0.2.2 [INFO] [stderr] Downloaded frunk-enum-core v0.2.1 [INFO] [stderr] Downloaded clap v2.34.0 [INFO] [stderr] Downloaded jsonwebtoken v9.3.0 [INFO] [stderr] Downloaded hyper-old-types v0.11.0 [INFO] [stderr] Downloaded serde-aux v4.5.0 [INFO] [stderr] Downloaded serde_ignored v0.1.10 [INFO] [stderr] Downloaded bytes v0.4.12 [INFO] [stderr] Downloaded frunk_core v0.3.2 [INFO] [stderr] Downloaded frunk_proc_macro_helpers v0.0.5 [INFO] [stderr] Downloaded frunk_derives v0.3.2 [INFO] [stderr] Downloaded swagger v6.5.0 [INFO] [stderr] Downloaded if_chain v1.0.2 [INFO] [stderr] Downloaded validator_derive v0.16.0 [INFO] [stderr] Downloaded validator v0.16.1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2569322c80fc2ed772a341b64f6cf4cb35a7e9e1bddac4d10c41fae18bc59cf7 [INFO] running `Command { std: "docker" "start" "-a" "2569322c80fc2ed772a341b64f6cf4cb35a7e9e1bddac4d10c41fae18bc59cf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2569322c80fc2ed772a341b64f6cf4cb35a7e9e1bddac4d10c41fae18bc59cf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2569322c80fc2ed772a341b64f6cf4cb35a7e9e1bddac4d10c41fae18bc59cf7", kill_on_drop: false }` [INFO] [stdout] 2569322c80fc2ed772a341b64f6cf4cb35a7e9e1bddac4d10c41fae18bc59cf7 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3587e4e36433e388d8c2ba9291ed93a50a6dbce556dd75d3298bb49cdfe879c [INFO] running `Command { std: "docker" "start" "-a" "b3587e4e36433e388d8c2ba9291ed93a50a6dbce556dd75d3298bb49cdfe879c", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-openssl v0.6.4 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling hyper-openssl v0.9.2 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling linked_hash_set v0.1.4 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling hyper-old-types v0.11.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling predicates-core v1.0.8 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling serde_derive v1.0.205 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling predicates v3.1.2 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling validator_types v0.16.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Compiling serde v1.0.205 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling serde_ignored v0.1.10 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling jsonwebtoken v9.3.0 [INFO] [stderr] Compiling validator v0.16.1 [INFO] [stderr] Compiling serde-aux v4.5.0 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling swagger v6.5.0 [INFO] [stderr] Compiling artifacts-openapi v1.6.0 (/opt/rustwide/workdir/openapi) [INFO] [stderr] Compiling artifacts-emulator v0.1.0 (/opt/rustwide/workdir/emulator) [INFO] [stdout] warning: unused import: `result` [INFO] [stdout] --> emulator/src/bin/seed.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::ErrorKind, result}; [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: `GetMonsterMonstersCodeGetResponse` [INFO] [stdout] --> emulator/src/bin/seed.rs:4:202 [INFO] [stdout] | [INFO] [stdout] 4 | ...GetResponse, GetAllResourcesResourcesGetResponse, GetMonsterMonstersCodeGetResponse [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Nullable` [INFO] [stdout] --> emulator/src/bin/seed.rs:6:55 [INFO] [stdout] | [INFO] [stdout] 6 | use swagger::{AuthData, ContextBuilder, EmptyContext, Nullable, Push, XSpanIdString}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> emulator/src/bin/seed.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let mut client: Box> = Box::new(client.with_context(context)); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> emulator/src/bin/seed.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let mut result = client [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] --> emulator/src/bin/seed.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut result = client [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] --> emulator/src/bin/seed.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | let mut result = client [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] --> emulator/src/bin/seed.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let mut result = client [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> emulator/src/server.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | context: &C, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delete_character_schema` [INFO] [stdout] --> emulator/src/server.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | delete_character_schema: models::DeleteCharacterSchema, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delete_character_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quantity` [INFO] [stdout] --> emulator/src/server.rs:664:36 [INFO] [stdout] | [INFO] [stdout] 664 | let CraftingSchema { code, quantity } = crafting_schema; [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `quantity: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> emulator/src/server.rs:1021:17 [INFO] [stdout] | [INFO] [stdout] 1021 | let mut state = self.state.lock().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bearer` [INFO] [stdout] --> emulator/src/server_auth.rs:84:36 [INFO] [stdout] | [INFO] [stdout] 84 | fn bearer_authorization(&self, bearer: &Bearer) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bearer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> emulator/src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | server::create(addr).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 13 | let _ = server::create(addr).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.18s [INFO] running `Command { std: "docker" "inspect" "b3587e4e36433e388d8c2ba9291ed93a50a6dbce556dd75d3298bb49cdfe879c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3587e4e36433e388d8c2ba9291ed93a50a6dbce556dd75d3298bb49cdfe879c", kill_on_drop: false }` [INFO] [stdout] b3587e4e36433e388d8c2ba9291ed93a50a6dbce556dd75d3298bb49cdfe879c [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc93a1c832e9e516c87b2a438f8310cc1841d012e7e28406d69b520c2686bd2a [INFO] running `Command { std: "docker" "start" "-a" "dc93a1c832e9e516c87b2a438f8310cc1841d012e7e28406d69b520c2686bd2a", kill_on_drop: false }` [INFO] [stderr] Compiling artifacts-openapi v1.6.0 (/opt/rustwide/workdir/openapi) [INFO] [stderr] Compiling artifacts-emulator v0.1.0 (/opt/rustwide/workdir/emulator) [INFO] [stdout] warning: unused import: `result` [INFO] [stdout] --> emulator/src/bin/seed.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::ErrorKind, result}; [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: `GetMonsterMonstersCodeGetResponse` [INFO] [stdout] --> emulator/src/bin/seed.rs:4:202 [INFO] [stdout] | [INFO] [stdout] 4 | ...GetResponse, GetAllResourcesResourcesGetResponse, GetMonsterMonstersCodeGetResponse [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Nullable` [INFO] [stdout] --> emulator/src/bin/seed.rs:6:55 [INFO] [stdout] | [INFO] [stdout] 6 | use swagger::{AuthData, ContextBuilder, EmptyContext, Nullable, Push, XSpanIdString}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> emulator/src/bin/seed.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let mut client: Box> = Box::new(client.with_context(context)); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> emulator/src/bin/seed.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let mut result = client [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] --> emulator/src/bin/seed.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut result = client [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] --> emulator/src/bin/seed.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | let mut result = client [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] --> emulator/src/bin/seed.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let mut result = client [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> emulator/src/server.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | context: &C, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delete_character_schema` [INFO] [stdout] --> emulator/src/server.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | delete_character_schema: models::DeleteCharacterSchema, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delete_character_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quantity` [INFO] [stdout] --> emulator/src/server.rs:664:36 [INFO] [stdout] | [INFO] [stdout] 664 | let CraftingSchema { code, quantity } = crafting_schema; [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `quantity: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> emulator/src/server.rs:1021:17 [INFO] [stdout] | [INFO] [stdout] 1021 | let mut state = self.state.lock().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bearer` [INFO] [stdout] --> emulator/src/server_auth.rs:84:36 [INFO] [stdout] | [INFO] [stdout] 84 | fn bearer_authorization(&self, bearer: &Bearer) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bearer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> emulator/src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | server::create(addr).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 13 | let _ = server::create(addr).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.72s [INFO] running `Command { std: "docker" "inspect" "dc93a1c832e9e516c87b2a438f8310cc1841d012e7e28406d69b520c2686bd2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc93a1c832e9e516c87b2a438f8310cc1841d012e7e28406d69b520c2686bd2a", kill_on_drop: false }` [INFO] [stdout] dc93a1c832e9e516c87b2a438f8310cc1841d012e7e28406d69b520c2686bd2a