[INFO] fetching crate image_buffer 0.2.0... [INFO] testing image_buffer-0.2.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate image_buffer 0.2.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate image_buffer 0.2.0 [INFO] finished tweaking crates.io crate image_buffer 0.2.0 [INFO] tweaked toml for crates.io crate image_buffer 0.2.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate image_buffer 0.2.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] [stderr] Adding num-traits v0.1.43 (available: v0.2.19) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e71a0a06e9b12324a501ad9a928d0ce86b36857db16b22da6dc321a25e6e08ba [INFO] running `Command { std: "docker" "start" "-a" "e71a0a06e9b12324a501ad9a928d0ce86b36857db16b22da6dc321a25e6e08ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e71a0a06e9b12324a501ad9a928d0ce86b36857db16b22da6dc321a25e6e08ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e71a0a06e9b12324a501ad9a928d0ce86b36857db16b22da6dc321a25e6e08ba", kill_on_drop: false }` [INFO] [stdout] e71a0a06e9b12324a501ad9a928d0ce86b36857db16b22da6dc321a25e6e08ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6e2a50e69c8795b80961b0a68fa320c0f5a7f40772f39c9c209dedca2da1957 [INFO] running `Command { std: "docker" "start" "-a" "d6e2a50e69c8795b80961b0a68fa320c0f5a7f40772f39c9c209dedca2da1957", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling image_buffer v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/traits.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | fn from_channels(Self::Storage) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Storage` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/traits.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | #[inline(always)] [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: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/traits.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | #[inline(always)] [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: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/traits.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | #[inline(always)] [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: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/traits.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | #[inline(always)] [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: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/buffer.rs:396:14 [INFO] [stdout] | [INFO] [stdout] 396 | for (mut to, from) in buffer.pixels_mut().zip(self.pixels()) { [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/buffer.rs:242:23 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn pixels_mut(&mut self) -> PixelsMut

{ [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 242 | pub fn pixels_mut(&mut self) -> PixelsMut<'_, P> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.76s [INFO] running `Command { std: "docker" "inspect" "d6e2a50e69c8795b80961b0a68fa320c0f5a7f40772f39c9c209dedca2da1957", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6e2a50e69c8795b80961b0a68fa320c0f5a7f40772f39c9c209dedca2da1957", kill_on_drop: false }` [INFO] [stdout] d6e2a50e69c8795b80961b0a68fa320c0f5a7f40772f39c9c209dedca2da1957 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e812a64012d860a97ca15eefbf50ec7d411fd27a8d05bae443fca6eebfe71687 [INFO] running `Command { std: "docker" "start" "-a" "e812a64012d860a97ca15eefbf50ec7d411fd27a8d05bae443fca6eebfe71687", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling image_buffer v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/traits.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | fn from_channels(Self::Storage) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Storage` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/traits.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | #[inline(always)] [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: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/traits.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | #[inline(always)] [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: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/traits.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | #[inline(always)] [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: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/traits.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | #[inline(always)] [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: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/buffer.rs:396:14 [INFO] [stdout] | [INFO] [stdout] 396 | for (mut to, from) in buffer.pixels_mut().zip(self.pixels()) { [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/buffer.rs:242:23 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn pixels_mut(&mut self) -> PixelsMut

{ [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 242 | pub fn pixels_mut(&mut self) -> PixelsMut<'_, P> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/traits.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | fn from_channels(Self::Storage) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Storage` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/traits.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | #[inline(always)] [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: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/traits.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | #[inline(always)] [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: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/traits.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | #[inline(always)] [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: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/traits.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | #[inline(always)] [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: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/buffer.rs:396:14 [INFO] [stdout] | [INFO] [stdout] 396 | for (mut to, from) in buffer.pixels_mut().zip(self.pixels()) { [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: variable does not need to be mutable [INFO] [stdout] --> src/buffer.rs:452:13 [INFO] [stdout] | [INFO] [stdout] 452 | for mut p in a.pixels_mut() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/buffer.rs:242:23 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn pixels_mut(&mut self) -> PixelsMut

{ [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 242 | pub fn pixels_mut(&mut self) -> PixelsMut<'_, P> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.13s [INFO] running `Command { std: "docker" "inspect" "e812a64012d860a97ca15eefbf50ec7d411fd27a8d05bae443fca6eebfe71687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e812a64012d860a97ca15eefbf50ec7d411fd27a8d05bae443fca6eebfe71687", kill_on_drop: false }` [INFO] [stdout] e812a64012d860a97ca15eefbf50ec7d411fd27a8d05bae443fca6eebfe71687 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6a623cb67f7e9a0d87e201d5012bf6be011fa4c6b5fb9f48396d33913744ef0f [INFO] running `Command { std: "docker" "start" "-a" "6a623cb67f7e9a0d87e201d5012bf6be011fa4c6b5fb9f48396d33913744ef0f", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/traits.rs:35:22 [INFO] [stderr] | [INFO] [stderr] 35 | fn from_channels(Self::Storage) -> Self; [INFO] [stderr] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Storage` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stderr] --> src/traits.rs:118:5 [INFO] [stderr] | [INFO] [stderr] 118 | #[inline(always)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stderr] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stderr] --> src/traits.rs:120:5 [INFO] [stderr] | [INFO] [stderr] 120 | #[inline(always)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stderr] --> src/traits.rs:122:5 [INFO] [stderr] | [INFO] [stderr] 122 | #[inline(always)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stderr] --> src/traits.rs:124:5 [INFO] [stderr] | [INFO] [stderr] 124 | #[inline(always)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/buffer.rs:396:14 [INFO] [stderr] | [INFO] [stderr] 396 | for (mut to, from) in buffer.pixels_mut().zip(self.pixels()) { [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/buffer.rs:242:23 [INFO] [stderr] | [INFO] [stderr] 242 | pub fn pixels_mut(&mut self) -> PixelsMut

{ [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 242 | pub fn pixels_mut(&mut self) -> PixelsMut<'_, P> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `image_buffer` (lib) generated 7 warnings (run `cargo fix --lib -p image_buffer` to apply 7 suggestions) [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/buffer.rs:452:13 [INFO] [stderr] | [INFO] [stderr] 452 | for mut p in a.pixels_mut() { [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: `image_buffer` (lib test) generated 8 warnings (7 duplicates) (run `cargo fix --lib -p image_buffer --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/image_buffer-c08ce2be12d44ee6) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test buffer::test::slice_buffer ... ok [INFO] [stdout] test buffer::test::test_get_pixel ... ok [INFO] [stdout] test color_model::rgb::tests::test_rescale ... ok [INFO] [stdout] test color_model::rgb::tests::test_rgb_conversions ... ok [INFO] [stdout] test buffer::test::test_mut_iter ... ok [INFO] [stdout] test color_model::test_add ... ok [INFO] [stderr] Doc-tests image_buffer [INFO] [stdout] test buffer::test::test_conversion ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/buffer.rs - buffer::ImageBuffer::pixels_mut (line 235) ... ok [INFO] [stdout] test src/lib.rs - (line 36) ... ok [INFO] [stdout] test src/lib.rs - (line 22) ... ok [INFO] [stdout] test src/buffer.rs - buffer::ImageBuffer::enumerate_pixels_mut (line 250) ... ok [INFO] [stdout] test src/buffer.rs - buffer::ImageBuffer::convert_buffer (line 386) ... ok [INFO] [stdout] test src/buffer.rs - buffer::ImageBuffer::pixels (line 177) ... ok [INFO] [stdout] test src/lib.rs - (line 13) ... ok [INFO] [stdout] test src/buffer.rs - buffer::ImageBuffer::enumerate_pixels (line 196) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.61s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6a623cb67f7e9a0d87e201d5012bf6be011fa4c6b5fb9f48396d33913744ef0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a623cb67f7e9a0d87e201d5012bf6be011fa4c6b5fb9f48396d33913744ef0f", kill_on_drop: false }` [INFO] [stdout] 6a623cb67f7e9a0d87e201d5012bf6be011fa4c6b5fb9f48396d33913744ef0f