[INFO] cloning repository https://github.com/KatekovAnton/learnrust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KatekovAnton/learnrust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKatekovAnton%2Flearnrust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKatekovAnton%2Flearnrust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a1af3543ea4355febeb02eef68cb69bbe12d1ea [INFO] checking KatekovAnton/learnrust against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKatekovAnton%2Flearnrust" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KatekovAnton/learnrust on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KatekovAnton/learnrust [INFO] finished tweaking git repo https://github.com/KatekovAnton/learnrust [INFO] tweaked toml for git repo https://github.com/KatekovAnton/learnrust written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/KatekovAnton/learnrust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2bbbb64a0af2e922eb4feb4e469e1f089bfff563345c7eb55bb0ac0820ef9a6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b2bbbb64a0af2e922eb4feb4e469e1f089bfff563345c7eb55bb0ac0820ef9a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2bbbb64a0af2e922eb4feb4e469e1f089bfff563345c7eb55bb0ac0820ef9a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2bbbb64a0af2e922eb4feb4e469e1f089bfff563345c7eb55bb0ac0820ef9a6", kill_on_drop: false }` [INFO] [stdout] b2bbbb64a0af2e922eb4feb4e469e1f089bfff563345c7eb55bb0ac0820ef9a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f964d796309a446bb116ec91ac0ad931a306dbb9b315d6a9caebd72f1489ed6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9f964d796309a446bb116ec91ac0ad931a306dbb9b315d6a9caebd72f1489ed6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.78 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking analyzer v0.1.0 (/opt/rustwide/workdir/analyzer) [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking hello_cargo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::Error` [INFO] [stdout] --> src/main.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | use std::fmt::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::ParseIntError` [INFO] [stdout] --> src/main.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | use std::num::ParseIntError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Error` [INFO] [stdout] --> src/main.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | use std::fmt::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::ParseIntError` [INFO] [stdout] --> src/main.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | use std::num::ParseIntError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/main.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | let f = match f { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> src/main.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | let score = scores.get(&team_name); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word` [INFO] [stdout] --> src/main.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | let word = first_word(&s); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a2` [INFO] [stdout] --> src/main.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | let a2 = a1; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_a2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t2` [INFO] [stdout] --> src/main.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 282 | let t2 = t1.clone(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v1` [INFO] [stdout] --> src/main.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | let v1 = t1.0; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v2` [INFO] [stdout] --> src/main.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | let v2 = t1.1; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | let a: usize = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/main.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | let h = human::Human { name: String::from("Anton"), age: 34 }; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a1` [INFO] [stdout] --> src/main.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | let mut a1: aaa::TestObject = aaa::TestObject::new(1); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_a1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a2` [INFO] [stdout] --> src/main.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | let mut a2: aaa::TestObject = aaa::TestObject::new_simple(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_a2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x1` [INFO] [stdout] --> src/main.rs:334:30 [INFO] [stdout] | [INFO] [stdout] 334 | top_left: Point { x: ref x1, y: ref y1 }, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_x1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y1` [INFO] [stdout] --> src/main.rs:334:41 [INFO] [stdout] | [INFO] [stdout] 334 | top_left: Point { x: ref x1, y: ref y1 }, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_y1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x2` [INFO] [stdout] --> src/main.rs:335:34 [INFO] [stdout] | [INFO] [stdout] 335 | bottom_right: Point { x: ref x2, y: ref y2 } [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_x2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y2` [INFO] [stdout] --> src/main.rs:335:45 [INFO] [stdout] | [INFO] [stdout] 335 | bottom_right: Point { x: ref x2, y: ref y2 } [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_y2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | let mut a1: aaa::TestObject = aaa::TestObject::new(1); [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:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | let mut a2: aaa::TestObject = aaa::TestObject::new_simple(); [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:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | let mut x: &i32; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Unit` [INFO] [stdout] --> src/main.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Unit; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/main.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | let f = match f { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Pair` [INFO] [stdout] --> src/main.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Pair(i32, f32); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> src/main.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | let score = scores.get(&team_name); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word` [INFO] [stdout] --> src/main.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | let word = first_word(&s); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `plus_one` [INFO] [stdout] --> src/main.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn plus_one(x: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test` [INFO] [stdout] --> src/human.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `testFunction` [INFO] [stdout] --> src/main.rs:108:4 [INFO] [stdout] | [INFO] [stdout] 108 | fn testFunction(i: &u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_username_from_file` [INFO] [stdout] --> src/main.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn read_username_from_file() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `testFunction` should have a snake case name [INFO] [stdout] --> src/main.rs:108:4 [INFO] [stdout] | [INFO] [stdout] 108 | fn testFunction(i: &u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `test_function` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a2` [INFO] [stdout] --> src/main.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | let a2 = a1; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_a2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t2` [INFO] [stdout] --> src/main.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 282 | let t2 = t1.clone(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v1` [INFO] [stdout] --> src/main.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | let v1 = t1.0; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v2` [INFO] [stdout] --> src/main.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | let v2 = t1.1; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | let a: usize = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/main.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | let h = human::Human { name: String::from("Anton"), age: 34 }; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a1` [INFO] [stdout] --> src/main.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | let mut a1: aaa::TestObject = aaa::TestObject::new(1); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_a1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a2` [INFO] [stdout] --> src/main.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | let mut a2: aaa::TestObject = aaa::TestObject::new_simple(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_a2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x1` [INFO] [stdout] --> src/main.rs:334:30 [INFO] [stdout] | [INFO] [stdout] 334 | top_left: Point { x: ref x1, y: ref y1 }, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_x1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y1` [INFO] [stdout] --> src/main.rs:334:41 [INFO] [stdout] | [INFO] [stdout] 334 | top_left: Point { x: ref x1, y: ref y1 }, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_y1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x2` [INFO] [stdout] --> src/main.rs:335:34 [INFO] [stdout] | [INFO] [stdout] 335 | bottom_right: Point { x: ref x2, y: ref y2 } [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_x2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y2` [INFO] [stdout] --> src/main.rs:335:45 [INFO] [stdout] | [INFO] [stdout] 335 | bottom_right: Point { x: ref x2, y: ref y2 } [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_y2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | let mut a1: aaa::TestObject = aaa::TestObject::new(1); [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:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | let mut a2: aaa::TestObject = aaa::TestObject::new_simple(); [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:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | let mut x: &i32; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Unit` [INFO] [stdout] --> src/main.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Unit; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Pair` [INFO] [stdout] --> src/main.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Pair(i32, f32); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `plus_one` [INFO] [stdout] --> src/main.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn plus_one(x: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test` [INFO] [stdout] --> src/human.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `testFunction` [INFO] [stdout] --> src/main.rs:108:4 [INFO] [stdout] | [INFO] [stdout] 108 | fn testFunction(i: &u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_username_from_file` [INFO] [stdout] --> src/main.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn read_username_from_file() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `testFunction` should have a snake case name [INFO] [stdout] --> src/main.rs:108:4 [INFO] [stdout] | [INFO] [stdout] 108 | fn testFunction(i: &u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `test_function` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.45s [INFO] running `Command { std: "docker" "inspect" "9f964d796309a446bb116ec91ac0ad931a306dbb9b315d6a9caebd72f1489ed6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f964d796309a446bb116ec91ac0ad931a306dbb9b315d6a9caebd72f1489ed6", kill_on_drop: false }` [INFO] [stdout] 9f964d796309a446bb116ec91ac0ad931a306dbb9b315d6a9caebd72f1489ed6