[INFO] fetching crate cpclib-image 0.10.0... [INFO] testing cpclib-image-0.10.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate cpclib-image 0.10.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate cpclib-image 0.10.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cpclib-image 0.10.0 [INFO] tweaked toml for crates.io crate cpclib-image 0.10.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cpclib-image 0.10.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cpclib-image 0.10.0 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 865e3151e1a64eeade3efc07852c40a40e66e28863a764a63912256fad19d170 [INFO] running `Command { std: "docker" "start" "-a" "865e3151e1a64eeade3efc07852c40a40e66e28863a764a63912256fad19d170", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "865e3151e1a64eeade3efc07852c40a40e66e28863a764a63912256fad19d170", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "865e3151e1a64eeade3efc07852c40a40e66e28863a764a63912256fad19d170", kill_on_drop: false }` [INFO] [stdout] 865e3151e1a64eeade3efc07852c40a40e66e28863a764a63912256fad19d170 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84e5373c627637d498c4ec68eb1f5e1728d8c8bff66262d840877c7475b6e9ea [INFO] running `Command { std: "docker" "start" "-a" "84e5373c627637d498c4ec68eb1f5e1728d8c8bff66262d840877c7475b6e9ea", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling camino v1.1.10 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling avif-serialize v0.8.5 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling image-webp v0.2.3 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling winnow v0.6.26 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling zune-jpeg v0.4.19 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling resolve-path v0.1.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling bitfield v0.14.0 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling gif-dispose v4.0.1 [INFO] [stderr] Compiling as-slice v0.2.1 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling cpclib-common v0.10.0 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling thiserror v1.0.69 [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 av1-grain v0.2.4 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling cpclib-image v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `rayon` [INFO] [stdout] --> src/image.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(all(not(target_arch = "wasm32"), feature = "rayon"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `rayon` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rayon` [INFO] [stdout] --> src/image.rs:169:44 [INFO] [stdout] | [INFO] [stdout] 169 | #[cfg(all(not(target_arch = "wasm32"), feature = "rayon"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `rayon` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rayon` [INFO] [stdout] --> src/image.rs:171:43 [INFO] [stdout] | [INFO] [stdout] 171 | #[cfg(any(target_arch = "wasm32", not(feature = "rayon")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `rayon` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/convert.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | /// Unsure of this value [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 319 | maximum_raster_address: 7 [INFO] [stdout] | ------------------------- rustdoc does not generate documentation for expression fields [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: unused variable: `p_` [INFO] [stdout] --> src/ga.rs:1097:25 [INFO] [stdout] | [INFO] [stdout] 1097 | .filter(|&(&p_, &i)| i == ink) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sprite` [INFO] [stdout] --> src/convert.rs:1169:37 [INFO] [stdout] | [INFO] [stdout] 1169 | Output::SpriteAndMask { sprite, mask } => writeln!(fmt, "SpriteAndMask"), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `sprite: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mask` [INFO] [stdout] --> src/convert.rs:1169:45 [INFO] [stdout] | [INFO] [stdout] 1169 | Output::SpriteAndMask { sprite, mask } => writeln!(fmt, "SpriteAndMask"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `mask: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `screen_mode`, `cycling`, `cycling_delay`, `excluded`, and `projected` are never read [INFO] [stdout] --> src/ocp.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct OcpPal { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 84 | screen_mode: Mode, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 85 | cycling: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 86 | cycling_delay: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | excluded: [u8; 16], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 90 | projected: [u8; 16] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/convert.rs:1450:17 [INFO] [stdout] | [INFO] [stdout] 1450 | mask_img.save_with_format("/tmp/mask.png", image::ImageFormat::Png); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1450 | let _ = mask_img.save_with_format("/tmp/mask.png", image::ImageFormat::Png); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/convert.rs:1451:17 [INFO] [stdout] | [INFO] [stdout] 1451 | sprite_img.save_with_format("/tmp/sprite.png", image::ImageFormat::Png); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1451 | let _ = sprite_img.save_with_format("/tmp/sprite.png", image::ImageFormat::Png); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.88s [INFO] running `Command { std: "docker" "inspect" "84e5373c627637d498c4ec68eb1f5e1728d8c8bff66262d840877c7475b6e9ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84e5373c627637d498c4ec68eb1f5e1728d8c8bff66262d840877c7475b6e9ea", kill_on_drop: false }` [INFO] [stdout] 84e5373c627637d498c4ec68eb1f5e1728d8c8bff66262d840877c7475b6e9ea [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0b186c2ba863e2dad9f76bd88b8835b90e31e9a043c970db3408634161f3bfc [INFO] running `Command { std: "docker" "start" "-a" "d0b186c2ba863e2dad9f76bd88b8835b90e31e9a043c970db3408634161f3bfc", kill_on_drop: false }` [INFO] [stderr] Compiling cpclib-image v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `rayon` [INFO] [stdout] --> src/image.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(all(not(target_arch = "wasm32"), feature = "rayon"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `rayon` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rayon` [INFO] [stdout] --> src/image.rs:169:44 [INFO] [stdout] | [INFO] [stdout] 169 | #[cfg(all(not(target_arch = "wasm32"), feature = "rayon"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `rayon` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rayon` [INFO] [stdout] --> src/image.rs:171:43 [INFO] [stdout] | [INFO] [stdout] 171 | #[cfg(any(target_arch = "wasm32", not(feature = "rayon")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `rayon` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/convert.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | /// Unsure of this value [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 319 | maximum_raster_address: 7 [INFO] [stdout] | ------------------------- rustdoc does not generate documentation for expression fields [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: unused variable: `p_` [INFO] [stdout] --> src/ga.rs:1097:25 [INFO] [stdout] | [INFO] [stdout] 1097 | .filter(|&(&p_, &i)| i == ink) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sprite` [INFO] [stdout] --> src/convert.rs:1169:37 [INFO] [stdout] | [INFO] [stdout] 1169 | Output::SpriteAndMask { sprite, mask } => writeln!(fmt, "SpriteAndMask"), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `sprite: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mask` [INFO] [stdout] --> src/convert.rs:1169:45 [INFO] [stdout] | [INFO] [stdout] 1169 | Output::SpriteAndMask { sprite, mask } => writeln!(fmt, "SpriteAndMask"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `mask: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `screen_mode`, `cycling`, `cycling_delay`, `excluded`, and `projected` are never read [INFO] [stdout] --> src/ocp.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct OcpPal { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 84 | screen_mode: Mode, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 85 | cycling: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 86 | cycling_delay: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | excluded: [u8; 16], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 90 | projected: [u8; 16] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/convert.rs:1450:17 [INFO] [stdout] | [INFO] [stdout] 1450 | mask_img.save_with_format("/tmp/mask.png", image::ImageFormat::Png); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1450 | let _ = mask_img.save_with_format("/tmp/mask.png", image::ImageFormat::Png); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/convert.rs:1451:17 [INFO] [stdout] | [INFO] [stdout] 1451 | sprite_img.save_with_format("/tmp/sprite.png", image::ImageFormat::Png); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1451 | let _ = sprite_img.save_with_format("/tmp/sprite.png", image::ImageFormat::Png); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rayon` [INFO] [stdout] --> src/image.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(all(not(target_arch = "wasm32"), feature = "rayon"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `rayon` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rayon` [INFO] [stdout] --> src/image.rs:169:44 [INFO] [stdout] | [INFO] [stdout] 169 | #[cfg(all(not(target_arch = "wasm32"), feature = "rayon"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `rayon` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rayon` [INFO] [stdout] --> src/image.rs:171:43 [INFO] [stdout] | [INFO] [stdout] 171 | #[cfg(any(target_arch = "wasm32", not(feature = "rayon")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `rayon` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/convert.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | /// Unsure of this value [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 319 | maximum_raster_address: 7 [INFO] [stdout] | ------------------------- rustdoc does not generate documentation for expression fields [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: unused variable: `p_` [INFO] [stdout] --> src/ga.rs:1097:25 [INFO] [stdout] | [INFO] [stdout] 1097 | .filter(|&(&p_, &i)| i == ink) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rgb_palette` [INFO] [stdout] --> src/ga.rs:1271:13 [INFO] [stdout] | [INFO] [stdout] 1271 | let rgb_palette = Palette::from(rgb_palette); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rgb_palette` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sprite` [INFO] [stdout] --> src/convert.rs:1169:37 [INFO] [stdout] | [INFO] [stdout] 1169 | Output::SpriteAndMask { sprite, mask } => writeln!(fmt, "SpriteAndMask"), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `sprite: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mask` [INFO] [stdout] --> src/convert.rs:1169:45 [INFO] [stdout] | [INFO] [stdout] 1169 | Output::SpriteAndMask { sprite, mask } => writeln!(fmt, "SpriteAndMask"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `mask: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `screen_mode`, `cycling`, `cycling_delay`, `excluded`, and `projected` are never read [INFO] [stdout] --> src/ocp.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct OcpPal { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 84 | screen_mode: Mode, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 85 | cycling: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 86 | cycling_delay: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | excluded: [u8; 16], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 90 | projected: [u8; 16] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/convert.rs:1450:17 [INFO] [stdout] | [INFO] [stdout] 1450 | mask_img.save_with_format("/tmp/mask.png", image::ImageFormat::Png); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1450 | let _ = mask_img.save_with_format("/tmp/mask.png", image::ImageFormat::Png); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/convert.rs:1451:17 [INFO] [stdout] | [INFO] [stdout] 1451 | sprite_img.save_with_format("/tmp/sprite.png", image::ImageFormat::Png); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1451 | let _ = sprite_img.save_with_format("/tmp/sprite.png", image::ImageFormat::Png); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.19s [INFO] running `Command { std: "docker" "inspect" "d0b186c2ba863e2dad9f76bd88b8835b90e31e9a043c970db3408634161f3bfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0b186c2ba863e2dad9f76bd88b8835b90e31e9a043c970db3408634161f3bfc", kill_on_drop: false }` [INFO] [stdout] d0b186c2ba863e2dad9f76bd88b8835b90e31e9a043c970db3408634161f3bfc [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 705465e882410c1a9b2a2b4a8360d66933031ee59ae1b84c9af18bdf799e06f8 [INFO] running `Command { std: "docker" "start" "-a" "705465e882410c1a9b2a2b4a8360d66933031ee59ae1b84c9af18bdf799e06f8", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `rayon` [INFO] [stderr] --> src/image.rs:8:40 [INFO] [stderr] | [INFO] [stderr] 8 | #[cfg(all(not(target_arch = "wasm32"), feature = "rayon"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `rayon` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `rayon` [INFO] [stderr] --> src/image.rs:169:44 [INFO] [stderr] | [INFO] [stderr] 169 | #[cfg(all(not(target_arch = "wasm32"), feature = "rayon"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `rayon` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `rayon` [INFO] [stderr] --> src/image.rs:171:43 [INFO] [stderr] | [INFO] [stderr] 171 | #[cfg(any(target_arch = "wasm32", not(feature = "rayon")))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `rayon` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/convert.rs:318:13 [INFO] [stderr] | [INFO] [stderr] 318 | /// Unsure of this value [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 319 | maximum_raster_address: 7 [INFO] [stderr] | ------------------------- rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p_` [INFO] [stderr] --> src/ga.rs:1097:25 [INFO] [stderr] | [INFO] [stderr] 1097 | .filter(|&(&p_, &i)| i == ink) [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_p_` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sprite` [INFO] [stderr] --> src/convert.rs:1169:37 [INFO] [stderr] | [INFO] [stderr] 1169 | Output::SpriteAndMask { sprite, mask } => writeln!(fmt, "SpriteAndMask"), [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `sprite: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mask` [INFO] [stderr] --> src/convert.rs:1169:45 [INFO] [stderr] | [INFO] [stderr] 1169 | Output::SpriteAndMask { sprite, mask } => writeln!(fmt, "SpriteAndMask"), [INFO] [stderr] | ^^^^ help: try ignoring the field: `mask: _` [INFO] [stderr] [INFO] [stderr] warning: fields `screen_mode`, `cycling`, `cycling_delay`, `excluded`, and `projected` are never read [INFO] [stderr] --> src/ocp.rs:84:5 [INFO] [stderr] | [INFO] [stderr] 83 | pub struct OcpPal { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 84 | screen_mode: Mode, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 85 | cycling: bool, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 86 | cycling_delay: u8, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 89 | excluded: [u8; 16], [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 90 | projected: [u8; 16] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/convert.rs:1450:17 [INFO] [stderr] | [INFO] [stderr] 1450 | mask_img.save_with_format("/tmp/mask.png", image::ImageFormat::Png); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 1450 | let _ = mask_img.save_with_format("/tmp/mask.png", image::ImageFormat::Png); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/convert.rs:1451:17 [INFO] [stderr] | [INFO] [stderr] 1451 | sprite_img.save_with_format("/tmp/sprite.png", image::ImageFormat::Png); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 1451 | let _ = sprite_img.save_with_format("/tmp/sprite.png", image::ImageFormat::Png); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rgb_palette` [INFO] [stderr] --> src/ga.rs:1271:13 [INFO] [stderr] | [INFO] [stderr] 1271 | let rgb_palette = Palette::from(rgb_palette); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rgb_palette` [INFO] [stderr] [INFO] [stderr] warning: `cpclib-image` (lib) generated 10 warnings (run `cargo fix --lib -p cpclib-image` to apply 3 suggestions) [INFO] [stderr] warning: `cpclib-image` (lib test) generated 11 warnings (10 duplicates) (run `cargo fix --lib -p cpclib-image --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cpclib_image-f38255ef69ceef95) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test convert::tests::manipulation_test ... ok [INFO] [stdout] test ga::tests::test_from1 ... ok [INFO] [stdout] test convert::tests::overscan_test ... ok [INFO] [stdout] test convert::tests::test_masking ... ok [INFO] [stdout] test ga::tests::test_ink ... ok [INFO] [stdout] test ga::tests::test_into_ink ... ok [INFO] [stdout] test image::tests::test_masking ... ok [INFO] [stdout] test pixels::tests::bytes_to_pen ... ok [INFO] [stdout] test pixels::tests::mode2 ... ok [INFO] [stdout] test pixels::tests::mode3 ... ok [INFO] [stdout] test ga::tests::test_macro ... ok [INFO] [stdout] test ga::tests::test_rgb ... ok [INFO] [stdout] test pixels::tests::mode0 ... ok [INFO] [stdout] test ga::tests::test_from2 - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] Running tests/palette.rs (/opt/rustwide/target/debug/deps/palette-550c0b33fe07d0b0) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test palette_from_numbers ... ok [INFO] [stdout] test palette_from_mixes ... ok [INFO] [stdout] test palette_from_str ... ok [INFO] [stdout] test palette_from_strings ... ok [INFO] [stdout] test palette_fail_number - should panic ... ok [INFO] [stdout] test palette_fail_str - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stderr] Doc-tests cpclib_image [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "705465e882410c1a9b2a2b4a8360d66933031ee59ae1b84c9af18bdf799e06f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "705465e882410c1a9b2a2b4a8360d66933031ee59ae1b84c9af18bdf799e06f8", kill_on_drop: false }` [INFO] [stdout] 705465e882410c1a9b2a2b4a8360d66933031ee59ae1b84c9af18bdf799e06f8