[INFO] cloning repository https://github.com/zhoujun681/ip_manager_server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhoujun681/ip_manager_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhoujun681%2Fip_manager_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhoujun681%2Fip_manager_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e51a32d4053ee872bf4fff5ab8077bd825e3e97d [INFO] testing zhoujun681/ip_manager_server against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhoujun681%2Fip_manager_server" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zhoujun681/ip_manager_server on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zhoujun681/ip_manager_server [INFO] finished tweaking git repo https://github.com/zhoujun681/ip_manager_server [INFO] tweaked toml for git repo https://github.com/zhoujun681/ip_manager_server written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/zhoujun681/ip_manager_server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded winping v0.10.1 [INFO] [stderr] Downloaded socket2 v0.3.18 [INFO] [stderr] Downloaded actix-cors v0.5.3 [INFO] [stderr] Downloaded winapi_forked_icmpapi v0.3.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd836f522f99096d08bc4453ed5531a10382079b65901c199c31cbe4ae56b8ee [INFO] running `Command { std: "docker" "start" "-a" "bd836f522f99096d08bc4453ed5531a10382079b65901c199c31cbe4ae56b8ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd836f522f99096d08bc4453ed5531a10382079b65901c199c31cbe4ae56b8ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd836f522f99096d08bc4453ed5531a10382079b65901c199c31cbe4ae56b8ee", kill_on_drop: false }` [INFO] [stdout] bd836f522f99096d08bc4453ed5531a10382079b65901c199c31cbe4ae56b8ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d75a98162362bb36897eaf2b9bf5f5d4217140bff211aee5014e02c28cde284 [INFO] running `Command { std: "docker" "start" "-a" "4d75a98162362bb36897eaf2b9bf5f5d4217140bff211aee5014e02c28cde284", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling smallvec v1.5.1 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling winapi_forked_icmpapi v0.3.7 [INFO] [stderr] Compiling standback v0.2.13 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Compiling cookie v0.14.3 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling signal-hook-registry v1.2.2 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling socket2 v0.3.18 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling http v0.2.2 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling sha-1 v0.9.2 [INFO] [stderr] Compiling parking_lot_core v0.8.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling winping v0.10.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.24 [INFO] [stderr] Compiling addr2line v0.14.0 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Compiling rusqlite v0.24.2 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling trust-dns-proto v0.19.6 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling trust-dns-resolver v0.19.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling actix-router v0.2.5 [INFO] [stderr] Compiling serde_yaml v0.8.15 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling actix-http v2.2.0 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-web v3.3.2 [INFO] [stderr] Compiling actix-cors v0.5.3 [INFO] [stderr] Compiling IpManagerServer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `winping::Buffer`, `winping::Pinger` [INFO] [stdout] --> src/my_sqlite_dao.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use winping::{Buffer, Pinger}; [INFO] [stdout] | ^^^^^^ ^^^^^^ no `Pinger` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Buffer` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpRequest` [INFO] [stdout] --> src/main.rs:10:52 [INFO] [stdout] | [INFO] [stdout] 10 | use actix_web::{get, http::header, post, web, App, HttpRequest, HttpResponse, HttpServer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_yaml::Error` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use serde_yaml::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::web::Json` [INFO] [stdout] --> src/my_sqlite_dao.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::web::Json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusqlite::types::Null` [INFO] [stdout] --> src/my_sqlite_dao.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rusqlite::types::Null; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transaction` [INFO] [stdout] --> src/my_sqlite_dao.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use rusqlite::{params, Connection, Result, Transaction}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `part` should have an upper camel case name [INFO] [stdout] --> src/my_sqlite_dao.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct part { [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Part` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `department` should have an upper camel case name [INFO] [stdout] --> src/my_sqlite_dao.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct department { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Department` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ip_address` should have an upper camel case name [INFO] [stdout] --> src/my_sqlite_dao.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ip_address { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `IpAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/my_sqlite_dao.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 204 | if (ip.is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 204 - if (ip.is_empty()) { [INFO] [stdout] 204 + if ip.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/my_sqlite_dao.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 227 | if (result == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 227 - if (result == 0) { [INFO] [stdout] 227 + if result == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/my_sqlite_dao.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 254 | if (is_locked == -1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 254 - if (is_locked == -1) { [INFO] [stdout] 254 + if is_locked == -1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/my_sqlite_dao.rs:256:15 [INFO] [stdout] | [INFO] [stdout] 256 | } else if (is_locked > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 256 - } else if (is_locked > 0) { [INFO] [stdout] 256 + } else if is_locked > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/my_sqlite_dao.rs:262:8 [INFO] [stdout] | [INFO] [stdout] 262 | if (is_locked == 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 262 - if (is_locked == 1) { [INFO] [stdout] 262 + if is_locked == 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/my_sqlite_dao.rs:285:8 [INFO] [stdout] | [INFO] [stdout] 285 | if (result > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 285 - if (result > 0) { [INFO] [stdout] 285 + if result > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/my_sqlite_dao.rs:308:8 [INFO] [stdout] | [INFO] [stdout] 308 | if (result > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 308 - if (result > 0) { [INFO] [stdout] 308 + if result > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/my_sqlite_dao.rs:358:8 [INFO] [stdout] | [INFO] [stdout] 358 | if (part_id == -1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 358 - if (part_id == -1) { [INFO] [stdout] 358 + if part_id == -1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/my_sqlite_dao.rs:431:8 [INFO] [stdout] | [INFO] [stdout] 431 | if (overlap_count > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 431 - if (overlap_count > 0) { [INFO] [stdout] 431 + if overlap_count > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/my_sqlite_dao.rs:627:8 [INFO] [stdout] | [INFO] [stdout] 627 | if (overlap_count > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 627 - if (overlap_count > 0) { [INFO] [stdout] 627 + if overlap_count > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/my_sqlite_dao.rs:699:8 [INFO] [stdout] | [INFO] [stdout] 699 | if (ip_address_end != ip_address_end_old) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 699 - if (ip_address_end != ip_address_end_old) { [INFO] [stdout] 699 + if ip_address_end != ip_address_end_old { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/my_sqlite_dao.rs:706:12 [INFO] [stdout] | [INFO] [stdout] 706 | if (result < 0 && result != -2) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 706 - if (result < 0 && result != -2) { [INFO] [stdout] 706 + if result < 0 && result != -2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/my_sqlite_dao.rs:725:8 [INFO] [stdout] | [INFO] [stdout] 725 | if (ip_address_end != ip_address_end_old) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 725 - if (ip_address_end != ip_address_end_old) { [INFO] [stdout] 725 + if ip_address_end != ip_address_end_old { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Query_Ip` should have an upper camel case name [INFO] [stdout] --> src/main.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct Query_Ip { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `QueryIp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Check_Ip` should have an upper camel case name [INFO] [stdout] --> src/main.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct Check_Ip { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `CheckIp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | let mut myconn = my_sqlite_dao::init_db().expect("数据库初始化失败"); [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/main.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | let mut myconn = my_sqlite_dao::init_db().expect("数据库初始化失败"); [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/main.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | let mut myconn = my_sqlite_dao::init_db().expect("数据库初始化失败"); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `IpManagerServer` due to 2 previous errors; 28 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4d75a98162362bb36897eaf2b9bf5f5d4217140bff211aee5014e02c28cde284", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d75a98162362bb36897eaf2b9bf5f5d4217140bff211aee5014e02c28cde284", kill_on_drop: false }` [INFO] [stdout] 4d75a98162362bb36897eaf2b9bf5f5d4217140bff211aee5014e02c28cde284