[INFO] cloning repository https://github.com/BcanTayiz/Rust-week-2-assignment-2
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BcanTayiz/Rust-week-2-assignment-2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBcanTayiz%2FRust-week-2-assignment-2", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBcanTayiz%2FRust-week-2-assignment-2'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4e2248d06350a93ff7e9181e5ff8734a3f4a3343
[INFO] checking BcanTayiz/Rust-week-2-assignment-2 against try#438eb4c1a1c3841523d7f672601e8adbe04cff28 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBcanTayiz%2FRust-week-2-assignment-2" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/BcanTayiz/Rust-week-2-assignment-2
[INFO] finished tweaking git repo https://github.com/BcanTayiz/Rust-week-2-assignment-2
[INFO] tweaked toml for git repo https://github.com/BcanTayiz/Rust-week-2-assignment-2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/BcanTayiz/Rust-week-2-assignment-2 on toolchain 438eb4c1a1c3841523d7f672601e8adbe04cff28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/BcanTayiz/Rust-week-2-assignment-2 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" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c97bedf6b8f468962801d9e5f434ade757dcfe0c07c054dad2235507b4f1f7e3
[INFO] running `Command { std: "docker" "start" "-a" "c97bedf6b8f468962801d9e5f434ade757dcfe0c07c054dad2235507b4f1f7e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c97bedf6b8f468962801d9e5f434ade757dcfe0c07c054dad2235507b4f1f7e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c97bedf6b8f468962801d9e5f434ade757dcfe0c07c054dad2235507b4f1f7e3", kill_on_drop: false }`
[INFO] [stdout] c97bedf6b8f468962801d9e5f434ade757dcfe0c07c054dad2235507b4f1f7e3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a8208b02b8307cc603b0f627f4576b6759e62e7225997ca8b30d1049b2e19d08
[INFO] running `Command { std: "docker" "start" "-a" "a8208b02b8307cc603b0f627f4576b6759e62e7225997ca8b30d1049b2e19d08", kill_on_drop: false }`
[INFO] [stderr]     Checking generic-array v0.14.6
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.3
[INFO] [stderr]     Checking digest v0.10.3
[INFO] [stderr]     Checking sha2 v0.10.5
[INFO] [stderr]     Checking Patika-MerkleTree-Assignment v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/main.rs:155:22
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let result = main("input0.txt".to_string());
[INFO] [stdout]     |                      ^^^^ ------------------------ unexpected argument of type `String`
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/main.rs:19:4
[INFO] [stdout]     |
[INFO] [stdout]  19 | fn main(){
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 155 -         let result = main("input0.txt".to_string());
[INFO] [stdout] 155 +         let result = main();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:156:28
[INFO] [stdout]     |
[INFO] [stdout] 156 |         assert_eq!(result, "ff41418be11ed77612aeb83ee0bcf97a5853a4c291e23bd4d4cc6435fcfabdf9");
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/main.rs:161:22
[INFO] [stdout]     |
[INFO] [stdout] 161 |         let result = main("input1.txt".to_string());
[INFO] [stdout]     |                      ^^^^ ------------------------ unexpected argument of type `String`
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/main.rs:19:4
[INFO] [stdout]     |
[INFO] [stdout]  19 | fn main(){
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 161 -         let result = main("input1.txt".to_string());
[INFO] [stdout] 161 +         let result = main();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:162:28
[INFO] [stdout]     |
[INFO] [stdout] 162 |         assert_eq!(result, "98a77b2c3ff5f6c2aca697f60b2aa2a1a2733be36dbd35bae23d517c2ad5985e");
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/main.rs:167:22
[INFO] [stdout]     |
[INFO] [stdout] 167 |         let result = main("input2.txt".to_string());
[INFO] [stdout]     |                      ^^^^ ------------------------ unexpected argument of type `String`
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/main.rs:19:4
[INFO] [stdout]     |
[INFO] [stdout]  19 | fn main(){
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 167 -         let result = main("input2.txt".to_string());
[INFO] [stdout] 167 +         let result = main();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:168:28
[INFO] [stdout]     |
[INFO] [stdout] 168 |         assert_eq!(result, "3c0fb0638de91551eae4e9d984d72034aa0693be37b51737e6b81bc489866e5e");
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/main.rs:173:22
[INFO] [stdout]     |
[INFO] [stdout] 173 |         let result = main("input3.txt".to_string());
[INFO] [stdout]     |                      ^^^^ ------------------------ unexpected argument of type `String`
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/main.rs:19:4
[INFO] [stdout]     |
[INFO] [stdout]  19 | fn main(){
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 173 -         let result = main("input3.txt".to_string());
[INFO] [stdout] 173 +         let result = main();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:174:28
[INFO] [stdout]     |
[INFO] [stdout] 174 |         assert_eq!(result, "f03b1c9163babeb728ac011fe0c2c9c69700a2f8ddde211ec07d621cdb322cfe");
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/main.rs:179:22
[INFO] [stdout]     |
[INFO] [stdout] 179 |         let result = main("input4.txt".to_string());
[INFO] [stdout]     |                      ^^^^ ------------------------ unexpected argument of type `String`
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/main.rs:19:4
[INFO] [stdout]     |
[INFO] [stdout]  19 | fn main(){
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 179 -         let result = main("input4.txt".to_string());
[INFO] [stdout] 179 +         let result = main();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:180:28
[INFO] [stdout]     |
[INFO] [stdout] 180 |         assert_eq!(result, "f83e74742fda659dfc07615881af796abafc434f591aeb23b9f4366abe03c597");
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `l`
[INFO] [stdout]   --> src/main.rs:85:25
[INFO] [stdout]    |
[INFO] [stdout] 85 |                     let l = j as i32;
[INFO] [stdout]    |                         ^ help: if this is intentional, prefix it with an underscore: `_l`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_level`
[INFO] [stdout]    --> src/main.rs:136:22
[INFO] [stdout]     |
[INFO] [stdout] 136 | fn create_next_level(current_level: Vec::<String>) -> Vec::<String> {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_level`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:142:15
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn hash_input(a: &str) -> String {
[INFO] [stdout]     |               ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Patika-MerkleTree-Assignment` (bin "Patika-MerkleTree-Assignment" test) due to 10 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `l`
[INFO] [stdout]   --> src/main.rs:85:25
[INFO] [stdout]    |
[INFO] [stdout] 85 |                     let l = j as i32;
[INFO] [stdout]    |                         ^ help: if this is intentional, prefix it with an underscore: `_l`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_level`
[INFO] [stdout]    --> src/main.rs:136:22
[INFO] [stdout]     |
[INFO] [stdout] 136 | fn create_next_level(current_level: Vec::<String>) -> Vec::<String> {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_level`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:142:15
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn hash_input(a: &str) -> String {
[INFO] [stdout]     |               ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_next_level` is never used
[INFO] [stdout]    --> src/main.rs:136:4
[INFO] [stdout]     |
[INFO] [stdout] 136 | fn create_next_level(current_level: Vec::<String>) -> Vec::<String> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hash_input` is never used
[INFO] [stdout]    --> src/main.rs:142:4
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn hash_input(a: &str) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `stringVal` should have a snake case name
[INFO] [stdout]   --> src/main.rs:14:31
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn change_hash(&mut self, stringVal: String) {
[INFO] [stdout]    |                               ^^^^^^^^^ help: convert the identifier to snake case: `string_val`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `AllData` should have a snake case name
[INFO] [stdout]   --> src/main.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut AllData = getInput();
[INFO] [stdout]    |             ^^^^^^^ help: convert the identifier to snake case: `all_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `hashNodes` should have a snake case name
[INFO] [stdout]   --> src/main.rs:78:15
[INFO] [stdout]    |
[INFO] [stdout] 78 | fn get_output(hashNodes:Vec<Vec<HashNode>>) -> Vec<Vec<HashNode>>{
[INFO] [stdout]    |               ^^^^^^^^^ help: convert the identifier to snake case: `hash_nodes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `getInput` should have a snake case name
[INFO] [stdout]    --> src/main.rs:101:4
[INFO] [stdout]     |
[INFO] [stdout] 101 | fn getInput() -> Vec<Vec<HashNode>>{
[INFO] [stdout]     |    ^^^^^^^^ help: convert the identifier to snake case: `get_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `dataVector` should have a snake case name
[INFO] [stdout]    --> src/main.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 103 |     let mut dataVector = Vec::new();
[INFO] [stdout]     |             ^^^^^^^^^^ help: convert the identifier to snake case: `data_vector`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `InputVec` should have a snake case name
[INFO] [stdout]    --> src/main.rs:112:17
[INFO] [stdout]     |
[INFO] [stdout] 112 |         let mut InputVec = Vec::new();
[INFO] [stdout]     |                 ^^^^^^^^ help: convert the identifier to snake case: `input_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `nodeString` should have a snake case name
[INFO] [stdout]    --> src/main.rs:119:17
[INFO] [stdout]     |
[INFO] [stdout] 119 |             let nodeString = HashNode{index:i,hash:hex.to_string().to_owned(),string:line};
[INFO] [stdout]     |                 ^^^^^^^^^^ help: convert the identifier to snake case: `node_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setHashes` should have a snake case name
[INFO] [stdout]    --> src/main.rs:130:4
[INFO] [stdout]     |
[INFO] [stdout] 130 | fn setHashes(index:usize){
[INFO] [stdout]     |    ^^^^^^^^^ help: convert the identifier to snake case: `set_hashes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "a8208b02b8307cc603b0f627f4576b6759e62e7225997ca8b30d1049b2e19d08", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a8208b02b8307cc603b0f627f4576b6759e62e7225997ca8b30d1049b2e19d08", kill_on_drop: false }`
[INFO] [stdout] a8208b02b8307cc603b0f627f4576b6759e62e7225997ca8b30d1049b2e19d08
