[INFO] cloning repository https://github.com/akkida746/RustProj [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/akkida746/RustProj" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakkida746%2FRustProj", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakkida746%2FRustProj'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1e5a1d68dc18e81d96e32aa1db597416ca76496f [INFO] checking akkida746/RustProj against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakkida746%2FRustProj" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/akkida746/RustProj 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/akkida746/RustProj [INFO] finished tweaking git repo https://github.com/akkida746/RustProj [INFO] tweaked toml for git repo https://github.com/akkida746/RustProj written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/akkida746/RustProj 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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] fef639f455580a6a0972a1f7872c7631589f903e59adcb0ae43a85f8501076e9 [INFO] running `Command { std: "docker" "start" "-a" "fef639f455580a6a0972a1f7872c7631589f903e59adcb0ae43a85f8501076e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fef639f455580a6a0972a1f7872c7631589f903e59adcb0ae43a85f8501076e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fef639f455580a6a0972a1f7872c7631589f903e59adcb0ae43a85f8501076e9", kill_on_drop: false }` [INFO] [stdout] fef639f455580a6a0972a1f7872c7631589f903e59adcb0ae43a85f8501076e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] 19b14bde28e73f799320a9ebccf6fca9f161736b1186076a8ae3f7c47da6fcb1 [INFO] running `Command { std: "docker" "start" "-a" "19b14bde28e73f799320a9ebccf6fca9f161736b1186076a8ae3f7c47da6fcb1", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking RustProj v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: field is never read: `area_code` [INFO] [stdout] --> src/errorhandling.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | area_code: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `number` [INFO] [stdout] --> src/errorhandling.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | number: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print` [INFO] [stdout] --> src/bounds.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn print(t: T) where T: Debug{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `longest` [INFO] [stdout] --> src/lifetime.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn longest(_x: &str, _y: &str) -> &'static str{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `borrowing` [INFO] [stdout] --> src/borrowing.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn borrowing(){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `borrow_i32` [INFO] [stdout] --> src/borrowing.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn borrow_i32(borrowed_i32: &i32){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `eat_box_i32` [INFO] [stdout] --> src/borrowing.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn eat_box_i32(boxed_i32: Box){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `eat_box_i32` [INFO] [stdout] --> src/main.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn eat_box_i32(boxed_i32: Box){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `optional_num` [INFO] [stdout] --> src/main.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | optional_num: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Id` [INFO] [stdout] --> src/main.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | Id(i32), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Profile` [INFO] [stdout] --> src/main.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Profile(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RustProj` 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: `rust_proj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getAge` should have a snake case name [INFO] [stdout] --> src/main.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | fn getAge(&self) -> i32{ [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_age` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `startCollections` should have a snake case name [INFO] [stdout] --> src/collections.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn startCollections(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `start_collections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `changeValues` should have a snake case name [INFO] [stdout] --> src/collections.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn changeValues(mut list: Vec){ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `change_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `errorHandling` should have a snake case name [INFO] [stdout] --> src/errorhandling.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) mod errorHandling{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `error_handling` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `errorHandling` should have a snake case name [INFO] [stdout] --> src/errorhandling.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn errorHandling(){ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `error_handling` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkList` should have a snake case name [INFO] [stdout] --> src/errorhandling.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn checkList(list: Vec) -> Result{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `check_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handleError` should have a snake case name [INFO] [stdout] --> src/errorhandling.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn handleError(gift : &str){ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `handle_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `startBounds` should have a snake case name [INFO] [stdout] --> src/bounds.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn startBounds(){ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `start_bounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getModuleName` should have a snake case name [INFO] [stdout] --> src/borrowing.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) fn getModuleName() -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_module_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `printName` should have a snake case name [INFO] [stdout] --> src/module.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn printName(){ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `print_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `callSelfFoo` should have a snake case name [INFO] [stdout] --> src/main.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | pub(crate) fn callSelfFoo(){ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `call_self_foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `callParentFoo` should have a snake case name [INFO] [stdout] --> src/main.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | pub(crate) fn callParentFoo(){ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `call_parent_foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `printHouse` should have a snake case name [INFO] [stdout] --> src/main.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | pub(crate) fn printHouse(){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `print_house` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/errorhandling.rs (1 fix) [INFO] [stderr] Fixed src/borrowing.rs (2 fixes) [INFO] [stderr] Fixed src/bounds.rs (1 fix) [INFO] [stderr] Fixed src/lifetime.rs (3 fixes) [INFO] [stdout] warning: field is never read: `area_code` [INFO] [stdout] --> src/errorhandling.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | area_code: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `number` [INFO] [stdout] --> src/errorhandling.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | number: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print` [INFO] [stdout] --> src/bounds.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn print(t: T) where T: Debug{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `longest` [INFO] [stdout] --> src/lifetime.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn longest(_x: &str, _y: &str) -> &'static str{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `borrowing` [INFO] [stdout] --> src/borrowing.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn borrowing(){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `borrow_i32` [INFO] [stdout] --> src/borrowing.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn borrow_i32(borrowed_i32: &i32){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `eat_box_i32` [INFO] [stdout] --> src/borrowing.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn eat_box_i32(boxed_i32: Box){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `eat_box_i32` [INFO] [stdout] --> src/main.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn eat_box_i32(boxed_i32: Box){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `optional_num` [INFO] [stdout] --> src/main.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | optional_num: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Id` [INFO] [stdout] --> src/main.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | Id(i32), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Profile` [INFO] [stdout] --> src/main.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Profile(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RustProj` 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: `rust_proj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getAge` should have a snake case name [INFO] [stdout] --> src/main.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | fn getAge(&self) -> i32{ [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_age` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `startCollections` should have a snake case name [INFO] [stdout] --> src/collections.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn startCollections(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `start_collections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `changeValues` should have a snake case name [INFO] [stdout] --> src/collections.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn changeValues(mut list: Vec){ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `change_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `errorHandling` should have a snake case name [INFO] [stdout] --> src/errorhandling.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) mod errorHandling{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `error_handling` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `errorHandling` should have a snake case name [INFO] [stdout] --> src/errorhandling.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn errorHandling(){ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `error_handling` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkList` should have a snake case name [INFO] [stdout] --> src/errorhandling.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn checkList(list: Vec) -> Result{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `check_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handleError` should have a snake case name [INFO] [stdout] --> src/errorhandling.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn handleError(gift : &str){ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `handle_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `startBounds` should have a snake case name [INFO] [stdout] --> src/bounds.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn startBounds(){ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `start_bounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getModuleName` should have a snake case name [INFO] [stdout] --> src/borrowing.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) fn getModuleName() -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_module_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `printName` should have a snake case name [INFO] [stdout] --> src/module.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn printName(){ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `print_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `callSelfFoo` should have a snake case name [INFO] [stdout] --> src/main.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | pub(crate) fn callSelfFoo(){ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `call_self_foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `callParentFoo` should have a snake case name [INFO] [stdout] --> src/main.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | pub(crate) fn callParentFoo(){ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `call_parent_foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `printHouse` should have a snake case name [INFO] [stdout] --> src/main.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | pub(crate) fn printHouse(){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `print_house` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.09s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking RustProj v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: field is never read: `area_code` [INFO] [stdout] --> src/errorhandling.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | area_code: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `number` [INFO] [stdout] --> src/errorhandling.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | number: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print` [INFO] [stdout] --> src/bounds.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn print(t: T) where T: Debug{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `longest` [INFO] [stdout] --> src/lifetime.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn longest(_x: &str, _y: &str) -> &'static str{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `borrowing` [INFO] [stdout] --> src/borrowing.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn borrowing(){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `borrow_i32` [INFO] [stdout] --> src/borrowing.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn borrow_i32(borrowed_i32: &i32){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `eat_box_i32` [INFO] [stdout] --> src/borrowing.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn eat_box_i32(boxed_i32: Box){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `eat_box_i32` [INFO] [stdout] --> src/main.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn eat_box_i32(boxed_i32: Box){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `optional_num` [INFO] [stdout] --> src/main.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | optional_num: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Id` [INFO] [stdout] --> src/main.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | Id(i32), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Profile` [INFO] [stdout] --> src/main.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Profile(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RustProj` 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: `rust_proj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getAge` should have a snake case name [INFO] [stdout] --> src/main.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | fn getAge(&self) -> i32{ [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_age` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `startCollections` should have a snake case name [INFO] [stdout] --> src/collections.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn startCollections(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `start_collections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `changeValues` should have a snake case name [INFO] [stdout] --> src/collections.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn changeValues(mut list: Vec){ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `change_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `errorHandling` should have a snake case name [INFO] [stdout] --> src/errorhandling.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) mod errorHandling{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `error_handling` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `errorHandling` should have a snake case name [INFO] [stdout] --> src/errorhandling.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn errorHandling(){ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `error_handling` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkList` should have a snake case name [INFO] [stdout] --> src/errorhandling.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn checkList(list: Vec) -> Result{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `check_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handleError` should have a snake case name [INFO] [stdout] --> src/errorhandling.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn handleError(gift : &str){ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `handle_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `startBounds` should have a snake case name [INFO] [stdout] --> src/bounds.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn startBounds(){ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `start_bounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getModuleName` should have a snake case name [INFO] [stdout] --> src/borrowing.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) fn getModuleName() -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_module_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `printName` should have a snake case name [INFO] [stdout] --> src/module.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn printName(){ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `print_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `callSelfFoo` should have a snake case name [INFO] [stdout] --> src/main.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | pub(crate) fn callSelfFoo(){ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `call_self_foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `callParentFoo` should have a snake case name [INFO] [stdout] --> src/main.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | pub(crate) fn callParentFoo(){ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `call_parent_foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `printHouse` should have a snake case name [INFO] [stdout] --> src/main.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | pub(crate) fn printHouse(){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `print_house` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `area_code` [INFO] [stdout] --> src/errorhandling.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | area_code: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `number` [INFO] [stdout] --> src/errorhandling.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | number: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print` [INFO] [stdout] --> src/bounds.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn print(t: T) where T: Debug{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `longest` [INFO] [stdout] --> src/lifetime.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn longest(_x: &str, _y: &str) -> &'static str{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `borrowing` [INFO] [stdout] --> src/borrowing.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn borrowing(){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `borrow_i32` [INFO] [stdout] --> src/borrowing.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn borrow_i32(borrowed_i32: &i32){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `eat_box_i32` [INFO] [stdout] --> src/borrowing.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn eat_box_i32(boxed_i32: Box){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `eat_box_i32` [INFO] [stdout] --> src/main.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn eat_box_i32(boxed_i32: Box){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `optional_num` [INFO] [stdout] --> src/main.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | optional_num: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Id` [INFO] [stdout] --> src/main.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | Id(i32), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Profile` [INFO] [stdout] --> src/main.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Profile(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RustProj` 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: `rust_proj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getAge` should have a snake case name [INFO] [stdout] --> src/main.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | fn getAge(&self) -> i32{ [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_age` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `startCollections` should have a snake case name [INFO] [stdout] --> src/collections.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn startCollections(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `start_collections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `changeValues` should have a snake case name [INFO] [stdout] --> src/collections.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn changeValues(mut list: Vec){ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `change_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `errorHandling` should have a snake case name [INFO] [stdout] --> src/errorhandling.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) mod errorHandling{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `error_handling` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `errorHandling` should have a snake case name [INFO] [stdout] --> src/errorhandling.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn errorHandling(){ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `error_handling` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkList` should have a snake case name [INFO] [stdout] --> src/errorhandling.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn checkList(list: Vec) -> Result{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `check_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handleError` should have a snake case name [INFO] [stdout] --> src/errorhandling.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn handleError(gift : &str){ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `handle_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `startBounds` should have a snake case name [INFO] [stdout] --> src/bounds.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn startBounds(){ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `start_bounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getModuleName` should have a snake case name [INFO] [stdout] --> src/borrowing.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) fn getModuleName() -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_module_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `printName` should have a snake case name [INFO] [stdout] --> src/module.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn printName(){ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `print_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `callSelfFoo` should have a snake case name [INFO] [stdout] --> src/main.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | pub(crate) fn callSelfFoo(){ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `call_self_foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `callParentFoo` should have a snake case name [INFO] [stdout] --> src/main.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | pub(crate) fn callParentFoo(){ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `call_parent_foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `printHouse` should have a snake case name [INFO] [stdout] --> src/main.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | pub(crate) fn printHouse(){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `print_house` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.41s [INFO] running `Command { std: "docker" "inspect" "19b14bde28e73f799320a9ebccf6fca9f161736b1186076a8ae3f7c47da6fcb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19b14bde28e73f799320a9ebccf6fca9f161736b1186076a8ae3f7c47da6fcb1", kill_on_drop: false }` [INFO] [stdout] 19b14bde28e73f799320a9ebccf6fca9f161736b1186076a8ae3f7c47da6fcb1