[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/b712278c8edc361338cb498a5ffaf5d39e73a029 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFluffyCorleone%2FSuperior-Ironman" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FluffyCorleone/Superior-Ironman on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7-tc1/source/Cargo.toml [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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d90e4f5f402b24677fc3b50fc67f6d5b11176673551f3aaa4a6805d51649ccb1 [INFO] running `Command { std: "docker" "start" "-a" "d90e4f5f402b24677fc3b50fc67f6d5b11176673551f3aaa4a6805d51649ccb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d90e4f5f402b24677fc3b50fc67f6d5b11176673551f3aaa4a6805d51649ccb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d90e4f5f402b24677fc3b50fc67f6d5b11176673551f3aaa4a6805d51649ccb1", kill_on_drop: false }` [INFO] [stdout] d90e4f5f402b24677fc3b50fc67f6d5b11176673551f3aaa4a6805d51649ccb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d90812b915add8b393698f5cb990a5efe5664404df983591c7d7a5813a0c1e1a [INFO] running `Command { std: "docker" "start" "-a" "d90812b915add8b393698f5cb990a5efe5664404df983591c7d7a5813a0c1e1a", 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)]` 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] [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)]` 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)]` 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: 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)]` 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: 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] = note: `#[warn(dead_code)]` on by default [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: 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)]` 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] = note: `#[warn(dead_code)]` on by default [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] running `Command { std: "docker" "inspect" "d90812b915add8b393698f5cb990a5efe5664404df983591c7d7a5813a0c1e1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d90812b915add8b393698f5cb990a5efe5664404df983591c7d7a5813a0c1e1a", kill_on_drop: false }` [INFO] [stdout] d90812b915add8b393698f5cb990a5efe5664404df983591c7d7a5813a0c1e1a