[INFO] cloning repository https://github.com/barisAtmn/hello-rust-101 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/barisAtmn/hello-rust-101" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FbarisAtmn%2Fhello-rust-101", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FbarisAtmn%2Fhello-rust-101'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b1155a9cef345489600a055f5abf880b7cdd644d [INFO] checking barisAtmn/hello-rust-101 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FbarisAtmn%2Fhello-rust-101" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/barisAtmn/hello-rust-101 on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/barisAtmn/hello-rust-101 [INFO] finished tweaking git repo https://github.com/barisAtmn/hello-rust-101 [INFO] tweaked toml for git repo https://github.com/barisAtmn/hello-rust-101 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/barisAtmn/hello-rust-101 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6da4e7db1d36f428d5c6cb10a4704390f137782c009c4a4e24b5d8f513cca034 [INFO] running `Command { std: "docker" "start" "-a" "6da4e7db1d36f428d5c6cb10a4704390f137782c009c4a4e24b5d8f513cca034", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6da4e7db1d36f428d5c6cb10a4704390f137782c009c4a4e24b5d8f513cca034", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6da4e7db1d36f428d5c6cb10a4704390f137782c009c4a4e24b5d8f513cca034", kill_on_drop: false }` [INFO] [stdout] 6da4e7db1d36f428d5c6cb10a4704390f137782c009c4a4e24b5d8f513cca034 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fac8ef68de94e83d43ca59b3d1ea31b0fa45ddcabd605ee4a5a96b934156df0a [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" "fac8ef68de94e83d43ca59b3d1ea31b0fa45ddcabd605ee4a5a96b934156df0a", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling libc v0.2.87 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking hello v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BorrowMut`, `Borrow` [INFO] [stdout] --> src/enums_test.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/enums_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/enums_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pointer` [INFO] [stdout] --> src/enums_test.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{Pointer, Debug}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Error` [INFO] [stdout] --> src/enums_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/error_handling.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | if k.is_ok() {Ok(k)} else {Err((Error::last_os_error()))} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorrowMut`, `Borrow` [INFO] [stdout] --> src/enums_test.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/enums_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/enums_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pointer` [INFO] [stdout] --> src/enums_test.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{Pointer, Debug}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Error` [INFO] [stdout] --> src/enums_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/error_handling.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | if k.is_ok() {Ok(k)} else {Err((Error::last_os_error()))} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/enums_test.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let m = f.metadata().unwrap().accessed().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/closures.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let f = move || { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `td` [INFO] [stdout] --> src/threads.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let td = handle.join().unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_td` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/lifetime.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let s: &'static str = "hello world"; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lifetime.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let name: &str = "Rust"; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name1` [INFO] [stdout] --> src/lifetime.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let name1: String = String::from("Rust"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_name1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/generic_test.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let e = 4 ; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/closures.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | let mut v = vec![2,4,6]; [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: field is never read: `enemy` [INFO] [stdout] --> src/traits.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | enemy: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `life` [INFO] [stdout] --> src/traits.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | life: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/traits.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | name: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Empty` [INFO] [stdout] --> src/enums_test.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Red` [INFO] [stdout] --> src/enums_test.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Red(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Make` [INFO] [stdout] --> src/enums_test.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Make {x:String, y:String} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `spawn_test` [INFO] [stdout] --> src/threads.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn spawn_test() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `THRESHOLD` [INFO] [stdout] --> src/lifetime.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const THRESHOLD: i32 = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `macro_test` [INFO] [stdout] --> src/macros.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn macro_test() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `callF` should have a snake case name [INFO] [stdout] --> src/traits.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn callF() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `call_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `errorH5` should have a snake case name [INFO] [stdout] --> src/error_handling.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn errorH5() -> Result, Error> { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `error_h5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `errorH4` should have a snake case name [INFO] [stdout] --> src/error_handling.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn errorH4() -> Result { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `error_h4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `errorH3` should have a snake case name [INFO] [stdout] --> src/error_handling.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn errorH3() -> File { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `error_h3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `errorH2` should have a snake case name [INFO] [stdout] --> src/error_handling.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn errorH2() { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `error_h2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/enums_test.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let m = f.metadata().unwrap().accessed().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/closures.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let f = move || { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `td` [INFO] [stdout] --> src/threads.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let td = handle.join().unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_td` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/lifetime.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let s: &'static str = "hello world"; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lifetime.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let name: &str = "Rust"; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name1` [INFO] [stdout] --> src/lifetime.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let name1: String = String::from("Rust"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_name1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/generic_test.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let e = 4 ; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/closures.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | let mut v = vec![2,4,6]; [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: field is never read: `enemy` [INFO] [stdout] --> src/traits.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | enemy: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `life` [INFO] [stdout] --> src/traits.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | life: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/traits.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | name: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Empty` [INFO] [stdout] --> src/enums_test.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Red` [INFO] [stdout] --> src/enums_test.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Red(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Make` [INFO] [stdout] --> src/enums_test.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Make {x:String, y:String} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `spawn_test` [INFO] [stdout] --> src/threads.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn spawn_test() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `THRESHOLD` [INFO] [stdout] --> src/lifetime.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const THRESHOLD: i32 = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `macro_test` [INFO] [stdout] --> src/macros.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn macro_test() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/error_handling.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / File::open("/Users/baris.ataman/Desktop/Projects/hello-rust/resources/foo").map( [INFO] [stdout] 38 | | |mut arg| -> () { let mut buffer = String::new(); arg.read_to_string(&mut buffer); println!("{}", buffer )} [INFO] [stdout] 39 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/error_handling.rs:38:56 [INFO] [stdout] | [INFO] [stdout] 38 | |mut arg| -> () { let mut buffer = String::new(); arg.read_to_string(&mut buffer); println!("{}", buffer )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `errorH1` should have a snake case name [INFO] [stdout] --> src/error_handling.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn errorH1() { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `error_h1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `errorH` should have a snake case name [INFO] [stdout] --> src/error_handling.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn errorH() { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `error_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `callErrors` should have a snake case name [INFO] [stdout] --> src/error_handling.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn callErrors() { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `call_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/error_handling.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | errorH5().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/error_handling.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | errorH4(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/error_handling.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | errorH3().read_to_string(&mut buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `callF` should have a snake case name [INFO] [stdout] --> src/traits.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn callF() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `call_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `errorH5` should have a snake case name [INFO] [stdout] --> src/error_handling.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn errorH5() -> Result, Error> { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `error_h5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `errorH4` should have a snake case name [INFO] [stdout] --> src/error_handling.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn errorH4() -> Result { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `error_h4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `errorH3` should have a snake case name [INFO] [stdout] --> src/error_handling.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn errorH3() -> File { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `error_h3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `errorH2` should have a snake case name [INFO] [stdout] --> src/error_handling.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn errorH2() { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `error_h2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/error_handling.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / File::open("/Users/baris.ataman/Desktop/Projects/hello-rust/resources/foo").map( [INFO] [stdout] 38 | | |mut arg| -> () { let mut buffer = String::new(); arg.read_to_string(&mut buffer); println!("{}", buffer )} [INFO] [stdout] 39 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/error_handling.rs:38:56 [INFO] [stdout] | [INFO] [stdout] 38 | |mut arg| -> () { let mut buffer = String::new(); arg.read_to_string(&mut buffer); println!("{}", buffer )} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `errorH1` should have a snake case name [INFO] [stdout] --> src/error_handling.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn errorH1() { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `error_h1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `errorH` should have a snake case name [INFO] [stdout] --> src/error_handling.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn errorH() { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `error_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `callErrors` should have a snake case name [INFO] [stdout] --> src/error_handling.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn callErrors() { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `call_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/error_handling.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | errorH5().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/error_handling.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | errorH4(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/error_handling.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | errorH3().read_to_string(&mut buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `create_random`, `hi` [INFO] [stdout] --> src/main.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use hello::{hi,create_random}; [INFO] [stdout] | ^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | #[warn(unused_imports)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `condition`, `loop_test`, `os_env_ar`, `types` [INFO] [stdout] --> src/main.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use hello::types::{types, condition, loop_test, os_env_ar}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hello::references_borrowing::*` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use hello::references_borrowing::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hello::struct_test::*` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use hello::struct_test::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `create_random`, `hi` [INFO] [stdout] --> src/main.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use hello::{hi,create_random}; [INFO] [stdout] | ^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | #[warn(unused_imports)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `condition`, `loop_test`, `os_env_ar`, `types` [INFO] [stdout] --> src/main.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use hello::types::{types, condition, loop_test, os_env_ar}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hello::references_borrowing::*` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use hello::references_borrowing::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hello::struct_test::*` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use hello::struct_test::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.71s [INFO] running `Command { std: "docker" "inspect" "fac8ef68de94e83d43ca59b3d1ea31b0fa45ddcabd605ee4a5a96b934156df0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fac8ef68de94e83d43ca59b3d1ea31b0fa45ddcabd605ee4a5a96b934156df0a", kill_on_drop: false }` [INFO] [stdout] fac8ef68de94e83d43ca59b3d1ea31b0fa45ddcabd605ee4a5a96b934156df0a