[INFO] fetching crate rust-wasm-dev-helper 0.1.2... [INFO] building rust-wasm-dev-helper-0.1.2 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate rust-wasm-dev-helper 0.1.2 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate rust-wasm-dev-helper 0.1.2 [INFO] finished tweaking crates.io crate rust-wasm-dev-helper 0.1.2 [INFO] tweaked toml for crates.io crate rust-wasm-dev-helper 0.1.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-wasm-dev-helper 0.1.2 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 69 packages to latest compatible versions [INFO] [stderr] Adding image v0.23.14 (available: v0.25.8) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.2) [INFO] [stderr] Adding wasm-bindgen-test v0.2.50 (available: v0.3.54) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd248e6fe5260265a0f2f33f09b24890becdfedf6497b521c0ab8cfb402e0666 [INFO] running `Command { std: "docker" "start" "-a" "dd248e6fe5260265a0f2f33f09b24890becdfedf6497b521c0ab8cfb402e0666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd248e6fe5260265a0f2f33f09b24890becdfedf6497b521c0ab8cfb402e0666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd248e6fe5260265a0f2f33f09b24890becdfedf6497b521c0ab8cfb402e0666", kill_on_drop: false }` [INFO] [stdout] dd248e6fe5260265a0f2f33f09b24890becdfedf6497b521c0ab8cfb402e0666 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f895125bc2ba2149745c743267e2ed6ce176fbb07fb2b32a2c5cbd4526bd99a4 [INFO] running `Command { std: "docker" "start" "-a" "f895125bc2ba2149745c743267e2ed6ce176fbb07fb2b32a2c5cbd4526bd99a4", kill_on_drop: false }` [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.104 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.104 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.104 [INFO] [stderr] Compiling wasm-bindgen v0.2.104 [INFO] [stderr] Compiling js-sys v0.3.81 [INFO] [stderr] Compiling web-sys v0.3.81 [INFO] [stderr] Compiling rust-wasm-dev-helper v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `log` [INFO] [stdout] --> src/log.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | macro_rules! log { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageBuffer`, `ImageFormat`, `Rgb`, and `png::PngDecoder` [INFO] [stdout] --> src/lib.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use image::{ImageBuffer, Rgb, png::PngDecoder, ImageFormat, RgbImage}; [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: `Cursor`, `Read`, `SeekFrom`, and `Seek` [INFO] [stdout] --> src/lib.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{Cursor, Seek, SeekFrom, Read}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::__rt::IntoJsResult` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use wasm_bindgen::__rt::IntoJsResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/log.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | for mut px in img.enumerate_pixels_mut().enumerate() { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_panic_hook` is never used [INFO] [stdout] --> src/utils.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn set_panic_hook() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.38s [INFO] running `Command { std: "docker" "inspect" "f895125bc2ba2149745c743267e2ed6ce176fbb07fb2b32a2c5cbd4526bd99a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f895125bc2ba2149745c743267e2ed6ce176fbb07fb2b32a2c5cbd4526bd99a4", kill_on_drop: false }` [INFO] [stdout] f895125bc2ba2149745c743267e2ed6ce176fbb07fb2b32a2c5cbd4526bd99a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c33ec4acc7539969d6a914cb5e1762dab24d208566073a88baa5ba2c234c1a9 [INFO] running `Command { std: "docker" "start" "-a" "1c33ec4acc7539969d6a914cb5e1762dab24d208566073a88baa5ba2c234c1a9", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-futures v0.3.27 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.2.50 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stdout] warning: unused macro definition: `log` [INFO] [stdout] --> src/log.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | macro_rules! log { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageBuffer`, `ImageFormat`, `Rgb`, and `png::PngDecoder` [INFO] [stdout] --> src/lib.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use image::{ImageBuffer, Rgb, png::PngDecoder, ImageFormat, RgbImage}; [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: `Cursor`, `Read`, `SeekFrom`, and `Seek` [INFO] [stdout] --> src/lib.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{Cursor, Seek, SeekFrom, Read}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::__rt::IntoJsResult` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use wasm_bindgen::__rt::IntoJsResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/log.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | for mut px in img.enumerate_pixels_mut().enumerate() { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_panic_hook` is never used [INFO] [stdout] --> src/utils.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn set_panic_hook() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasm-bindgen-test v0.2.50 [INFO] [stderr] Compiling rust-wasm-dev-helper v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `log` [INFO] [stdout] --> src/log.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | macro_rules! log { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageBuffer`, `ImageFormat`, `Rgb`, and `png::PngDecoder` [INFO] [stdout] --> src/lib.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use image::{ImageBuffer, Rgb, png::PngDecoder, ImageFormat, RgbImage}; [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: `Cursor`, `Read`, `SeekFrom`, and `Seek` [INFO] [stdout] --> src/lib.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{Cursor, Seek, SeekFrom, Read}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::__rt::IntoJsResult` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use wasm_bindgen::__rt::IntoJsResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/log.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | for mut px in img.enumerate_pixels_mut().enumerate() { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_panic_hook` is never used [INFO] [stdout] --> src/utils.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn set_panic_hook() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.33s [INFO] running `Command { std: "docker" "inspect" "1c33ec4acc7539969d6a914cb5e1762dab24d208566073a88baa5ba2c234c1a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c33ec4acc7539969d6a914cb5e1762dab24d208566073a88baa5ba2c234c1a9", kill_on_drop: false }` [INFO] [stdout] 1c33ec4acc7539969d6a914cb5e1762dab24d208566073a88baa5ba2c234c1a9