[INFO] cloning repository https://github.com/FluffyCorleone/Superior-Ironman [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FluffyCorleone/Superior-Ironman" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFluffyCorleone%2FSuperior-Ironman", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFluffyCorleone%2FSuperior-Ironman'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b712278c8edc361338cb498a5ffaf5d39e73a029 [INFO] checking FluffyCorleone/Superior-Ironman against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFluffyCorleone%2FSuperior-Ironman" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/FluffyCorleone/Superior-Ironman [INFO] finished tweaking git repo https://github.com/FluffyCorleone/Superior-Ironman [INFO] tweaked toml for git repo https://github.com/FluffyCorleone/Superior-Ironman written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/FluffyCorleone/Superior-Ironman on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/FluffyCorleone/Superior-Ironman already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ef469b01a60872b2c8947b67b8f1632561f8c287a8d7bbbfb3d3a37f99013fa [INFO] running `Command { std: "docker" "start" "-a" "9ef469b01a60872b2c8947b67b8f1632561f8c287a8d7bbbfb3d3a37f99013fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ef469b01a60872b2c8947b67b8f1632561f8c287a8d7bbbfb3d3a37f99013fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ef469b01a60872b2c8947b67b8f1632561f8c287a8d7bbbfb3d3a37f99013fa", kill_on_drop: false }` [INFO] [stdout] 9ef469b01a60872b2c8947b67b8f1632561f8c287a8d7bbbfb3d3a37f99013fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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 -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 806db8de5c095c128808422408dcb363266f964a59a159bbed572cbc723cc1a6 [INFO] running `Command { std: "docker" "start" "-a" "806db8de5c095c128808422408dcb363266f964a59a159bbed572cbc723cc1a6", kill_on_drop: false }` [INFO] [stderr] Checking Superior-Ironman v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `factorial`, `hammingWeight`, and `single_number` [INFO] [stdout] --> src/main.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::leetcode::easy::{ factorial, hammingWeight, single_number, majority_element } ; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `min_value`, `sum_dig_pow`, `tribonacci`, and `wave` [INFO] [stdout] --> src/main.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::codewars::{ unique_in_order, sum_dig_pow, tribonacci, min_value, wave } ; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `factorize` and `find_factors` [INFO] [stdout] --> src/main.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::projecteuler::{ find_factors, factorize } ; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let a = vec![ 4, 1, 2, 1, 2 ] ; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let b = vec![2,2,1] ; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let c = vec![1] ; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TreeNode` is never constructed [INFO] [stdout] --> src/leetcode/easy/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TreeNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/leetcode/easy/mod.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 13 | impl TreeNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 14 | #[inline] [INFO] [stdout] 15 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `factorial` is never used [INFO] [stdout] --> src/leetcode/easy/mod.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn factorial( n:u32 ) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hammingWeight` is never used [INFO] [stdout] --> src/leetcode/easy/mod.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn hammingWeight (n: u32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_same_tree` is never used [INFO] [stdout] --> src/leetcode/easy/mod.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn is_same_tree(p: Option>>, q: Option>>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inorder_traversal` is never used [INFO] [stdout] --> src/leetcode/easy/mod.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn inorder_traversal(root: Option>>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inorder` is never used [INFO] [stdout] --> src/leetcode/easy/mod.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn inorder(node: Option<&Rc>>, result: &mut Vec>) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `single_number` is never used [INFO] [stdout] --> src/leetcode/easy/mod.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn single_number(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_dig_pow` is never used [INFO] [stdout] --> src/codewars/mod.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn sum_dig_pow( a:u64, b:u64 ) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tribonacci` is never used [INFO] [stdout] --> src/codewars/mod.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn tribonacci( signature: &[f64; 3], n: usize ) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_value` is never used [INFO] [stdout] --> src/codewars/mod.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn min_value(mut digits: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wave` is never used [INFO] [stdout] --> src/codewars/mod.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn wave(s: &str) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `camel_case` is never used [INFO] [stdout] --> src/codewars/mod.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn camel_case( str:&str ) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_factors` is never used [INFO] [stdout] --> src/projecteuler/mod.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn find_factors( n:u128 ) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `factorize` is never used [INFO] [stdout] --> src/projecteuler/mod.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn factorize( n:u128 ) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hammingWeight` should have a snake case name [INFO] [stdout] --> src/leetcode/easy/mod.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn hammingWeight (n: u32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `hamming_weight` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/codewars/mod.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | *x == digit_square_sum(*x).try_into().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `factorial`, `hammingWeight`, and `single_number` [INFO] [stdout] --> src/main.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::leetcode::easy::{ factorial, hammingWeight, single_number, majority_element } ; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `min_value`, `sum_dig_pow`, `tribonacci`, `unique_in_order`, and `wave` [INFO] [stdout] --> src/main.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::codewars::{ unique_in_order, sum_dig_pow, tribonacci, min_value, wave } ; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `factorize` and `find_factors` [INFO] [stdout] --> src/main.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::projecteuler::{ find_factors, factorize } ; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `Superior-Ironman` (bin "Superior-Ironman" test) due to 1 previous error; 22 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let a = vec![ 4, 1, 2, 1, 2 ] ; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let b = vec![2,2,1] ; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let c = vec![1] ; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TreeNode` is never constructed [INFO] [stdout] --> src/leetcode/easy/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TreeNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/leetcode/easy/mod.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 13 | impl TreeNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 14 | #[inline] [INFO] [stdout] 15 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `factorial` is never used [INFO] [stdout] --> src/leetcode/easy/mod.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn factorial( n:u32 ) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hammingWeight` is never used [INFO] [stdout] --> src/leetcode/easy/mod.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn hammingWeight (n: u32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_same_tree` is never used [INFO] [stdout] --> src/leetcode/easy/mod.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn is_same_tree(p: Option>>, q: Option>>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inorder_traversal` is never used [INFO] [stdout] --> src/leetcode/easy/mod.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn inorder_traversal(root: Option>>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inorder` is never used [INFO] [stdout] --> src/leetcode/easy/mod.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn inorder(node: Option<&Rc>>, result: &mut Vec>) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `single_number` is never used [INFO] [stdout] --> src/leetcode/easy/mod.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn single_number(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unique_in_order` is never used [INFO] [stdout] --> src/codewars/mod.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn unique_in_order( sequence: T ) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_dig_pow` is never used [INFO] [stdout] --> src/codewars/mod.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn sum_dig_pow( a:u64, b:u64 ) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tribonacci` is never used [INFO] [stdout] --> src/codewars/mod.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn tribonacci( signature: &[f64; 3], n: usize ) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_value` is never used [INFO] [stdout] --> src/codewars/mod.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn min_value(mut digits: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wave` is never used [INFO] [stdout] --> src/codewars/mod.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn wave(s: &str) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `camel_case` is never used [INFO] [stdout] --> src/codewars/mod.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn camel_case( str:&str ) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_factors` is never used [INFO] [stdout] --> src/projecteuler/mod.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn find_factors( n:u128 ) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `factorize` is never used [INFO] [stdout] --> src/projecteuler/mod.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn factorize( n:u128 ) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hammingWeight` should have a snake case name [INFO] [stdout] --> src/leetcode/easy/mod.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn hammingWeight (n: u32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `hamming_weight` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/codewars/mod.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | *x == digit_square_sum(*x).try_into().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `Superior-Ironman` (bin "Superior-Ironman") due to 1 previous error; 23 warnings emitted [INFO] running `Command { std: "docker" "inspect" "806db8de5c095c128808422408dcb363266f964a59a159bbed572cbc723cc1a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "806db8de5c095c128808422408dcb363266f964a59a159bbed572cbc723cc1a6", kill_on_drop: false }` [INFO] [stdout] 806db8de5c095c128808422408dcb363266f964a59a159bbed572cbc723cc1a6