[INFO] cloning repository https://github.com/SurtMcGert/FilePoolTool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SurtMcGert/FilePoolTool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSurtMcGert%2FFilePoolTool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSurtMcGert%2FFilePoolTool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 815c83bf66ea398707ea5acc638b318f571eaa96 [INFO] testing SurtMcGert/FilePoolTool against 1.84.0 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSurtMcGert%2FFilePoolTool" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SurtMcGert/FilePoolTool on toolchain 1.84.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.84.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SurtMcGert/FilePoolTool [INFO] finished tweaking git repo https://github.com/SurtMcGert/FilePoolTool [INFO] tweaked toml for git repo https://github.com/SurtMcGert/FilePoolTool written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/SurtMcGert/FilePoolTool 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" "+1.84.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4eb5380a7725a7858228ed922c58262d77eb5dae9d07d03d3dd68ebc4aaf8036 [INFO] running `Command { std: "docker" "start" "-a" "4eb5380a7725a7858228ed922c58262d77eb5dae9d07d03d3dd68ebc4aaf8036", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4eb5380a7725a7858228ed922c58262d77eb5dae9d07d03d3dd68ebc4aaf8036", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4eb5380a7725a7858228ed922c58262d77eb5dae9d07d03d3dd68ebc4aaf8036", kill_on_drop: false }` [INFO] [stdout] 4eb5380a7725a7858228ed922c58262d77eb5dae9d07d03d3dd68ebc4aaf8036 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8183d69b9a7d853357a34de93c9168f1998559f55ba0569118beb4bab1a48893 [INFO] running `Command { std: "docker" "start" "-a" "8183d69b9a7d853357a34de93c9168f1998559f55ba0569118beb4bab1a48893", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.56 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling libc v0.2.141 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Compiling syn v2.0.15 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling native-dialog v0.6.3 [INFO] [stderr] Compiling FilePoolTool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `DirEntry` [INFO] [stdout] --> src/main.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::{self, DirEntry}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/main.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | Ok((numOfCopiedFiles)) => println!("number of files copied: {}", numOfCopiedFiles), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 53 - Ok((numOfCopiedFiles)) => println!("number of files copied: {}", numOfCopiedFiles), [INFO] [stdout] 53 + Ok(numOfCopiedFiles) => println!("number of files copied: {}", numOfCopiedFiles), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:63:57 [INFO] [stdout] | [INFO] [stdout] 63 | fn copyFiles(input: &Path, output: &Path) -> io::Result<(i32)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 63 - fn copyFiles(input: &Path, output: &Path) -> io::Result<(i32)> { [INFO] [stdout] 63 + fn copyFiles(input: &Path, output: &Path) -> io::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | if (input.is_dir() && output.is_dir()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - if (input.is_dir() && output.is_dir()) { [INFO] [stdout] 65 + if input.is_dir() && output.is_dir() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/main.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | Ok((numOfCopiedFiles)) => currentNumOfCopiedFiles += numOfCopiedFiles, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 73 - Ok((numOfCopiedFiles)) => currentNumOfCopiedFiles += numOfCopiedFiles, [INFO] [stdout] 73 + Ok(numOfCopiedFiles) => currentNumOfCopiedFiles += numOfCopiedFiles, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | Ok((currentNumOfCopiedFiles)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 86 - Ok((currentNumOfCopiedFiles)) [INFO] [stdout] 86 + Ok(currentNumOfCopiedFiles) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | let result = fs::copy(path, outputPath); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inputPath` should have a snake case name [INFO] [stdout] --> src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let inputPath = FileDialog::new() [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `input_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inputPath` should have a snake case name [INFO] [stdout] --> src/main.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | Some(inputPath) => inputPath, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `input_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inputPath` should have a snake case name [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let inputPath = match inputPath { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `input_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `outputPath` should have a snake case name [INFO] [stdout] --> src/main.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let outputPath = FileDialog::new() [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `output_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `outputPath` should have a snake case name [INFO] [stdout] --> src/main.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | Some(outputPath) => outputPath, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `output_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `outputPath` should have a snake case name [INFO] [stdout] --> src/main.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let outputPath = match outputPath { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `output_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numOfCopiedFiles` should have a snake case name [INFO] [stdout] --> src/main.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | Ok((numOfCopiedFiles)) => println!("number of files copied: {}", numOfCopiedFiles), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `num_of_copied_files` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copyFiles` should have a snake case name [INFO] [stdout] --> src/main.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn copyFiles(input: &Path, output: &Path) -> io::Result<(i32)> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `copy_files` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currentNumOfCopiedFiles` should have a snake case name [INFO] [stdout] --> src/main.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let mut currentNumOfCopiedFiles: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `current_num_of_copied_files` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numOfCopiedFiles` should have a snake case name [INFO] [stdout] --> src/main.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | Ok((numOfCopiedFiles)) => currentNumOfCopiedFiles += numOfCopiedFiles, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `num_of_copied_files` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `filenamePath` should have a snake case name [INFO] [stdout] --> src/main.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | let filenamePath = Path::new(filename); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `filename_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `outputPath` should have a snake case name [INFO] [stdout] --> src/main.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | let outputPath = output.join(filenamePath); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `output_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.63s [INFO] running `Command { std: "docker" "inspect" "8183d69b9a7d853357a34de93c9168f1998559f55ba0569118beb4bab1a48893", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8183d69b9a7d853357a34de93c9168f1998559f55ba0569118beb4bab1a48893", kill_on_drop: false }` [INFO] [stdout] 8183d69b9a7d853357a34de93c9168f1998559f55ba0569118beb4bab1a48893 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a5554ab56da164cc4de269fb6f239f2d9eb147677a2589263e9f28c0dc96dd0 [INFO] running `Command { std: "docker" "start" "-a" "9a5554ab56da164cc4de269fb6f239f2d9eb147677a2589263e9f28c0dc96dd0", kill_on_drop: false }` [INFO] [stderr] Compiling FilePoolTool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `DirEntry` [INFO] [stdout] --> src/main.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::{self, DirEntry}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/main.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | Ok((numOfCopiedFiles)) => println!("number of files copied: {}", numOfCopiedFiles), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 53 - Ok((numOfCopiedFiles)) => println!("number of files copied: {}", numOfCopiedFiles), [INFO] [stdout] 53 + Ok(numOfCopiedFiles) => println!("number of files copied: {}", numOfCopiedFiles), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:63:57 [INFO] [stdout] | [INFO] [stdout] 63 | fn copyFiles(input: &Path, output: &Path) -> io::Result<(i32)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 63 - fn copyFiles(input: &Path, output: &Path) -> io::Result<(i32)> { [INFO] [stdout] 63 + fn copyFiles(input: &Path, output: &Path) -> io::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | if (input.is_dir() && output.is_dir()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - if (input.is_dir() && output.is_dir()) { [INFO] [stdout] 65 + if input.is_dir() && output.is_dir() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/main.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | Ok((numOfCopiedFiles)) => currentNumOfCopiedFiles += numOfCopiedFiles, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 73 - Ok((numOfCopiedFiles)) => currentNumOfCopiedFiles += numOfCopiedFiles, [INFO] [stdout] 73 + Ok(numOfCopiedFiles) => currentNumOfCopiedFiles += numOfCopiedFiles, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | Ok((currentNumOfCopiedFiles)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 86 - Ok((currentNumOfCopiedFiles)) [INFO] [stdout] 86 + Ok(currentNumOfCopiedFiles) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | let result = fs::copy(path, outputPath); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inputPath` should have a snake case name [INFO] [stdout] --> src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let inputPath = FileDialog::new() [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `input_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inputPath` should have a snake case name [INFO] [stdout] --> src/main.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | Some(inputPath) => inputPath, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `input_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inputPath` should have a snake case name [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let inputPath = match inputPath { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `input_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `outputPath` should have a snake case name [INFO] [stdout] --> src/main.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let outputPath = FileDialog::new() [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `output_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `outputPath` should have a snake case name [INFO] [stdout] --> src/main.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | Some(outputPath) => outputPath, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `output_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `outputPath` should have a snake case name [INFO] [stdout] --> src/main.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let outputPath = match outputPath { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `output_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numOfCopiedFiles` should have a snake case name [INFO] [stdout] --> src/main.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | Ok((numOfCopiedFiles)) => println!("number of files copied: {}", numOfCopiedFiles), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `num_of_copied_files` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copyFiles` should have a snake case name [INFO] [stdout] --> src/main.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn copyFiles(input: &Path, output: &Path) -> io::Result<(i32)> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `copy_files` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currentNumOfCopiedFiles` should have a snake case name [INFO] [stdout] --> src/main.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let mut currentNumOfCopiedFiles: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `current_num_of_copied_files` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numOfCopiedFiles` should have a snake case name [INFO] [stdout] --> src/main.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | Ok((numOfCopiedFiles)) => currentNumOfCopiedFiles += numOfCopiedFiles, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `num_of_copied_files` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `filenamePath` should have a snake case name [INFO] [stdout] --> src/main.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | let filenamePath = Path::new(filename); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `filename_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `outputPath` should have a snake case name [INFO] [stdout] --> src/main.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | let outputPath = output.join(filenamePath); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `output_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] running `Command { std: "docker" "inspect" "9a5554ab56da164cc4de269fb6f239f2d9eb147677a2589263e9f28c0dc96dd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a5554ab56da164cc4de269fb6f239f2d9eb147677a2589263e9f28c0dc96dd0", kill_on_drop: false }` [INFO] [stdout] 9a5554ab56da164cc4de269fb6f239f2d9eb147677a2589263e9f28c0dc96dd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 389512165f5213db8c116e9f14d204ba0d73852bfe54d0dd4683fbfca9e660a1 [INFO] running `Command { std: "docker" "start" "-a" "389512165f5213db8c116e9f14d204ba0d73852bfe54d0dd4683fbfca9e660a1", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `DirEntry` [INFO] [stderr] --> src/main.rs:2:21 [INFO] [stderr] | [INFO] [stderr] 2 | use std::fs::{self, DirEntry}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around pattern [INFO] [stderr] --> src/main.rs:53:20 [INFO] [stderr] | [INFO] [stderr] 53 | Ok((numOfCopiedFiles)) => println!("number of files copied: {}", numOfCopiedFiles), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 53 - Ok((numOfCopiedFiles)) => println!("number of files copied: {}", numOfCopiedFiles), [INFO] [stderr] 53 + Ok(numOfCopiedFiles) => println!("number of files copied: {}", numOfCopiedFiles), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/main.rs:63:57 [INFO] [stderr] | [INFO] [stderr] 63 | fn copyFiles(input: &Path, output: &Path) -> io::Result<(i32)> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 63 - fn copyFiles(input: &Path, output: &Path) -> io::Result<(i32)> { [INFO] [stderr] 63 + fn copyFiles(input: &Path, output: &Path) -> io::Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:65:8 [INFO] [stderr] | [INFO] [stderr] 65 | if (input.is_dir() && output.is_dir()) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 65 - if (input.is_dir() && output.is_dir()) { [INFO] [stderr] 65 + if input.is_dir() && output.is_dir() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around pattern [INFO] [stderr] --> src/main.rs:73:24 [INFO] [stderr] | [INFO] [stderr] 73 | Ok((numOfCopiedFiles)) => currentNumOfCopiedFiles += numOfCopiedFiles, [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 73 - Ok((numOfCopiedFiles)) => currentNumOfCopiedFiles += numOfCopiedFiles, [INFO] [stderr] 73 + Ok(numOfCopiedFiles) => currentNumOfCopiedFiles += numOfCopiedFiles, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/main.rs:86:8 [INFO] [stderr] | [INFO] [stderr] 86 | Ok((currentNumOfCopiedFiles)) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 86 - Ok((currentNumOfCopiedFiles)) [INFO] [stderr] 86 + Ok(currentNumOfCopiedFiles) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/main.rs:81:21 [INFO] [stderr] | [INFO] [stderr] 81 | let result = fs::copy(path, outputPath); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `inputPath` should have a snake case name [INFO] [stderr] --> src/main.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | let inputPath = FileDialog::new() [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `input_path` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `inputPath` should have a snake case name [INFO] [stderr] --> src/main.rs:17:14 [INFO] [stderr] | [INFO] [stderr] 17 | Some(inputPath) => inputPath, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `input_path` [INFO] [stderr] [INFO] [stderr] warning: variable `inputPath` should have a snake case name [INFO] [stderr] --> src/main.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | let inputPath = match inputPath { [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `input_path` [INFO] [stderr] [INFO] [stderr] warning: variable `outputPath` should have a snake case name [INFO] [stderr] --> src/main.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | let outputPath = FileDialog::new() [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `output_path` [INFO] [stderr] [INFO] [stderr] warning: variable `outputPath` should have a snake case name [INFO] [stderr] --> src/main.rs:38:18 [INFO] [stderr] | [INFO] [stderr] 38 | Some(outputPath) => outputPath, [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `output_path` [INFO] [stderr] [INFO] [stderr] warning: variable `outputPath` should have a snake case name [INFO] [stderr] --> src/main.rs:37:13 [INFO] [stderr] | [INFO] [stderr] 37 | let outputPath = match outputPath { [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `output_path` [INFO] [stderr] [INFO] [stderr] warning: variable `numOfCopiedFiles` should have a snake case name [INFO] [stderr] --> src/main.rs:53:21 [INFO] [stderr] | [INFO] [stderr] 53 | Ok((numOfCopiedFiles)) => println!("number of files copied: {}", numOfCopiedFiles), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `num_of_copied_files` [INFO] [stderr] [INFO] [stderr] warning: function `copyFiles` should have a snake case name [INFO] [stderr] --> src/main.rs:63:4 [INFO] [stderr] | [INFO] [stderr] 63 | fn copyFiles(input: &Path, output: &Path) -> io::Result<(i32)> { [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `copy_files` [INFO] [stderr] [INFO] [stderr] warning: variable `currentNumOfCopiedFiles` should have a snake case name [INFO] [stderr] --> src/main.rs:64:13 [INFO] [stderr] | [INFO] [stderr] 64 | let mut currentNumOfCopiedFiles: i32 = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `current_num_of_copied_files` [INFO] [stderr] [INFO] [stderr] warning: variable `numOfCopiedFiles` should have a snake case name [INFO] [stderr] --> src/main.rs:73:25 [INFO] [stderr] | [INFO] [stderr] 73 | Ok((numOfCopiedFiles)) => currentNumOfCopiedFiles += numOfCopiedFiles, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `num_of_copied_files` [INFO] [stderr] [INFO] [stderr] warning: variable `filenamePath` should have a snake case name [INFO] [stderr] --> src/main.rs:79:21 [INFO] [stderr] | [INFO] [stderr] 79 | let filenamePath = Path::new(filename); [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `filename_path` [INFO] [stderr] [INFO] [stderr] warning: variable `outputPath` should have a snake case name [INFO] [stderr] --> src/main.rs:80:21 [INFO] [stderr] | [INFO] [stderr] 80 | let outputPath = output.join(filenamePath); [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `output_path` [INFO] [stderr] [INFO] [stderr] warning: `FilePoolTool` (bin "FilePoolTool" test) generated 19 warnings (run `cargo fix --bin "FilePoolTool" --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/FilePoolTool-7f4279d3fc8be3e7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "389512165f5213db8c116e9f14d204ba0d73852bfe54d0dd4683fbfca9e660a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "389512165f5213db8c116e9f14d204ba0d73852bfe54d0dd4683fbfca9e660a1", kill_on_drop: false }` [INFO] [stdout] 389512165f5213db8c116e9f14d204ba0d73852bfe54d0dd4683fbfca9e660a1