[INFO] cloning repository https://github.com/danieloluwadare/rust_tutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danieloluwadare/rust_tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanieloluwadare%2Frust_tutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanieloluwadare%2Frust_tutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3c276c0d250075b7fc48dd53147981b320fa1974 [INFO] checking danieloluwadare/rust_tutorial against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanieloluwadare%2Frust_tutorial" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/danieloluwadare/rust_tutorial [INFO] finished tweaking git repo https://github.com/danieloluwadare/rust_tutorial [INFO] tweaked toml for git repo https://github.com/danieloluwadare/rust_tutorial written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/danieloluwadare/rust_tutorial on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/danieloluwadare/rust_tutorial 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8ec0643bb71898a23b6a2ac83de0f6cb858ed5ef1a8ad788cb5b73bfca8e156 [INFO] running `Command { std: "docker" "start" "-a" "e8ec0643bb71898a23b6a2ac83de0f6cb858ed5ef1a8ad788cb5b73bfca8e156", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8ec0643bb71898a23b6a2ac83de0f6cb858ed5ef1a8ad788cb5b73bfca8e156", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8ec0643bb71898a23b6a2ac83de0f6cb858ed5ef1a8ad788cb5b73bfca8e156", kill_on_drop: false }` [INFO] [stdout] e8ec0643bb71898a23b6a2ac83de0f6cb858ed5ef1a8ad788cb5b73bfca8e156 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 414588cdc9e569074e649a8695505365f12735ed8d34ed595800144f6375b82c [INFO] running `Command { std: "docker" "start" "-a" "414588cdc9e569074e649a8695505365f12735ed8d34ed595800144f6375b82c", kill_on_drop: false }` [INFO] [stderr] Checking guessing_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/variables_tutorial.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / /** [INFO] [stdout] 23 | | Shadowing is different from marking a variable as mut, because we’ll get a compile-time error if we accidentally try to reassign to this [INFO] [stdout] 24 | | variable without using the let keyword. By using let, we can perform a few transformations on a value but have the variable be immutable [INFO] [stdout] 25 | | after those transformations have been completed. [INFO] [stdout] ... | [INFO] [stdout] 32 | | */ [INFO] [stdout] | |_______^ [INFO] [stdout] 33 | let m = 5; [INFO] [stdout] | ---------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/data_type_tutorial.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | / /** [INFO] [stdout] 105 | | You write an array’s type using square brackets with the type of each element, a semicolon, [INFO] [stdout] 106 | | and then the number of elements in the array, like so: [INFO] [stdout] 107 | | */ [INFO] [stdout] | |______^ [INFO] [stdout] 108 | let a: [i32; 5] = [1, 2, 3, 4, 5]; [INFO] [stdout] | ---------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/data_type_tutorial.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | let (x, y, z) = tup; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/data_type_tutorial.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | let (x, y, z) = tup; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/data_type_tutorial.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let a = [1, 2, 3, 4, 5]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `months` [INFO] [stdout] --> src/data_type_tutorial.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let months = ["January", "February", "March", "April", "May", "June", "July", [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_months` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `my_println` is never used [INFO] [stdout] --> src/function_tutorial.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) fn my_println(){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `another_function` is never used [INFO] [stdout] --> src/function_tutorial.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn another_function(x: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_labeled_measurement` is never used [INFO] [stdout] --> src/function_tutorial.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn print_labeled_measurement(value: i32, unit_label: char) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expression_function` is never used [INFO] [stdout] --> src/function_tutorial.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn expression_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `functionThatReturnsAValue` is never used [INFO] [stdout] --> src/function_tutorial.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn functionThatReturnsAValue()-> i32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `function_that_returns_a_value` is never used [INFO] [stdout] --> src/function_tutorial.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn function_that_returns_a_value()-> i32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_variable` is never used [INFO] [stdout] --> src/variables_tutorial.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) fn test_variable(){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `integer_data_types` is never used [INFO] [stdout] --> src/data_type_tutorial.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn integer_data_types(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `float_data_types` is never used [INFO] [stdout] --> src/data_type_tutorial.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) fn float_data_types(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `numeric_computation` is never used [INFO] [stdout] --> src/data_type_tutorial.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn numeric_computation() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `boolean_data_type` is never used [INFO] [stdout] --> src/data_type_tutorial.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) fn boolean_data_type() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `char_data_type` is never used [INFO] [stdout] --> src/data_type_tutorial.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | pub(crate) fn char_data_type() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuple_data_type` is never used [INFO] [stdout] --> src/data_type_tutorial.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | pub(crate) fn tuple_data_type() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `array_data_type` is never used [INFO] [stdout] --> src/data_type_tutorial.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | pub(crate) fn array_data_type() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `if_control` is never used [INFO] [stdout] --> src/control_flow.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) fn if_control() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multiple_if_control` is never used [INFO] [stdout] --> src/control_flow.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn multiple_if_control() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `loop_control` is never used [INFO] [stdout] --> src/control_flow.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) fn loop_control() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `returning_value_fromm_a_loop` is never used [INFO] [stdout] --> src/control_flow.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) fn returning_value_fromm_a_loop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `while_loop` is never used [INFO] [stdout] --> src/control_flow.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | pub(crate) fn while_loop() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `looping_through_an_array` is never used [INFO] [stdout] --> src/control_flow.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | pub(crate) fn looping_through_an_array(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `looping_through_an_array_using_a_for_loop` is never used [INFO] [stdout] --> src/control_flow.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) fn looping_through_an_array_using_a_for_loop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `returnedValue` should have a snake case name [INFO] [stdout] --> src/function_tutorial.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let returnedValue = functionThatReturnsAValue(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `returned_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `returnedValue` should have a snake case name [INFO] [stdout] --> src/function_tutorial.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let returnedValue = function_that_returns_a_value(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `returned_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `functionThatReturnsAValue` should have a snake case name [INFO] [stdout] --> src/function_tutorial.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn functionThatReturnsAValue()-> i32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `function_that_returns_avalue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/variables_tutorial.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / /** [INFO] [stdout] 23 | | Shadowing is different from marking a variable as mut, because we’ll get a compile-time error if we accidentally try to reassign to this [INFO] [stdout] 24 | | variable without using the let keyword. By using let, we can perform a few transformations on a value but have the variable be immutable [INFO] [stdout] 25 | | after those transformations have been completed. [INFO] [stdout] ... | [INFO] [stdout] 32 | | */ [INFO] [stdout] | |_______^ [INFO] [stdout] 33 | let m = 5; [INFO] [stdout] | ---------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/data_type_tutorial.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | / /** [INFO] [stdout] 105 | | You write an array’s type using square brackets with the type of each element, a semicolon, [INFO] [stdout] 106 | | and then the number of elements in the array, like so: [INFO] [stdout] 107 | | */ [INFO] [stdout] | |______^ [INFO] [stdout] 108 | let a: [i32; 5] = [1, 2, 3, 4, 5]; [INFO] [stdout] | ---------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/data_type_tutorial.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | let (x, y, z) = tup; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/data_type_tutorial.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | let (x, y, z) = tup; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/data_type_tutorial.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let a = [1, 2, 3, 4, 5]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `months` [INFO] [stdout] --> src/data_type_tutorial.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let months = ["January", "February", "March", "April", "May", "June", "July", [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_months` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `my_println` is never used [INFO] [stdout] --> src/function_tutorial.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) fn my_println(){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `another_function` is never used [INFO] [stdout] --> src/function_tutorial.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn another_function(x: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_labeled_measurement` is never used [INFO] [stdout] --> src/function_tutorial.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn print_labeled_measurement(value: i32, unit_label: char) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expression_function` is never used [INFO] [stdout] --> src/function_tutorial.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn expression_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `functionThatReturnsAValue` is never used [INFO] [stdout] --> src/function_tutorial.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn functionThatReturnsAValue()-> i32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `function_that_returns_a_value` is never used [INFO] [stdout] --> src/function_tutorial.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn function_that_returns_a_value()-> i32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_variable` is never used [INFO] [stdout] --> src/variables_tutorial.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) fn test_variable(){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `integer_data_types` is never used [INFO] [stdout] --> src/data_type_tutorial.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn integer_data_types(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `float_data_types` is never used [INFO] [stdout] --> src/data_type_tutorial.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) fn float_data_types(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `numeric_computation` is never used [INFO] [stdout] --> src/data_type_tutorial.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn numeric_computation() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `boolean_data_type` is never used [INFO] [stdout] --> src/data_type_tutorial.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) fn boolean_data_type() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `char_data_type` is never used [INFO] [stdout] --> src/data_type_tutorial.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | pub(crate) fn char_data_type() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuple_data_type` is never used [INFO] [stdout] --> src/data_type_tutorial.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | pub(crate) fn tuple_data_type() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `array_data_type` is never used [INFO] [stdout] --> src/data_type_tutorial.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | pub(crate) fn array_data_type() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `if_control` is never used [INFO] [stdout] --> src/control_flow.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) fn if_control() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multiple_if_control` is never used [INFO] [stdout] --> src/control_flow.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn multiple_if_control() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `loop_control` is never used [INFO] [stdout] --> src/control_flow.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) fn loop_control() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `returning_value_fromm_a_loop` is never used [INFO] [stdout] --> src/control_flow.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) fn returning_value_fromm_a_loop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `while_loop` is never used [INFO] [stdout] --> src/control_flow.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | pub(crate) fn while_loop() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `looping_through_an_array` is never used [INFO] [stdout] --> src/control_flow.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | pub(crate) fn looping_through_an_array(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `looping_through_an_array_using_a_for_loop` is never used [INFO] [stdout] --> src/control_flow.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) fn looping_through_an_array_using_a_for_loop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `returnedValue` should have a snake case name [INFO] [stdout] --> src/function_tutorial.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let returnedValue = functionThatReturnsAValue(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `returned_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `returnedValue` should have a snake case name [INFO] [stdout] --> src/function_tutorial.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let returnedValue = function_that_returns_a_value(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `returned_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `functionThatReturnsAValue` should have a snake case name [INFO] [stdout] --> src/function_tutorial.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn functionThatReturnsAValue()-> i32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `function_that_returns_avalue` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.49s [INFO] running `Command { std: "docker" "inspect" "414588cdc9e569074e649a8695505365f12735ed8d34ed595800144f6375b82c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "414588cdc9e569074e649a8695505365f12735ed8d34ed595800144f6375b82c", kill_on_drop: false }` [INFO] [stdout] 414588cdc9e569074e649a8695505365f12735ed8d34ed595800144f6375b82c