[INFO] cloning repository https://github.com/obsidianical/sinowgen-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/obsidianical/sinowgen-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fobsidianical%2Fsinowgen-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fobsidianical%2Fsinowgen-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4b596425cf8f441021bb448999ef5fdbb65957e4 [INFO] checking obsidianical/sinowgen-rust against try#dd2d87b6cc31907ae305875eb6be399783dc0256 for pr-143929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fobsidianical%2Fsinowgen-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/obsidianical/sinowgen-rust [INFO] finished tweaking git repo https://github.com/obsidianical/sinowgen-rust [INFO] tweaked toml for git repo https://github.com/obsidianical/sinowgen-rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/obsidianical/sinowgen-rust on toolchain dd2d87b6cc31907ae305875eb6be399783dc0256 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dd2d87b6cc31907ae305875eb6be399783dc0256" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/obsidianical/sinowgen-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dd2d87b6cc31907ae305875eb6be399783dc0256" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded opensimplex_noise_rs v0.3.0 [INFO] [stderr] Downloaded libc v0.2.104 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+dd2d87b6cc31907ae305875eb6be399783dc0256" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 708ab3e94ac328d480ca61b9c703963f730a610422ec3c9518d963de38c4387d [INFO] running `Command { std: "docker" "start" "-a" "708ab3e94ac328d480ca61b9c703963f730a610422ec3c9518d963de38c4387d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "708ab3e94ac328d480ca61b9c703963f730a610422ec3c9518d963de38c4387d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "708ab3e94ac328d480ca61b9c703963f730a610422ec3c9518d963de38c4387d", kill_on_drop: false }` [INFO] [stdout] 708ab3e94ac328d480ca61b9c703963f730a610422ec3c9518d963de38c4387d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+dd2d87b6cc31907ae305875eb6be399783dc0256" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8370800e508e06f75b1df89a64fb58958d803878abf78bc11fe79563773bf56a [INFO] running `Command { std: "docker" "start" "-a" "8370800e508e06f75b1df89a64fb58958d803878abf78bc11fe79563773bf56a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Checking opensimplex_noise_rs v0.3.0 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking sinowgen-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/map.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | impl Map { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | impl Map { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/map.rs:14:60 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) fn set_pos(&mut self, pos: [u32; 2], value: T) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/map.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | impl Copy for Map {} [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 26 | impl Copy for Map {} [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/map.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | impl Clone for Map { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 28 | impl Clone for Map { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/map.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | impl Map { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | impl Map { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/map.rs:14:60 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) fn set_pos(&mut self, pos: [u32; 2], value: T) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/map.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | impl Copy for Map {} [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 26 | impl Copy for Map {} [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/map.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | impl Clone for Map { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 28 | impl Clone for Map { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `opensimplex_noise_rs::OpenSimplexNoise` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use opensimplex_noise_rs::OpenSimplexNoise; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `opensimplex_noise_rs::OpenSimplexNoise` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use opensimplex_noise_rs::OpenSimplexNoise; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_index` in this scope [INFO] [stdout] --> src/map.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | self.map[get_index(pos)] = value; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider using the method on `Self` [INFO] [stdout] | [INFO] [stdout] 15 | self.map[self.get_index(pos)] = value; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_index` in this scope [INFO] [stdout] --> src/map.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | self.map[get_index(pos)] [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider using the method on `Self` [INFO] [stdout] | [INFO] [stdout] 18 | self.map[self.get_index(pos)] [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_index` in this scope [INFO] [stdout] --> src/map.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | self.map[get_index(pos)] = value; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider using the method on `Self` [INFO] [stdout] | [INFO] [stdout] 15 | self.map[self.get_index(pos)] = value; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | let y = (index % width) as u32; [INFO] [stdout] | ^^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_index` in this scope [INFO] [stdout] --> src/map.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | self.map[get_index(pos)] [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider using the method on `Self` [INFO] [stdout] | [INFO] [stdout] 18 | self.map[self.get_index(pos)] [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | let y = (index % width) as u32; [INFO] [stdout] | ^^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot calculate the remainder of `usize` divided by `u32` [INFO] [stdout] --> src/map.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | let y = (index % width) as u32; [INFO] [stdout] | ^ no implementation for `usize % u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Rem` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `Rem`: [INFO] [stdout] `&usize` implements `Rem` [INFO] [stdout] `&usize` implements `Rem` [INFO] [stdout] `usize` implements `Rem<&usize>` [INFO] [stdout] `usize` implements `Rem>` [INFO] [stdout] `usize` implements `Rem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot calculate the remainder of `usize` divided by `u32` [INFO] [stdout] --> src/map.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | let y = (index % width) as u32; [INFO] [stdout] | ^ no implementation for `usize % u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Rem` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `Rem`: [INFO] [stdout] `&usize` implements `Rem` [INFO] [stdout] `&usize` implements `Rem` [INFO] [stdout] `usize` implements `Rem<&usize>` [INFO] [stdout] `usize` implements `Rem>` [INFO] [stdout] `usize` implements `Rem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | [((index - y) / width) as u32, y] [INFO] [stdout] | ^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | [((index - y) / width) as u32, y] [INFO] [stdout] | ^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `u32` from `usize` [INFO] [stdout] --> src/map.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | [((index - y) / width) as u32, y] [INFO] [stdout] | ^ no implementation for `usize - u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Sub` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `std::ops::Sub`: [INFO] [stdout] `&usize` implements `std::ops::Sub` [INFO] [stdout] `&usize` implements `std::ops::Sub` [INFO] [stdout] `usize` implements `std::ops::Sub<&usize>` [INFO] [stdout] `usize` implements `std::ops::Sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | [((index - y) / width) as u32, y] [INFO] [stdout] | ^^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `u32` from `usize` [INFO] [stdout] --> src/map.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | [((index - y) / width) as u32, y] [INFO] [stdout] | ^ no implementation for `usize - u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Sub` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `std::ops::Sub`: [INFO] [stdout] `&usize` implements `std::ops::Sub` [INFO] [stdout] `&usize` implements `std::ops::Sub` [INFO] [stdout] `usize` implements `std::ops::Sub<&usize>` [INFO] [stdout] `usize` implements `std::ops::Sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot divide `usize` by `u32` [INFO] [stdout] --> src/map.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | [((index - y) / width) as u32, y] [INFO] [stdout] | ^ no implementation for `usize / u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Div` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `Div`: [INFO] [stdout] `&usize` implements `Div` [INFO] [stdout] `&usize` implements `Div` [INFO] [stdout] `usize` implements `Div<&usize>` [INFO] [stdout] `usize` implements `Div>` [INFO] [stdout] `usize` implements `Div` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | [((index - y) / width) as u32, y] [INFO] [stdout] | ^^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot divide `usize` by `u32` [INFO] [stdout] --> src/map.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | [((index - y) / width) as u32, y] [INFO] [stdout] | ^ no implementation for `usize / u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Div` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `Div`: [INFO] [stdout] `&usize` implements `Div` [INFO] [stdout] `&usize` implements `Div` [INFO] [stdout] `usize` implements `Div<&usize>` [INFO] [stdout] `usize` implements `Div>` [INFO] [stdout] `usize` implements `Div` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `ImageBuffer<_, Vec<_>>` [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let mut image_buffer = image::ImageBuffer::new(WIDTH, HEIGHT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ------------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Pixel` [INFO] [stdout] = help: the following types implement trait `Pixel`: [INFO] [stdout] Bgr [INFO] [stdout] Bgra [INFO] [stdout] Luma [INFO] [stdout] LumaA [INFO] [stdout] Rgb [INFO] [stdout] Rgba [INFO] [stdout] note: required by a bound in `ImageBuffer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/image-0.23.14/src/buffer.rs:609:27 [INFO] [stdout] | [INFO] [stdout] 609 | pub struct ImageBuffer { [INFO] [stdout] | ^^^^^ required by this bound in `ImageBuffer` [INFO] [stdout] help: consider giving `image_buffer` an explicit type, where the type for type parameter `P` is specified [INFO] [stdout] | [INFO] [stdout] 37 | let mut image_buffer: ImageBuffer> = image::ImageBuffer::new(WIDTH, HEIGHT); [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `ImageBuffer<_, Vec<_>>` [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let mut image_buffer = image::ImageBuffer::new(WIDTH, HEIGHT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ------------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Pixel` [INFO] [stdout] = help: the following types implement trait `Pixel`: [INFO] [stdout] Bgr [INFO] [stdout] Bgra [INFO] [stdout] Luma [INFO] [stdout] LumaA [INFO] [stdout] Rgb [INFO] [stdout] Rgba [INFO] [stdout] note: required by a bound in `ImageBuffer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/image-0.23.14/src/buffer.rs:609:27 [INFO] [stdout] | [INFO] [stdout] 609 | pub struct ImageBuffer { [INFO] [stdout] | ^^^^^ required by this bound in `ImageBuffer` [INFO] [stdout] help: consider giving `image_buffer` an explicit type, where the type for type parameter `P` is specified [INFO] [stdout] | [INFO] [stdout] 37 | let mut image_buffer: ImageBuffer> = image::ImageBuffer::new(WIDTH, HEIGHT); [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/main.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | image_buffer.save("fractal.png").unwrap(); [INFO] [stdout] | ^^^^ cannot infer type for slice `[_]` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `[_]: EncodableLayout` found in the `image` crate: [INFO] [stdout] - impl EncodableLayout for [u16]; [INFO] [stdout] - impl EncodableLayout for [u8]; [INFO] [stdout] note: required by a bound in `ImageBuffer::::save` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/image-0.23.14/src/buffer.rs:893:20 [INFO] [stdout] | [INFO] [stdout] 893 | [P::Subpixel]: EncodableLayout, [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `ImageBuffer::::save` [INFO] [stdout] ... [INFO] [stdout] 900 | pub fn save(&self, path: Q) -> ImageResult<()> [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/main.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | image_buffer.save("fractal.png").unwrap(); [INFO] [stdout] | ^^^^ cannot infer type for slice `[_]` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `[_]: EncodableLayout` found in the `image` crate: [INFO] [stdout] - impl EncodableLayout for [u16]; [INFO] [stdout] - impl EncodableLayout for [u8]; [INFO] [stdout] note: required by a bound in `ImageBuffer::::save` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/image-0.23.14/src/buffer.rs:893:20 [INFO] [stdout] | [INFO] [stdout] 893 | [P::Subpixel]: EncodableLayout, [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `ImageBuffer::::save` [INFO] [stdout] ... [INFO] [stdout] 900 | pub fn save(&self, path: Q) -> ImageResult<()> [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/fractal_noise.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | for i in 0..self.noise_cfg.octaves { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/fractal_noise.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | for i in 0..self.noise_cfg.octaves { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xf` [INFO] [stdout] --> src/noise_map_gen.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | let (xf, yf) = (x as f64, y as f64); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_xf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yf` [INFO] [stdout] --> src/noise_map_gen.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | let (xf, yf) = (x as f64, y as f64); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_yf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `biome_mappings` [INFO] [stdout] --> src/noise_map_gen.rs:25:45 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn make_color_map(&mut self, biome_mappings: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_biome_mappings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xf` [INFO] [stdout] --> src/noise_map_gen.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | let (xf, yf) = (x as f64, y as f64); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_xf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yf` [INFO] [stdout] --> src/noise_map_gen.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | let (xf, yf) = (x as f64, y as f64); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_yf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `biome_mappings` [INFO] [stdout] --> src/noise_map_gen.rs:25:45 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn make_color_map(&mut self, biome_mappings: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_biome_mappings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0283, E0308, E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0283, E0308, E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sinowgen-rust` (bin "sinowgen-rust") due to 14 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `sinowgen-rust` (bin "sinowgen-rust" test) due to 14 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8370800e508e06f75b1df89a64fb58958d803878abf78bc11fe79563773bf56a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8370800e508e06f75b1df89a64fb58958d803878abf78bc11fe79563773bf56a", kill_on_drop: false }` [INFO] [stdout] 8370800e508e06f75b1df89a64fb58958d803878abf78bc11fe79563773bf56a