[INFO] cloning repository https://github.com/Naoki-ibaragi/server_backend
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Naoki-ibaragi/server_backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNaoki-ibaragi%2Fserver_backend", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNaoki-ibaragi%2Fserver_backend'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 328b3f7d7337508373446ccaef076d09eae26bff
[INFO] testing Naoki-ibaragi/server_backend/328b3f7d7337508373446ccaef076d09eae26bff against 1.97.0-beta.6 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNaoki-ibaragi%2Fserver_backend" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Naoki-ibaragi/server_backend
[INFO] finished tweaking git repo https://github.com/Naoki-ibaragi/server_backend
[INFO] tweaked toml for git repo https://github.com/Naoki-ibaragi/server_backend written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Naoki-ibaragi/server_backend on toolchain 1.97.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Naoki-ibaragi/server_backend 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" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tracing-serde v0.2.0
[INFO] [stderr]   Downloaded crc v3.4.0
[INFO] [stderr]   Downloaded sqlx-macros v0.8.6
[INFO] [stderr]   Downloaded impl-more v0.1.9
[INFO] [stderr]   Downloaded actix-macros v0.2.4
[INFO] [stderr]   Downloaded local-waker v0.1.4
[INFO] [stderr]   Downloaded local-channel v0.1.5
[INFO] [stderr]   Downloaded encoding_rs_io v0.1.7
[INFO] [stderr]   Downloaded find-msvc-tools v0.1.5
[INFO] [stderr]   Downloaded actix-web-codegen v4.3.0
[INFO] [stderr]   Downloaded actix-service v2.0.3
[INFO] [stderr]   Downloaded actix-rt v2.11.0
[INFO] [stderr]   Downloaded sqlx v0.8.6
[INFO] [stderr]   Downloaded bytestring v1.5.0
[INFO] [stderr]   Downloaded actix-codec v0.5.2
[INFO] [stderr]   Downloaded hashlink v0.10.0
[INFO] [stderr]   Downloaded unicode-properties v0.1.4
[INFO] [stderr]   Downloaded sqlx-macros-core v0.8.6
[INFO] [stderr]   Downloaded actix-server v2.6.0
[INFO] [stderr]   Downloaded actix-cors v0.7.1
[INFO] [stderr]   Downloaded icu_properties v2.1.1
[INFO] [stderr]   Downloaded actix-router v0.5.3
[INFO] [stderr]   Downloaded sqlx-sqlite v0.8.6
[INFO] [stderr]   Downloaded cc v1.2.46
[INFO] [stderr]   Downloaded sqlx-mysql v0.8.6
[INFO] [stderr]   Downloaded rsa v0.9.9
[INFO] [stderr]   Downloaded regex-lite v0.1.8
[INFO] [stderr]   Downloaded sqlx-core v0.8.6
[INFO] [stderr]   Downloaded num-bigint-dig v0.8.6
[INFO] [stderr]   Downloaded sqlx-postgres v0.8.6
[INFO] [stderr]   Downloaded icu_properties_data v2.1.1
[INFO] [stderr]   Downloaded actix-http v3.11.2
[INFO] [stderr]   Downloaded brotli-decompressor v5.0.0
[INFO] [stderr]   Downloaded actix-web v4.12.0
[INFO] [stderr]   Downloaded brotli v8.0.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0cdf8640e2c39b8253985a1e16760bbb9e8bf336c95dea4bd527f04f6f8d1d28
[INFO] running `Command { std: "docker" "start" "0cdf8640e2c39b8253985a1e16760bbb9e8bf336c95dea4bd527f04f6f8d1d28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0cdf8640e2c39b8253985a1e16760bbb9e8bf336c95dea4bd527f04f6f8d1d28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0cdf8640e2c39b8253985a1e16760bbb9e8bf336c95dea4bd527f04f6f8d1d28" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0cdf8640e2c39b8253985a1e16760bbb9e8bf336c95dea4bd527f04f6f8d1d28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0cdf8640e2c39b8253985a1e16760bbb9e8bf336c95dea4bd527f04f6f8d1d28" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling bytes v1.11.0
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling icu_properties_data v2.1.1
[INFO] [stderr]    Compiling tracing-core v0.1.35
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling hashbrown v0.16.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling find-msvc-tools v0.1.5
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling bytestring v1.5.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling local-waker v0.1.4
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling mio v1.1.0
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling syn v2.0.110
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling cc v1.2.46
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling indexmap v2.12.0
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling simd-adler32 v0.3.7
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]    Compiling regex-lite v0.1.8
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling brotli-decompressor v5.0.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling actix-utils v3.0.1
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling actix-service v2.0.3
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling brotli v8.0.2
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling flate2 v1.1.5
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling local-channel v0.1.5
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling language-tags v0.3.2
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling impl-more v0.1.9
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling encoding_rs_io v0.1.7
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling zstd v0.13.3
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling tracing v0.1.43
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling derive_more v2.0.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.1
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]    Compiling tracing-serde v0.2.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling tracing-appender v0.2.4
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]    Compiling sqlx-postgres v0.8.6
[INFO] [stderr]    Compiling tokio-util v0.7.17
[INFO] [stderr]    Compiling actix-rt v2.11.0
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling actix-codec v0.5.2
[INFO] [stderr]    Compiling actix-server v2.6.0
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]    Compiling actix-http v3.11.2
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]    Compiling actix-web v4.12.0
[INFO] [stderr]    Compiling sqlx v0.8.6
[INFO] [stderr]    Compiling actix-cors v0.7.1
[INFO] [stderr]    Compiling server_backend v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `serde::Serialize`
[INFO] [stdout]  --> src/alarm_data_analysis.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::Serialize;
[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: `Column`
[INFO] [stdout]  --> src/alarmdata.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use sqlx::{PgPool, Row,Column};
[INFO] [stdout]   |                        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::postgres::PgRow`
[INFO] [stdout]  --> src/alarmdata.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqlx::postgres::PgRow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ChipRecord`
[INFO] [stdout]   --> src/alarmdata.rs:10:23
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::variants::{ChipRecord,AlarmDetail,LotUnitData,AlarmCounts};
[INFO] [stdout]    |                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Column`
[INFO] [stdout]  --> src/graph/graphdata.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqlx::{PgPool, Row,Column};
[INFO] [stdout]   |                        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/graph/sql.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::graph::{self, variants::*};
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/graph/sql_ver2.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::graph::{self, variants::*};
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f32::consts::E`
[INFO] [stdout]  --> src/events_data.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::f32::consts::E;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lotdata.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let mut sql;
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/alarm_data_analysis.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |         let mut chipdata_sql;
[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/alarm_data_analysis.rs:124:21
[INFO] [stdout]     |
[INFO] [stdout] 124 |                 let mut detail:String;
[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/operating_data.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |         let mut chipdata_sql;
[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/operating_data.rs:167:21
[INFO] [stdout]     |
[INFO] [stdout] 167 |                 let mut detail:String;
[INFO] [stdout]     |                     ----^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Row`
[INFO] [stdout]  --> src/graph/graphdata.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqlx::{PgPool, Row,Column};
[INFO] [stdout]   |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `metadata`
[INFO] [stdout]   --> src/lotdata.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let metadata = sqlx::query(sql).bind(lot_name)
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `metadata`
[INFO] [stdout]   --> src/lot_analysis_data.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let metadata = sqlx::query(sql).bind(lot_name)
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `lot_start_flag` is assigned to, but never used
[INFO] [stdout]   --> src/alarm_data_analysis.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let mut lot_start_flag=false; //ロット開始が記録されているか
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_lot_start_flag` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `lot_end_flag` is assigned to, but never used
[INFO] [stdout]   --> src/alarm_data_analysis.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let mut lot_end_flag=false; //ロット終了が記録されているか
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_lot_end_flag` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `lot_start_flag` is never read
[INFO] [stdout]    --> src/alarm_data_analysis.rs:102:17
[INFO] [stdout]     |
[INFO] [stdout] 102 |                 lot_start_flag=true;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `lot_end_flag` is never read
[INFO] [stdout]    --> src/alarm_data_analysis.rs:111:17
[INFO] [stdout]     |
[INFO] [stdout] 111 |                 lot_end_flag=true;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_count`
[INFO] [stdout]  --> src/graph/plotdata.rs:8:44
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub async fn plot_scatterplot_without_unit(total_count:i64,data_map:&mut HashMap<String,Vec<PlotData>>,pool:&PgPool,sql:&str,params:&...
[INFO] [stdout]   |                                            ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_count`
[INFO] [stdout]    --> src/graph/plotdata.rs:149:41
[INFO] [stdout]     |
[INFO] [stdout] 149 | pub async fn plot_lineplot_without_unit(total_count:i64,data_map:&mut HashMap<String,Vec<PlotData>>,pool:&PgPool,sql:&str,params:&[...
[INFO] [stdout]     |                                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_count`
[INFO] [stdout]    --> src/graph/plotdata.rs:387:44
[INFO] [stdout]     |
[INFO] [stdout] 387 | ...ityplot_without_unit(total_count:i64,data_map:&mut HashMap<String,Vec<PlotData>>,pool:&PgPool,sql:&str,params:&[String],graph_co...
[INFO] [stdout]     |                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_count`
[INFO] [stdout]   --> src/graph/plotdata.rs:70:41
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub async fn plot_scatterplot_with_unit(total_count:i64,data_map:&mut HashMap<String,Vec<PlotData>>,pool:&PgPool,sql:&str,params:&[S...
[INFO] [stdout]    |                                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_count`
[INFO] [stdout]    --> src/graph/plotdata.rs:189:38
[INFO] [stdout]     |
[INFO] [stdout] 189 | pub async fn plot_lineplot_with_unit(total_count:i64,data_map:&mut HashMap<String,Vec<PlotData>>,pool:&PgPool,sql:&str,params:&[Str...
[INFO] [stdout]     |                                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `ALARM_JSON_PATH` is never used
[INFO] [stdout]   --> src/main.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | static ALARM_JSON_PATH: Lazy<String> = Lazy::new(|| {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_alarmdata` is never used
[INFO] [stdout]   --> src/alarmdata.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub async fn get_alarmdata(pool: &PgPool, alarm_json_path:&str,machine_id:i32,start_date:&str,end_date:&str) -> Result<HashMap<Strin...
[INFO] [stdout]    |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChipRecord` is never constructed
[INFO] [stdout]   --> src/variants.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct ChipRecord {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlarmCounts` is never constructed
[INFO] [stdout]   --> src/variants.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct AlarmCounts {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `new` is never used
[INFO] [stdout]   --> src/variants.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | impl AlarmCounts{
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] 63 |     pub fn new(&mut self,ld_vec:Vec<i32>,dc1_vec:Vec<i32>,ac1_vec:Vec<i32>,ac2_vec:Vec<i32>,dc2_vec:Vec<i32>,ip_vec:Vec<i32>,uld_vec...
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlarmDetail` is never constructed
[INFO] [stdout]   --> src/variants.rs:96:12
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub struct AlarmDetail{
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LotUnitData` is never constructed
[INFO] [stdout]    --> src/variants.rs:107:12
[INFO] [stdout]     |
[INFO] [stdout] 107 | pub struct LotUnitData {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `check_date` is never used
[INFO] [stdout]    --> src/variants.rs:116:12
[INFO] [stdout]     |
[INFO] [stdout] 115 | impl LotUnitData {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] 116 |     pub fn check_date(&mut self, ld_time: &str,uld_time:&str) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Histogram` is never constructed
[INFO] [stdout]   --> src/graph/variants.rs:83:5
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub enum PlotData{
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 83 |     Histogram(HistogramData),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PlotData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `UnitType` is never used
[INFO] [stdout]   --> src/graph/variants.rs:99:10
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub enum UnitType{
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 36s
[INFO] running `Command { std: "docker" "inspect" "0cdf8640e2c39b8253985a1e16760bbb9e8bf336c95dea4bd527f04f6f8d1d28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0cdf8640e2c39b8253985a1e16760bbb9e8bf336c95dea4bd527f04f6f8d1d28" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling server_backend v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `serde::Serialize`
[INFO] [stdout]  --> src/alarm_data_analysis.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::Serialize;
[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: `Column`
[INFO] [stdout]  --> src/alarmdata.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use sqlx::{PgPool, Row,Column};
[INFO] [stdout]   |                        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::postgres::PgRow`
[INFO] [stdout]  --> src/alarmdata.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqlx::postgres::PgRow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ChipRecord`
[INFO] [stdout]   --> src/alarmdata.rs:10:23
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::variants::{ChipRecord,AlarmDetail,LotUnitData,AlarmCounts};
[INFO] [stdout]    |                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Column`
[INFO] [stdout]  --> src/graph/graphdata.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqlx::{PgPool, Row,Column};
[INFO] [stdout]   |                        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/graph/sql.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::graph::{self, variants::*};
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/graph/sql_ver2.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::graph::{self, variants::*};
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f32::consts::E`
[INFO] [stdout]  --> src/events_data.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::f32::consts::E;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lotdata.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let mut sql;
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/alarm_data_analysis.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |         let mut chipdata_sql;
[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/alarm_data_analysis.rs:124:21
[INFO] [stdout]     |
[INFO] [stdout] 124 |                 let mut detail:String;
[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/operating_data.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |         let mut chipdata_sql;
[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/operating_data.rs:167:21
[INFO] [stdout]     |
[INFO] [stdout] 167 |                 let mut detail:String;
[INFO] [stdout]     |                     ----^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Row`
[INFO] [stdout]  --> src/graph/graphdata.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqlx::{PgPool, Row,Column};
[INFO] [stdout]   |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `metadata`
[INFO] [stdout]   --> src/lotdata.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let metadata = sqlx::query(sql).bind(lot_name)
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `metadata`
[INFO] [stdout]   --> src/lot_analysis_data.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let metadata = sqlx::query(sql).bind(lot_name)
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `lot_start_flag` is assigned to, but never used
[INFO] [stdout]   --> src/alarm_data_analysis.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let mut lot_start_flag=false; //ロット開始が記録されているか
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_lot_start_flag` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `lot_end_flag` is assigned to, but never used
[INFO] [stdout]   --> src/alarm_data_analysis.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let mut lot_end_flag=false; //ロット終了が記録されているか
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_lot_end_flag` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `lot_start_flag` is never read
[INFO] [stdout]    --> src/alarm_data_analysis.rs:102:17
[INFO] [stdout]     |
[INFO] [stdout] 102 |                 lot_start_flag=true;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `lot_end_flag` is never read
[INFO] [stdout]    --> src/alarm_data_analysis.rs:111:17
[INFO] [stdout]     |
[INFO] [stdout] 111 |                 lot_end_flag=true;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_count`
[INFO] [stdout]  --> src/graph/plotdata.rs:8:44
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub async fn plot_scatterplot_without_unit(total_count:i64,data_map:&mut HashMap<String,Vec<PlotData>>,pool:&PgPool,sql:&str,params:&...
[INFO] [stdout]   |                                            ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_count`
[INFO] [stdout]    --> src/graph/plotdata.rs:149:41
[INFO] [stdout]     |
[INFO] [stdout] 149 | pub async fn plot_lineplot_without_unit(total_count:i64,data_map:&mut HashMap<String,Vec<PlotData>>,pool:&PgPool,sql:&str,params:&[...
[INFO] [stdout]     |                                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_count`
[INFO] [stdout]    --> src/graph/plotdata.rs:387:44
[INFO] [stdout]     |
[INFO] [stdout] 387 | ...ityplot_without_unit(total_count:i64,data_map:&mut HashMap<String,Vec<PlotData>>,pool:&PgPool,sql:&str,params:&[String],graph_co...
[INFO] [stdout]     |                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_count`
[INFO] [stdout]   --> src/graph/plotdata.rs:70:41
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub async fn plot_scatterplot_with_unit(total_count:i64,data_map:&mut HashMap<String,Vec<PlotData>>,pool:&PgPool,sql:&str,params:&[S...
[INFO] [stdout]    |                                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_count`
[INFO] [stdout]    --> src/graph/plotdata.rs:189:38
[INFO] [stdout]     |
[INFO] [stdout] 189 | pub async fn plot_lineplot_with_unit(total_count:i64,data_map:&mut HashMap<String,Vec<PlotData>>,pool:&PgPool,sql:&str,params:&[Str...
[INFO] [stdout]     |                                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `ALARM_JSON_PATH` is never used
[INFO] [stdout]   --> src/main.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | static ALARM_JSON_PATH: Lazy<String> = Lazy::new(|| {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_alarmdata` is never used
[INFO] [stdout]   --> src/alarmdata.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub async fn get_alarmdata(pool: &PgPool, alarm_json_path:&str,machine_id:i32,start_date:&str,end_date:&str) -> Result<HashMap<Strin...
[INFO] [stdout]    |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChipRecord` is never constructed
[INFO] [stdout]   --> src/variants.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct ChipRecord {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlarmCounts` is never constructed
[INFO] [stdout]   --> src/variants.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct AlarmCounts {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `new` is never used
[INFO] [stdout]   --> src/variants.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | impl AlarmCounts{
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] 63 |     pub fn new(&mut self,ld_vec:Vec<i32>,dc1_vec:Vec<i32>,ac1_vec:Vec<i32>,ac2_vec:Vec<i32>,dc2_vec:Vec<i32>,ip_vec:Vec<i32>,uld_vec...
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlarmDetail` is never constructed
[INFO] [stdout]   --> src/variants.rs:96:12
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub struct AlarmDetail{
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LotUnitData` is never constructed
[INFO] [stdout]    --> src/variants.rs:107:12
[INFO] [stdout]     |
[INFO] [stdout] 107 | pub struct LotUnitData {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `check_date` is never used
[INFO] [stdout]    --> src/variants.rs:116:12
[INFO] [stdout]     |
[INFO] [stdout] 115 | impl LotUnitData {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] 116 |     pub fn check_date(&mut self, ld_time: &str,uld_time:&str) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Histogram` is never constructed
[INFO] [stdout]   --> src/graph/variants.rs:83:5
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub enum PlotData{
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 83 |     Histogram(HistogramData),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PlotData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `UnitType` is never used
[INFO] [stdout]   --> src/graph/variants.rs:99:10
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub enum UnitType{
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.54s
[INFO] running `Command { std: "docker" "inspect" "0cdf8640e2c39b8253985a1e16760bbb9e8bf336c95dea4bd527f04f6f8d1d28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0cdf8640e2c39b8253985a1e16760bbb9e8bf336c95dea4bd527f04f6f8d1d28" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `serde::Serialize`
[INFO] [stderr]  --> src/alarm_data_analysis.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use serde::Serialize;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Column`
[INFO] [stderr]  --> src/alarmdata.rs:1:24
[INFO] [stderr]   |
[INFO] [stderr] 1 | use sqlx::{PgPool, Row,Column};
[INFO] [stderr]   |                        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `sqlx::postgres::PgRow`
[INFO] [stderr]  --> src/alarmdata.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use sqlx::postgres::PgRow;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ChipRecord`
[INFO] [stderr]   --> src/alarmdata.rs:10:23
[INFO] [stderr]    |
[INFO] [stderr] 10 | use crate::variants::{ChipRecord,AlarmDetail,LotUnitData,AlarmCounts};
[INFO] [stderr]    |                       ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Column`
[INFO] [stderr]  --> src/graph/graphdata.rs:2:24
[INFO] [stderr]   |
[INFO] [stderr] 2 | use sqlx::{PgPool, Row,Column};
[INFO] [stderr]   |                        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `self`
[INFO] [stderr]  --> src/graph/sql.rs:1:20
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::graph::{self, variants::*};
[INFO] [stderr]   |                    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `self`
[INFO] [stderr]  --> src/graph/sql_ver2.rs:1:20
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::graph::{self, variants::*};
[INFO] [stderr]   |                    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::f32::consts::E`
[INFO] [stderr]  --> src/events_data.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::f32::consts::E;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/lotdata.rs:25:9
[INFO] [stderr]    |
[INFO] [stderr] 25 |     let mut sql;
[INFO] [stderr]    |         ----^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/alarm_data_analysis.rs:61:13
[INFO] [stderr]    |
[INFO] [stderr] 61 |         let mut chipdata_sql;
[INFO] [stderr]    |             ----^^^^^^^^^^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/alarm_data_analysis.rs:124:21
[INFO] [stderr]     |
[INFO] [stderr] 124 |                 let mut detail:String;
[INFO] [stderr]     |                     ----^^^^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/operating_data.rs:87:13
[INFO] [stderr]    |
[INFO] [stderr] 87 |         let mut chipdata_sql;
[INFO] [stderr]    |             ----^^^^^^^^^^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/operating_data.rs:167:21
[INFO] [stderr]     |
[INFO] [stderr] 167 |                 let mut detail:String;
[INFO] [stderr]     |                     ----^^^^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Row`
[INFO] [stderr]  --> src/graph/graphdata.rs:2:20
[INFO] [stderr]   |
[INFO] [stderr] 2 | use sqlx::{PgPool, Row,Column};
[INFO] [stderr]   |                    ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `metadata`
[INFO] [stderr]   --> src/lotdata.rs:16:9
[INFO] [stderr]    |
[INFO] [stderr] 16 |     let metadata = sqlx::query(sql).bind(lot_name)
[INFO] [stderr]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `metadata`
[INFO] [stderr]   --> src/lot_analysis_data.rs:21:9
[INFO] [stderr]    |
[INFO] [stderr] 21 |     let metadata = sqlx::query(sql).bind(lot_name)
[INFO] [stderr]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `lot_start_flag` is assigned to, but never used
[INFO] [stderr]   --> src/alarm_data_analysis.rs:51:13
[INFO] [stderr]    |
[INFO] [stderr] 51 |         let mut lot_start_flag=false; //ロット開始が記録されているか
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: consider using `_lot_start_flag` instead
[INFO] [stderr] 
[INFO] [stderr] warning: variable `lot_end_flag` is assigned to, but never used
[INFO] [stderr]   --> src/alarm_data_analysis.rs:52:13
[INFO] [stderr]    |
[INFO] [stderr] 52 |         let mut lot_end_flag=false; //ロット終了が記録されているか
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: consider using `_lot_end_flag` instead
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `lot_start_flag` is never read
[INFO] [stderr]    --> src/alarm_data_analysis.rs:102:17
[INFO] [stderr]     |
[INFO] [stderr] 102 |                 lot_start_flag=true;
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `lot_end_flag` is never read
[INFO] [stderr]    --> src/alarm_data_analysis.rs:111:17
[INFO] [stderr]     |
[INFO] [stderr] 111 |                 lot_end_flag=true;
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `total_count`
[INFO] [stderr]  --> src/graph/plotdata.rs:8:44
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub async fn plot_scatterplot_without_unit(total_count:i64,data_map:&mut HashMap<String,Vec<PlotData>>,pool:&PgPool,sql:&str,params:&...
[INFO] [stderr]   |                                            ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_count`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `total_count`
[INFO] [stderr]    --> src/graph/plotdata.rs:149:41
[INFO] [stderr]     |
[INFO] [stderr] 149 | pub async fn plot_lineplot_without_unit(total_count:i64,data_map:&mut HashMap<String,Vec<PlotData>>,pool:&PgPool,sql:&str,params:&[...
[INFO] [stderr]     |                                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_count`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `total_count`
[INFO] [stderr]    --> src/graph/plotdata.rs:387:44
[INFO] [stderr]     |
[INFO] [stderr] 387 | ...ityplot_without_unit(total_count:i64,data_map:&mut HashMap<String,Vec<PlotData>>,pool:&PgPool,sql:&str,params:&[String],graph_co...
[INFO] [stderr]     |                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_count`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `total_count`
[INFO] [stderr]   --> src/graph/plotdata.rs:70:41
[INFO] [stderr]    |
[INFO] [stderr] 70 | pub async fn plot_scatterplot_with_unit(total_count:i64,data_map:&mut HashMap<String,Vec<PlotData>>,pool:&PgPool,sql:&str,params:&[S...
[INFO] [stderr]    |                                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_count`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `total_count`
[INFO] [stderr]    --> src/graph/plotdata.rs:189:38
[INFO] [stderr]     |
[INFO] [stderr] 189 | pub async fn plot_lineplot_with_unit(total_count:i64,data_map:&mut HashMap<String,Vec<PlotData>>,pool:&PgPool,sql:&str,params:&[Str...
[INFO] [stderr]     |                                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_count`
[INFO] [stderr] 
[INFO] [stderr] warning: static `ALARM_JSON_PATH` is never used
[INFO] [stderr]   --> src/main.rs:34:8
[INFO] [stderr]    |
[INFO] [stderr] 34 | static ALARM_JSON_PATH: Lazy<String> = Lazy::new(|| {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_alarmdata` is never used
[INFO] [stderr]   --> src/alarmdata.rs:12:14
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub async fn get_alarmdata(pool: &PgPool, alarm_json_path:&str,machine_id:i32,start_date:&str,end_date:&str) -> Result<HashMap<Strin...
[INFO] [stderr]    |              ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ChipRecord` is never constructed
[INFO] [stderr]   --> src/variants.rs:38:12
[INFO] [stderr]    |
[INFO] [stderr] 38 | pub struct ChipRecord {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AlarmCounts` is never constructed
[INFO] [stderr]   --> src/variants.rs:52:12
[INFO] [stderr]    |
[INFO] [stderr] 52 | pub struct AlarmCounts {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `new` is never used
[INFO] [stderr]   --> src/variants.rs:63:12
[INFO] [stderr]    |
[INFO] [stderr] 62 | impl AlarmCounts{
[INFO] [stderr]    | ---------------- method in this implementation
[INFO] [stderr] 63 |     pub fn new(&mut self,ld_vec:Vec<i32>,dc1_vec:Vec<i32>,ac1_vec:Vec<i32>,ac2_vec:Vec<i32>,dc2_vec:Vec<i32>,ip_vec:Vec<i32>,uld_vec...
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AlarmDetail` is never constructed
[INFO] [stderr]   --> src/variants.rs:96:12
[INFO] [stderr]    |
[INFO] [stderr] 96 | pub struct AlarmDetail{
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `LotUnitData` is never constructed
[INFO] [stderr]    --> src/variants.rs:107:12
[INFO] [stderr]     |
[INFO] [stderr] 107 | pub struct LotUnitData {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `check_date` is never used
[INFO] [stderr]    --> src/variants.rs:116:12
[INFO] [stderr]     |
[INFO] [stderr] 115 | impl LotUnitData {
[INFO] [stderr]     | ---------------- method in this implementation
[INFO] [stderr] 116 |     pub fn check_date(&mut self, ld_time: &str,uld_time:&str) {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Histogram` is never constructed
[INFO] [stderr]   --> src/graph/variants.rs:83:5
[INFO] [stderr]    |
[INFO] [stderr] 80 | pub enum PlotData{
[INFO] [stderr]    |          -------- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 83 |     Histogram(HistogramData),
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `PlotData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: enum `UnitType` is never used
[INFO] [stderr]   --> src/graph/variants.rs:99:10
[INFO] [stderr]    |
[INFO] [stderr] 99 | pub enum UnitType{
[INFO] [stderr]    |          ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `server_backend` (bin "server_backend" test) generated 35 warnings (run `cargo fix --bin "server_backend" -p server_backend --tests` to apply 20 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.62s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/server_backend-8c6352a5fb996cab)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "0cdf8640e2c39b8253985a1e16760bbb9e8bf336c95dea4bd527f04f6f8d1d28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0cdf8640e2c39b8253985a1e16760bbb9e8bf336c95dea4bd527f04f6f8d1d28", kill_on_drop: false }`
[INFO] [stdout] 0cdf8640e2c39b8253985a1e16760bbb9e8bf336c95dea4bd527f04f6f8d1d28
