[INFO] cloning repository https://github.com/tonyHorstFerchau/rustPlayGround [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tonyHorstFerchau/rustPlayGround" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtonyHorstFerchau%2FrustPlayGround", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtonyHorstFerchau%2FrustPlayGround'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f0c5add9f8ed8a4c2312d27af7ca21ea8beb4344 [INFO] checking tonyHorstFerchau/rustPlayGround against master#40daf23eeb711dadf140b2536e67e3ff4c999196 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtonyHorstFerchau%2FrustPlayGround" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tonyHorstFerchau/rustPlayGround on toolchain 40daf23eeb711dadf140b2536e67e3ff4c999196 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tonyHorstFerchau/rustPlayGround [INFO] finished tweaking git repo https://github.com/tonyHorstFerchau/rustPlayGround [INFO] tweaked toml for git repo https://github.com/tonyHorstFerchau/rustPlayGround written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tonyHorstFerchau/rustPlayGround 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" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61fab7b1f6ecf7cfc6f91db536e4ae3a7e83356a8a681dbadf2fa6b692373b1f [INFO] running `Command { std: "docker" "start" "-a" "61fab7b1f6ecf7cfc6f91db536e4ae3a7e83356a8a681dbadf2fa6b692373b1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61fab7b1f6ecf7cfc6f91db536e4ae3a7e83356a8a681dbadf2fa6b692373b1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61fab7b1f6ecf7cfc6f91db536e4ae3a7e83356a8a681dbadf2fa6b692373b1f", kill_on_drop: false }` [INFO] [stdout] 61fab7b1f6ecf7cfc6f91db536e4ae3a7e83356a8a681dbadf2fa6b692373b1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e0c92de974a862889e7ffb43f6d819eb6760fed4c1df1f42ec596cedf62e78f [INFO] running `Command { std: "docker" "start" "-a" "2e0c92de974a862889e7ffb43f6d819eb6760fed4c1df1f42ec596cedf62e78f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking TrainingApplication v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `Rectangle_Generic` should have an upper camel case name [INFO] [stdout] --> src/main.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | struct Rectangle_Generic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RectangleGeneric` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Rectangle_Generic` should have an upper camel case name [INFO] [stdout] --> src/main.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | struct Rectangle_Generic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RectangleGeneric` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/threadExamples.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | thread::sleep_ms(THREAD_SLEEP_TIME); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/threadExamples.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | thread::sleep_ms(THREAD_SLEEP_TIME); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/threadExamples.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | thread::sleep_ms(THREAD_SLEEP_TIME); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/threadExamples.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | thread::sleep_ms(THREAD_SLEEP_TIME); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `willkommen` [INFO] [stdout] --> src/collections.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let willkommen = "Willkommen".to_string(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_willkommen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `willkommen` [INFO] [stdout] --> src/collections.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let willkommen = "Willkommen".to_string(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_willkommen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | let (r, y, g) = traffic_lights; //Destructuring - Zerlegung Tupel [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/main.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | let (r, y, g) = traffic_lights; //Destructuring - Zerlegung Tupel [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | let t: (i16, f32) = (45, 2.3); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/main.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 125 | let (r1, y1, g1) = traffic_lights_array[0]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g1` [INFO] [stdout] --> src/main.rs:125:18 [INFO] [stdout] | [INFO] [stdout] 125 | let (r1, y1, g1) = traffic_lights_array[0]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_g1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | 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: `result` [INFO] [stdout] --> src/main.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | let result = generic_function(&traffic_lights_array); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mensch` [INFO] [stdout] --> src/main.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | let mensch: Person = Person { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mensch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tier` [INFO] [stdout] --> src/main.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | let tier: Animal = Animal { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | let (r, y, g) = traffic_lights; //Destructuring - Zerlegung Tupel [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/main.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | let (r, y, g) = traffic_lights; //Destructuring - Zerlegung Tupel [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | let t: (i16, f32) = (45, 2.3); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/main.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 125 | let (r1, y1, g1) = traffic_lights_array[0]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g1` [INFO] [stdout] --> src/main.rs:125:18 [INFO] [stdout] | [INFO] [stdout] 125 | let (r1, y1, g1) = traffic_lights_array[0]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_g1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | 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: `result` [INFO] [stdout] --> src/main.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | let result = generic_function(&traffic_lights_array); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mensch` [INFO] [stdout] --> src/main.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | let mensch: Person = Person { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mensch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tier` [INFO] [stdout] --> src/main.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | let tier: Animal = Animal { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | let mut traffic_light = Color::Red(8); [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: unused variable: `rect` [INFO] [stdout] --> src/main.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | let rect: lala::Person = lala::Person { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | let mut traffic_light = Color::Red(8); [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: fields `name` and `age` are never read [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct Person { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 24 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | age: String [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `age` are never read [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | struct Animal { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 29 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | age: String [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Green` and `Blue` are never constructed [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 50 | enum Color { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 51 | Red(u16), [INFO] [stdout] 52 | Green, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 53 | Blue [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rectangle_Generic` is never constructed [INFO] [stdout] --> src/main.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | struct Rectangle_Generic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `height` is never used [INFO] [stdout] --> src/main.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 85 | impl Rectangle_Generic { [INFO] [stdout] | ---------------------------------- method in this implementation [INFO] [stdout] 86 | fn height(&self) -> &T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rect` [INFO] [stdout] --> src/main.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | let rect: lala::Person = lala::Person { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rect_print` is never used [INFO] [stdout] --> src/main.rs:296:4 [INFO] [stdout] | [INFO] [stdout] 296 | fn rect_print(rect: Rectangle) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `use_module` is never used [INFO] [stdout] --> src/main.rs:312:4 [INFO] [stdout] | [INFO] [stdout] 312 | fn use_module() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Person` is never constructed [INFO] [stdout] --> src/gottes_wesen.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) struct Person { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Animal` is never constructed [INFO] [stdout] --> src/gottes_wesen.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | struct Animal { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Lebewesen` is never used [INFO] [stdout] --> src/gottes_wesen.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | trait Lebewesen { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collectionsStringExample` is never used [INFO] [stdout] --> src/collections.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn collectionsStringExample() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vectorExample` is never used [INFO] [stdout] --> src/collections.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn vectorExample() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hashmapExample` is never used [INFO] [stdout] --> src/collections.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn hashmapExample() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `threadExamples` should have a snake case name [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | mod threadExamples; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `thread_examples` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rectTupel` should have a snake case name [INFO] [stdout] --> src/main.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | let rectTupel: RectangleMinimum = RectangleMinimum(200, 300); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rect_tupel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rectArea` should have a snake case name [INFO] [stdout] --> src/main.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | let rectArea = rect.area(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `rect_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `age` are never read [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct Person { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 24 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | age: String [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `age` are never read [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | struct Animal { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 29 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | age: String [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Green` and `Blue` are never constructed [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 50 | enum Color { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 51 | Red(u16), [INFO] [stdout] 52 | Green, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 53 | Blue [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rectangle_Generic` is never constructed [INFO] [stdout] --> src/main.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | struct Rectangle_Generic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `height` is never used [INFO] [stdout] --> src/main.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 85 | impl Rectangle_Generic { [INFO] [stdout] | ---------------------------------- method in this implementation [INFO] [stdout] 86 | fn height(&self) -> &T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rect_print` is never used [INFO] [stdout] --> src/main.rs:296:4 [INFO] [stdout] | [INFO] [stdout] 296 | fn rect_print(rect: Rectangle) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `use_module` is never used [INFO] [stdout] --> src/main.rs:312:4 [INFO] [stdout] | [INFO] [stdout] 312 | fn use_module() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Person` is never constructed [INFO] [stdout] --> src/gottes_wesen.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) struct Person { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Animal` is never constructed [INFO] [stdout] --> src/gottes_wesen.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | struct Animal { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Lebewesen` is never used [INFO] [stdout] --> src/gottes_wesen.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | trait Lebewesen { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collectionsStringExample` is never used [INFO] [stdout] --> src/collections.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn collectionsStringExample() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vectorExample` is never used [INFO] [stdout] --> src/collections.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn vectorExample() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hashmapExample` is never used [INFO] [stdout] --> src/collections.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn hashmapExample() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `threadExamples` should have a snake case name [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | mod threadExamples; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `thread_examples` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rectTupel` should have a snake case name [INFO] [stdout] --> src/main.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | let rectTupel: RectangleMinimum = RectangleMinimum(200, 300); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rect_tupel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rectArea` should have a snake case name [INFO] [stdout] --> src/main.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | let rectArea = rect.area(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `rect_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `FnMut` that must be used [INFO] [stdout] --> src/main.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | countup(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: path statement with no effect [INFO] [stdout] --> src/main.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | count; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(path_statements)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `GottesWesen` should have a snake case name [INFO] [stdout] --> src/gottes_wesen.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) mod GottesWesen { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `gottes_wesen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collectionsStringExample` should have a snake case name [INFO] [stdout] --> src/collections.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn collectionsStringExample() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `collections_string_example` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newString` should have a snake case name [INFO] [stdout] --> src/collections.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | let mut newString = String::from(hello); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `new_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vectorExample` should have a snake case name [INFO] [stdout] --> src/collections.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn vectorExample() { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `vector_example` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hashmapExample` should have a snake case name [INFO] [stdout] --> src/collections.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn hashmapExample() { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `hashmap_example` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `threadFunction` should have a snake case name [INFO] [stdout] --> src/threadExamples.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn threadFunction() { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `thread_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/threadExamples.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | thread_reference.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 19 | let _ = thread_reference.join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `FnMut` that must be used [INFO] [stdout] --> src/main.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | countup(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: path statement with no effect [INFO] [stdout] --> src/main.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | count; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(path_statements)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `GottesWesen` should have a snake case name [INFO] [stdout] --> src/gottes_wesen.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) mod GottesWesen { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `gottes_wesen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collectionsStringExample` should have a snake case name [INFO] [stdout] --> src/collections.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn collectionsStringExample() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `collections_string_example` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newString` should have a snake case name [INFO] [stdout] --> src/collections.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | let mut newString = String::from(hello); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `new_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vectorExample` should have a snake case name [INFO] [stdout] --> src/collections.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn vectorExample() { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `vector_example` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hashmapExample` should have a snake case name [INFO] [stdout] --> src/collections.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn hashmapExample() { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `hashmap_example` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `threadFunction` should have a snake case name [INFO] [stdout] --> src/threadExamples.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn threadFunction() { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `thread_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/threadExamples.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | thread_reference.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 19 | let _ = thread_reference.join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.67s [INFO] running `Command { std: "docker" "inspect" "2e0c92de974a862889e7ffb43f6d819eb6760fed4c1df1f42ec596cedf62e78f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e0c92de974a862889e7ffb43f6d819eb6760fed4c1df1f42ec596cedf62e78f", kill_on_drop: false }` [INFO] [stdout] 2e0c92de974a862889e7ffb43f6d819eb6760fed4c1df1f42ec596cedf62e78f