[INFO] cloning repository https://github.com/caretcaret/superdeduper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/caretcaret/superdeduper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaretcaret%2Fsuperdeduper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaretcaret%2Fsuperdeduper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bfbfab7cb8fcbdfcf48807e695b8c7d61c8ce2a4 [INFO] checking caretcaret/superdeduper against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaretcaret%2Fsuperdeduper" "/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/caretcaret/superdeduper on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/caretcaret/superdeduper [INFO] finished tweaking git repo https://github.com/caretcaret/superdeduper [INFO] tweaked toml for git repo https://github.com/caretcaret/superdeduper written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/caretcaret/superdeduper already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fbdf27d46379e5caa0e90e65a82c3938cd1dfd82d0eae492834e27c3b241007d [INFO] running `Command { std: "docker" "start" "-a" "fbdf27d46379e5caa0e90e65a82c3938cd1dfd82d0eae492834e27c3b241007d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fbdf27d46379e5caa0e90e65a82c3938cd1dfd82d0eae492834e27c3b241007d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbdf27d46379e5caa0e90e65a82c3938cd1dfd82d0eae492834e27c3b241007d", kill_on_drop: false }` [INFO] [stdout] fbdf27d46379e5caa0e90e65a82c3938cd1dfd82d0eae492834e27c3b241007d [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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 11f82e36b056cbff1e4cec95b8b16043e5189a7532a1f5d1d307801b09fc8f75 [INFO] running `Command { std: "docker" "start" "-a" "11f82e36b056cbff1e4cec95b8b16043e5189a7532a1f5d1d307801b09fc8f75", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling rayon-core v1.8.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking weezl v0.1.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking strsim v0.9.3 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.4.1 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Checking image v0.23.10 [INFO] [stderr] Checking serde v1.0.116 [INFO] [stderr] Checking docopt v1.1.0 [INFO] [stderr] Checking superdeduper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `FilterType` in `image` [INFO] [stdout] --> src/main.rs:72:69 [INFO] [stdout] | [INFO] [stdout] 72 | let resized = image.grayscale().resize_exact(32, 32, image::FilterType::Nearest); [INFO] [stdout] | ^^^^^^^^^^ could not find `FilterType` in `image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::GenericImage` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use image::GenericImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FilterType` in `image` [INFO] [stdout] --> src/main.rs:72:69 [INFO] [stdout] | [INFO] [stdout] 72 | let resized = image.grayscale().resize_exact(32, 32, image::FilterType::Nearest); [INFO] [stdout] | ^^^^^^^^^^ could not find `FilterType` in `image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::GenericImage` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use image::GenericImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `GIF` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/main.rs:35:53 [INFO] [stdout] | [INFO] [stdout] 35 | "gif" => { Some(image::ImageFormat::GIF) }, [INFO] [stdout] | ^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `PNG` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/main.rs:36:53 [INFO] [stdout] | [INFO] [stdout] 36 | "png" => { Some(image::ImageFormat::PNG) }, [INFO] [stdout] | ^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `PNG` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/main.rs:37:59 [INFO] [stdout] | [INFO] [stdout] 37 | "png-large" => { Some(image::ImageFormat::PNG) }, [INFO] [stdout] | ^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `JPEG` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/main.rs:38:53 [INFO] [stdout] | [INFO] [stdout] 38 | "jpg" => { Some(image::ImageFormat::JPEG) }, [INFO] [stdout] | ^^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `JPEG` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/main.rs:39:54 [INFO] [stdout] | [INFO] [stdout] 39 | "jpeg" => { Some(image::ImageFormat::JPEG) }, [INFO] [stdout] | ^^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `JPEG` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/main.rs:40:53 [INFO] [stdout] | [INFO] [stdout] 40 | "jpe" => { Some(image::ImageFormat::JPEG) }, [INFO] [stdout] | ^^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `JPEG` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/main.rs:41:59 [INFO] [stdout] | [INFO] [stdout] 41 | "jpg-large" => { Some(image::ImageFormat::JPEG) }, [INFO] [stdout] | ^^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `WEBP` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/main.rs:42:54 [INFO] [stdout] | [INFO] [stdout] 42 | "webp" => { Some(image::ImageFormat::WEBP) }, [INFO] [stdout] | ^^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_pixel` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/main.rs:88:39 [INFO] [stdout] | [INFO] [stdout] 88 | match resized.get_pixel(n1 as u32, n2 as u32).channels4() { [INFO] [stdout] | ^^^^^^^^^ method not found in `DynamicImage` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 6 | use image::GenericImageView; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `GIF` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/main.rs:35:53 [INFO] [stdout] | [INFO] [stdout] 35 | "gif" => { Some(image::ImageFormat::GIF) }, [INFO] [stdout] | ^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `PNG` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/main.rs:36:53 [INFO] [stdout] | [INFO] [stdout] 36 | "png" => { Some(image::ImageFormat::PNG) }, [INFO] [stdout] | ^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `PNG` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/main.rs:37:59 [INFO] [stdout] | [INFO] [stdout] 37 | "png-large" => { Some(image::ImageFormat::PNG) }, [INFO] [stdout] | ^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `JPEG` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/main.rs:38:53 [INFO] [stdout] | [INFO] [stdout] 38 | "jpg" => { Some(image::ImageFormat::JPEG) }, [INFO] [stdout] | ^^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `JPEG` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/main.rs:39:54 [INFO] [stdout] | [INFO] [stdout] 39 | "jpeg" => { Some(image::ImageFormat::JPEG) }, [INFO] [stdout] | ^^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `JPEG` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/main.rs:40:53 [INFO] [stdout] | [INFO] [stdout] 40 | "jpe" => { Some(image::ImageFormat::JPEG) }, [INFO] [stdout] | ^^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `JPEG` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/main.rs:41:59 [INFO] [stdout] | [INFO] [stdout] 41 | "jpg-large" => { Some(image::ImageFormat::JPEG) }, [INFO] [stdout] | ^^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `WEBP` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/main.rs:42:54 [INFO] [stdout] | [INFO] [stdout] 42 | "webp" => { Some(image::ImageFormat::WEBP) }, [INFO] [stdout] | ^^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `File: BufRead` is not satisfied [INFO] [stdout] --> src/main.rs:144:28 [INFO] [stdout] | [INFO] [stdout] 144 | let im = image::load(file, format); [INFO] [stdout] | ^^^^ the trait `BufRead` is not implemented for `File` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/image-0.23.10/./src/io/free_functions.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn load(r: R, format: ImageFormat) -> ImageResult { [INFO] [stdout] | ------- required by this bound in `load` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `width` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/main.rs:158:22 [INFO] [stdout] | [INFO] [stdout] 158 | size: (image.width() as u64) * (image.height() as u64) [INFO] [stdout] | ^^^^^ method not found in `DynamicImage` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 6 | use image::GenericImageView; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `height` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/main.rs:158:47 [INFO] [stdout] | [INFO] [stdout] 158 | size: (image.width() as u64) * (image.height() as u64) [INFO] [stdout] | ^^^^^^ method not found in `DynamicImage` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 6 | use image::GenericImageView; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `GIF` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/main.rs:181:30 [INFO] [stdout] | [INFO] [stdout] 181 | Some(image::ImageFormat::GIF) => { new_path.set_extension("gif"); }, [INFO] [stdout] | ^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `PNG` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/main.rs:182:30 [INFO] [stdout] | [INFO] [stdout] 182 | Some(image::ImageFormat::PNG) => { new_path.set_extension("png"); }, [INFO] [stdout] | ^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_pixel` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/main.rs:88:39 [INFO] [stdout] | [INFO] [stdout] 88 | match resized.get_pixel(n1 as u32, n2 as u32).channels4() { [INFO] [stdout] | ^^^^^^^^^ method not found in `DynamicImage` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 6 | use image::GenericImageView; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `JPEG` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/main.rs:183:30 [INFO] [stdout] | [INFO] [stdout] 183 | Some(image::ImageFormat::JPEG) => { new_path.set_extension("jpg"); }, [INFO] [stdout] | ^^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `WEBP` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/main.rs:184:30 [INFO] [stdout] | [INFO] [stdout] 184 | Some(image::ImageFormat::WEBP) => { new_path.set_extension("webp"); }, [INFO] [stdout] | ^^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decode` found for struct `Docopt` in the current scope [INFO] [stdout] --> src/main.rs:193:43 [INFO] [stdout] | [INFO] [stdout] 193 | .and_then(|d| d.decode()) [INFO] [stdout] | ^^^^^^ method not found in `Docopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::Pixel` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use image::Pixel; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `File: BufRead` is not satisfied [INFO] [stdout] --> src/main.rs:144:28 [INFO] [stdout] | [INFO] [stdout] 144 | let im = image::load(file, format); [INFO] [stdout] | ^^^^ the trait `BufRead` is not implemented for `File` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/image-0.23.10/./src/io/free_functions.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn load(r: R, format: ImageFormat) -> ImageResult { [INFO] [stdout] | ------- required by this bound in `load` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `superdeduper` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `width` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/main.rs:158:22 [INFO] [stdout] | [INFO] [stdout] 158 | size: (image.width() as u64) * (image.height() as u64) [INFO] [stdout] | ^^^^^ method not found in `DynamicImage` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 6 | use image::GenericImageView; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `height` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/main.rs:158:47 [INFO] [stdout] | [INFO] [stdout] 158 | size: (image.width() as u64) * (image.height() as u64) [INFO] [stdout] | ^^^^^^ method not found in `DynamicImage` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 6 | use image::GenericImageView; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `GIF` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/main.rs:181:30 [INFO] [stdout] | [INFO] [stdout] 181 | Some(image::ImageFormat::GIF) => { new_path.set_extension("gif"); }, [INFO] [stdout] | ^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `PNG` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/main.rs:182:30 [INFO] [stdout] | [INFO] [stdout] 182 | Some(image::ImageFormat::PNG) => { new_path.set_extension("png"); }, [INFO] [stdout] | ^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `JPEG` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/main.rs:183:30 [INFO] [stdout] | [INFO] [stdout] 183 | Some(image::ImageFormat::JPEG) => { new_path.set_extension("jpg"); }, [INFO] [stdout] | ^^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `WEBP` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/main.rs:184:30 [INFO] [stdout] | [INFO] [stdout] 184 | Some(image::ImageFormat::WEBP) => { new_path.set_extension("webp"); }, [INFO] [stdout] | ^^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decode` found for struct `Docopt` in the current scope [INFO] [stdout] --> src/main.rs:193:43 [INFO] [stdout] | [INFO] [stdout] 193 | .and_then(|d| d.decode()) [INFO] [stdout] | ^^^^^^ method not found in `Docopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::Pixel` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use image::Pixel; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "11f82e36b056cbff1e4cec95b8b16043e5189a7532a1f5d1d307801b09fc8f75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11f82e36b056cbff1e4cec95b8b16043e5189a7532a1f5d1d307801b09fc8f75", kill_on_drop: false }` [INFO] [stdout] 11f82e36b056cbff1e4cec95b8b16043e5189a7532a1f5d1d307801b09fc8f75