[INFO] cloning repository https://github.com/jcm2606/volume-noise-generator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jcm2606/volume-noise-generator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcm2606%2Fvolume-noise-generator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcm2606%2Fvolume-noise-generator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 17d7d589f774d1dc383868d4ef5355a261a7228f [INFO] building jcm2606/volume-noise-generator against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcm2606%2Fvolume-noise-generator" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jcm2606/volume-noise-generator [INFO] finished tweaking git repo https://github.com/jcm2606/volume-noise-generator [INFO] tweaked toml for git repo https://github.com/jcm2606/volume-noise-generator written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jcm2606/volume-noise-generator on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jcm2606/volume-noise-generator 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded darling_macro v0.21.0 [INFO] [stderr] Downloaded bon v3.6.5 [INFO] [stderr] Downloaded darling v0.21.0 [INFO] [stderr] Downloaded bon-macros v3.6.5 [INFO] [stderr] Downloaded noise v0.9.0 [INFO] [stderr] Downloaded darling_core v0.21.0 [INFO] [stderr] Downloaded glam v0.30.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 202563161b8cd08d5075c232fefa9916188a63f95c24af2735ecbb18c157483a [INFO] running `Command { std: "docker" "start" "-a" "202563161b8cd08d5075c232fefa9916188a63f95c24af2735ecbb18c157483a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "202563161b8cd08d5075c232fefa9916188a63f95c24af2735ecbb18c157483a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "202563161b8cd08d5075c232fefa9916188a63f95c24af2735ecbb18c157483a", kill_on_drop: false }` [INFO] [stdout] 202563161b8cd08d5075c232fefa9916188a63f95c24af2735ecbb18c157483a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 644f22725631525fe7dfbc0f4dc8a5e2c1eb8e07c1c8ec18e03661e6b819b36e [INFO] running `Command { std: "docker" "start" "-a" "644f22725631525fe7dfbc0f4dc8a5e2c1eb8e07c1c8ec18e03661e6b819b36e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling avif-serialize v0.8.5 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling zune-jpeg v0.4.20 [INFO] [stderr] Compiling image-webp v0.2.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling glam v0.30.5 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling noise v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling darling_core v0.21.0 [INFO] [stderr] Compiling prettyplease v0.2.36 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling darling_macro v0.21.0 [INFO] [stderr] Compiling darling v0.21.0 [INFO] [stderr] Compiling bon-macros v3.6.5 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling bon v3.6.5 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling volume-noise-generator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sample_perlin_noise` [INFO] [stdout] --> src/main.rs:5:46 [INFO] [stdout] | [INFO] [stdout] 5 | sample_perlin_fbm, sample_perlin_fbm_2d, sample_perlin_noise, sample_perlin_noise_2d, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sample_vector_field` [INFO] [stdout] --> src/main.rs:7:37 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::samplers::vector_field::{sample_vector_field, sample_vector_field_fbm}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sample_worley_noise` [INFO] [stdout] --> src/main.rs:9:46 [INFO] [stdout] | [INFO] [stdout] 9 | sample_worley_fbm, sample_worley_fbm_2d, sample_worley_noise, sample_worley_noise_2d, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/samplers/perlin.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | let point = (rand_vector_3d( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 67 | - 1f32); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 64 ~ let point = rand_vector_3d( [INFO] [stdout] 65 | (hash_ivec3((pi + offset).rem_euclid(splatted_frequency)) & 15u32).wrapping_add(*seed), [INFO] [stdout] 66 | ) * 2f32 [INFO] [stdout] 67 ~ - 1f32 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/samplers/perlin.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | let point = (rand_vector_2d( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 123 | - 1f32); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 120 ~ let point = rand_vector_2d( [INFO] [stdout] 121 | (hash_ivec2((pi + offset).rem_euclid(splatted_frequency)) & 15u32).wrapping_add(*seed), [INFO] [stdout] 122 | ) * 2f32 [INFO] [stdout] 123 ~ - 1f32 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::samplers::perlin::sample_perlin_noise` [INFO] [stdout] --> src/samplers/vector_field.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::samplers::perlin::sample_perlin_noise; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `clamp_vec3`, `clamp`, and `mix` [INFO] [stdout] --> src/samplers/vector_field.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::util::{clamp, clamp_vec3, mix, mix_vec3}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/samplers/vector_field.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | (rand_vector_3d( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 68 | - 1f32) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 ~ rand_vector_3d( [INFO] [stdout] 66 | (hash_ivec3((pi + offset).rem_euclid(splatted_frequency)) & 15u32).wrapping_add(*seed), [INFO] [stdout] 67 | ) * 2f32 [INFO] [stdout] 68 ~ - 1f32 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pf` [INFO] [stdout] --> src/samplers/vector_field.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | pf: glam::Vec3, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_hf_cloud_noisetex` is never used [INFO] [stdout] --> src/main.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn generate_hf_cloud_noisetex(index: u32, seed: &u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_perlin_noisetex` is never used [INFO] [stdout] --> src/main.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn generate_perlin_noisetex(index: u32, seed: &u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_perlin_fbm_noisetex` is never used [INFO] [stdout] --> src/main.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn generate_perlin_fbm_noisetex(index: u32, seed: &u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_worley_noisetex` is never used [INFO] [stdout] --> src/main.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn generate_worley_noisetex(index: u32, seed: &u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_3d_curl_noise` is never used [INFO] [stdout] --> src/main.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn generate_3d_curl_noise(index: u32, seed: &u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pcg_2d` is never used [INFO] [stdout] --> src/hash.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn pcg_2d(mut v: glam::UVec2) -> glam::UVec2 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pcg_3d` is never used [INFO] [stdout] --> src/hash.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn pcg_3d(mut v: glam::UVec3) -> glam::UVec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_vector_2d` is never used [INFO] [stdout] --> src/hash.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn rand_vector_2d(v: u32) -> glam::Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `per_pixel_seed` is never used [INFO] [stdout] --> src/hash.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn per_pixel_seed(xyz: glam::UVec3, size: glam::UVec3) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_ivec2` is never used [INFO] [stdout] --> src/hash.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn hash_ivec2(v: glam::IVec2) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `NoisetexRgb8` is never used [INFO] [stdout] --> src/noisetex.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type NoisetexRgb8 = Noisetex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `NoisetexRg8` is never used [INFO] [stdout] --> src/noisetex.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type NoisetexRg8 = Noisetex; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `NoisetexR8` is never used [INFO] [stdout] --> src/noisetex.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub type NoisetexR8 = Noisetex; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save_as_image` is never used [INFO] [stdout] --> src/noisetex.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 29 | / impl

Noisetex

[INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | P: PixelType, [INFO] [stdout] | |_________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn save_as_image(&self, path: Pt) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `create_image`, `save_image`, and `write_to_image` are never used [INFO] [stdout] --> src/noisetex.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub trait PixelType: Sized + Send + Sync + Clone + Default { [INFO] [stdout] | --------- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 105 | fn create_image(width: u32, height: u32) -> Self::ImageType; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 106 | [INFO] [stdout] 107 | fn save_image

(path: P, img: Self::ImageType) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | fn write_to_image(&self, x: u32, y: u32, img: &mut Self::ImageType); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rgb8` is never constructed [INFO] [stdout] --> src/noisetex.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub struct Rgb8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rg8` is never constructed [INFO] [stdout] --> src/noisetex.rs:234:12 [INFO] [stdout] | [INFO] [stdout] 234 | pub struct Rg8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `R8` is never constructed [INFO] [stdout] --> src/noisetex.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 272 | pub struct R8 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_perlin_noise_2d` is never used [INFO] [stdout] --> src/samplers/perlin.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn sample_perlin_noise_2d(mut uvw: glam::Vec2, frequency: f32, seed: &mut u32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_perlin_fbm_2d` is never used [INFO] [stdout] --> src/samplers/perlin.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn sample_perlin_fbm_2d( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `project_2d` is never used [INFO] [stdout] --> src/samplers/perlin.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn project_2d( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_vector_field` is never used [INFO] [stdout] --> src/samplers/vector_field.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn sample_vector_field(mut uvw: glam::Vec3, frequency: f32, seed: &mut u32) -> glam::Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_vector_field_fbm` is never used [INFO] [stdout] --> src/samplers/vector_field.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn sample_vector_field_fbm( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_direction` is never used [INFO] [stdout] --> src/samplers/vector_field.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn random_direction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_worley_noise_2d` is never used [INFO] [stdout] --> src/samplers/worley.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn sample_worley_noise_2d(mut uvw: glam::Vec2, frequency: f32, seed: &mut u32) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_worley_fbm_2d` is never used [INFO] [stdout] --> src/samplers/worley.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn sample_worley_fbm_2d( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clamp_vec3` is never used [INFO] [stdout] --> src/util.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn clamp_vec3(value: glam::Vec3, min: f32, max: f32) -> glam::Vec3 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mix_vec3` is never used [INFO] [stdout] --> src/util.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn mix_vec3(x: glam::Vec3, y: glam::Vec3, alpha: f32) -> glam::Vec3 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remap_clamp` is never used [INFO] [stdout] --> src/util.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn remap_clamp(value: f32, old_min: f32, old_max: f32, new_min: f32, new_max: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `smoothstep` is never used [INFO] [stdout] --> src/util.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn smoothstep(a: f32, b: f32, mut value: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.12s [INFO] running `Command { std: "docker" "inspect" "644f22725631525fe7dfbc0f4dc8a5e2c1eb8e07c1c8ec18e03661e6b819b36e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "644f22725631525fe7dfbc0f4dc8a5e2c1eb8e07c1c8ec18e03661e6b819b36e", kill_on_drop: false }` [INFO] [stdout] 644f22725631525fe7dfbc0f4dc8a5e2c1eb8e07c1c8ec18e03661e6b819b36e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c57f0390e761fbcb8013012b042720ad4a73495d7f4ef1fc4d1cc60c68fbaa71 [INFO] running `Command { std: "docker" "start" "-a" "c57f0390e761fbcb8013012b042720ad4a73495d7f4ef1fc4d1cc60c68fbaa71", kill_on_drop: false }` [INFO] [stderr] Compiling volume-noise-generator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sample_perlin_noise` [INFO] [stdout] --> src/main.rs:5:46 [INFO] [stdout] | [INFO] [stdout] 5 | sample_perlin_fbm, sample_perlin_fbm_2d, sample_perlin_noise, sample_perlin_noise_2d, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sample_vector_field` [INFO] [stdout] --> src/main.rs:7:37 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::samplers::vector_field::{sample_vector_field, sample_vector_field_fbm}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sample_worley_noise` [INFO] [stdout] --> src/main.rs:9:46 [INFO] [stdout] | [INFO] [stdout] 9 | sample_worley_fbm, sample_worley_fbm_2d, sample_worley_noise, sample_worley_noise_2d, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/samplers/perlin.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | let point = (rand_vector_3d( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 67 | - 1f32); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 64 ~ let point = rand_vector_3d( [INFO] [stdout] 65 | (hash_ivec3((pi + offset).rem_euclid(splatted_frequency)) & 15u32).wrapping_add(*seed), [INFO] [stdout] 66 | ) * 2f32 [INFO] [stdout] 67 ~ - 1f32 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/samplers/perlin.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | let point = (rand_vector_2d( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 123 | - 1f32); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 120 ~ let point = rand_vector_2d( [INFO] [stdout] 121 | (hash_ivec2((pi + offset).rem_euclid(splatted_frequency)) & 15u32).wrapping_add(*seed), [INFO] [stdout] 122 | ) * 2f32 [INFO] [stdout] 123 ~ - 1f32 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::samplers::perlin::sample_perlin_noise` [INFO] [stdout] --> src/samplers/vector_field.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::samplers::perlin::sample_perlin_noise; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `clamp_vec3`, `clamp`, and `mix` [INFO] [stdout] --> src/samplers/vector_field.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::util::{clamp, clamp_vec3, mix, mix_vec3}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/samplers/vector_field.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | (rand_vector_3d( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 68 | - 1f32) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 ~ rand_vector_3d( [INFO] [stdout] 66 | (hash_ivec3((pi + offset).rem_euclid(splatted_frequency)) & 15u32).wrapping_add(*seed), [INFO] [stdout] 67 | ) * 2f32 [INFO] [stdout] 68 ~ - 1f32 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pf` [INFO] [stdout] --> src/samplers/vector_field.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | pf: glam::Vec3, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_hf_cloud_noisetex` is never used [INFO] [stdout] --> src/main.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn generate_hf_cloud_noisetex(index: u32, seed: &u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_perlin_noisetex` is never used [INFO] [stdout] --> src/main.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn generate_perlin_noisetex(index: u32, seed: &u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_perlin_fbm_noisetex` is never used [INFO] [stdout] --> src/main.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn generate_perlin_fbm_noisetex(index: u32, seed: &u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_worley_noisetex` is never used [INFO] [stdout] --> src/main.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn generate_worley_noisetex(index: u32, seed: &u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_3d_curl_noise` is never used [INFO] [stdout] --> src/main.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn generate_3d_curl_noise(index: u32, seed: &u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pcg_2d` is never used [INFO] [stdout] --> src/hash.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn pcg_2d(mut v: glam::UVec2) -> glam::UVec2 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pcg_3d` is never used [INFO] [stdout] --> src/hash.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn pcg_3d(mut v: glam::UVec3) -> glam::UVec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_vector_2d` is never used [INFO] [stdout] --> src/hash.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn rand_vector_2d(v: u32) -> glam::Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `per_pixel_seed` is never used [INFO] [stdout] --> src/hash.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn per_pixel_seed(xyz: glam::UVec3, size: glam::UVec3) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_ivec2` is never used [INFO] [stdout] --> src/hash.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn hash_ivec2(v: glam::IVec2) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `NoisetexRgb8` is never used [INFO] [stdout] --> src/noisetex.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type NoisetexRgb8 = Noisetex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `NoisetexRg8` is never used [INFO] [stdout] --> src/noisetex.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type NoisetexRg8 = Noisetex; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `NoisetexR8` is never used [INFO] [stdout] --> src/noisetex.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub type NoisetexR8 = Noisetex; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save_as_image` is never used [INFO] [stdout] --> src/noisetex.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 29 | / impl

Noisetex

[INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | P: PixelType, [INFO] [stdout] | |_________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn save_as_image(&self, path: Pt) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `create_image`, `save_image`, and `write_to_image` are never used [INFO] [stdout] --> src/noisetex.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub trait PixelType: Sized + Send + Sync + Clone + Default { [INFO] [stdout] | --------- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 105 | fn create_image(width: u32, height: u32) -> Self::ImageType; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 106 | [INFO] [stdout] 107 | fn save_image

(path: P, img: Self::ImageType) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | fn write_to_image(&self, x: u32, y: u32, img: &mut Self::ImageType); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rgb8` is never constructed [INFO] [stdout] --> src/noisetex.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub struct Rgb8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rg8` is never constructed [INFO] [stdout] --> src/noisetex.rs:234:12 [INFO] [stdout] | [INFO] [stdout] 234 | pub struct Rg8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `R8` is never constructed [INFO] [stdout] --> src/noisetex.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 272 | pub struct R8 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_perlin_noise_2d` is never used [INFO] [stdout] --> src/samplers/perlin.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn sample_perlin_noise_2d(mut uvw: glam::Vec2, frequency: f32, seed: &mut u32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_perlin_fbm_2d` is never used [INFO] [stdout] --> src/samplers/perlin.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn sample_perlin_fbm_2d( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `project_2d` is never used [INFO] [stdout] --> src/samplers/perlin.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn project_2d( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_vector_field` is never used [INFO] [stdout] --> src/samplers/vector_field.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn sample_vector_field(mut uvw: glam::Vec3, frequency: f32, seed: &mut u32) -> glam::Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_vector_field_fbm` is never used [INFO] [stdout] --> src/samplers/vector_field.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn sample_vector_field_fbm( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_direction` is never used [INFO] [stdout] --> src/samplers/vector_field.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn random_direction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_worley_noise_2d` is never used [INFO] [stdout] --> src/samplers/worley.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn sample_worley_noise_2d(mut uvw: glam::Vec2, frequency: f32, seed: &mut u32) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_worley_fbm_2d` is never used [INFO] [stdout] --> src/samplers/worley.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn sample_worley_fbm_2d( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clamp_vec3` is never used [INFO] [stdout] --> src/util.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn clamp_vec3(value: glam::Vec3, min: f32, max: f32) -> glam::Vec3 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mix_vec3` is never used [INFO] [stdout] --> src/util.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn mix_vec3(x: glam::Vec3, y: glam::Vec3, alpha: f32) -> glam::Vec3 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remap_clamp` is never used [INFO] [stdout] --> src/util.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn remap_clamp(value: f32, old_min: f32, old_max: f32, new_min: f32, new_max: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `smoothstep` is never used [INFO] [stdout] --> src/util.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn smoothstep(a: f32, b: f32, mut value: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "c57f0390e761fbcb8013012b042720ad4a73495d7f4ef1fc4d1cc60c68fbaa71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c57f0390e761fbcb8013012b042720ad4a73495d7f4ef1fc4d1cc60c68fbaa71", kill_on_drop: false }` [INFO] [stdout] c57f0390e761fbcb8013012b042720ad4a73495d7f4ef1fc4d1cc60c68fbaa71