[INFO] cloning repository https://github.com/aifx-art/noisegen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aifx-art/noisegen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faifx-art%2Fnoisegen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faifx-art%2Fnoisegen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2fb6b3a1cd84404e659f6266e8c6b99769aa14b1 [INFO] building aifx-art/noisegen against master#eb171a227f9e5de5d376b6edb56b174bc8235fb3 for pr-149937 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faifx-art%2Fnoisegen" "/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/aifx-art/noisegen [INFO] finished tweaking git repo https://github.com/aifx-art/noisegen [INFO] tweaked toml for git repo https://github.com/aifx-art/noisegen written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aifx-art/noisegen on toolchain eb171a227f9e5de5d376b6edb56b174bc8235fb3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aifx-art/noisegen 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" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/huggingface/candle.git` [INFO] [stderr] Updating git submodule `https://github.com/NVIDIA/cutlass.git` [INFO] [stderr] Updating git submodule `https://github.com/NVIDIA/cutlass` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded derive_arbitrary v1.4.2 [INFO] [stderr] Downloaded aligned v0.4.3 [INFO] [stderr] Downloaded seq-macro v0.3.6 [INFO] [stderr] Downloaded flate2 v1.1.4 [INFO] [stderr] Downloaded dyn-stack-macros v0.1.0 [INFO] [stderr] Downloaded find-msvc-tools v0.1.3 [INFO] [stderr] Downloaded safetensors v0.6.2 [INFO] [stderr] Downloaded float8 v0.4.2 [INFO] [stderr] Downloaded dyn-stack v0.13.2 [INFO] [stderr] Downloaded cc v1.2.40 [INFO] [stderr] Downloaded rand_distr v0.5.1 [INFO] [stderr] Downloaded ug v0.5.0 [INFO] [stderr] Downloaded zune-jpeg v0.5.8 [INFO] [stderr] Downloaded moxcms v0.7.6 [INFO] [stderr] Downloaded fancy-regex v0.13.0 [INFO] [stderr] Downloaded pulp v0.21.5 [INFO] [stderr] Downloaded libc v0.2.176 [INFO] [stderr] Downloaded regex-automata v0.4.11 [INFO] [stderr] Downloaded pxfm v0.1.24 [INFO] [stderr] Downloaded windows-sys v0.61.1 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 691207db2758bd90aea2184c90d054c6c63af762b5da8513b4b6c76f3332cbb9 [INFO] running `Command { std: "docker" "start" "-a" "691207db2758bd90aea2184c90d054c6c63af762b5da8513b4b6c76f3332cbb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "691207db2758bd90aea2184c90d054c6c63af762b5da8513b4b6c76f3332cbb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "691207db2758bd90aea2184c90d054c6c63af762b5da8513b4b6c76f3332cbb9", kill_on_drop: false }` [INFO] [stdout] 691207db2758bd90aea2184c90d054c6c63af762b5da8513b4b6c76f3332cbb9 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e1dc584132836daceed9ba40fe11549b3eee73b54e13ee8c57ae72e411ce041 [INFO] running `Command { std: "docker" "start" "-a" "2e1dc584132836daceed9ba40fe11549b3eee73b54e13ee8c57ae72e411ce041", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling pulp v0.21.5 [INFO] [stderr] Compiling dyn-stack-macros v0.1.0 [INFO] [stderr] Compiling reborrow v0.5.5 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling raw-cpuid v11.6.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rand_distr v0.5.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling toml_parser v1.0.3 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling as-slice v0.2.1 [INFO] [stderr] Compiling av-scenechange v0.14.1 [INFO] [stderr] Compiling zip v1.1.4 [INFO] [stderr] Compiling built v0.8.0 [INFO] [stderr] Compiling aligned v0.4.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling memmap2 v0.9.8 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling toml_edit v0.23.6 [INFO] [stderr] Compiling rav1e v0.8.1 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling y4m v0.8.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling pastey v0.1.1 [INFO] [stderr] Compiling bitstream-io v4.9.0 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling flate2 v1.1.4 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling imgref v1.12.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling zune-jpeg v0.4.21 [INFO] [stderr] Compiling avif-serialize v0.8.6 [INFO] [stderr] Compiling pxfm v0.1.24 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling zune-core v0.5.0 [INFO] [stderr] Compiling gif v0.14.1 [INFO] [stderr] Compiling image-webp v0.2.4 [INFO] [stderr] Compiling zune-jpeg v0.5.8 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling dyn-stack v0.13.2 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num_enum v0.7.4 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling float8 v0.4.2 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling fancy-regex v0.13.0 [INFO] [stderr] Compiling exr v1.74.0 [INFO] [stderr] Compiling fax v0.2.6 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling moxcms v0.7.6 [INFO] [stderr] Compiling tiff v0.10.3 [INFO] [stderr] Compiling gemm-common v0.18.2 [INFO] [stderr] Compiling safetensors v0.4.5 [INFO] [stderr] Compiling gemm-f32 v0.18.2 [INFO] [stderr] Compiling gemm-c32 v0.18.2 [INFO] [stderr] Compiling gemm-c64 v0.18.2 [INFO] [stderr] Compiling gemm-f16 v0.18.2 [INFO] [stderr] Compiling gemm-f64 v0.18.2 [INFO] [stderr] Compiling safetensors v0.6.2 [INFO] [stderr] Compiling serde_plain v1.0.2 [INFO] [stderr] Compiling gemm v0.18.2 [INFO] [stderr] Compiling ug v0.5.0 [INFO] [stderr] Compiling ravif v0.12.0 [INFO] [stderr] Compiling candle-core v0.9.2-alpha.1 (https://github.com/huggingface/candle.git#95ea4538) [INFO] [stderr] Compiling image v0.25.9 [INFO] [stderr] Compiling candle-nn v0.9.2-alpha.1 (https://github.com/huggingface/candle.git#95ea4538) [INFO] [stderr] Compiling candle-transformers v0.9.2-alpha.1 (https://github.com/huggingface/candle.git#95ea4538) [INFO] [stderr] Compiling noisegen v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `thread_rng` [INFO] [stdout] --> src/lib.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::{rngs::StdRng, thread_rng, Rng, SeedableRng}; [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 doc comment [INFO] [stdout] --> src/lib.rs:389:5 [INFO] [stdout] | [INFO] [stdout] 389 | ///println!("stdev {:?} mean {:?}", stdev_tensor, mean_tensor); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 390 | // Standardize the tensor [INFO] [stdout] 391 | let standardized_tensor = tensor.sub(&mean_tensor)?.div(&stdev_tensor)?; [INFO] [stdout] | ------------------------------------------------------------------------ rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/lib.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::{rngs::StdRng, thread_rng, Rng, SeedableRng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/lib.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | let img = image::io::Reader::open(path)?.decode()?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/lib.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::{rngs::StdRng, thread_rng, Rng, SeedableRng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dtype` [INFO] [stdout] --> src/lib.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let dtype = latent_image.dtype(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_dtype` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/lib.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | for row in 0..height { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/lib.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | for col in 0..width {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/lib.rs:376:13 [INFO] [stdout] | [INFO] [stdout] 376 | let (_, c, h, w) = tensor.dims4()?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/lib.rs:376:16 [INFO] [stdout] | [INFO] [stdout] 376 | let (_, c, h, w) = tensor.dims4()?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/lib.rs:376:19 [INFO] [stdout] | [INFO] [stdout] 376 | let (_, c, h, w) = tensor.dims4()?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `candle_transformers::models::bert::DTYPE` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use candle_transformers::models::bert::DTYPE; [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 imports: `flatten_tensor`, `image_to_tensor`, `standardize_tensor`, `std_all`, and `unit_vec_to_char` [INFO] [stdout] --> src/main.rs:6:66 [INFO] [stdout] | [INFO] [stdout] 6 | adjust_contrast, create_rgb_image, create_rgb_image_from_1d, flatten_tensor, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | flatten_tensor_rgb, gpu_student_t_noise, image_to_tensor, normalize_tensor, standardize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | standardize_tensor, std_all, student_t_noise, unit_vec_to_char, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Distribution` and `StudentT` [INFO] [stdout] --> src/main.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | use rand_distr::{Distribution, StudentT}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | /// reshaping and stuff [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 98 | let reshaped_noise = noise.permute((2, 0, 1))?; [INFO] [stdout] | ----------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/main.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/main.rs:152:34 [INFO] [stdout] | [INFO] [stdout] 152 | let noise: i16 = rng.gen_range(-10..10); // Random noise [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | for (i, channel) in pixel.0.iter_mut().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 54s [INFO] running `Command { std: "docker" "inspect" "2e1dc584132836daceed9ba40fe11549b3eee73b54e13ee8c57ae72e411ce041", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e1dc584132836daceed9ba40fe11549b3eee73b54e13ee8c57ae72e411ce041", kill_on_drop: false }` [INFO] [stdout] 2e1dc584132836daceed9ba40fe11549b3eee73b54e13ee8c57ae72e411ce041 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79bd6ebccbc36b6aadd763f9f7919f271a21d46d074e0dcad73fe5d1ed928de5 [INFO] running `Command { std: "docker" "start" "-a" "79bd6ebccbc36b6aadd763f9f7919f271a21d46d074e0dcad73fe5d1ed928de5", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `thread_rng` [INFO] [stdout] --> src/lib.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::{rngs::StdRng, thread_rng, Rng, SeedableRng}; [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 doc comment [INFO] [stdout] --> src/lib.rs:389:5 [INFO] [stdout] | [INFO] [stdout] 389 | ///println!("stdev {:?} mean {:?}", stdev_tensor, mean_tensor); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 390 | // Standardize the tensor [INFO] [stdout] 391 | let standardized_tensor = tensor.sub(&mean_tensor)?.div(&stdev_tensor)?; [INFO] [stdout] | ------------------------------------------------------------------------ rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/lib.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::{rngs::StdRng, thread_rng, Rng, SeedableRng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/lib.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | let img = image::io::Reader::open(path)?.decode()?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/lib.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::{rngs::StdRng, thread_rng, Rng, SeedableRng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling noisegen v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `dtype` [INFO] [stdout] --> src/lib.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let dtype = latent_image.dtype(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_dtype` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/lib.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | for row in 0..height { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/lib.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | for col in 0..width {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/lib.rs:376:13 [INFO] [stdout] | [INFO] [stdout] 376 | let (_, c, h, w) = tensor.dims4()?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/lib.rs:376:16 [INFO] [stdout] | [INFO] [stdout] 376 | let (_, c, h, w) = tensor.dims4()?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/lib.rs:376:19 [INFO] [stdout] | [INFO] [stdout] 376 | let (_, c, h, w) = tensor.dims4()?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `candle_transformers::models::bert::DTYPE` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use candle_transformers::models::bert::DTYPE; [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 imports: `flatten_tensor`, `image_to_tensor`, `standardize_tensor`, `std_all`, and `unit_vec_to_char` [INFO] [stdout] --> src/main.rs:6:66 [INFO] [stdout] | [INFO] [stdout] 6 | adjust_contrast, create_rgb_image, create_rgb_image_from_1d, flatten_tensor, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | flatten_tensor_rgb, gpu_student_t_noise, image_to_tensor, normalize_tensor, standardize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | standardize_tensor, std_all, student_t_noise, unit_vec_to_char, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Distribution` and `StudentT` [INFO] [stdout] --> src/main.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | use rand_distr::{Distribution, StudentT}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | /// reshaping and stuff [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 98 | let reshaped_noise = noise.permute((2, 0, 1))?; [INFO] [stdout] | ----------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/main.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/main.rs:152:34 [INFO] [stdout] | [INFO] [stdout] 152 | let noise: i16 = rng.gen_range(-10..10); // Random noise [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | for (i, channel) in pixel.0.iter_mut().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread_rng` [INFO] [stdout] --> src/lib.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::{rngs::StdRng, thread_rng, Rng, SeedableRng}; [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 doc comment [INFO] [stdout] --> src/lib.rs:389:5 [INFO] [stdout] | [INFO] [stdout] 389 | ///println!("stdev {:?} mean {:?}", stdev_tensor, mean_tensor); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 390 | // Standardize the tensor [INFO] [stdout] 391 | let standardized_tensor = tensor.sub(&mean_tensor)?.div(&stdev_tensor)?; [INFO] [stdout] | ------------------------------------------------------------------------ rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/lib.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::{rngs::StdRng, thread_rng, Rng, SeedableRng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/lib.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | let img = image::io::Reader::open(path)?.decode()?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/lib.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::{rngs::StdRng, thread_rng, Rng, SeedableRng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dtype` [INFO] [stdout] --> src/lib.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let dtype = latent_image.dtype(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_dtype` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/lib.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | for row in 0..height { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/lib.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | for col in 0..width {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/lib.rs:376:13 [INFO] [stdout] | [INFO] [stdout] 376 | let (_, c, h, w) = tensor.dims4()?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/lib.rs:376:16 [INFO] [stdout] | [INFO] [stdout] 376 | let (_, c, h, w) = tensor.dims4()?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/lib.rs:376:19 [INFO] [stdout] | [INFO] [stdout] 376 | let (_, c, h, w) = tensor.dims4()?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.37s [INFO] running `Command { std: "docker" "inspect" "79bd6ebccbc36b6aadd763f9f7919f271a21d46d074e0dcad73fe5d1ed928de5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79bd6ebccbc36b6aadd763f9f7919f271a21d46d074e0dcad73fe5d1ed928de5", kill_on_drop: false }` [INFO] [stdout] 79bd6ebccbc36b6aadd763f9f7919f271a21d46d074e0dcad73fe5d1ed928de5