[INFO] cloning repository https://github.com/lostking-202/rust-untitled
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lostking-202/rust-untitled" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flostking-202%2Frust-untitled", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flostking-202%2Frust-untitled'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2161f4050c86b340383cf0ad673d0d3708117209
[INFO] testing lostking-202/rust-untitled against beta-2025-09-21 for beta-1.91-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flostking-202%2Frust-untitled" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/lostking-202/rust-untitled
[INFO] finished tweaking git repo https://github.com/lostking-202/rust-untitled
[INFO] tweaked toml for git repo https://github.com/lostking-202/rust-untitled written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lostking-202/rust-untitled on toolchain beta-2025-09-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/lostking-202/rust-untitled 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-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ab99c481023f6a0f06fc7ca78f6954a52c294df57a4c10652d2b0c892aa42e5d
[INFO] running `Command { std: "docker" "start" "-a" "ab99c481023f6a0f06fc7ca78f6954a52c294df57a4c10652d2b0c892aa42e5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ab99c481023f6a0f06fc7ca78f6954a52c294df57a4c10652d2b0c892aa42e5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ab99c481023f6a0f06fc7ca78f6954a52c294df57a4c10652d2b0c892aa42e5d", kill_on_drop: false }`
[INFO] [stdout] ab99c481023f6a0f06fc7ca78f6954a52c294df57a4c10652d2b0c892aa42e5d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9f9129d8f1f8a554970ae489c90a5cbaf0b8778d3239abad57a3465b8cf7b16c
[INFO] running `Command { std: "docker" "start" "-a" "9f9129d8f1f8a554970ae489c90a5cbaf0b8778d3239abad57a3465b8cf7b16c", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling bytes v1.8.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.15
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling hashbrown v0.15.0
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling cc v1.1.31
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling serde v1.0.213
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling indexmap v2.6.0
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling unicode-bidi v0.3.17
[INFO] [stderr]    Compiling syn v2.0.85
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]    Compiling rustls-pki-types v1.10.0
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling sync_wrapper v1.0.1
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling ipnet v2.10.1
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling tokio v1.41.0
[INFO] [stderr]    Compiling rand_core v0.9.0-alpha.2
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rand_chacha v0.9.0-alpha.2
[INFO] [stderr]    Compiling rand v0.9.0-alpha.2
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.4.6
[INFO] [stderr]    Compiling hyper v1.5.0
[INFO] [stderr]    Compiling hyper-util v0.1.9
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.8
[INFO] [stderr]    Compiling rust-untitled v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `http::Request`
[INFO] [stdout]  --> src/test.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use http::Request;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod test;
[INFO] [stdout]   | ^^^^^^^^^
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `reqwest::Error`
[INFO] [stdout]  --> src/test.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use reqwest::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod test;
[INFO] [stdout]   | ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json`
[INFO] [stdout]  --> src/test.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde_json;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod test;
[INFO] [stdout]   | ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `reqwest::Client`
[INFO] [stdout]  --> src/test.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use reqwest::Client;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod test;
[INFO] [stdout]   | ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Index`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::ops::Index;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:414:11
[INFO] [stdout]     |
[INFO] [stdout] 414 |         if(v.contains(&i)){
[INFO] [stdout]     |           ^              ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 414 -         if(v.contains(&i)){
[INFO] [stdout] 414 +         if v.contains(&i) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/main.rs:68:10
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let (x,y,z)=tup;
[INFO] [stdout]    |          ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/main.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let (x,y,z)=tup;
[INFO] [stdout]    |            ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]   --> src/main.rs:68:14
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let (x,y,z)=tup;
[INFO] [stdout]    |              ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `five_hundred`
[INFO] [stdout]   --> src/main.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let five_hundred = x.0;
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_five_hundred`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `six_point_four`
[INFO] [stdout]   --> src/main.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let six_point_four = x.1;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_six_point_four`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `one`
[INFO] [stdout]   --> src/main.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |     let one = x.2;
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_one`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/main.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |     let a = [1, 2, 3, 4, 5];
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/main.rs:83:9
[INFO] [stdout]    |
[INFO] [stdout] 83 |     let a: [i32; 5] = [1, 2, 3, 4, 5];
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `first`
[INFO] [stdout]   --> src/main.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let first = a[0];
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_first`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `second`
[INFO] [stdout]   --> src/main.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |     let second = a[1];
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_second`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `number`
[INFO] [stdout]    --> src/main.rs:101:9
[INFO] [stdout]     |
[INFO] [stdout] 101 |     let number= if condition{5}else {6};
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r1`
[INFO] [stdout]    --> src/main.rs:163:9
[INFO] [stdout]     |
[INFO] [stdout] 163 |     let r1 = &mut s;
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r1`
[INFO] [stdout]    --> src/main.rs:175:13
[INFO] [stdout]     |
[INFO] [stdout] 175 |         let r1 = &mut s;
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r2`
[INFO] [stdout]    --> src/main.rs:178:9
[INFO] [stdout]     |
[INFO] [stdout] 178 |     let r2 = &mut s;
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_r2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r1`
[INFO] [stdout]    --> src/main.rs:185:9
[INFO] [stdout]     |
[INFO] [stdout] 185 |     let r1 = &s; // 没问题
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r2`
[INFO] [stdout]    --> src/main.rs:186:9
[INFO] [stdout]     |
[INFO] [stdout] 186 |     let r2 = &s; // 没问题
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_r2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:183:9
[INFO] [stdout]     |
[INFO] [stdout] 183 |     let mut s = String::from("hello");
[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 `num` is assigned to, but never used
[INFO] [stdout]    --> src/main.rs:256:13
[INFO] [stdout]     |
[INFO] [stdout] 256 |     let mut num=v[1];
[INFO] [stdout]     |             ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_num` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `num` is never read
[INFO] [stdout]    --> src/main.rs:257:5
[INFO] [stdout]     |
[INFO] [stdout] 257 |     num=2;
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:277:9
[INFO] [stdout]     |
[INFO] [stdout] 277 |     let mut field_name=String::from("Favorite color");
[INFO] [stdout]     |         ----^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max`
[INFO] [stdout]    --> src/main.rs:441:13
[INFO] [stdout]     |
[INFO] [stdout] 441 |     let mut max=nums[0];
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_max`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sum`
[INFO] [stdout]    --> src/main.rs:442:13
[INFO] [stdout]     |
[INFO] [stdout] 442 |     let mut sum=nums[0];
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_sum`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:441:9
[INFO] [stdout]     |
[INFO] [stdout] 441 |     let mut max=nums[0];
[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:442:9
[INFO] [stdout]     |
[INFO] [stdout] 442 |     let mut sum=nums[0];
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `guess_num` is never used
[INFO] [stdout]   --> src/main.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn guess_num() ->String{
[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 `compare_guess_num` is never used
[INFO] [stdout]   --> src/main.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn compare_guess_num(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shadow_demo` is never used
[INFO] [stdout]   --> src/main.rs:51:4
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn shadow_demo(){
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `collection_demo` is never used
[INFO] [stdout]   --> src/main.rs:64:4
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn collection_demo(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `code_block_demo` is never used
[INFO] [stdout]   --> src/main.rs:91:4
[INFO] [stdout]    |
[INFO] [stdout] 91 | fn code_block_demo(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `if_demo` is never used
[INFO] [stdout]   --> src/main.rs:99:4
[INFO] [stdout]    |
[INFO] [stdout] 99 | fn if_demo(){
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `loop_demo` is never used
[INFO] [stdout]    --> src/main.rs:104:4
[INFO] [stdout]     |
[INFO] [stdout] 104 | fn loop_demo(){
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `borrow_demo` is never used
[INFO] [stdout]    --> src/main.rs:118:4
[INFO] [stdout]     |
[INFO] [stdout] 118 | fn borrow_demo(){
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `takes_ownership` is never used
[INFO] [stdout]    --> src/main.rs:126:4
[INFO] [stdout]     |
[INFO] [stdout] 126 | fn takes_ownership(some_string: String) { // some_string 进入作用域
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `give_demo` is never used
[INFO] [stdout]    --> src/main.rs:131:4
[INFO] [stdout]     |
[INFO] [stdout] 131 | fn give_demo(){
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `takes_and_gives_back` is never used
[INFO] [stdout]    --> src/main.rs:138:4
[INFO] [stdout]     |
[INFO] [stdout] 138 | fn takes_and_gives_back(a_string: String) -> String { // a_string 进入作用域
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ref_demo` is never used
[INFO] [stdout]    --> src/main.rs:144:4
[INFO] [stdout]     |
[INFO] [stdout] 144 | fn ref_demo(){
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_length` is never used
[INFO] [stdout]    --> src/main.rs:152:4
[INFO] [stdout]     |
[INFO] [stdout] 152 | fn calculate_length(s: &String) -> usize {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mut_ref_dem1` is never used
[INFO] [stdout]    --> src/main.rs:160:4
[INFO] [stdout]     |
[INFO] [stdout] 160 | fn mut_ref_dem1(){
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mut_ref_demo2` is never used
[INFO] [stdout]    --> src/main.rs:170:4
[INFO] [stdout]     |
[INFO] [stdout] 170 | fn mut_ref_demo2(){
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mut_ref_demo3` is never used
[INFO] [stdout]    --> src/main.rs:182:4
[INFO] [stdout]     |
[INFO] [stdout] 182 | fn mut_ref_demo3(){
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mut_ref_demo4` is never used
[INFO] [stdout]    --> src/main.rs:192:4
[INFO] [stdout]     |
[INFO] [stdout] 192 | fn mut_ref_demo4(){
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `change` is never used
[INFO] [stdout]    --> src/main.rs:204:4
[INFO] [stdout]     |
[INFO] [stdout] 204 | fn change(some_string: &mut String) {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `first_word` is never used
[INFO] [stdout]    --> src/main.rs:219:4
[INFO] [stdout]     |
[INFO] [stdout] 219 | fn first_word(s:&String)->usize{
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `slice_demo1` is never used
[INFO] [stdout]    --> src/main.rs:229:4
[INFO] [stdout]     |
[INFO] [stdout] 229 | fn slice_demo1(){
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `first_word2` is never used
[INFO] [stdout]    --> src/main.rs:236:4
[INFO] [stdout]     |
[INFO] [stdout] 236 | fn first_word2(s:&String)->&str{
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `slice_demo2` is never used
[INFO] [stdout]    --> src/main.rs:246:4
[INFO] [stdout]     |
[INFO] [stdout] 246 | fn slice_demo2(){
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `vec_demo1` is never used
[INFO] [stdout]    --> src/main.rs:254:4
[INFO] [stdout]     |
[INFO] [stdout] 254 | fn vec_demo1(){
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `vec_demo2` is never used
[INFO] [stdout]    --> src/main.rs:261:4
[INFO] [stdout]     |
[INFO] [stdout] 261 | fn vec_demo2(){
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `map_demo1` is never used
[INFO] [stdout]    --> src/main.rs:269:4
[INFO] [stdout]     |
[INFO] [stdout] 269 | fn map_demo1(){
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `map_demo2` is never used
[INFO] [stdout]    --> src/main.rs:276:4
[INFO] [stdout]     |
[INFO] [stdout] 276 | fn map_demo2(){
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `map_demo3` is never used
[INFO] [stdout]    --> src/main.rs:291:4
[INFO] [stdout]     |
[INFO] [stdout] 291 | fn map_demo3(){
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `map_demo4` is never used
[INFO] [stdout]    --> src/main.rs:302:4
[INFO] [stdout]     |
[INFO] [stdout] 302 | fn map_demo4(){
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Student` is never constructed
[INFO] [stdout]    --> src/main.rs:323:8
[INFO] [stdout]     |
[INFO] [stdout] 323 | struct Student {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `max_age` is never used
[INFO] [stdout]    --> src/main.rs:329:4
[INFO] [stdout]     |
[INFO] [stdout] 329 | fn max_age(student1: Student, student2: Student) -> Student {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `thread_demo1` is never used
[INFO] [stdout]    --> src/main.rs:337:4
[INFO] [stdout]     |
[INFO] [stdout] 337 | fn thread_demo1(){
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `thread_demo2` is never used
[INFO] [stdout]    --> src/main.rs:352:4
[INFO] [stdout]     |
[INFO] [stdout] 352 | fn thread_demo2(){
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `channel_demo1` is never used
[INFO] [stdout]    --> src/main.rs:360:4
[INFO] [stdout]     |
[INFO] [stdout] 360 | fn channel_demo1(){
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `channel_demo2` is never used
[INFO] [stdout]    --> src/main.rs:372:4
[INFO] [stdout]     |
[INFO] [stdout] 372 | fn channel_demo2(){
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.14s
[INFO] running `Command { std: "docker" "inspect" "9f9129d8f1f8a554970ae489c90a5cbaf0b8778d3239abad57a3465b8cf7b16c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9f9129d8f1f8a554970ae489c90a5cbaf0b8778d3239abad57a3465b8cf7b16c", kill_on_drop: false }`
[INFO] [stdout] 9f9129d8f1f8a554970ae489c90a5cbaf0b8778d3239abad57a3465b8cf7b16c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1032fb3e2f9042dfe6820c35c0a3085e304940e780a06be7a7d81b28a59f2b46
[INFO] running `Command { std: "docker" "start" "-a" "1032fb3e2f9042dfe6820c35c0a3085e304940e780a06be7a7d81b28a59f2b46", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust-untitled v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `blocking` in `reqwest`
[INFO] [stdout]    --> src/test.rs:27:29
[INFO] [stdout]     |
[INFO] [stdout]  27 |     let response = reqwest::blocking::
[INFO] [stdout]     |                             ^^^^^^^^ could not find `blocking` in `reqwest`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-0.12.8/src/lib.rs:358:13
[INFO] [stdout]     |
[INFO] [stdout] 357 |     #[cfg(feature = "blocking")]
[INFO] [stdout]     |           -------------------- the item is gated behind the `blocking` feature
[INFO] [stdout] 358 |     pub mod blocking;
[INFO] [stdout]     |             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `http::Request`
[INFO] [stdout]  --> src/test.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use http::Request;
[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: `serde_json`
[INFO] [stdout]  --> src/test.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde_json;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Index`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::ops::Index;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:414:11
[INFO] [stdout]     |
[INFO] [stdout] 414 |         if(v.contains(&i)){
[INFO] [stdout]     |           ^              ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 414 -         if(v.contains(&i)){
[INFO] [stdout] 414 +         if v.contains(&i) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/test.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn post_request(){
[INFO] [stdout]    |                  - help: a return type might be missing here: `-> _`
[INFO] [stdout] ...
[INFO] [stdout] 35 |     Ok(())
[INFO] [stdout]    |     ^^^^^^ expected `()`, found `Result<(), _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `Result<(), _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/main.rs:68:10
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let (x,y,z)=tup;
[INFO] [stdout]    |          ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/main.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let (x,y,z)=tup;
[INFO] [stdout]    |            ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]   --> src/main.rs:68:14
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let (x,y,z)=tup;
[INFO] [stdout]    |              ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `five_hundred`
[INFO] [stdout]   --> src/main.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let five_hundred = x.0;
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_five_hundred`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `six_point_four`
[INFO] [stdout]   --> src/main.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let six_point_four = x.1;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_six_point_four`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `one`
[INFO] [stdout]   --> src/main.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |     let one = x.2;
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_one`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/main.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |     let a = [1, 2, 3, 4, 5];
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/main.rs:83:9
[INFO] [stdout]    |
[INFO] [stdout] 83 |     let a: [i32; 5] = [1, 2, 3, 4, 5];
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `first`
[INFO] [stdout]   --> src/main.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let first = a[0];
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_first`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `second`
[INFO] [stdout]   --> src/main.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |     let second = a[1];
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_second`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `number`
[INFO] [stdout]    --> src/main.rs:101:9
[INFO] [stdout]     |
[INFO] [stdout] 101 |     let number= if condition{5}else {6};
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r1`
[INFO] [stdout]    --> src/main.rs:163:9
[INFO] [stdout]     |
[INFO] [stdout] 163 |     let r1 = &mut s;
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r1`
[INFO] [stdout]    --> src/main.rs:175:13
[INFO] [stdout]     |
[INFO] [stdout] 175 |         let r1 = &mut s;
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r2`
[INFO] [stdout]    --> src/main.rs:178:9
[INFO] [stdout]     |
[INFO] [stdout] 178 |     let r2 = &mut s;
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_r2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r1`
[INFO] [stdout]    --> src/main.rs:185:9
[INFO] [stdout]     |
[INFO] [stdout] 185 |     let r1 = &s; // 没问题
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r2`
[INFO] [stdout]    --> src/main.rs:186:9
[INFO] [stdout]     |
[INFO] [stdout] 186 |     let r2 = &s; // 没问题
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_r2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:183:9
[INFO] [stdout]     |
[INFO] [stdout] 183 |     let mut s = String::from("hello");
[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 `num` is assigned to, but never used
[INFO] [stdout]    --> src/main.rs:256:13
[INFO] [stdout]     |
[INFO] [stdout] 256 |     let mut num=v[1];
[INFO] [stdout]     |             ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_num` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `num` is never read
[INFO] [stdout]    --> src/main.rs:257:5
[INFO] [stdout]     |
[INFO] [stdout] 257 |     num=2;
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:277:9
[INFO] [stdout]     |
[INFO] [stdout] 277 |     let mut field_name=String::from("Favorite color");
[INFO] [stdout]     |         ----^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max`
[INFO] [stdout]    --> src/main.rs:441:13
[INFO] [stdout]     |
[INFO] [stdout] 441 |     let mut max=nums[0];
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_max`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sum`
[INFO] [stdout]    --> src/main.rs:442:13
[INFO] [stdout]     |
[INFO] [stdout] 442 |     let mut sum=nums[0];
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_sum`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:441:9
[INFO] [stdout]     |
[INFO] [stdout] 441 |     let mut max=nums[0];
[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:442:9
[INFO] [stdout]     |
[INFO] [stdout] 442 |     let mut sum=nums[0];
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-untitled` (bin "rust-untitled" test) due to 2 previous errors; 28 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "1032fb3e2f9042dfe6820c35c0a3085e304940e780a06be7a7d81b28a59f2b46", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1032fb3e2f9042dfe6820c35c0a3085e304940e780a06be7a7d81b28a59f2b46", kill_on_drop: false }`
[INFO] [stdout] 1032fb3e2f9042dfe6820c35c0a3085e304940e780a06be7a7d81b28a59f2b46
