[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 beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeterHatch%2Fcolor-smash" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PeterHatch/color-smash on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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-5/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" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-5/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" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e09eb2e8857c2039f6607c43bf991dc380fed3b1080006f46e41a3747f62a8d [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" "9e09eb2e8857c2039f6607c43bf991dc380fed3b1080006f46e41a3747f62a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e09eb2e8857c2039f6607c43bf991dc380fed3b1080006f46e41a3747f62a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e09eb2e8857c2039f6607c43bf991dc380fed3b1080006f46e41a3747f62a8d", kill_on_drop: false }` [INFO] [stdout] 9e09eb2e8857c2039f6607c43bf991dc380fed3b1080006f46e41a3747f62a8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3e35a1519da7013e323b22d2ad44caf141c08d8125027256768110a5e284e2b [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" "f3e35a1519da7013e323b22d2ad44caf141c08d8125027256768110a5e284e2b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking ordered-float v2.0.0 [INFO] [stderr] Checking num-bigint v0.3.1 [INFO] [stderr] Checking num-iter v0.1.42 [INFO] [stderr] Checking num-rational v0.3.2 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking image v0.23.11 [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] 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] 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[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | #![cfg_attr(test, feature(test))] [INFO] [stdout] | ^^^^^^^^^^^^^ [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] 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.11/./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.11/./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.11/./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.11/./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.11/./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.11/./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.11/./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.11/./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.11/./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.11/./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.11/./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.11/./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.11/./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.11/./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[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[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[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 6 previous errors; 9 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: aborting due to 15 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0554, 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" "f3e35a1519da7013e323b22d2ad44caf141c08d8125027256768110a5e284e2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3e35a1519da7013e323b22d2ad44caf141c08d8125027256768110a5e284e2b", kill_on_drop: false }` [INFO] [stdout] f3e35a1519da7013e323b22d2ad44caf141c08d8125027256768110a5e284e2b