[INFO] updating cached repository https://github.com/KushamiNeko/auto_watermark [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b8e0fa2acb12502fce99b9de6c9463b1ea3df0fa [INFO] testing KushamiNeko/auto_watermark against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKushamiNeko%2Fauto_watermark" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KushamiNeko/auto_watermark on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KushamiNeko/auto_watermark [INFO] finished tweaking git repo https://github.com/KushamiNeko/auto_watermark [INFO] tweaked toml for git repo https://github.com/KushamiNeko/auto_watermark written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/KushamiNeko/auto_watermark already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a90e5ba46a60bef43dbea1aff95a21db6ec25d0cfc2901a203775bd71c61c59 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5a90e5ba46a60bef43dbea1aff95a21db6ec25d0cfc2901a203775bd71c61c59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a90e5ba46a60bef43dbea1aff95a21db6ec25d0cfc2901a203775bd71c61c59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a90e5ba46a60bef43dbea1aff95a21db6ec25d0cfc2901a203775bd71c61c59", kill_on_drop: false }` [INFO] [stdout] 5a90e5ba46a60bef43dbea1aff95a21db6ec25d0cfc2901a203775bd71c61c59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae31c0efd82682e6243cfb322cc8dd9b3b7045dbfc4d619c3ea7cf0cb141bcb9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ae31c0efd82682e6243cfb322cc8dd9b3b7045dbfc4d619c3ea7cf0cb141bcb9", kill_on_drop: false }` [INFO] [stderr] Compiling num-complex v0.1.36 [INFO] [stderr] Compiling num-bigint v0.1.37 [INFO] [stderr] Compiling jpeg-decoder v0.1.11 [INFO] [stderr] Compiling num-rational v0.1.36 [INFO] [stderr] Compiling num v0.1.37 [INFO] [stderr] Compiling image v0.12.3 [INFO] [stderr] Compiling rust_auto_watermark v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `water_mark_size` in this scope [INFO] [stdout] --> src/imagework/mod.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | first: Item::new((water_mark_size.first.first / (water_mark_size.first.second + TOLERANCE)), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `water_mark_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `water_mark_size` in this scope [INFO] [stdout] --> src/imagework/mod.rs:97:53 [INFO] [stdout] | [INFO] [stdout] 97 | first: Item::new((water_mark_size.first.first / (water_mark_size.first.second + TOLERANCE)), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `water_mark_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOLERANCE` in this scope [INFO] [stdout] --> src/imagework/mod.rs:97:84 [INFO] [stdout] | [INFO] [stdout] 97 | first: Item::new((water_mark_size.first.first / (water_mark_size.first.second + TOLERANCE)), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 4 | use TOLERANCE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `water_mark_size` in this scope [INFO] [stdout] --> src/imagework/mod.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | (water_mark_size.first.first / (water_mark_size.first.second - TOLERANCE))), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `water_mark_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `water_mark_size` in this scope [INFO] [stdout] --> src/imagework/mod.rs:98:40 [INFO] [stdout] | [INFO] [stdout] 98 | (water_mark_size.first.first / (water_mark_size.first.second - TOLERANCE))), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `water_mark_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOLERANCE` in this scope [INFO] [stdout] --> src/imagework/mod.rs:98:71 [INFO] [stdout] | [INFO] [stdout] 98 | (water_mark_size.first.first / (water_mark_size.first.second - TOLERANCE))), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 4 | use TOLERANCE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `water_mark_size` in this scope [INFO] [stdout] --> src/imagework/mod.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | second: Item::new((water_mark_size.second.first / (water_mark_size.second.second + TOLERANCE)), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `water_mark_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `water_mark_size` in this scope [INFO] [stdout] --> src/imagework/mod.rs:99:55 [INFO] [stdout] | [INFO] [stdout] 99 | second: Item::new((water_mark_size.second.first / (water_mark_size.second.second + TOLERANCE)), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `water_mark_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOLERANCE` in this scope [INFO] [stdout] --> src/imagework/mod.rs:99:87 [INFO] [stdout] | [INFO] [stdout] 99 | second: Item::new((water_mark_size.second.first / (water_mark_size.second.second + TOLERANCE)), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 4 | use TOLERANCE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `water_mark_size` in this scope [INFO] [stdout] --> src/imagework/mod.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | (water_mark_size.second.first / (water_mark_size.second.second - TOLERANCE))), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `water_mark_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `water_mark_size` in this scope [INFO] [stdout] --> src/imagework/mod.rs:100:41 [INFO] [stdout] | [INFO] [stdout] 100 | (water_mark_size.second.first / (water_mark_size.second.second - TOLERANCE))), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `water_mark_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOLERANCE` in this scope [INFO] [stdout] --> src/imagework/mod.rs:100:73 [INFO] [stdout] | [INFO] [stdout] 100 | (water_mark_size.second.first / (water_mark_size.second.second - TOLERANCE))), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 4 | use TOLERANCE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `water_mark_size` in this scope [INFO] [stdout] --> src/imagework/mod.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | third: Item::new(((water_mark_size.third.first - TOLERANCE) / water_mark_size.third.second), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `water_mark_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOLERANCE` in this scope [INFO] [stdout] --> src/imagework/mod.rs:101:53 [INFO] [stdout] | [INFO] [stdout] 101 | third: Item::new(((water_mark_size.third.first - TOLERANCE) / water_mark_size.third.second), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 4 | use TOLERANCE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `water_mark_size` in this scope [INFO] [stdout] --> src/imagework/mod.rs:101:66 [INFO] [stdout] | [INFO] [stdout] 101 | third: Item::new(((water_mark_size.third.first - TOLERANCE) / water_mark_size.third.second), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `water_mark_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `water_mark_size` in this scope [INFO] [stdout] --> src/imagework/mod.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | (water_mark_size.third.first / (water_mark_size.third.second - TOLERANCE))), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `water_mark_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `water_mark_size` in this scope [INFO] [stdout] --> src/imagework/mod.rs:102:40 [INFO] [stdout] | [INFO] [stdout] 102 | (water_mark_size.third.first / (water_mark_size.third.second - TOLERANCE))), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `water_mark_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOLERANCE` in this scope [INFO] [stdout] --> src/imagework/mod.rs:102:71 [INFO] [stdout] | [INFO] [stdout] 102 | (water_mark_size.third.first / (water_mark_size.third.second - TOLERANCE))), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 4 | use TOLERANCE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `water_mark_size` in this scope [INFO] [stdout] --> src/imagework/mod.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 103 | forth: Item::new(((water_mark_size.forth.first - TOLERANCE) / water_mark_size.forth.second), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `water_mark_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOLERANCE` in this scope [INFO] [stdout] --> src/imagework/mod.rs:103:53 [INFO] [stdout] | [INFO] [stdout] 103 | forth: Item::new(((water_mark_size.forth.first - TOLERANCE) / water_mark_size.forth.second), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 4 | use TOLERANCE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `water_mark_size` in this scope [INFO] [stdout] --> src/imagework/mod.rs:103:66 [INFO] [stdout] | [INFO] [stdout] 103 | forth: Item::new(((water_mark_size.forth.first - TOLERANCE) / water_mark_size.forth.second), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `water_mark_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `water_mark_size` in this scope [INFO] [stdout] --> src/imagework/mod.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | (water_mark_size.forth.first / (water_mark_size.forth.second + TOLERANCE))), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `water_mark_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `water_mark_size` in this scope [INFO] [stdout] --> src/imagework/mod.rs:104:40 [INFO] [stdout] | [INFO] [stdout] 104 | (water_mark_size.forth.first / (water_mark_size.forth.second + TOLERANCE))), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `water_mark_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOLERANCE` in this scope [INFO] [stdout] --> src/imagework/mod.rs:104:71 [INFO] [stdout] | [INFO] [stdout] 104 | (water_mark_size.forth.first / (water_mark_size.forth.second + TOLERANCE))), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 4 | use TOLERANCE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `water_mark_size` in this scope [INFO] [stdout] --> src/imagework/mod.rs:105:23 [INFO] [stdout] | [INFO] [stdout] 105 | fifth: Item::new(((water_mark_size.fifth.first - TOLERANCE) / water_mark_size.fifth.second), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `water_mark_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOLERANCE` in this scope [INFO] [stdout] --> src/imagework/mod.rs:105:53 [INFO] [stdout] | [INFO] [stdout] 105 | fifth: Item::new(((water_mark_size.fifth.first - TOLERANCE) / water_mark_size.fifth.second), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 4 | use TOLERANCE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `water_mark_size` in this scope [INFO] [stdout] --> src/imagework/mod.rs:105:66 [INFO] [stdout] | [INFO] [stdout] 105 | fifth: Item::new(((water_mark_size.fifth.first - TOLERANCE) / water_mark_size.fifth.second), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `water_mark_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `water_mark_size` in this scope [INFO] [stdout] --> src/imagework/mod.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | (water_mark_size.fifth.first / (water_mark_size.fifth.second - TOLERANCE))), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `water_mark_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `water_mark_size` in this scope [INFO] [stdout] --> src/imagework/mod.rs:106:40 [INFO] [stdout] | [INFO] [stdout] 106 | (water_mark_size.fifth.first / (water_mark_size.fifth.second - TOLERANCE))), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `water_mark_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOLERANCE` in this scope [INFO] [stdout] --> src/imagework/mod.rs:106:71 [INFO] [stdout] | [INFO] [stdout] 106 | (water_mark_size.fifth.first / (water_mark_size.fifth.second - TOLERANCE))), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 4 | use TOLERANCE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ptr_i` in this scope [INFO] [stdout] --> src/data_analysis/mod.rs:60:37 [INFO] [stdout] | [INFO] [stdout] 60 | let image = match image::open((*ptr_i).path()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ptr_program_data_root` in this scope [INFO] [stdout] --> src/data_analysis/mod.rs:98:37 [INFO] [stdout] | [INFO] [stdout] 98 | let data_root_path = Path::new(*ptr_program_data_root); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `program_data_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/imagework/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/imagework/mod.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | first: Item::new((water_mark_size.first.first / (water_mark_size.first.second + TOLERANCE)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/imagework/mod.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | (water_mark_size.first.first / (water_mark_size.first.second - TOLERANCE))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/imagework/mod.rs:99:22 [INFO] [stdout] | [INFO] [stdout] 99 | second: Item::new((water_mark_size.second.first / (water_mark_size.second.second + TOLERANCE)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/imagework/mod.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | (water_mark_size.second.first / (water_mark_size.second.second - TOLERANCE))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/imagework/mod.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | third: Item::new(((water_mark_size.third.first - TOLERANCE) / water_mark_size.third.second), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/imagework/mod.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | (water_mark_size.third.first / (water_mark_size.third.second - TOLERANCE))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/imagework/mod.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | forth: Item::new(((water_mark_size.forth.first - TOLERANCE) / water_mark_size.forth.second), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/imagework/mod.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | (water_mark_size.forth.first / (water_mark_size.forth.second + TOLERANCE))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/imagework/mod.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | fifth: Item::new(((water_mark_size.fifth.first - TOLERANCE) / water_mark_size.fifth.second), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/imagework/mod.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | (water_mark_size.fifth.first / (water_mark_size.fifth.second - TOLERANCE))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/imagework/mod.rs:151:37 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn pixel_operation(&mut self) {; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/imagework/mod.rs:184:33 [INFO] [stdout] | [INFO] [stdout] 184 | let rr: u8 = self.pixel_clamp((nr * 255.0)); [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/imagework/mod.rs:185:33 [INFO] [stdout] | [INFO] [stdout] 185 | let rg: u8 = self.pixel_clamp((ng * 255.0)); [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/imagework/mod.rs:186:33 [INFO] [stdout] | [INFO] [stdout] 186 | let rb: u8 = self.pixel_clamp((nb * 255.0)); [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/imagework/mod.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | inside @ 0f64...255f64 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/imagework/mod.rs:237:18 [INFO] [stdout] | [INFO] [stdout] 237 | for t in (0..max_iterations) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:23:2 [INFO] [stdout] | [INFO] [stdout] 21 | return; [INFO] [stdout] | ------ any code following this expression is unreachable [INFO] [stdout] 22 | [INFO] [stdout] 23 | println!("{}", "Please enter a directories!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/data_analysis/mod.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 121 | if num_file >= NUM_THREADS { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `i64`, found `u8` [INFO] [stdout] | help: you can convert an `u8` to `i64`: `NUM_THREADS.into()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 33 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_auto_watermark`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "ae31c0efd82682e6243cfb322cc8dd9b3b7045dbfc4d619c3ea7cf0cb141bcb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae31c0efd82682e6243cfb322cc8dd9b3b7045dbfc4d619c3ea7cf0cb141bcb9", kill_on_drop: false }` [INFO] [stdout] ae31c0efd82682e6243cfb322cc8dd9b3b7045dbfc4d619c3ea7cf0cb141bcb9