[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] testing obsidianical/sinowgen-rust against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fobsidianical%2Fsinowgen-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/obsidianical/sinowgen-rust on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", 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] Downloading crates ... [INFO] [stderr] Downloaded opensimplex_noise_rs v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3336365ecb9fee8976c3fa497de169cb3a5920d1225b9c41fd0cc8652b9242b [INFO] running `Command { std: "docker" "start" "-a" "a3336365ecb9fee8976c3fa497de169cb3a5920d1225b9c41fd0cc8652b9242b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3336365ecb9fee8976c3fa497de169cb3a5920d1225b9c41fd0cc8652b9242b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3336365ecb9fee8976c3fa497de169cb3a5920d1225b9c41fd0cc8652b9242b", kill_on_drop: false }` [INFO] [stdout] a3336365ecb9fee8976c3fa497de169cb3a5920d1225b9c41fd0cc8652b9242b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e42881921b74a5ae0c632caf795642f85407b9cafb96152b88d80f946c1c4dcc [INFO] running `Command { std: "docker" "start" "-a" "e42881921b74a5ae0c632caf795642f85407b9cafb96152b88d80f946c1c4dcc", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling opensimplex_noise_rs v0.3.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling 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] 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[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[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 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 [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: `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] [stderr] error: could not compile `sinowgen-rust` (bin "sinowgen-rust") due to 14 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e42881921b74a5ae0c632caf795642f85407b9cafb96152b88d80f946c1c4dcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e42881921b74a5ae0c632caf795642f85407b9cafb96152b88d80f946c1c4dcc", kill_on_drop: false }` [INFO] [stdout] e42881921b74a5ae0c632caf795642f85407b9cafb96152b88d80f946c1c4dcc