[INFO] fetching crate refimage 1.0.0-pre4... [INFO] testing refimage-1.0.0-pre4 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate refimage 1.0.0-pre4 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate refimage 1.0.0-pre4 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate refimage 1.0.0-pre4 [INFO] tweaked toml for crates.io crate refimage 1.0.0-pre4 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate refimage 1.0.0-pre4 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate refimage 1.0.0-pre4 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded include_dir v0.6.2 [INFO] [stderr] Downloaded include_dir_impl v0.6.2 [INFO] [stderr] Downloaded serde-reflection v0.4.0 [INFO] [stderr] Downloaded color-backtrace v0.6.1 [INFO] [stderr] Downloaded cc v1.2.4 [INFO] [stderr] Downloaded anyhow v1.0.94 [INFO] [stderr] Downloaded textwrap v0.13.4 [INFO] [stderr] Downloaded bytemuck v1.20.0 [INFO] [stderr] Downloaded serde-generate v0.26.0 [INFO] [stderr] Downloaded image v0.25.5 [INFO] [stderr] Downloaded libc v0.2.168 [INFO] [stderr] Downloaded fitsio-sys v0.5.4 [INFO] [stderr] Downloaded fitsio v0.21.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fef9dbf811d9520c885c721bca84fc580d2cc14217e868acd601b130192c282f [INFO] running `Command { std: "docker" "start" "-a" "fef9dbf811d9520c885c721bca84fc580d2cc14217e868acd601b130192c282f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fef9dbf811d9520c885c721bca84fc580d2cc14217e868acd601b130192c282f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fef9dbf811d9520c885c721bca84fc580d2cc14217e868acd601b130192c282f", kill_on_drop: false }` [INFO] [stdout] fef9dbf811d9520c885c721bca84fc580d2cc14217e868acd601b130192c282f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a50a38459a19add20a75924b971d4afd8b878f58be44bb33d414da0f4e9ce534 [INFO] running `Command { std: "docker" "start" "-a" "a50a38459a19add20a75924b971d4afd8b878f58be44bb33d414da0f4e9ce534", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling bytemuck v1.20.0 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling refimage v1.0.0-pre4 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:279:27 [INFO] [stdout] | [INFO] [stdout] 279 | #[doc = $content] extern { } [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 284 | insert_as_doc!(include_str!("../README.MD")); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] = note: this warning originates in the macro `insert_as_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/imageowned.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn iter(&self) -> std::slice::Iter { [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] 164 | pub fn iter(&self) -> std::slice::Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/imageowned.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn iter_mut(&mut self) -> std::slice::IterMut { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 169 | pub fn iter_mut(&mut self) -> std::slice::IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/imageref.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn iter(&self) -> std::slice::Iter { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | pub fn iter(&self) -> std::slice::Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/imageref.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn iter_mut(&mut self) -> std::slice::IterMut { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 153 | pub fn iter_mut(&mut self) -> std::slice::IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dynamicimage_serde.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | fn u8_slice_as_f32(buf: &[u8]) -> ByteResult> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 175 | fn u8_slice_as_f32(buf: &[u8]) -> ByteResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dynamicimage_serde.rs:199:25 [INFO] [stdout] | [INFO] [stdout] 199 | fn u8_slice_as_u16(buf: &[u8]) -> ByteResult> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 199 | fn u8_slice_as_u16(buf: &[u8]) -> ByteResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.67s [INFO] running `Command { std: "docker" "inspect" "a50a38459a19add20a75924b971d4afd8b878f58be44bb33d414da0f4e9ce534", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a50a38459a19add20a75924b971d4afd8b878f58be44bb33d414da0f4e9ce534", kill_on_drop: false }` [INFO] [stdout] a50a38459a19add20a75924b971d4afd8b878f58be44bb33d414da0f4e9ce534 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 453a4e771340d9b200a76ae30e9b82f75cd242811285f425271a59aa5a3931de [INFO] running `Command { std: "docker" "start" "-a" "453a4e771340d9b200a76ae30e9b82f75cd242811285f425271a59aa5a3931de", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling miniz_oxide v0.8.2 [INFO] [stderr] Compiling object v0.36.5 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling textwrap v0.13.4 [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:279:27 [INFO] [stdout] | [INFO] [stdout] 279 | #[doc = $content] extern { } [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 284 | insert_as_doc!(include_str!("../README.MD")); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] = note: this warning originates in the macro `insert_as_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/imageowned.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn iter(&self) -> std::slice::Iter { [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] 164 | pub fn iter(&self) -> std::slice::Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/imageowned.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn iter_mut(&mut self) -> std::slice::IterMut { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 169 | pub fn iter_mut(&mut self) -> std::slice::IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/imageref.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn iter(&self) -> std::slice::Iter { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | pub fn iter(&self) -> std::slice::Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/imageref.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn iter_mut(&mut self) -> std::slice::IterMut { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 153 | pub fn iter_mut(&mut self) -> std::slice::IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dynamicimage_serde.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | fn u8_slice_as_f32(buf: &[u8]) -> ByteResult> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 175 | fn u8_slice_as_f32(buf: &[u8]) -> ByteResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dynamicimage_serde.rs:199:25 [INFO] [stdout] | [INFO] [stdout] 199 | fn u8_slice_as_u16(buf: &[u8]) -> ByteResult> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 199 | fn u8_slice_as_u16(buf: &[u8]) -> ByteResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde-reflection v0.4.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling include_dir_impl v0.6.2 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling include_dir v0.6.2 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling serde-generate v0.26.0 [INFO] [stderr] Compiling color-backtrace v0.6.1 [INFO] [stderr] Compiling refimage v1.0.0-pre4 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:279:27 [INFO] [stdout] | [INFO] [stdout] 279 | #[doc = $content] extern { } [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 284 | insert_as_doc!(include_str!("../README.MD")); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] = note: this warning originates in the macro `insert_as_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/imageowned.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn iter(&self) -> std::slice::Iter { [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] 164 | pub fn iter(&self) -> std::slice::Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/imageowned.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn iter_mut(&mut self) -> std::slice::IterMut { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 169 | pub fn iter_mut(&mut self) -> std::slice::IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/imageref.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn iter(&self) -> std::slice::Iter { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | pub fn iter(&self) -> std::slice::Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/imageref.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn iter_mut(&mut self) -> std::slice::IterMut { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 153 | pub fn iter_mut(&mut self) -> std::slice::IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dynamicimage_serde.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | fn u8_slice_as_f32(buf: &[u8]) -> ByteResult> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 175 | fn u8_slice_as_f32(buf: &[u8]) -> ByteResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dynamicimage_serde.rs:199:25 [INFO] [stdout] | [INFO] [stdout] 199 | fn u8_slice_as_u16(buf: &[u8]) -> ByteResult> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 199 | fn u8_slice_as_u16(buf: &[u8]) -> ByteResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 20.01s [INFO] running `Command { std: "docker" "inspect" "453a4e771340d9b200a76ae30e9b82f75cd242811285f425271a59aa5a3931de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "453a4e771340d9b200a76ae30e9b82f75cd242811285f425271a59aa5a3931de", kill_on_drop: false }` [INFO] [stdout] 453a4e771340d9b200a76ae30e9b82f75cd242811285f425271a59aa5a3931de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 96f06b9fe67e408b394b4dae0400d49ffb9e6cfa6a90c370480d5f8319114bea [INFO] running `Command { std: "docker" "start" "-a" "96f06b9fe67e408b394b4dae0400d49ffb9e6cfa6a90c370480d5f8319114bea", kill_on_drop: false }` [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/lib.rs:279:27 [INFO] [stderr] | [INFO] [stderr] 279 | #[doc = $content] extern { } [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] ... [INFO] [stderr] 284 | insert_as_doc!(include_str!("../README.MD")); [INFO] [stderr] | -------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(missing_abi)]` on by default [INFO] [stderr] = note: this warning originates in the macro `insert_as_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/imageowned.rs:164:17 [INFO] [stderr] | [INFO] [stderr] 164 | pub fn iter(&self) -> std::slice::Iter { [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] 164 | pub fn iter(&self) -> std::slice::Iter<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/imageowned.rs:169:21 [INFO] [stderr] | [INFO] [stderr] 169 | pub fn iter_mut(&mut self) -> std::slice::IterMut { [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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 169 | pub fn iter_mut(&mut self) -> std::slice::IterMut<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/imageref.rs:148:17 [INFO] [stderr] | [INFO] [stderr] 148 | pub fn iter(&self) -> std::slice::Iter { [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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 148 | pub fn iter(&self) -> std::slice::Iter<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/imageref.rs:153:21 [INFO] [stderr] | [INFO] [stderr] 153 | pub fn iter_mut(&mut self) -> std::slice::IterMut { [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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 153 | pub fn iter_mut(&mut self) -> std::slice::IterMut<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/dynamicimage_serde.rs:175:25 [INFO] [stderr] | [INFO] [stderr] 175 | fn u8_slice_as_f32(buf: &[u8]) -> ByteResult> { [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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 175 | fn u8_slice_as_f32(buf: &[u8]) -> ByteResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/dynamicimage_serde.rs:199:25 [INFO] [stderr] | [INFO] [stderr] 199 | fn u8_slice_as_u16(buf: &[u8]) -> ByteResult> { [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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 199 | fn u8_slice_as_u16(buf: &[u8]) -> ByteResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `refimage` (lib) generated 7 warnings (run `cargo fix --lib -p refimage` to apply 7 suggestions) [INFO] [stderr] warning: `refimage` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/refimage-b4dcec0d7e3f150d) [INFO] [stdout] [INFO] [stdout] running 34 tests [INFO] [stdout] test demosaic::border_replicate::tests::test_replicate_odd ... ok [INFO] [stdout] test coretraits::test::test_pixelstor ... ok [INFO] [stdout] test demosaic::border_mirror::tests::test_mirror_even ... ok [INFO] [stdout] test demosaic::border_replicate::tests::test_replicate_even ... ok [INFO] [stdout] test demosaic::border_mirror::tests::test_mirror_odd ... ok [INFO] [stdout] test demosaic::nearestneighbour::tests::test_even ... ok [INFO] [stdout] test demosaic::none::tests::test_odd ... ok [INFO] [stdout] test dynamicimage_serde::test::generate_pycode_dynamicimagedata ... ok [INFO] [stdout] test dynamicimageref::test::test_optimum_exposure ... ok [INFO] [stdout] test genericimageowned::test::test_optimum_exposure ... ok [INFO] [stdout] test imageowned::test::test_optimum_exposure ... ok [INFO] [stdout] test genericimage::test_optimum_exposure ... ok [INFO] [stdout] test genericimageref::test::test_optimum_exposure ... ok [INFO] [stdout] test demosaic::raster::tests::test_borrow_row_u16_mut ... ok [INFO] [stdout] test dynamicimageowned::test::test_optimum_exposure ... ok [INFO] [stdout] test imageowned::test::test_u8_src ... ok [INFO] [stdout] test imageref::test::test_optimum_exposure ... ok [INFO] [stdout] test imageref::test::test_select_roi ... ok [INFO] [stdout] test demosaic::none::tests::test_even ... ok [INFO] [stdout] test imageref::test::test_u8_src ... ok [INFO] [stdout] test imageref::test::test_into_luma ... ok [INFO] [stdout] test optimumexposure::test::test_optimum_exposure ... ok [INFO] [stdout] test imageowned::test::test_into_luma ... ok [INFO] [stdout] test demosaic::nearestneighbour::tests::test_odd ... ok [INFO] [stdout] test dynamicimage_serde::test::generate_pycode_dynamicimageowned ... ok [INFO] [stdout] test demosaic::cubic::tests::test_overflow ... ok [INFO] [stdout] test demosaic::linear::tests::test_odd ... ok [INFO] [stdout] test metadata::test::test_operate_owned ... ok [INFO] [stdout] test demosaic::cubic::tests::test_even ... ok [INFO] [stdout] test demosaic::linear::tests::test_even ... ok [INFO] [stdout] test imageowned::test::test_select_roi ... ok [INFO] [stdout] test demosaic::cubic::tests::test_odd ... ok [INFO] [stdout] test demosaic::raster::tests::test_raster_mut_overflow - should panic ... ok [INFO] [stdout] test test::test_debayer ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 34 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] Doc-tests refimage [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test src/lib.rs - (line 325) - compile ... FAILED [INFO] [stdout] test src/genericimageref.rs - genericimageref::GenericImageRef (line 29) ... ok [INFO] [stdout] test src/genericimageref.rs - genericimageref::GenericImageRef<'a>::new (line 54) ... ok [INFO] [stdout] test src/imageref.rs - imageref::ImageRef (line 24) ... ok [INFO] [stdout] test src/lib.rs - DynamicImageOwned (line 152) ... ok [INFO] [stdout] test src/imageowned.rs - imageowned::ImageOwned (line 25) ... ok [INFO] [stdout] test src/genericimageowned.rs - genericimageowned::GenericImageOwned::new (line 55) ... ok [INFO] [stdout] test src/genericimageowned.rs - genericimageowned::GenericImageOwned (line 31) ... ok [INFO] [stdout] test src/lib.rs - (line 30) ... ok [INFO] [stdout] test src/lib.rs - (line 336) - compile ... FAILED [INFO] [stdout] test src/lib.rs - DynamicImageRef (line 115) ... ok [INFO] [stdout] test src/lib.rs - (line 305) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 325) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `image` [INFO] [stdout] --> src/lib.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 328 | use image::open; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `image` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `image`, use `cargo add image` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 336) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `refimage::FitsCompression`, `refimage::FitsWrite` [INFO] [stdout] --> src/lib.rs:338:16 [INFO] [stdout] | [INFO] [stdout] 338 | use refimage::{FitsCompression, FitsWrite, GenericImageRef}; // we need the FitsWrite trait to be able to use the `write_fits` method. [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^ no `FitsWrite` in the root [INFO] [stdout] | | [INFO] [stdout] | no `FitsCompression` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 69 | #[cfg(feature = "fitsio")] [INFO] [stdout] | ------------------ the item is gated behind the `fitsio` feature [INFO] [stdout] 70 | #[cfg_attr(docsrs, doc(cfg(feature = "fitsio")))] [INFO] [stdout] 71 | pub use fitsio_interop::{create_fits, FitsCompression, FitsError, FitsWrite}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:71:67 [INFO] [stdout] | [INFO] [stdout] 69 | #[cfg(feature = "fitsio")] [INFO] [stdout] | ------------------ the item is gated behind the `fitsio` feature [INFO] [stdout] 70 | #[cfg_attr(docsrs, doc(cfg(feature = "fitsio")))] [INFO] [stdout] 71 | pub use fitsio_interop::{create_fits, FitsCompression, FitsError, FitsWrite}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_fits` found for struct `GenericImageRef<'a>` in the current scope [INFO] [stdout] --> src/lib.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 341 | img.write_fits(Path::new("/path/to/fitsimage.fit"), FitsCompression::None, true) // no compression, overwrite [INFO] [stdout] | ^^^^^^^^^^ method not found in `GenericImageRef<'_>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 325) [INFO] [stdout] src/lib.rs - (line 336) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 10 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.43s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "96f06b9fe67e408b394b4dae0400d49ffb9e6cfa6a90c370480d5f8319114bea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96f06b9fe67e408b394b4dae0400d49ffb9e6cfa6a90c370480d5f8319114bea", kill_on_drop: false }` [INFO] [stdout] 96f06b9fe67e408b394b4dae0400d49ffb9e6cfa6a90c370480d5f8319114bea