[INFO] fetching crate learnrust 0.1.0... [INFO] checking learnrust-0.1.0 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] extracting crate learnrust 0.1.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate learnrust 0.1.0 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate learnrust 0.1.0 [INFO] finished tweaking crates.io crate learnrust 0.1.0 [INFO] tweaked toml for crates.io crate learnrust 0.1.0 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 256fc0f1dd276b4cf63bce9177d28d4f9f4c887c1369049d21416d910d5e88d0 [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" "256fc0f1dd276b4cf63bce9177d28d4f9f4c887c1369049d21416d910d5e88d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "256fc0f1dd276b4cf63bce9177d28d4f9f4c887c1369049d21416d910d5e88d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "256fc0f1dd276b4cf63bce9177d28d4f9f4c887c1369049d21416d910d5e88d0", kill_on_drop: false }` [INFO] [stdout] 256fc0f1dd276b4cf63bce9177d28d4f9f4c887c1369049d21416d910d5e88d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 898824f7bfd934543bc14eb890b390bec9fd00161ec2b294e66c0b1296bd3567 [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" "898824f7bfd934543bc14eb890b390bec9fd00161ec2b294e66c0b1296bd3567", kill_on_drop: false }` [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking learnrust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/lessons/tryGenericTypes.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | (self.x.pow(2) + self.y.pow(2)) [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 import: `::lessons::Rectangle::Rectangle` [INFO] [stdout] --> src/adder/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ::lessons::Rectangle::Rectangle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::lessons::Guess::Guess` [INFO] [stdout] --> src/adder/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ::lessons::Guess::Guess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/closures/learnIterator.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | if(self.count < 6){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/lessons/tryGenericTypes.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | (self.x.pow(2) + self.y.pow(2)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/closures/learnIterator.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | if(self.count < 6){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_reference` [INFO] [stdout] --> src/lessons/commonCollection.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let v_reference = &v[v_index]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_v_reference` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> src/lessons/tryStringCollection.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | let s2 = String::from("tac"); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point2` [INFO] [stdout] --> src/lessons/tryGenericTypes.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | let point2 = Point{x : 10.1, y: 20.2}; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_point2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point2_2` [INFO] [stdout] --> src/lessons/tryGenericTypes.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | let point2_2 = Point2{x : 20, y : 20.1}; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_point2_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `intensity` [INFO] [stdout] --> src/closures/learnClosure.rs:41:40 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn simulated_expensive_calculation(intensity: u32){ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intensity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expensive_result2` [INFO] [stdout] --> src/closures/learnClosure.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | let expensive_result2 = expensive_calculation(intensity); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expensive_result2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expensive_result3` [INFO] [stdout] --> src/closures/learnClosure.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | let expensive_result3 = |num: u32| -> u32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expensive_result3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `returns_summarizable` [INFO] [stdout] --> src/lessons/tryGenericTypes.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | fn returns_summarizable() -> impl Summary { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `value` [INFO] [stdout] --> src/lessons/Guess.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | value:u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `commonCollection` should have a snake case name [INFO] [stdout] --> src/lessons/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod commonCollection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `common_collection` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `tryStringCollection` should have a snake case name [INFO] [stdout] --> src/lessons/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod tryStringCollection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `try_string_collection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `tryHashMapCollection` should have a snake case name [INFO] [stdout] --> src/lessons/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod tryHashMapCollection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `try_hash_map_collection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `recoverableError` should have a snake case name [INFO] [stdout] --> src/lessons/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod recoverableError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `tryGenericTypes` should have a snake case name [INFO] [stdout] --> src/lessons/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod tryGenericTypes; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `try_generic_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `tryLifetime` should have a snake case name [INFO] [stdout] --> src/lessons/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod tryLifetime; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `try_lifetime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Rectangle` should have a snake case name [INFO] [stdout] --> src/lessons/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub mod Rectangle; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rectangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Guess` should have a snake case name [INFO] [stdout] --> src/lessons/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub mod Guess; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `guess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tryCommonCollection` should have a snake case name [INFO] [stdout] --> src/lessons/commonCollection.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn tryCommonCollection(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `try_common_collection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tryUpdateString` should have a snake case name [INFO] [stdout] --> src/lessons/tryStringCollection.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn tryUpdateString(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `try_update_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tryHashMap` should have a snake case name [INFO] [stdout] --> src/lessons/tryHashMapCollection.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn tryHashMap(){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `try_hash_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recoverableError` should have a snake case name [INFO] [stdout] --> src/lessons/recoverableError.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn recoverableError(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `learnClosure` should have a snake case name [INFO] [stdout] --> src/closures/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod learnClosure; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `learn_closure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `learnIterator` should have a snake case name [INFO] [stdout] --> src/closures/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod learnIterator; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `learn_iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `learnIterator` should have a snake case name [INFO] [stdout] --> src/closures/learnIterator.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn learnIterator(){ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `learn_iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_reference` [INFO] [stdout] --> src/lessons/commonCollection.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let v_reference = &v[v_index]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_v_reference` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> src/lessons/tryStringCollection.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | let s2 = String::from("tac"); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point2` [INFO] [stdout] --> src/lessons/tryGenericTypes.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | let point2 = Point{x : 10.1, y: 20.2}; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_point2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point2_2` [INFO] [stdout] --> src/lessons/tryGenericTypes.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | let point2_2 = Point2{x : 20, y : 20.1}; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_point2_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guess` [INFO] [stdout] --> src/adder/mod.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | let guess = Guess::new(0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_guess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/adder/mod.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | let y = 10; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `intensity` [INFO] [stdout] --> src/closures/learnClosure.rs:41:40 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn simulated_expensive_calculation(intensity: u32){ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intensity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expensive_result2` [INFO] [stdout] --> src/closures/learnClosure.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | let expensive_result2 = expensive_calculation(intensity); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expensive_result2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expensive_result3` [INFO] [stdout] --> src/closures/learnClosure.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | let expensive_result3 = |num: u32| -> u32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expensive_result3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `returns_summarizable` [INFO] [stdout] --> src/lessons/tryGenericTypes.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | fn returns_summarizable() -> impl Summary { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `value` [INFO] [stdout] --> src/lessons/Guess.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | value:u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `commonCollection` should have a snake case name [INFO] [stdout] --> src/lessons/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod commonCollection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `common_collection` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `tryStringCollection` should have a snake case name [INFO] [stdout] --> src/lessons/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod tryStringCollection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `try_string_collection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `tryHashMapCollection` should have a snake case name [INFO] [stdout] --> src/lessons/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod tryHashMapCollection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `try_hash_map_collection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `recoverableError` should have a snake case name [INFO] [stdout] --> src/lessons/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod recoverableError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `tryGenericTypes` should have a snake case name [INFO] [stdout] --> src/lessons/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod tryGenericTypes; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `try_generic_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `tryLifetime` should have a snake case name [INFO] [stdout] --> src/lessons/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod tryLifetime; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `try_lifetime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Rectangle` should have a snake case name [INFO] [stdout] --> src/lessons/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub mod Rectangle; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rectangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Guess` should have a snake case name [INFO] [stdout] --> src/lessons/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub mod Guess; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `guess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tryCommonCollection` should have a snake case name [INFO] [stdout] --> src/lessons/commonCollection.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn tryCommonCollection(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `try_common_collection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tryUpdateString` should have a snake case name [INFO] [stdout] --> src/lessons/tryStringCollection.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn tryUpdateString(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `try_update_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tryHashMap` should have a snake case name [INFO] [stdout] --> src/lessons/tryHashMapCollection.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn tryHashMap(){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `try_hash_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recoverableError` should have a snake case name [INFO] [stdout] --> src/lessons/recoverableError.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn recoverableError(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `learnClosure` should have a snake case name [INFO] [stdout] --> src/closures/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod learnClosure; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `learn_closure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `learnIterator` should have a snake case name [INFO] [stdout] --> src/closures/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod learnIterator; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `learn_iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `learnIterator` should have a snake case name [INFO] [stdout] --> src/closures/learnIterator.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn learnIterator(){ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `learn_iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `email` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | email: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sign_in_count` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | sign_in_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `active` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | active: bool [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `point1` should have an upper case name [INFO] [stdout] --> src/main.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | const point1 :Point = Point(0,0,0); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `POINT1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `color1` should have an upper case name [INFO] [stdout] --> src/main.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | const color1 :Color = Color( 0, 0, 10); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `COLOR1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `email` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | email: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sign_in_count` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | sign_in_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `active` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | active: bool [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `point1` should have an upper case name [INFO] [stdout] --> src/main.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | const point1 :Point = Point(0,0,0); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `POINT1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `color1` should have an upper case name [INFO] [stdout] --> src/main.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | const color1 :Color = Color( 0, 0, 10); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `COLOR1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.54s [INFO] running `Command { std: "docker" "inspect" "898824f7bfd934543bc14eb890b390bec9fd00161ec2b294e66c0b1296bd3567", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "898824f7bfd934543bc14eb890b390bec9fd00161ec2b294e66c0b1296bd3567", kill_on_drop: false }` [INFO] [stdout] 898824f7bfd934543bc14eb890b390bec9fd00161ec2b294e66c0b1296bd3567