[INFO] cloning repository https://github.com/samantamrityunjay/Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/samantamrityunjay/Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamantamrityunjay%2FRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamantamrityunjay%2FRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 425599d6496a4fc2775aa9536cfde0c9fdb687ce [INFO] checking samantamrityunjay/Rust against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamantamrityunjay%2FRust" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/samantamrityunjay/Rust on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/samantamrityunjay/Rust [INFO] finished tweaking git repo https://github.com/samantamrityunjay/Rust [INFO] tweaked toml for git repo https://github.com/samantamrityunjay/Rust written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/samantamrityunjay/Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d91d6323d93684c3af0a0a69c0920c61990ca8ae74cf2a16ba42ca27f72eca6 [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" "9d91d6323d93684c3af0a0a69c0920c61990ca8ae74cf2a16ba42ca27f72eca6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d91d6323d93684c3af0a0a69c0920c61990ca8ae74cf2a16ba42ca27f72eca6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d91d6323d93684c3af0a0a69c0920c61990ca8ae74cf2a16ba42ca27f72eca6", kill_on_drop: false }` [INFO] [stdout] 9d91d6323d93684c3af0a0a69c0920c61990ca8ae74cf2a16ba42ca27f72eca6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbd822ee904e6ec7dd301405655a4e8f3e2c122b79c8bdd978c9c10a92c21af3 [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" "cbd822ee904e6ec7dd301405655a4e8f3e2c122b79c8bdd978c9c10a92c21af3", kill_on_drop: false }` [INFO] [stderr] Checking rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/pattern_matching.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | 9...11=>"lots of", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | 1...999=>"unknown", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `rgbcolor` should have an upper camel case name [INFO] [stdout] --> src/main.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | rgbcolor(u8,u8,u8), [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Rgbcolor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `point` should have an upper camel case name [INFO] [stdout] --> src/main.rs:330:8 [INFO] [stdout] | [INFO] [stdout] 330 | struct point{ [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `line` should have an upper camel case name [INFO] [stdout] --> src/main.rs:334:8 [INFO] [stdout] | [INFO] [stdout] 334 | struct line [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/pattern_matching.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | 9...11=>"lots of", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | 1...999=>"unknown", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `rgbcolor` should have an upper camel case name [INFO] [stdout] --> src/main.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | rgbcolor(u8,u8,u8), [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Rgbcolor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `point` should have an upper camel case name [INFO] [stdout] --> src/main.rs:330:8 [INFO] [stdout] | [INFO] [stdout] 330 | struct point{ [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `line` should have an upper camel case name [INFO] [stdout] --> src/main.rs:334:8 [INFO] [stdout] | [INFO] [stdout] 334 | struct line [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `myline` [INFO] [stdout] --> src/main.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | let myline=Line {start:p,end:p2}; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_myline` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/main.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | let value= unsafe{iof.i}; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | for i in 0..mtx.len(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_elem` [INFO] [stdout] --> src/main.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | let last_elem=a.pop(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_elem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/main.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | let u:&str=&letters; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/main.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | let z=letters+"abc"; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `myline` [INFO] [stdout] --> src/main.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | let myline=line{start:a,end:b}; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_myline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `myline` [INFO] [stdout] --> src/main.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | let myline=Line {start:p,end:p2}; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_myline` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/main.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | let value= unsafe{iof.i}; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | for i in 0..mtx.len(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_elem` [INFO] [stdout] --> src/main.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | let last_elem=a.pop(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_elem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/main.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | let u:&str=&letters; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/main.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | let z=letters+"abc"; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `myline` [INFO] [stdout] --> src/main.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | let myline=line{start:a,end:b}; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_myline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | unsafe{ [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | unsafe{ [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `how_many` [INFO] [stdout] --> src/pattern_matching.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn how_many(x:i32)->&'static str{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pattern_matching` [INFO] [stdout] --> src/pattern_matching.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn pattern_matching(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INITIAL_CONSTANT` [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const INITIAL_CONSTANT:u8=32;//no fixed address [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `xyz` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | static mut xyz:i32=123; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `how_many` [INFO] [stdout] --> src/pattern_matching.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn how_many(x:i32)->&'static str{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pattern_matching` [INFO] [stdout] --> src/pattern_matching.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn pattern_matching(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INITIAL_CONSTANT` [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const INITIAL_CONSTANT:u8=32;//no fixed address [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `xyz` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | static mut xyz:i32=123; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `datatypes` [INFO] [stdout] --> src/main.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn datatypes() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `operators` [INFO] [stdout] --> src/main.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn operators(){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `scope_shadowing` [INFO] [stdout] --> src/main.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn scope_shadowing(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `if_statement` [INFO] [stdout] --> src/main.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn if_statement() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `while_and_loop` [INFO] [stdout] --> src/main.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn while_and_loop(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `for_loop` [INFO] [stdout] --> src/main.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn for_loop(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `match_statements` [INFO] [stdout] --> src/main.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn match_statements(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Line` [INFO] [stdout] --> src/main.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | struct Line{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `structures` [INFO] [stdout] --> src/main.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | fn structures(){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Color` [INFO] [stdout] --> src/main.rs:154:6 [INFO] [stdout] | [INFO] [stdout] 154 | enum Color{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `enums` [INFO] [stdout] --> src/main.rs:161:4 [INFO] [stdout] | [INFO] [stdout] 161 | fn enums(){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `datatypes` [INFO] [stdout] --> src/main.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn datatypes() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: union is never used: `IntorFloat` [INFO] [stdout] --> src/main.rs:173:7 [INFO] [stdout] | [INFO] [stdout] 173 | union IntorFloat{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `process_value` [INFO] [stdout] --> src/main.rs:177:4 [INFO] [stdout] | [INFO] [stdout] 177 | fn process_value(iof:IntorFloat){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `unions` [INFO] [stdout] --> src/main.rs:185:4 [INFO] [stdout] | [INFO] [stdout] 185 | fn unions(){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `option` [INFO] [stdout] --> src/main.rs:196:4 [INFO] [stdout] | [INFO] [stdout] 196 | fn option(){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `arrays` [INFO] [stdout] --> src/main.rs:210:4 [INFO] [stdout] | [INFO] [stdout] 210 | fn arrays() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `vectors` [INFO] [stdout] --> src/main.rs:241:4 [INFO] [stdout] | [INFO] [stdout] 241 | fn vectors(){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `use_slices` [INFO] [stdout] --> src/main.rs:264:4 [INFO] [stdout] | [INFO] [stdout] 264 | fn use_slices(slice: &mut [i32]){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `slices` [INFO] [stdout] --> src/main.rs:268:4 [INFO] [stdout] | [INFO] [stdout] 268 | fn slices() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `strings` [INFO] [stdout] --> src/main.rs:275:4 [INFO] [stdout] | [INFO] [stdout] 275 | fn strings(){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sum_and_product` [INFO] [stdout] --> src/main.rs:307:4 [INFO] [stdout] | [INFO] [stdout] 307 | fn sum_and_product(x:i32,y:i32)->(i32,i32){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `tuples` [INFO] [stdout] --> src/main.rs:310:4 [INFO] [stdout] | [INFO] [stdout] 310 | fn tuples(){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `point` [INFO] [stdout] --> src/main.rs:330:8 [INFO] [stdout] | [INFO] [stdout] 330 | struct point{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `line` [INFO] [stdout] --> src/main.rs:334:8 [INFO] [stdout] | [INFO] [stdout] 334 | struct line [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generics` [INFO] [stdout] --> src/main.rs:339:4 [INFO] [stdout] | [INFO] [stdout] 339 | fn generics(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_value` [INFO] [stdout] --> src/main.rs:345:4 [INFO] [stdout] | [INFO] [stdout] 345 | fn print_value(x:i32){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `increase` [INFO] [stdout] --> src/main.rs:348:4 [INFO] [stdout] | [INFO] [stdout] 348 | fn increase(x:&mut i32){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `product` [INFO] [stdout] --> src/main.rs:351:4 [INFO] [stdout] | [INFO] [stdout] 351 | fn product(x:i32,y:i32)->i32{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `functions` [INFO] [stdout] --> src/main.rs:354:4 [INFO] [stdout] | [INFO] [stdout] 354 | fn functions(){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/main.rs:365:8 [INFO] [stdout] | [INFO] [stdout] 365 | fn len(&self)->f64 [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `methods` [INFO] [stdout] --> src/main.rs:374:4 [INFO] [stdout] | [INFO] [stdout] 374 | fn methods(){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `operators` [INFO] [stdout] --> src/main.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn operators(){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `scope_shadowing` [INFO] [stdout] --> src/main.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn scope_shadowing(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `if_statement` [INFO] [stdout] --> src/main.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn if_statement() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `while_and_loop` [INFO] [stdout] --> src/main.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn while_and_loop(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `for_loop` [INFO] [stdout] --> src/main.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn for_loop(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `match_statements` [INFO] [stdout] --> src/main.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn match_statements(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Line` [INFO] [stdout] --> src/main.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | struct Line{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `structures` [INFO] [stdout] --> src/main.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | fn structures(){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Color` [INFO] [stdout] --> src/main.rs:154:6 [INFO] [stdout] | [INFO] [stdout] 154 | enum Color{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `enums` [INFO] [stdout] --> src/main.rs:161:4 [INFO] [stdout] | [INFO] [stdout] 161 | fn enums(){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: union is never used: `IntorFloat` [INFO] [stdout] --> src/main.rs:173:7 [INFO] [stdout] | [INFO] [stdout] 173 | union IntorFloat{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `process_value` [INFO] [stdout] --> src/main.rs:177:4 [INFO] [stdout] | [INFO] [stdout] 177 | fn process_value(iof:IntorFloat){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `unions` [INFO] [stdout] --> src/main.rs:185:4 [INFO] [stdout] | [INFO] [stdout] 185 | fn unions(){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `option` [INFO] [stdout] --> src/main.rs:196:4 [INFO] [stdout] | [INFO] [stdout] 196 | fn option(){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `arrays` [INFO] [stdout] --> src/main.rs:210:4 [INFO] [stdout] | [INFO] [stdout] 210 | fn arrays() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `vectors` [INFO] [stdout] --> src/main.rs:241:4 [INFO] [stdout] | [INFO] [stdout] 241 | fn vectors(){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `use_slices` [INFO] [stdout] --> src/main.rs:264:4 [INFO] [stdout] | [INFO] [stdout] 264 | fn use_slices(slice: &mut [i32]){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `slices` [INFO] [stdout] --> src/main.rs:268:4 [INFO] [stdout] | [INFO] [stdout] 268 | fn slices() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `say_hello` [INFO] [stdout] --> src/main.rs:380:4 [INFO] [stdout] | [INFO] [stdout] 380 | fn say_hello() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `closures` [INFO] [stdout] --> src/main.rs:384:4 [INFO] [stdout] | [INFO] [stdout] 384 | fn closures(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_even` [INFO] [stdout] --> src/main.rs:399:4 [INFO] [stdout] | [INFO] [stdout] 399 | fn is_even(x:i32)->bool{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hof` [INFO] [stdout] --> src/main.rs:402:4 [INFO] [stdout] | [INFO] [stdout] 402 | fn hof(){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `traits` [INFO] [stdout] --> src/main.rs:440:4 [INFO] [stdout] | [INFO] [stdout] 440 | fn traits(){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `operator_overloading` [INFO] [stdout] --> src/main.rs:450:4 [INFO] [stdout] | [INFO] [stdout] 450 | fn operator_overloading(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `strings` [INFO] [stdout] --> src/main.rs:275:4 [INFO] [stdout] | [INFO] [stdout] 275 | fn strings(){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sum_and_product` [INFO] [stdout] --> src/main.rs:307:4 [INFO] [stdout] | [INFO] [stdout] 307 | fn sum_and_product(x:i32,y:i32)->(i32,i32){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `tuples` [INFO] [stdout] --> src/main.rs:310:4 [INFO] [stdout] | [INFO] [stdout] 310 | fn tuples(){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `point` [INFO] [stdout] --> src/main.rs:330:8 [INFO] [stdout] | [INFO] [stdout] 330 | struct point{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `line` [INFO] [stdout] --> src/main.rs:334:8 [INFO] [stdout] | [INFO] [stdout] 334 | struct line [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generics` [INFO] [stdout] --> src/main.rs:339:4 [INFO] [stdout] | [INFO] [stdout] 339 | fn generics(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_value` [INFO] [stdout] --> src/main.rs:345:4 [INFO] [stdout] | [INFO] [stdout] 345 | fn print_value(x:i32){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `increase` [INFO] [stdout] --> src/main.rs:348:4 [INFO] [stdout] | [INFO] [stdout] 348 | fn increase(x:&mut i32){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `product` [INFO] [stdout] --> src/main.rs:351:4 [INFO] [stdout] | [INFO] [stdout] 351 | fn product(x:i32,y:i32)->i32{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `functions` [INFO] [stdout] --> src/main.rs:354:4 [INFO] [stdout] | [INFO] [stdout] 354 | fn functions(){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/main.rs:365:8 [INFO] [stdout] | [INFO] [stdout] 365 | fn len(&self)->f64 [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `methods` [INFO] [stdout] --> src/main.rs:374:4 [INFO] [stdout] | [INFO] [stdout] 374 | fn methods(){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `xyz` should have an upper case name [INFO] [stdout] --> src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | static mut xyz:i32=123; [INFO] [stdout] | ^^^ help: convert the identifier to upper case (notice the capitalization): `XYZ` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `say_hello` [INFO] [stdout] --> src/main.rs:380:4 [INFO] [stdout] | [INFO] [stdout] 380 | fn say_hello() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `closures` [INFO] [stdout] --> src/main.rs:384:4 [INFO] [stdout] | [INFO] [stdout] 384 | fn closures(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_even` [INFO] [stdout] --> src/main.rs:399:4 [INFO] [stdout] | [INFO] [stdout] 399 | fn is_even(x:i32)->bool{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hof` [INFO] [stdout] --> src/main.rs:402:4 [INFO] [stdout] | [INFO] [stdout] 402 | fn hof(){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `traits` [INFO] [stdout] --> src/main.rs:440:4 [INFO] [stdout] | [INFO] [stdout] 440 | fn traits(){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `operator_overloading` [INFO] [stdout] --> src/main.rs:450:4 [INFO] [stdout] | [INFO] [stdout] 450 | fn operator_overloading(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `xyz` should have an upper case name [INFO] [stdout] --> src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | static mut xyz:i32=123; [INFO] [stdout] | ^^^ help: convert the identifier to upper case (notice the capitalization): `XYZ` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 55 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.60s [INFO] [stdout] warning: 55 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cbd822ee904e6ec7dd301405655a4e8f3e2c122b79c8bdd978c9c10a92c21af3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbd822ee904e6ec7dd301405655a4e8f3e2c122b79c8bdd978c9c10a92c21af3", kill_on_drop: false }` [INFO] [stdout] cbd822ee904e6ec7dd301405655a4e8f3e2c122b79c8bdd978c9c10a92c21af3