[INFO] cloning repository https://github.com/Coloradete/RustExamples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Coloradete/RustExamples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FColoradete%2FRustExamples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FColoradete%2FRustExamples'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a6e9b2d347638e684da94e4ff0323c080c664cf2 [INFO] checking Coloradete/RustExamples against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FColoradete%2FRustExamples" "/workspace/builds/worker-93/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-93/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Coloradete/RustExamples on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Coloradete/RustExamples [INFO] finished tweaking git repo https://github.com/Coloradete/RustExamples [INFO] tweaked toml for git repo https://github.com/Coloradete/RustExamples written to /workspace/builds/worker-93/source/Cargo.toml [INFO] crate git repo https://github.com/Coloradete/RustExamples already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6679a74849d966732e1c5a3f6916a107a1fd9ed7ea8b3b6897ab68bc2a577f57 [INFO] running `Command { std: "docker" "start" "-a" "6679a74849d966732e1c5a3f6916a107a1fd9ed7ea8b3b6897ab68bc2a577f57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6679a74849d966732e1c5a3f6916a107a1fd9ed7ea8b3b6897ab68bc2a577f57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6679a74849d966732e1c5a3f6916a107a1fd9ed7ea8b3b6897ab68bc2a577f57", kill_on_drop: false }` [INFO] [stdout] 6679a74849d966732e1c5a3f6916a107a1fd9ed7ea8b3b6897ab68bc2a577f57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4416ef489667baa6eb12b5906148775a56626b6417faa53a929cc4a502526cc6 [INFO] running `Command { std: "docker" "start" "-a" "4416ef489667baa6eb12b5906148775a56626b6417faa53a929cc4a502526cc6", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking CLionTest v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/borrowing_test.rs (1 fix) [INFO] [stderr] Fixed src/Vectors.rs (2 fixes) [INFO] [stderr] Fixed src/lifetime_test.rs (1 fix) [INFO] [stderr] Fixed src/Hashmap.rs (1 fix) [INFO] [stderr] Fixed src/drop_test.rs (1 fix) [INFO] [stderr] Fixed src/Colors.rs (2 fixes) [INFO] [stderr] Fixed src/vectors_of_different_types.rs (1 fix) [INFO] [stderr] Fixed src/Tuples.rs (8 fixes) [INFO] [stderr] Fixed src/static_dispatch_test.rs (1 fix) [INFO] [stderr] Fixed src/generics.rs (3 fixes) [INFO] [stderr] Fixed src/strings.rs (4 fixes) [INFO] [stderr] Fixed src/operator_overloading.rs (2 fixes) [INFO] [stderr] Fixed src/Arrays.rs (4 fixes) [INFO] [stderr] Fixed src/atomic_reference_counted_variable_test.rs (1 fix) [INFO] [stderr] Fixed src/pattern_matching.rs (2 fixes) [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stderr] Fixed src/dynamic_dispatch_test.rs (2 fixes) [INFO] [stderr] Fixed src/ownership_test.rs (3 fixes) [INFO] [stderr] Fixed src/closures.rs (1 fix) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/pattern_matching.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | (ref mut x,y) => println!("x = {}, y = {}", x,y), [INFO] [stdout] | ------------- matches any value [INFO] [stdout] 17 | (_,y) => println!("x = ?, y = {}", y) [INFO] [stdout] | ^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `state` is never read [INFO] [stdout] --> src/Lock.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | state = State::Locked; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/pattern_matching.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | (ref mut x,y) => println!("x = {}, y = {}", x,y), [INFO] [stdout] | ------------- matches any value [INFO] [stdout] 17 | (_,y) => println!("x = ?, y = {}", y) [INFO] [stdout] | ^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `state` is never read [INFO] [stdout] --> src/Lock.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | state = State::Locked; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `State` [INFO] [stdout] --> src/Lock.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | enum State{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `try_lock` [INFO] [stdout] --> src/Lock.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) fn try_lock() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Color` [INFO] [stdout] --> src/Colors.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | enum Color{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `try_color` [INFO] [stdout] --> src/Colors.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub (crate) fn try_color() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: union is never used: `IntOrFloat` [INFO] [stdout] --> src/Unions.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | union IntOrFloat [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_int_or_float` [INFO] [stdout] --> src/Unions.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub (crate) fn call_int_or_float(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `process_value` [INFO] [stdout] --> src/Unions.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn process_value(value: IntOrFloat) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `options_call` [INFO] [stdout] --> src/Options.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub (crate) fn options_call(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_array` [INFO] [stdout] --> src/Arrays.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | pub (crate) fn create_array() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `use_slice` [INFO] [stdout] --> src/Slices.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn use_slice(slice: &mut[i32]) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_slice` [INFO] [stdout] --> src/Slices.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub (crate) fn call_slice(){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_tuples` [INFO] [stdout] --> src/Tuples.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub (crate) fn call_tuples() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sum_and_product` [INFO] [stdout] --> src/Tuples.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn sum_and_product(x:i32, y:i32) -> (i32,i32) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `do_pattern_matching` [INFO] [stdout] --> src/pattern_matching.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn do_pattern_matching() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `how_many` [INFO] [stdout] --> src/pattern_matching.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn how_many(x:i32) -> &'static str [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Point` [INFO] [stdout] --> src/generics.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Point{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CoolPoint` [INFO] [stdout] --> src/generics.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct CoolPoint{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Line` [INFO] [stdout] --> src/generics.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Line{ //Todos tienen que ser del mismo tipo [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_generics` [INFO] [stdout] --> src/generics.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn call_generics(){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_vectors` [INFO] [stdout] --> src/Vectors.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn call_vectors(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_hashmap` [INFO] [stdout] --> src/Hashmap.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn call_hashmap() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_hashset` [INFO] [stdout] --> src/hashset_test.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn call_hashset(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_iterators` [INFO] [stdout] --> src/iterators.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn call_iterators(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_strings` [INFO] [stdout] --> src/strings.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn call_strings(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_format` [INFO] [stdout] --> src/strings.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn call_format(){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `guess_number` [INFO] [stdout] --> src/number_guessing.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn guess_number(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_value` [INFO] [stdout] --> src/functions.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn print_value (x: i32){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `increase` [INFO] [stdout] --> src/functions.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn increase(x: &mut i32){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `product` [INFO] [stdout] --> src/functions.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn product(x: i32, y: i32) -> i32{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `State` [INFO] [stdout] --> src/Lock.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | enum State{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_functions` [INFO] [stdout] --> src/functions.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn call_functions(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `try_lock` [INFO] [stdout] --> src/Lock.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) fn try_lock() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Point` [INFO] [stdout] --> src/structs_and_methods.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Point{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Color` [INFO] [stdout] --> src/Colors.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | enum Color{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Line` [INFO] [stdout] --> src/structs_and_methods.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Line { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `try_color` [INFO] [stdout] --> src/Colors.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub (crate) fn try_color() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/structs_and_methods.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn len(&self) -> f64{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_structs` [INFO] [stdout] --> src/structs_and_methods.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn call_structs(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: union is never used: `IntOrFloat` [INFO] [stdout] --> src/Unions.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | union IntOrFloat [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_closures` [INFO] [stdout] --> src/closures.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn call_closures(){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_int_or_float` [INFO] [stdout] --> src/Unions.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub (crate) fn call_int_or_float(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_even` [INFO] [stdout] --> src/higher_order_functions.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn is_even(x: u32) -> bool{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `process_value` [INFO] [stdout] --> src/Unions.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn process_value(value: IntOrFloat) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `greater_than` [INFO] [stdout] --> src/higher_order_functions.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn greater_than(limit: u32) -> impl Fn(u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `options_call` [INFO] [stdout] --> src/Options.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub (crate) fn options_call(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_higher_order` [INFO] [stdout] --> src/higher_order_functions.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn call_higher_order(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_array` [INFO] [stdout] --> src/Arrays.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | pub (crate) fn create_array() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `age` [INFO] [stdout] --> src/traits_example.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | age: u32 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `use_slice` [INFO] [stdout] --> src/Slices.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn use_slice(slice: &mut[i32]) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_traits` [INFO] [stdout] --> src/traits_example.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn call_traits(){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_slice` [INFO] [stdout] --> src/Slices.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub (crate) fn call_slice(){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_info` [INFO] [stdout] --> src/traits_example.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn print_info(shape: T) where T: Shape + Debug [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_tuples` [INFO] [stdout] --> src/Tuples.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub (crate) fn call_tuples() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_traits_02` [INFO] [stdout] --> src/traits_example.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn call_traits_02(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sum_and_product` [INFO] [stdout] --> src/Tuples.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn sum_and_product(x:i32, y:i32) -> (i32,i32) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/into_test.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | fn new(name: S) -> Person where S: Into [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_into_test` [INFO] [stdout] --> src/into_test.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn call_into_test(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `do_pattern_matching` [INFO] [stdout] --> src/pattern_matching.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn do_pattern_matching() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/drop_test.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | fn new(name: &str) -> Creature [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `how_many` [INFO] [stdout] --> src/pattern_matching.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn how_many(x:i32) -> &'static str [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Point` [INFO] [stdout] --> src/generics.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Point{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_drop_test` [INFO] [stdout] --> src/drop_test.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn call_drop_test(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/operator_overloading.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn new(re: T, im: T) -> Complex{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CoolPoint` [INFO] [stdout] --> src/generics.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct CoolPoint{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Line` [INFO] [stdout] --> src/generics.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Line{ //Todos tienen que ser del mismo tipo [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_operator_overloading` [INFO] [stdout] --> src/operator_overloading.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn call_operator_overloading(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_generics` [INFO] [stdout] --> src/generics.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn call_generics(){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_it_static` [INFO] [stdout] --> src/static_dispatch_test.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn print_it_static(z: T) /*monomorphisation, en tiempo de compilacion tenemos una funcion print_it que toma i32 como entrad... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_vectors` [INFO] [stdout] --> src/Vectors.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn call_vectors(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_it_dynamic` [INFO] [stdout] --> src/static_dispatch_test.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn print_it_dynamic (z: &dyn Printable){ /*La diferencia con la anterior es que aquí no paso la variable entera, sino una referencia a el... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_hashmap` [INFO] [stdout] --> src/Hashmap.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn call_hashmap() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_static_dispatch_test` [INFO] [stdout] --> src/static_dispatch_test.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn call_static_dispatch_test(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_hashset` [INFO] [stdout] --> src/hashset_test.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn call_hashset(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_dynamic_dispatch_test` [INFO] [stdout] --> src/dynamic_dispatch_test.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn call_dynamic_dispatch_test(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_iterators` [INFO] [stdout] --> src/iterators.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn call_iterators(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `age` [INFO] [stdout] --> src/vectors_of_different_types.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | age: u32 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_strings` [INFO] [stdout] --> src/strings.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn call_strings(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Creature` [INFO] [stdout] --> src/vectors_of_different_types.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 45 | enum Creature{ //un enum pu8ede contener cualquier cosa, aca se usa cada uno de los casos del enum para representar la informacion de una... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_format` [INFO] [stdout] --> src/strings.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn call_format(){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_vectors_of_different_types` [INFO] [stdout] --> src/vectors_of_different_types.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn call_vectors_of_different_types(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `guess_number` [INFO] [stdout] --> src/number_guessing.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn guess_number(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_ownership_test` [INFO] [stdout] --> src/ownership_test.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn call_ownership_test(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_value` [INFO] [stdout] --> src/functions.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn print_value (x: i32){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_borrowing_test` [INFO] [stdout] --> src/borrowing_test.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn call_borrowing_test(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `increase` [INFO] [stdout] --> src/functions.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn increase(x: &mut i32){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_ref_name` [INFO] [stdout] --> src/lifetime_test.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn get_ref_name<'a> (&'a self) -> &'a String{ //La recomendacion es no ponerlos porque se sobreentiende que son esos (es redundante... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `product` [INFO] [stdout] --> src/functions.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn product(x: i32, y: i32) -> i32{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_lifetime_test` [INFO] [stdout] --> src/lifetime_test.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn call_lifetime_test() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_functions` [INFO] [stdout] --> src/functions.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn call_functions(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `PersonTwo` [INFO] [stdout] --> src/lifetime_test.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | struct PersonTwo<'a> { //Si especifico la estructura con una referencia en vez de con un valor entonces las tengo que especificar el tiem... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `talk` [INFO] [stdout] --> src/lifetime_test.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | fn talk(&self){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Point` [INFO] [stdout] --> src/structs_and_methods.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Point{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Line` [INFO] [stdout] --> src/structs_and_methods.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Line { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Person` [INFO] [stdout] --> src/reference_counted_variables_test.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Person{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/structs_and_methods.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn len(&self) -> f64{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/reference_counted_variables_test.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn new(name: Rc) -> Person [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `greet` [INFO] [stdout] --> src/reference_counted_variables_test.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | fn greet(&self) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_structs` [INFO] [stdout] --> src/structs_and_methods.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn call_structs(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_closures` [INFO] [stdout] --> src/closures.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn call_closures(){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reference_counted_variable_call` [INFO] [stdout] --> src/reference_counted_variables_test.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn reference_counted_variable_call(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_even` [INFO] [stdout] --> src/higher_order_functions.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn is_even(x: u32) -> bool{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Person` [INFO] [stdout] --> src/atomic_reference_counted_variable_test.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Person [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `greater_than` [INFO] [stdout] --> src/higher_order_functions.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn greater_than(limit: u32) -> impl Fn(u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/atomic_reference_counted_variable_test.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn new(name: Arc, state: Arc>) -> Person [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_higher_order` [INFO] [stdout] --> src/higher_order_functions.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn call_higher_order(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `great` [INFO] [stdout] --> src/atomic_reference_counted_variable_test.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn great (&self){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `age` [INFO] [stdout] --> src/traits_example.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | age: u32 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_arcv_test` [INFO] [stdout] --> src/atomic_reference_counted_variable_test.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn call_arcv_test(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Student` [INFO] [stdout] --> src/circular_references_test.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | struct Student{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_traits` [INFO] [stdout] --> src/traits_example.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn call_traits(){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `courses` [INFO] [stdout] --> src/circular_references_test.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn courses(&self, platform: &Platform) -> Vec{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_info` [INFO] [stdout] --> src/traits_example.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn print_info(shape: T) where T: Shape + Debug [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Course` [INFO] [stdout] --> src/circular_references_test.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | struct Course{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_traits_02` [INFO] [stdout] --> src/traits_example.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn call_traits_02(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Enrollment` [INFO] [stdout] --> src/circular_references_test.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | struct Enrollment<'a> //Aca tendremos que introducir lifetime para asegurarnos que los estudiantes viven lo mismo que los cursos y al revés [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/into_test.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | fn new(name: S) -> Person where S: Into [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/circular_references_test.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | fn new(student: &'a Student, course: &'a Course) -> Enrollment<'a> [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_into_test` [INFO] [stdout] --> src/into_test.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn call_into_test(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Platform` [INFO] [stdout] --> src/circular_references_test.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | struct Platform<'a>{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/drop_test.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | fn new(name: &str) -> Creature [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/circular_references_test.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | fn new() -> Platform<'a>{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_drop_test` [INFO] [stdout] --> src/drop_test.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn call_drop_test(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `enroll` [INFO] [stdout] --> src/circular_references_test.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | fn enroll(&mut self, student: &'a Student, course: &'a Course){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_circular_references_test` [INFO] [stdout] --> src/circular_references_test.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn call_circular_references_test(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/operator_overloading.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn new(re: T, im: T) -> Complex{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_operator_overloading` [INFO] [stdout] --> src/operator_overloading.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn call_operator_overloading(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_it_static` [INFO] [stdout] --> src/static_dispatch_test.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn print_it_static(z: T) /*monomorphisation, en tiempo de compilacion tenemos una funcion print_it que toma i32 como entrad... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_it_dynamic` [INFO] [stdout] --> src/static_dispatch_test.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn print_it_dynamic (z: &dyn Printable){ /*La diferencia con la anterior es que aquí no paso la variable entera, sino una referencia a el... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_static_dispatch_test` [INFO] [stdout] --> src/static_dispatch_test.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn call_static_dispatch_test(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_dynamic_dispatch_test` [INFO] [stdout] --> src/dynamic_dispatch_test.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn call_dynamic_dispatch_test(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `age` [INFO] [stdout] --> src/vectors_of_different_types.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | age: u32 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Creature` [INFO] [stdout] --> src/vectors_of_different_types.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 45 | enum Creature{ //un enum pu8ede contener cualquier cosa, aca se usa cada uno de los casos del enum para representar la informacion de una... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_vectors_of_different_types` [INFO] [stdout] --> src/vectors_of_different_types.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn call_vectors_of_different_types(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_ownership_test` [INFO] [stdout] --> src/ownership_test.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn call_ownership_test(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_borrowing_test` [INFO] [stdout] --> src/borrowing_test.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn call_borrowing_test(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_ref_name` [INFO] [stdout] --> src/lifetime_test.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn get_ref_name<'a> (&'a self) -> &'a String{ //La recomendacion es no ponerlos porque se sobreentiende que son esos (es redundante... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_lifetime_test` [INFO] [stdout] --> src/lifetime_test.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn call_lifetime_test() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `PersonTwo` [INFO] [stdout] --> src/lifetime_test.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | struct PersonTwo<'a> { //Si especifico la estructura con una referencia en vez de con un valor entonces las tengo que especificar el tiem... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `talk` [INFO] [stdout] --> src/lifetime_test.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | fn talk(&self){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Person` [INFO] [stdout] --> src/reference_counted_variables_test.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Person{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/reference_counted_variables_test.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn new(name: Rc) -> Person [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `greet` [INFO] [stdout] --> src/reference_counted_variables_test.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | fn greet(&self) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reference_counted_variable_call` [INFO] [stdout] --> src/reference_counted_variables_test.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn reference_counted_variable_call(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Person` [INFO] [stdout] --> src/atomic_reference_counted_variable_test.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Person [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/atomic_reference_counted_variable_test.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn new(name: Arc, state: Arc>) -> Person [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `great` [INFO] [stdout] --> src/atomic_reference_counted_variable_test.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn great (&self){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_arcv_test` [INFO] [stdout] --> src/atomic_reference_counted_variable_test.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn call_arcv_test(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Student` [INFO] [stdout] --> src/circular_references_test.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | struct Student{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `courses` [INFO] [stdout] --> src/circular_references_test.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn courses(&self, platform: &Platform) -> Vec{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Course` [INFO] [stdout] --> src/circular_references_test.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | struct Course{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Enrollment` [INFO] [stdout] --> src/circular_references_test.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | struct Enrollment<'a> //Aca tendremos que introducir lifetime para asegurarnos que los estudiantes viven lo mismo que los cursos y al revés [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/circular_references_test.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | fn new(student: &'a Student, course: &'a Course) -> Enrollment<'a> [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Platform` [INFO] [stdout] --> src/circular_references_test.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | struct Platform<'a>{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/circular_references_test.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | fn new() -> Platform<'a>{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `enroll` [INFO] [stdout] --> src/circular_references_test.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | fn enroll(&mut self, student: &'a Student, course: &'a Course){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_circular_references_test` [INFO] [stdout] --> src/circular_references_test.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn call_circular_references_test(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hello` [INFO] [stdout] --> src/creating_tests_example.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn hello() -> String{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `CLionTest` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `clion_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Lock` should have a snake case name [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod Lock; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Colors` should have a snake case name [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | mod Colors; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `colors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Unions` should have a snake case name [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | mod Unions; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `unions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Options` should have a snake case name [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mod Options; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `CLionTest` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `clion_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Arrays` should have a snake case name [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | mod Arrays; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `arrays` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Lock` should have a snake case name [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod Lock; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Slices` should have a snake case name [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | mod Slices; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `slices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Tuples` should have a snake case name [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | mod Tuples; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `tuples` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Colors` should have a snake case name [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | mod Colors; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `colors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Unions` should have a snake case name [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | mod Unions; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `unions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Vectors` should have a snake case name [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | mod Vectors; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `vectors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Options` should have a snake case name [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mod Options; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Hashmap` should have a snake case name [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod Hashmap; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `hashmap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Arrays` should have a snake case name [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | mod Arrays; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `arrays` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Slices` should have a snake case name [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | mod Slices; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `slices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Tuples` should have a snake case name [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | mod Tuples; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `tuples` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Vectors` should have a snake case name [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | mod Vectors; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `vectors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Hashmap` should have a snake case name [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod Hashmap; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `hashmap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/threads_test.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | handle.join(); [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/threads_test.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | handle.join(); [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: 92 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.98s [INFO] [stdout] warning: 91 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking CLionTest v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/pattern_matching.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | (ref mut x,y) => println!("x = {}, y = {}", x,y), [INFO] [stdout] | ------------- matches any value [INFO] [stdout] 17 | (_,y) => println!("x = ?, y = {}", y) [INFO] [stdout] | ^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `state` is never read [INFO] [stdout] --> src/Lock.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | state = State::Locked; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/pattern_matching.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | (ref mut x,y) => println!("x = {}, y = {}", x,y), [INFO] [stdout] | ------------- matches any value [INFO] [stdout] 17 | (_,y) => println!("x = ?, y = {}", y) [INFO] [stdout] | ^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `state` is never read [INFO] [stdout] --> src/Lock.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | state = State::Locked; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `State` [INFO] [stdout] --> src/Lock.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | enum State{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `try_lock` [INFO] [stdout] --> src/Lock.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) fn try_lock() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Color` [INFO] [stdout] --> src/Colors.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | enum Color{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `try_color` [INFO] [stdout] --> src/Colors.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub (crate) fn try_color() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: union is never used: `IntOrFloat` [INFO] [stdout] --> src/Unions.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | union IntOrFloat [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_int_or_float` [INFO] [stdout] --> src/Unions.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub (crate) fn call_int_or_float(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `process_value` [INFO] [stdout] --> src/Unions.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn process_value(value: IntOrFloat) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `options_call` [INFO] [stdout] --> src/Options.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub (crate) fn options_call(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_array` [INFO] [stdout] --> src/Arrays.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | pub (crate) fn create_array() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `use_slice` [INFO] [stdout] --> src/Slices.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn use_slice(slice: &mut[i32]) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_slice` [INFO] [stdout] --> src/Slices.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub (crate) fn call_slice(){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_tuples` [INFO] [stdout] --> src/Tuples.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub (crate) fn call_tuples() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sum_and_product` [INFO] [stdout] --> src/Tuples.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn sum_and_product(x:i32, y:i32) -> (i32,i32) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `do_pattern_matching` [INFO] [stdout] --> src/pattern_matching.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn do_pattern_matching() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `how_many` [INFO] [stdout] --> src/pattern_matching.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn how_many(x:i32) -> &'static str [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Point` [INFO] [stdout] --> src/generics.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Point{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CoolPoint` [INFO] [stdout] --> src/generics.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct CoolPoint{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Line` [INFO] [stdout] --> src/generics.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Line{ //Todos tienen que ser del mismo tipo [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_generics` [INFO] [stdout] --> src/generics.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn call_generics(){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_vectors` [INFO] [stdout] --> src/Vectors.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn call_vectors(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_hashmap` [INFO] [stdout] --> src/Hashmap.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn call_hashmap() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_hashset` [INFO] [stdout] --> src/hashset_test.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn call_hashset(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_iterators` [INFO] [stdout] --> src/iterators.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn call_iterators(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_strings` [INFO] [stdout] --> src/strings.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn call_strings(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_format` [INFO] [stdout] --> src/strings.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn call_format(){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `guess_number` [INFO] [stdout] --> src/number_guessing.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn guess_number(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_value` [INFO] [stdout] --> src/functions.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn print_value (x: i32){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `increase` [INFO] [stdout] --> src/functions.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn increase(x: &mut i32){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `product` [INFO] [stdout] --> src/functions.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn product(x: i32, y: i32) -> i32{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_functions` [INFO] [stdout] --> src/functions.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn call_functions(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Point` [INFO] [stdout] --> src/structs_and_methods.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Point{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Line` [INFO] [stdout] --> src/structs_and_methods.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Line { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `State` [INFO] [stdout] --> src/Lock.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | enum State{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `try_lock` [INFO] [stdout] --> src/Lock.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) fn try_lock() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/structs_and_methods.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn len(&self) -> f64{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Color` [INFO] [stdout] --> src/Colors.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | enum Color{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `try_color` [INFO] [stdout] --> src/Colors.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub (crate) fn try_color() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: union is never used: `IntOrFloat` [INFO] [stdout] --> src/Unions.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | union IntOrFloat [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_structs` [INFO] [stdout] --> src/structs_and_methods.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn call_structs(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_int_or_float` [INFO] [stdout] --> src/Unions.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub (crate) fn call_int_or_float(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `process_value` [INFO] [stdout] --> src/Unions.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn process_value(value: IntOrFloat) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `options_call` [INFO] [stdout] --> src/Options.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub (crate) fn options_call(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_closures` [INFO] [stdout] --> src/closures.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn call_closures(){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_array` [INFO] [stdout] --> src/Arrays.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | pub (crate) fn create_array() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `use_slice` [INFO] [stdout] --> src/Slices.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn use_slice(slice: &mut[i32]) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_slice` [INFO] [stdout] --> src/Slices.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub (crate) fn call_slice(){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_tuples` [INFO] [stdout] --> src/Tuples.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub (crate) fn call_tuples() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_even` [INFO] [stdout] --> src/higher_order_functions.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn is_even(x: u32) -> bool{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sum_and_product` [INFO] [stdout] --> src/Tuples.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn sum_and_product(x:i32, y:i32) -> (i32,i32) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `do_pattern_matching` [INFO] [stdout] --> src/pattern_matching.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn do_pattern_matching() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `greater_than` [INFO] [stdout] --> src/higher_order_functions.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn greater_than(limit: u32) -> impl Fn(u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `how_many` [INFO] [stdout] --> src/pattern_matching.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn how_many(x:i32) -> &'static str [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Point` [INFO] [stdout] --> src/generics.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Point{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CoolPoint` [INFO] [stdout] --> src/generics.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct CoolPoint{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Line` [INFO] [stdout] --> src/generics.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Line{ //Todos tienen que ser del mismo tipo [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_higher_order` [INFO] [stdout] --> src/higher_order_functions.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn call_higher_order(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_generics` [INFO] [stdout] --> src/generics.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn call_generics(){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_vectors` [INFO] [stdout] --> src/Vectors.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn call_vectors(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_hashmap` [INFO] [stdout] --> src/Hashmap.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn call_hashmap() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_hashset` [INFO] [stdout] --> src/hashset_test.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn call_hashset(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_iterators` [INFO] [stdout] --> src/iterators.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn call_iterators(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `age` [INFO] [stdout] --> src/traits_example.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | age: u32 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_strings` [INFO] [stdout] --> src/strings.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn call_strings(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_format` [INFO] [stdout] --> src/strings.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn call_format(){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `guess_number` [INFO] [stdout] --> src/number_guessing.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn guess_number(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_traits` [INFO] [stdout] --> src/traits_example.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn call_traits(){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_value` [INFO] [stdout] --> src/functions.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn print_value (x: i32){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `increase` [INFO] [stdout] --> src/functions.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn increase(x: &mut i32){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `product` [INFO] [stdout] --> src/functions.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn product(x: i32, y: i32) -> i32{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_functions` [INFO] [stdout] --> src/functions.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn call_functions(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Point` [INFO] [stdout] --> src/structs_and_methods.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Point{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Line` [INFO] [stdout] --> src/structs_and_methods.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Line { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/structs_and_methods.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn len(&self) -> f64{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_structs` [INFO] [stdout] --> src/structs_and_methods.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn call_structs(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_closures` [INFO] [stdout] --> src/closures.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn call_closures(){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_even` [INFO] [stdout] --> src/higher_order_functions.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn is_even(x: u32) -> bool{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `greater_than` [INFO] [stdout] --> src/higher_order_functions.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn greater_than(limit: u32) -> impl Fn(u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_higher_order` [INFO] [stdout] --> src/higher_order_functions.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn call_higher_order(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `age` [INFO] [stdout] --> src/traits_example.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | age: u32 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_traits` [INFO] [stdout] --> src/traits_example.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn call_traits(){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_info` [INFO] [stdout] --> src/traits_example.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn print_info(shape: T) where T: Shape + Debug [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_traits_02` [INFO] [stdout] --> src/traits_example.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn call_traits_02(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/into_test.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | fn new(name: S) -> Person where S: Into [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_into_test` [INFO] [stdout] --> src/into_test.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn call_into_test(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/drop_test.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | fn new(name: &str) -> Creature [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_drop_test` [INFO] [stdout] --> src/drop_test.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn call_drop_test(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/operator_overloading.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn new(re: T, im: T) -> Complex{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_operator_overloading` [INFO] [stdout] --> src/operator_overloading.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn call_operator_overloading(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_it_static` [INFO] [stdout] --> src/static_dispatch_test.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn print_it_static(z: T) /*monomorphisation, en tiempo de compilacion tenemos una funcion print_it que toma i32 como entrad... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_it_dynamic` [INFO] [stdout] --> src/static_dispatch_test.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn print_it_dynamic (z: &dyn Printable){ /*La diferencia con la anterior es que aquí no paso la variable entera, sino una referencia a el... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_static_dispatch_test` [INFO] [stdout] --> src/static_dispatch_test.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn call_static_dispatch_test(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_info` [INFO] [stdout] --> src/traits_example.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn print_info(shape: T) where T: Shape + Debug [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_dynamic_dispatch_test` [INFO] [stdout] --> src/dynamic_dispatch_test.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn call_dynamic_dispatch_test(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `age` [INFO] [stdout] --> src/vectors_of_different_types.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | age: u32 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Creature` [INFO] [stdout] --> src/vectors_of_different_types.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 45 | enum Creature{ //un enum pu8ede contener cualquier cosa, aca se usa cada uno de los casos del enum para representar la informacion de una... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_vectors_of_different_types` [INFO] [stdout] --> src/vectors_of_different_types.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn call_vectors_of_different_types(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_traits_02` [INFO] [stdout] --> src/traits_example.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn call_traits_02(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_ownership_test` [INFO] [stdout] --> src/ownership_test.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn call_ownership_test(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_borrowing_test` [INFO] [stdout] --> src/borrowing_test.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn call_borrowing_test(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_ref_name` [INFO] [stdout] --> src/lifetime_test.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn get_ref_name<'a> (&'a self) -> &'a String{ //La recomendacion es no ponerlos porque se sobreentiende que son esos (es redundante... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_lifetime_test` [INFO] [stdout] --> src/lifetime_test.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn call_lifetime_test() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/into_test.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | fn new(name: S) -> Person where S: Into [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `PersonTwo` [INFO] [stdout] --> src/lifetime_test.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | struct PersonTwo<'a> { //Si especifico la estructura con una referencia en vez de con un valor entonces las tengo que especificar el tiem... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_into_test` [INFO] [stdout] --> src/into_test.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn call_into_test(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/drop_test.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | fn new(name: &str) -> Creature [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_drop_test` [INFO] [stdout] --> src/drop_test.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn call_drop_test(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/operator_overloading.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn new(re: T, im: T) -> Complex{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_operator_overloading` [INFO] [stdout] --> src/operator_overloading.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn call_operator_overloading(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_it_static` [INFO] [stdout] --> src/static_dispatch_test.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn print_it_static(z: T) /*monomorphisation, en tiempo de compilacion tenemos una funcion print_it que toma i32 como entrad... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_it_dynamic` [INFO] [stdout] --> src/static_dispatch_test.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn print_it_dynamic (z: &dyn Printable){ /*La diferencia con la anterior es que aquí no paso la variable entera, sino una referencia a el... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_static_dispatch_test` [INFO] [stdout] --> src/static_dispatch_test.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn call_static_dispatch_test(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_dynamic_dispatch_test` [INFO] [stdout] --> src/dynamic_dispatch_test.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn call_dynamic_dispatch_test(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `age` [INFO] [stdout] --> src/vectors_of_different_types.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | age: u32 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Creature` [INFO] [stdout] --> src/vectors_of_different_types.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 45 | enum Creature{ //un enum pu8ede contener cualquier cosa, aca se usa cada uno de los casos del enum para representar la informacion de una... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_vectors_of_different_types` [INFO] [stdout] --> src/vectors_of_different_types.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn call_vectors_of_different_types(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_ownership_test` [INFO] [stdout] --> src/ownership_test.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn call_ownership_test(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_borrowing_test` [INFO] [stdout] --> src/borrowing_test.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn call_borrowing_test(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `talk` [INFO] [stdout] --> src/lifetime_test.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | fn talk(&self){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Person` [INFO] [stdout] --> src/reference_counted_variables_test.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Person{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_ref_name` [INFO] [stdout] --> src/lifetime_test.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn get_ref_name<'a> (&'a self) -> &'a String{ //La recomendacion es no ponerlos porque se sobreentiende que son esos (es redundante... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/reference_counted_variables_test.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn new(name: Rc) -> Person [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `greet` [INFO] [stdout] --> src/reference_counted_variables_test.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | fn greet(&self) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_lifetime_test` [INFO] [stdout] --> src/lifetime_test.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn call_lifetime_test() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reference_counted_variable_call` [INFO] [stdout] --> src/reference_counted_variables_test.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn reference_counted_variable_call(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Person` [INFO] [stdout] --> src/atomic_reference_counted_variable_test.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Person [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `PersonTwo` [INFO] [stdout] --> src/lifetime_test.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | struct PersonTwo<'a> { //Si especifico la estructura con una referencia en vez de con un valor entonces las tengo que especificar el tiem... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `talk` [INFO] [stdout] --> src/lifetime_test.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | fn talk(&self){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Person` [INFO] [stdout] --> src/reference_counted_variables_test.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Person{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/reference_counted_variables_test.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn new(name: Rc) -> Person [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `greet` [INFO] [stdout] --> src/reference_counted_variables_test.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | fn greet(&self) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reference_counted_variable_call` [INFO] [stdout] --> src/reference_counted_variables_test.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn reference_counted_variable_call(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Person` [INFO] [stdout] --> src/atomic_reference_counted_variable_test.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Person [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/atomic_reference_counted_variable_test.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn new(name: Arc, state: Arc>) -> Person [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `great` [INFO] [stdout] --> src/atomic_reference_counted_variable_test.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn great (&self){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_arcv_test` [INFO] [stdout] --> src/atomic_reference_counted_variable_test.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn call_arcv_test(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Student` [INFO] [stdout] --> src/circular_references_test.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | struct Student{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `courses` [INFO] [stdout] --> src/circular_references_test.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn courses(&self, platform: &Platform) -> Vec{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Course` [INFO] [stdout] --> src/circular_references_test.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | struct Course{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Enrollment` [INFO] [stdout] --> src/circular_references_test.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | struct Enrollment<'a> //Aca tendremos que introducir lifetime para asegurarnos que los estudiantes viven lo mismo que los cursos y al revés [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/circular_references_test.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | fn new(student: &'a Student, course: &'a Course) -> Enrollment<'a> [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Platform` [INFO] [stdout] --> src/circular_references_test.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | struct Platform<'a>{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/circular_references_test.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | fn new() -> Platform<'a>{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `enroll` [INFO] [stdout] --> src/circular_references_test.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | fn enroll(&mut self, student: &'a Student, course: &'a Course){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_circular_references_test` [INFO] [stdout] --> src/circular_references_test.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn call_circular_references_test(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hello` [INFO] [stdout] --> src/creating_tests_example.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn hello() -> String{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/atomic_reference_counted_variable_test.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn new(name: Arc, state: Arc>) -> Person [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `great` [INFO] [stdout] --> src/atomic_reference_counted_variable_test.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn great (&self){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_arcv_test` [INFO] [stdout] --> src/atomic_reference_counted_variable_test.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn call_arcv_test(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Student` [INFO] [stdout] --> src/circular_references_test.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | struct Student{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `courses` [INFO] [stdout] --> src/circular_references_test.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn courses(&self, platform: &Platform) -> Vec{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Course` [INFO] [stdout] --> src/circular_references_test.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | struct Course{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Enrollment` [INFO] [stdout] --> src/circular_references_test.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | struct Enrollment<'a> //Aca tendremos que introducir lifetime para asegurarnos que los estudiantes viven lo mismo que los cursos y al revés [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/circular_references_test.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | fn new(student: &'a Student, course: &'a Course) -> Enrollment<'a> [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Platform` [INFO] [stdout] --> src/circular_references_test.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | struct Platform<'a>{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/circular_references_test.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | fn new() -> Platform<'a>{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `enroll` [INFO] [stdout] --> src/circular_references_test.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | fn enroll(&mut self, student: &'a Student, course: &'a Course){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_circular_references_test` [INFO] [stdout] --> src/circular_references_test.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn call_circular_references_test(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `CLionTest` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `clion_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Lock` should have a snake case name [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod Lock; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Colors` should have a snake case name [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | mod Colors; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `colors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Unions` should have a snake case name [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | mod Unions; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `unions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Options` should have a snake case name [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mod Options; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Arrays` should have a snake case name [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | mod Arrays; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `arrays` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Slices` should have a snake case name [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | mod Slices; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `slices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Tuples` should have a snake case name [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | mod Tuples; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `tuples` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Vectors` should have a snake case name [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | mod Vectors; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `vectors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `CLionTest` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `clion_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Hashmap` should have a snake case name [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod Hashmap; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `hashmap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Lock` should have a snake case name [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod Lock; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Colors` should have a snake case name [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | mod Colors; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `colors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Unions` should have a snake case name [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | mod Unions; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `unions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Options` should have a snake case name [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mod Options; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Arrays` should have a snake case name [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | mod Arrays; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `arrays` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Slices` should have a snake case name [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | mod Slices; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `slices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Tuples` should have a snake case name [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | mod Tuples; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `tuples` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Vectors` should have a snake case name [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | mod Vectors; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `vectors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Hashmap` should have a snake case name [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod Hashmap; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `hashmap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/threads_test.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | handle.join(); [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/threads_test.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | handle.join(); [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: 91 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 92 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "4416ef489667baa6eb12b5906148775a56626b6417faa53a929cc4a502526cc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4416ef489667baa6eb12b5906148775a56626b6417faa53a929cc4a502526cc6", kill_on_drop: false }` [INFO] [stdout] 4416ef489667baa6eb12b5906148775a56626b6417faa53a929cc4a502526cc6