[INFO] cloning repository https://github.com/PeterHatch/color-smash [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PeterHatch/color-smash" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeterHatch%2Fcolor-smash", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeterHatch%2Fcolor-smash'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dddc315e7374940b7780528b841a91837dfd8854 [INFO] checking PeterHatch/color-smash against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeterHatch%2Fcolor-smash" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PeterHatch/color-smash on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/PeterHatch/color-smash [INFO] finished tweaking git repo https://github.com/PeterHatch/color-smash [INFO] tweaked toml for git repo https://github.com/PeterHatch/color-smash written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/PeterHatch/color-smash already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-8/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e8f4f352b8c905fba58bb894f8481d06f781c9b1a5b0ce6fb57c236213fe5eb [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" "3e8f4f352b8c905fba58bb894f8481d06f781c9b1a5b0ce6fb57c236213fe5eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e8f4f352b8c905fba58bb894f8481d06f781c9b1a5b0ce6fb57c236213fe5eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e8f4f352b8c905fba58bb894f8481d06f781c9b1a5b0ce6fb57c236213fe5eb", kill_on_drop: false }` [INFO] [stdout] 3e8f4f352b8c905fba58bb894f8481d06f781c9b1a5b0ce6fb57c236213fe5eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e042a180061cdefe60fd78975c1fc263c4513666a2ab90f8060e9115367b86eb [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" "e042a180061cdefe60fd78975c1fc263c4513666a2ab90f8060e9115367b86eb", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking weezl v0.1.3 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking ordered-float v2.0.1 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.12 [INFO] [stderr] Checking color_smash v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `png::HasParameters` [INFO] [stdout] --> src/images/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use png::HasParameters; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `HasParameters` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `png::HasParameters` [INFO] [stdout] --> src/images/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use png::HasParameters; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `HasParameters` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/color/rgb5a3/mod.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | 1...6 => { [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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | let images = try!(open_images(input_paths)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | try!(write_pngs( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | let image = try!(image_lib::open(input_path)).to_rgba(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:284:27 [INFO] [stdout] | [INFO] [stdout] 284 | let mut output = &try!(File::create(output_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:290:26 [INFO] [stdout] | [INFO] [stdout] 290 | let mut writer = try!(encoder.write_header()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | try!(writer.write_chunk(png::chunk::PLTE, &rgb_palette)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | try!(writer.write_chunk(png::chunk::tRNS, &alpha_palette)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | try!(writer.write_image_data(&indexed_image_data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/color/rgb5a3/mod.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | 1...6 => { [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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | let images = try!(open_images(input_paths)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | try!(write_pngs( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | let image = try!(image_lib::open(input_path)).to_rgba(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:284:27 [INFO] [stdout] | [INFO] [stdout] 284 | let mut output = &try!(File::create(output_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:290:26 [INFO] [stdout] | [INFO] [stdout] 290 | let mut writer = try!(encoder.write_header()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | try!(writer.write_chunk(png::chunk::PLTE, &rgb_palette)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | try!(writer.write_chunk(png::chunk::tRNS, &alpha_palette)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | try!(writer.write_image_data(&indexed_image_data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Rgba` has no field named `data` [INFO] [stdout] --> src/color/rgb5a3/mod.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 94 | Pixel { [INFO] [stdout] | ----- `Rgba` is a tuple struct, use the appropriate syntax: `Rgba(/* fields */)` [INFO] [stdout] 95 | data: [r, g, b, 0xFF], [INFO] [stdout] | ^^^^ field does not exist [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/image-0.23.12/./src/color.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | Rgba, 4, 1, "RGBA", ColorType::Rgba8, ColorType::Rgba16, #[doc = "RGB colors + alpha channel"]; [INFO] [stdout] | ---- `Rgba` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Rgba` has no field named `data` [INFO] [stdout] --> src/color/rgb5a3/mod.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | Pixel { data: [r, g, b, a] } [INFO] [stdout] | ----- ^^^^ field does not exist [INFO] [stdout] | | [INFO] [stdout] | `Rgba` is a tuple struct, use the appropriate syntax: `Rgba(/* fields */)` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/image-0.23.12/./src/color.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | Rgba, 4, 1, "RGBA", ColorType::Rgba8, ColorType::Rgba16, #[doc = "RGB colors + alpha channel"]; [INFO] [stdout] | ---- `Rgba` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Rgba` has no field named `data` [INFO] [stdout] --> src/color/rgb5a3/tests.rs:23:74 [INFO] [stdout] | [INFO] [stdout] 23 | let test_color = ConvertibleColor::::from(Pixel { data: test_data }); [INFO] [stdout] | ----- ^^^^ field does not exist [INFO] [stdout] | | [INFO] [stdout] | `Rgba` is a tuple struct, use the appropriate syntax: `Rgba(/* fields */)` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/image-0.23.12/./src/color.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | Rgba, 4, 1, "RGBA", ColorType::Rgba8, ColorType::Rgba16, #[doc = "RGB colors + alpha channel"]; [INFO] [stdout] | ---- `Rgba` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Rgba` has no field named `data` [INFO] [stdout] --> src/color/rgb5a3/tests.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 50 | let expected = Pixel { [INFO] [stdout] | ----- `Rgba` is a tuple struct, use the appropriate syntax: `Rgba(/* fields */)` [INFO] [stdout] 51 | data: expected_data, [INFO] [stdout] | ^^^^ field does not exist [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/image-0.23.12/./src/color.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | Rgba, 4, 1, "RGBA", ColorType::Rgba8, ColorType::Rgba16, #[doc = "RGB colors + alpha channel"]; [INFO] [stdout] | ---- `Rgba` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Rgba` has no field named `data` [INFO] [stdout] --> src/color/rgba8.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | data: Pixel { data: [0, 0, 0, 0] }, [INFO] [stdout] | ----- ^^^^ field does not exist [INFO] [stdout] | | [INFO] [stdout] | `Rgba` is a tuple struct, use the appropriate syntax: `Rgba(/* fields */)` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/image-0.23.12/./src/color.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | Rgba, 4, 1, "RGBA", ColorType::Rgba8, ColorType::Rgba16, #[doc = "RGB colors + alpha channel"]; [INFO] [stdout] | ---- `Rgba` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Rgba` has no field named `data` [INFO] [stdout] --> src/color/rgba8.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | data: Pixel { data: [r, g, b, a] }, [INFO] [stdout] | ----- ^^^^ field does not exist [INFO] [stdout] | | [INFO] [stdout] | `Rgba` is a tuple struct, use the appropriate syntax: `Rgba(/* fields */)` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/image-0.23.12/./src/color.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | Rgba, 4, 1, "RGBA", ColorType::Rgba8, ColorType::Rgba16, #[doc = "RGB colors + alpha channel"]; [INFO] [stdout] | ---- `Rgba` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Rgba` has no field named `data` [INFO] [stdout] --> src/color/tests.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | let first: Rgba8 = Pixel { data: first_color }.into(); [INFO] [stdout] | ----- ^^^^ field does not exist [INFO] [stdout] | | [INFO] [stdout] | `Rgba` is a tuple struct, use the appropriate syntax: `Rgba(/* fields */)` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/image-0.23.12/./src/color.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | Rgba, 4, 1, "RGBA", ColorType::Rgba8, ColorType::Rgba16, #[doc = "RGB colors + alpha channel"]; [INFO] [stdout] | ---- `Rgba` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Rgba` has no field named `data` [INFO] [stdout] --> src/color/tests.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | let second: Rgba8 = Pixel { data: second_color }.into(); [INFO] [stdout] | ----- ^^^^ field does not exist [INFO] [stdout] | | [INFO] [stdout] | `Rgba` is a tuple struct, use the appropriate syntax: `Rgba(/* fields */)` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/image-0.23.12/./src/color.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | Rgba, 4, 1, "RGBA", ColorType::Rgba8, ColorType::Rgba16, #[doc = "RGB colors + alpha channel"]; [INFO] [stdout] | ---- `Rgba` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Rgba` has no field named `data` [INFO] [stdout] --> src/color/tests.rs:38:70 [INFO] [stdout] | [INFO] [stdout] 38 | data: ConvertibleColor::::from(Pixel { data: color_data }), [INFO] [stdout] | ----- ^^^^ field does not exist [INFO] [stdout] | | [INFO] [stdout] | `Rgba` is a tuple struct, use the appropriate syntax: `Rgba(/* fields */)` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/image-0.23.12/./src/color.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | Rgba, 4, 1, "RGBA", ColorType::Rgba8, ColorType::Rgba16, #[doc = "RGB colors + alpha channel"]; [INFO] [stdout] | ---- `Rgba` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Rgba` has no field named `data` [INFO] [stdout] --> src/color/tests.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 43 | let expected_mean: Rgba8 = Pixel { [INFO] [stdout] | ----- `Rgba` is a tuple struct, use the appropriate syntax: `Rgba(/* fields */)` [INFO] [stdout] 44 | data: expected_data, [INFO] [stdout] | ^^^^ field does not exist [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/image-0.23.12/./src/color.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | Rgba, 4, 1, "RGBA", ColorType::Rgba8, ColorType::Rgba16, #[doc = "RGB colors + alpha channel"]; [INFO] [stdout] | ---- `Rgba` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Rgba` has no field named `data` [INFO] [stdout] --> src/color/rgb5a3/mod.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 94 | Pixel { [INFO] [stdout] | ----- `Rgba` is a tuple struct, use the appropriate syntax: `Rgba(/* fields */)` [INFO] [stdout] 95 | data: [r, g, b, 0xFF], [INFO] [stdout] | ^^^^ field does not exist [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/image-0.23.12/./src/color.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | Rgba, 4, 1, "RGBA", ColorType::Rgba8, ColorType::Rgba16, #[doc = "RGB colors + alpha channel"]; [INFO] [stdout] | ---- `Rgba` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Rgba` has no field named `data` [INFO] [stdout] --> src/color/rgb5a3/mod.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | Pixel { data: [r, g, b, a] } [INFO] [stdout] | ----- ^^^^ field does not exist [INFO] [stdout] | | [INFO] [stdout] | `Rgba` is a tuple struct, use the appropriate syntax: `Rgba(/* fields */)` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/image-0.23.12/./src/color.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | Rgba, 4, 1, "RGBA", ColorType::Rgba8, ColorType::Rgba16, #[doc = "RGB colors + alpha channel"]; [INFO] [stdout] | ---- `Rgba` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Rgba` has no field named `data` [INFO] [stdout] --> src/color/rgba8.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | data: Pixel { data: [0, 0, 0, 0] }, [INFO] [stdout] | ----- ^^^^ field does not exist [INFO] [stdout] | | [INFO] [stdout] | `Rgba` is a tuple struct, use the appropriate syntax: `Rgba(/* fields */)` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/image-0.23.12/./src/color.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | Rgba, 4, 1, "RGBA", ColorType::Rgba8, ColorType::Rgba16, #[doc = "RGB colors + alpha channel"]; [INFO] [stdout] | ---- `Rgba` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `image_lib::DynamicImage::to_rgba`: replaced by `to_rgba8` [INFO] [stdout] --> src/images/mod.rs:79:55 [INFO] [stdout] | [INFO] [stdout] 79 | let image = try!(image_lib::open(input_path)).to_rgba(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Rgba` has no field named `data` [INFO] [stdout] --> src/color/rgba8.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | data: Pixel { data: [r, g, b, a] }, [INFO] [stdout] | ----- ^^^^ field does not exist [INFO] [stdout] | | [INFO] [stdout] | `Rgba` is a tuple struct, use the appropriate syntax: `Rgba(/* fields */)` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/image-0.23.12/./src/color.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | Rgba, 4, 1, "RGBA", ColorType::Rgba8, ColorType::Rgba16, #[doc = "RGB colors + alpha channel"]; [INFO] [stdout] | ---- `Rgba` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `image_lib::DynamicImage::to_rgba`: replaced by `to_rgba8` [INFO] [stdout] --> src/images/mod.rs:79:55 [INFO] [stdout] | [INFO] [stdout] 79 | let image = try!(image_lib::open(input_path)).to_rgba(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set` found for struct `png::Encoder<&File>` in the current scope [INFO] [stdout] --> src/images/mod.rs:287:14 [INFO] [stdout] | [INFO] [stdout] 287 | .set(png::ColorType::Indexed) [INFO] [stdout] | ^^^ method not found in `png::Encoder<&File>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `color_smash` [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 `set` found for struct `png::Encoder<&File>` in the current scope [INFO] [stdout] --> src/images/mod.rs:287:14 [INFO] [stdout] | [INFO] [stdout] 287 | .set(png::ColorType::Indexed) [INFO] [stdout] | ^^^ method not found in `png::Encoder<&File>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `image_lib::DynamicImage::to_rgba`: replaced by `to_rgba8` [INFO] [stdout] --> src/images/tests.rs:12:52 [INFO] [stdout] | [INFO] [stdout] 12 | image_lib::open(&Path::new("00.png")).unwrap().to_rgba() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `data` on type `&Rgba` [INFO] [stdout] --> src/images/tests.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | if color.data[3] == 0 { [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `data` on type `&Rgba` [INFO] [stdout] --> src/images/tests.rs:46:34 [INFO] [stdout] | [INFO] [stdout] 46 | assert_eq!(color.data, [0, 0, 0, 0]); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0560, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e042a180061cdefe60fd78975c1fc263c4513666a2ab90f8060e9115367b86eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e042a180061cdefe60fd78975c1fc263c4513666a2ab90f8060e9115367b86eb", kill_on_drop: false }` [INFO] [stdout] e042a180061cdefe60fd78975c1fc263c4513666a2ab90f8060e9115367b86eb