[INFO] cloning repository https://github.com/Zizkl/rustStudy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Zizkl/rustStudy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZizkl%2FrustStudy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZizkl%2FrustStudy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4157e6306b007330fa57086c0dd1b01691340ca1 [INFO] testing Zizkl/rustStudy against beta-2025-02-18 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZizkl%2FrustStudy" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Zizkl/rustStudy on toolchain beta-2025-02-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Zizkl/rustStudy [INFO] finished tweaking git repo https://github.com/Zizkl/rustStudy [INFO] tweaked toml for git repo https://github.com/Zizkl/rustStudy written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Zizkl/rustStudy 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" "+beta-2025-02-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b8ac93012eb771a2ed0d91822d85a9c8c34f8852a15eadce75c624e02613f8c [INFO] running `Command { std: "docker" "start" "-a" "0b8ac93012eb771a2ed0d91822d85a9c8c34f8852a15eadce75c624e02613f8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b8ac93012eb771a2ed0d91822d85a9c8c34f8852a15eadce75c624e02613f8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b8ac93012eb771a2ed0d91822d85a9c8c34f8852a15eadce75c624e02613f8c", kill_on_drop: false }` [INFO] [stdout] 0b8ac93012eb771a2ed0d91822d85a9c8c34f8852a15eadce75c624e02613f8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31d56c9ce2144e6de66e31b6613ebf7192f809f4158a8f2f7baacd9570c7f843 [INFO] running `Command { std: "docker" "start" "-a" "31d56c9ce2144e6de66e31b6613ebf7192f809f4158a8f2f7baacd9570c7f843", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.141 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling proc-macro2 v1.0.56 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.160 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling regex-syntax v0.7.1 [INFO] [stderr] Compiling aho-corasick v1.0.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling openssl v0.10.52 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling rust_decimal v1.29.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling libsqlite3-sys v0.18.0 [INFO] [stderr] Compiling io-enum v0.2.6 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling openssl-sys v0.9.87 [INFO] [stderr] Compiling getrandom v0.2.9 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling libz-sys v1.1.8 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling syn v2.0.15 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling iana-time-zone v0.1.56 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling mysql v20.1.0 [INFO] [stderr] Compiling lexical v5.2.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling lru v0.6.6 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling chrono v0.4.24 [INFO] [stderr] Compiling bigdecimal v0.1.2 [INFO] [stderr] Compiling nix v0.19.1 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling regex v1.8.1 [INFO] [stderr] Compiling rusqlite v0.23.1 [INFO] [stderr] Compiling derive_utils v0.11.2 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling mysql_common v0.24.1 [INFO] [stderr] Compiling my_first_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `jsonStr` [INFO] [stdout] --> src/main.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut jsonStr = "{\"agricultureJosn\":{\"nysczz\":1223,\"gdpRatio\":\"5.4\",\"changeState\":\"\",\"changeRatio\":\"8\",\"lszzArea\"... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_jsonStr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `json` [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let json = json!({ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/main.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut sql = "create table if not exists student (id int not null primary key auto_increment, name varchar(20) not null, age int not... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut jsonStr = "{\"agricultureJosn\":{\"nysczz\":1223,\"gdpRatio\":\"5.4\",\"changeState\":\"\",\"changeRatio\":\"8\",\"lszzArea\"... [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:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let mut sql = "create table if not exists student (id int not null primary key auto_increment, name varchar(20) not null, age int not... [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `jsonStr` should have a snake case name [INFO] [stdout] --> src/main.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut jsonStr = "{\"agricultureJosn\":{\"nysczz\":1223,\"gdpRatio\":\"5.4\",\"changeState\":\"\",\"changeRatio\":\"8\",\"lszzArea\"... [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `json_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.22s [INFO] running `Command { std: "docker" "inspect" "31d56c9ce2144e6de66e31b6613ebf7192f809f4158a8f2f7baacd9570c7f843", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31d56c9ce2144e6de66e31b6613ebf7192f809f4158a8f2f7baacd9570c7f843", kill_on_drop: false }` [INFO] [stdout] 31d56c9ce2144e6de66e31b6613ebf7192f809f4158a8f2f7baacd9570c7f843 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 441c7a36e7691b28169a2dfcaf437668b2cec9eb43fa904ed513b089a5c17630 [INFO] running `Command { std: "docker" "start" "-a" "441c7a36e7691b28169a2dfcaf437668b2cec9eb43fa904ed513b089a5c17630", kill_on_drop: false }` [INFO] [stderr] Compiling my_first_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `jsonStr` [INFO] [stdout] --> src/main.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut jsonStr = "{\"agricultureJosn\":{\"nysczz\":1223,\"gdpRatio\":\"5.4\",\"changeState\":\"\",\"changeRatio\":\"8\",\"lszzArea\"... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_jsonStr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `json` [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let json = json!({ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/main.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut sql = "create table if not exists student (id int not null primary key auto_increment, name varchar(20) not null, age int not... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut jsonStr = "{\"agricultureJosn\":{\"nysczz\":1223,\"gdpRatio\":\"5.4\",\"changeState\":\"\",\"changeRatio\":\"8\",\"lszzArea\"... [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:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let mut sql = "create table if not exists student (id int not null primary key auto_increment, name varchar(20) not null, age int not... [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `jsonStr` should have a snake case name [INFO] [stdout] --> src/main.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut jsonStr = "{\"agricultureJosn\":{\"nysczz\":1223,\"gdpRatio\":\"5.4\",\"changeState\":\"\",\"changeRatio\":\"8\",\"lszzArea\"... [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `json_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.63s [INFO] running `Command { std: "docker" "inspect" "441c7a36e7691b28169a2dfcaf437668b2cec9eb43fa904ed513b089a5c17630", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "441c7a36e7691b28169a2dfcaf437668b2cec9eb43fa904ed513b089a5c17630", kill_on_drop: false }` [INFO] [stdout] 441c7a36e7691b28169a2dfcaf437668b2cec9eb43fa904ed513b089a5c17630 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 92a9c1fd8d309e4ce467b5f33abf697cac0b098d6b98f27cefe667220af7293a [INFO] running `Command { std: "docker" "start" "-a" "92a9c1fd8d309e4ce467b5f33abf697cac0b098d6b98f27cefe667220af7293a", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `jsonStr` [INFO] [stderr] --> src/main.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | let mut jsonStr = "{\"agricultureJosn\":{\"nysczz\":1223,\"gdpRatio\":\"5.4\",\"changeState\":\"\",\"changeRatio\":\"8\",\"lszzArea\"... [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_jsonStr` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `json` [INFO] [stderr] --> src/main.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | let json = json!({ [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_json` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sql` [INFO] [stderr] --> src/main.rs:42:13 [INFO] [stderr] | [INFO] [stderr] 42 | let mut sql = "create table if not exists student (id int not null primary key auto_increment, name varchar(20) not null, age int not... [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | let mut jsonStr = "{\"agricultureJosn\":{\"nysczz\":1223,\"gdpRatio\":\"5.4\",\"changeState\":\"\",\"changeRatio\":\"8\",\"lszzArea\"... [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | let mut sql = "create table if not exists student (id int not null primary key auto_increment, name varchar(20) not null, age int not... [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable `jsonStr` should have a snake case name [INFO] [stderr] --> src/main.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | let mut jsonStr = "{\"agricultureJosn\":{\"nysczz\":1223,\"gdpRatio\":\"5.4\",\"changeState\":\"\",\"changeRatio\":\"8\",\"lszzArea\"... [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `json_str` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `my_first_rust` (bin "my_first_rust" test) generated 6 warnings (run `cargo fix --bin "my_first_rust" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/my_first_rust-178826e6414d4705) [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" "92a9c1fd8d309e4ce467b5f33abf697cac0b098d6b98f27cefe667220af7293a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92a9c1fd8d309e4ce467b5f33abf697cac0b098d6b98f27cefe667220af7293a", kill_on_drop: false }` [INFO] [stdout] 92a9c1fd8d309e4ce467b5f33abf697cac0b098d6b98f27cefe667220af7293a