[INFO] cloning repository https://github.com/neerajbisht1987/hellocargo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/neerajbisht1987/hellocargo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneerajbisht1987%2Fhellocargo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneerajbisht1987%2Fhellocargo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 898c0403c77f18e63b407329e244627069ced582 [INFO] checking neerajbisht1987/hellocargo against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneerajbisht1987%2Fhellocargo" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/neerajbisht1987/hellocargo on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/neerajbisht1987/hellocargo [INFO] finished tweaking git repo https://github.com/neerajbisht1987/hellocargo [INFO] tweaked toml for git repo https://github.com/neerajbisht1987/hellocargo written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/neerajbisht1987/hellocargo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cda6d56791a2b5ba7d73849138e0c621909a7a9b51325b9d72f059453d65f8ff [INFO] running `Command { std: "docker" "start" "-a" "cda6d56791a2b5ba7d73849138e0c621909a7a9b51325b9d72f059453d65f8ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cda6d56791a2b5ba7d73849138e0c621909a7a9b51325b9d72f059453d65f8ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cda6d56791a2b5ba7d73849138e0c621909a7a9b51325b9d72f059453d65f8ff", kill_on_drop: false }` [INFO] [stdout] cda6d56791a2b5ba7d73849138e0c621909a7a9b51325b9d72f059453d65f8ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f05ff4c4833c9e26305e1d90fe46543a76789cea7577669d9dd2374261403edd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f05ff4c4833c9e26305e1d90fe46543a76789cea7577669d9dd2374261403edd", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking hello_cargo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `item_list` should have an upper camel case name [INFO] [stdout] --> src/main.rs:98:6 [INFO] [stdout] | [INFO] [stdout] 98 | enum item_list { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ItemList` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `pair` should have an upper camel case name [INFO] [stdout] --> src/main.rs:99:2 [INFO] [stdout] | [INFO] [stdout] 99 | pair{x:u32,y:Box}, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Pair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `refCount` should have an upper camel case name [INFO] [stdout] --> src/main.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | struct refCount [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `RefCount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `item_list` should have an upper camel case name [INFO] [stdout] --> src/main.rs:98:6 [INFO] [stdout] | [INFO] [stdout] 98 | enum item_list { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ItemList` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `pair` should have an upper camel case name [INFO] [stdout] --> src/main.rs:99:2 [INFO] [stdout] | [INFO] [stdout] 99 | pair{x:u32,y:Box}, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Pair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `refCount` should have an upper camel case name [INFO] [stdout] --> src/main.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | struct refCount [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `RefCount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mystruct` [INFO] [stdout] --> src/main.rs:126:6 [INFO] [stdout] | [INFO] [stdout] 126 | let mystruct = module1::MyStruct{i:2}; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mystruct` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/main.rs:178:6 [INFO] [stdout] | [INFO] [stdout] 178 | let b=rc.clone(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `news_article_nosummarization` [INFO] [stdout] --> src/main.rs:322:6 [INFO] [stdout] | [INFO] [stdout] 322 | let news_article_nosummarization = NewsArticleNoSummarization{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_news_article_nosummarization` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `news_article_nosummarization` [INFO] [stdout] --> src/main.rs:329:6 [INFO] [stdout] | [INFO] [stdout] 329 | let news_article_nosummarization = NewsArticleNoSummarization{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_news_article_nosummarization` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mystruct` [INFO] [stdout] --> src/main.rs:126:6 [INFO] [stdout] | [INFO] [stdout] 126 | let mystruct = module1::MyStruct{i:2}; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mystruct` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/main.rs:178:6 [INFO] [stdout] | [INFO] [stdout] 178 | let b=rc.clone(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `news_article_nosummarization` [INFO] [stdout] --> src/main.rs:322:6 [INFO] [stdout] | [INFO] [stdout] 322 | let news_article_nosummarization = NewsArticleNoSummarization{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_news_article_nosummarization` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `news_article_nosummarization` [INFO] [stdout] --> src/main.rs:329:6 [INFO] [stdout] | [INFO] [stdout] 329 | let news_article_nosummarization = NewsArticleNoSummarization{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_news_article_nosummarization` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/module1.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn new(x: T) -> MyBox { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MyStruct` [INFO] [stdout] --> src/module1.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct MyStruct { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ref_testing` [INFO] [stdout] --> src/main.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn ref_testing() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `item_list` [INFO] [stdout] --> src/main.rs:98:6 [INFO] [stdout] | [INFO] [stdout] 98 | enum item_list { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `match_testing` [INFO] [stdout] --> src/main.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | fn match_testing() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `findvalue` [INFO] [stdout] --> src/main.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn findvalue(list:item_list,val:u32) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `module_testing` [INFO] [stdout] --> src/main.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn module_testing() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Cons` [INFO] [stdout] --> src/main.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | Cons(Rc>, Rc), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Nil` [INFO] [stdout] --> src/main.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `Rfcell_testing` [INFO] [stdout] --> src/main.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn Rfcell_testing() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `refCount` [INFO] [stdout] --> src/main.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | struct refCount [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reference_Count_Testing` [INFO] [stdout] --> src/main.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | fn reference_Count_Testing() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `smarpointer_derefernce_testing` [INFO] [stdout] --> src/main.rs:189:4 [INFO] [stdout] | [INFO] [stdout] 189 | fn smarpointer_derefernce_testing() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `static_lifetime_testing` [INFO] [stdout] --> src/main.rs:202:4 [INFO] [stdout] | [INFO] [stdout] 202 | fn static_lifetime_testing() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `returnsamevalue` [INFO] [stdout] --> src/main.rs:218:4 [INFO] [stdout] | [INFO] [stdout] 218 | fn returnsamevalue(s:&str) ->&str{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lifetime_ann_fn_testing` [INFO] [stdout] --> src/main.rs:241:4 [INFO] [stdout] | [INFO] [stdout] 241 | fn lifetime_ann_fn_testing() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `longest` [INFO] [stdout] --> src/main.rs:268:4 [INFO] [stdout] | [INFO] [stdout] 268 | fn longest<'a>(x:&'a str,y:&'a str) -> &'a str [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `trait_bound_with_vec_testing` [INFO] [stdout] --> src/main.rs:285:4 [INFO] [stdout] | [INFO] [stdout] 285 | fn trait_bound_with_vec_testing() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `largest` [INFO] [stdout] --> src/main.rs:297:4 [INFO] [stdout] | [INFO] [stdout] 297 | fn largest(list: &[T]) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `trait_bound_testing` [INFO] [stdout] --> src/main.rs:314:4 [INFO] [stdout] | [INFO] [stdout] 314 | fn trait_bound_testing() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `LinkList` should have a snake case name [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | mod LinkList; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `link_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `LinkList_testing` should have a snake case name [INFO] [stdout] --> src/main.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn LinkList_testing() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `link_list_testing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Rfcell_testing` should have a snake case name [INFO] [stdout] --> src/main.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn Rfcell_testing() { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rfcell_testing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reference_Count_Testing` should have a snake case name [INFO] [stdout] --> src/main.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | fn reference_Count_Testing() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `reference_count_testing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rcI` should have a snake case name [INFO] [stdout] --> src/main.rs:171:6 [INFO] [stdout] | [INFO] [stdout] 171 | let rcI =refCount{val:String::from("this is a new string")}; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `rc_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nodeInfo` should have a snake case name [INFO] [stdout] --> src/LinkList.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | nodeInfo : Box, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/module1.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn new(x: T) -> MyBox { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MyStruct` [INFO] [stdout] --> src/module1.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct MyStruct { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ref_testing` [INFO] [stdout] --> src/main.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn ref_testing() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `item_list` [INFO] [stdout] --> src/main.rs:98:6 [INFO] [stdout] | [INFO] [stdout] 98 | enum item_list { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `match_testing` [INFO] [stdout] --> src/main.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | fn match_testing() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `findvalue` [INFO] [stdout] --> src/main.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn findvalue(list:item_list,val:u32) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `module_testing` [INFO] [stdout] --> src/main.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn module_testing() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Cons` [INFO] [stdout] --> src/main.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | Cons(Rc>, Rc), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Nil` [INFO] [stdout] --> src/main.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `Rfcell_testing` [INFO] [stdout] --> src/main.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn Rfcell_testing() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `refCount` [INFO] [stdout] --> src/main.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | struct refCount [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reference_Count_Testing` [INFO] [stdout] --> src/main.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | fn reference_Count_Testing() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `smarpointer_derefernce_testing` [INFO] [stdout] --> src/main.rs:189:4 [INFO] [stdout] | [INFO] [stdout] 189 | fn smarpointer_derefernce_testing() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `static_lifetime_testing` [INFO] [stdout] --> src/main.rs:202:4 [INFO] [stdout] | [INFO] [stdout] 202 | fn static_lifetime_testing() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `returnsamevalue` [INFO] [stdout] --> src/main.rs:218:4 [INFO] [stdout] | [INFO] [stdout] 218 | fn returnsamevalue(s:&str) ->&str{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lifetime_ann_fn_testing` [INFO] [stdout] --> src/main.rs:241:4 [INFO] [stdout] | [INFO] [stdout] 241 | fn lifetime_ann_fn_testing() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `longest` [INFO] [stdout] --> src/main.rs:268:4 [INFO] [stdout] | [INFO] [stdout] 268 | fn longest<'a>(x:&'a str,y:&'a str) -> &'a str [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `trait_bound_with_vec_testing` [INFO] [stdout] --> src/main.rs:285:4 [INFO] [stdout] | [INFO] [stdout] 285 | fn trait_bound_with_vec_testing() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `largest` [INFO] [stdout] --> src/main.rs:297:4 [INFO] [stdout] | [INFO] [stdout] 297 | fn largest(list: &[T]) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `trait_bound_testing` [INFO] [stdout] --> src/main.rs:314:4 [INFO] [stdout] | [INFO] [stdout] 314 | fn trait_bound_testing() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `LinkList` should have a snake case name [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | mod LinkList; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `link_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `LinkList_testing` should have a snake case name [INFO] [stdout] --> src/main.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn LinkList_testing() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `link_list_testing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Rfcell_testing` should have a snake case name [INFO] [stdout] --> src/main.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn Rfcell_testing() { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rfcell_testing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reference_Count_Testing` should have a snake case name [INFO] [stdout] --> src/main.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | fn reference_Count_Testing() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `reference_count_testing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rcI` should have a snake case name [INFO] [stdout] --> src/main.rs:171:6 [INFO] [stdout] | [INFO] [stdout] 171 | let rcI =refCount{val:String::from("this is a new string")}; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `rc_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nodeInfo` should have a snake case name [INFO] [stdout] --> src/LinkList.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | nodeInfo : Box, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.07s [INFO] running `Command { std: "docker" "inspect" "f05ff4c4833c9e26305e1d90fe46543a76789cea7577669d9dd2374261403edd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f05ff4c4833c9e26305e1d90fe46543a76789cea7577669d9dd2374261403edd", kill_on_drop: false }` [INFO] [stdout] f05ff4c4833c9e26305e1d90fe46543a76789cea7577669d9dd2374261403edd