[INFO] fetching crate refimage 1.0.0-pre4... [INFO] testing refimage-1.0.0-pre4 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate refimage 1.0.0-pre4 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate refimage 1.0.0-pre4 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde-reflection v0.4.0 [INFO] [stderr] Downloaded serde-generate v0.26.0 [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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6dad3ba9054684edb162ea24c747bf2492f165b4091e0b82d7689971278b7af7 [INFO] running `Command { std: "docker" "start" "-a" "6dad3ba9054684edb162ea24c747bf2492f165b4091e0b82d7689971278b7af7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6dad3ba9054684edb162ea24c747bf2492f165b4091e0b82d7689971278b7af7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dad3ba9054684edb162ea24c747bf2492f165b4091e0b82d7689971278b7af7", kill_on_drop: false }` [INFO] [stdout] 6dad3ba9054684edb162ea24c747bf2492f165b4091e0b82d7689971278b7af7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05fdc75473a06be3b6ffdee8b8f8409ba208f0d55e9f8fbbf8bce80bceb3f096 [INFO] running `Command { std: "docker" "start" "-a" "05fdc75473a06be3b6ffdee8b8f8409ba208f0d55e9f8fbbf8bce80bceb3f096", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [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 num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.216 [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 9.21s [INFO] running `Command { std: "docker" "inspect" "05fdc75473a06be3b6ffdee8b8f8409ba208f0d55e9f8fbbf8bce80bceb3f096", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05fdc75473a06be3b6ffdee8b8f8409ba208f0d55e9f8fbbf8bce80bceb3f096", kill_on_drop: false }` [INFO] [stdout] 05fdc75473a06be3b6ffdee8b8f8409ba208f0d55e9f8fbbf8bce80bceb3f096 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4c67da8bc8afefe19cd0e6fd94e09a0c9fe8f2f75584e4b056871da77450450 [INFO] running `Command { std: "docker" "start" "-a" "d4c67da8bc8afefe19cd0e6fd94e09a0c9fe8f2f75584e4b056871da77450450", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling object v0.36.5 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling miniz_oxide v0.8.2 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling serde-reflection v0.4.0 [INFO] [stderr] Compiling textwrap v0.13.4 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling bincode v1.3.3 [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 zerocopy v0.7.35 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [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 serde-generate v0.26.0 [INFO] [stderr] Compiling backtrace v0.3.74 [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 9.78s [INFO] running `Command { std: "docker" "inspect" "d4c67da8bc8afefe19cd0e6fd94e09a0c9fe8f2f75584e4b056871da77450450", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4c67da8bc8afefe19cd0e6fd94e09a0c9fe8f2f75584e4b056871da77450450", kill_on_drop: false }` [INFO] [stdout] d4c67da8bc8afefe19cd0e6fd94e09a0c9fe8f2f75584e4b056871da77450450 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f867be106315986b2158f003e6210abc669a53d95d95a8155876a83e8fabba8e [INFO] running `Command { std: "docker" "start" "-a" "f867be106315986b2158f003e6210abc669a53d95d95a8155876a83e8fabba8e", 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.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/refimage-b4dcec0d7e3f150d) [INFO] [stdout] [INFO] [stdout] running 34 tests [INFO] [stdout] test coretraits::test::test_pixelstor ... ok [INFO] [stdout] test demosaic::border_mirror::tests::test_mirror_even ... ok [INFO] [stdout] test demosaic::border_mirror::tests::test_mirror_odd ... ok [INFO] [stdout] test demosaic::border_replicate::tests::test_replicate_even ... ok [INFO] [stdout] test demosaic::border_replicate::tests::test_replicate_odd ... ok [INFO] [stdout] test demosaic::nearestneighbour::tests::test_odd ... ok [INFO] [stdout] test demosaic::nearestneighbour::tests::test_even ... ok [INFO] [stdout] test demosaic::none::tests::test_even ... ok [INFO] [stdout] test dynamicimage_serde::test::generate_pycode_dynamicimageowned ... ok [INFO] [stdout] test dynamicimage_serde::test::generate_pycode_dynamicimagedata ... ok [INFO] [stdout] test dynamicimageowned::test::test_optimum_exposure ... ok [INFO] [stdout] test dynamicimageref::test::test_optimum_exposure ... ok [INFO] [stdout] test genericimage::test_optimum_exposure ... ok [INFO] [stdout] test demosaic::none::tests::test_odd ... ok [INFO] [stdout] test genericimageowned::test::test_optimum_exposure ... ok [INFO] [stdout] test demosaic::raster::tests::test_borrow_row_u16_mut ... ok [INFO] [stdout] test imageowned::test::test_into_luma ... ok [INFO] [stdout] test imageowned::test::test_u8_src ... ok [INFO] [stdout] test imageowned::test::test_optimum_exposure ... ok [INFO] [stdout] test imageref::test::test_optimum_exposure ... ok [INFO] [stdout] test imageref::test::test_select_roi ... ok [INFO] [stdout] test imageowned::test::test_select_roi ... ok [INFO] [stdout] test imageref::test::test_u8_src ... ok [INFO] [stdout] test optimumexposure::test::test_optimum_exposure ... ok [INFO] [stdout] test genericimageref::test::test_optimum_exposure ... ok [INFO] [stdout] test test::test_debayer ... ok [INFO] [stdout] test imageref::test::test_into_luma ... ok [INFO] [stdout] test demosaic::linear::tests::test_even ... ok [INFO] [stdout] test demosaic::cubic::tests::test_even ... ok [INFO] [stdout] test demosaic::linear::tests::test_odd ... ok [INFO] [stdout] test demosaic::cubic::tests::test_odd ... ok [INFO] [stdout] test demosaic::cubic::tests::test_overflow ... ok [INFO] [stdout] test metadata::test::test_operate_owned ... ok [INFO] [stdout] test demosaic::raster::tests::test_raster_mut_overflow - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 34 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [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/lib.rs - (line 336) - compile ... FAILED [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/genericimageref.rs - genericimageref::GenericImageRef (line 29) ... ok [INFO] [stdout] test src/lib.rs - DynamicImageOwned (line 152) ... ok [INFO] [stdout] test src/genericimageowned.rs - genericimageowned::GenericImageOwned (line 31) ... ok [INFO] [stdout] test src/genericimageowned.rs - genericimageowned::GenericImageOwned::new (line 55) ... ok [INFO] [stdout] test src/lib.rs - DynamicImageRef (line 115) ... ok [INFO] [stdout] test src/imageowned.rs - imageowned::ImageOwned (line 25) ... ok [INFO] [stdout] test src/lib.rs - (line 30) ... 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] 6 | 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] 5 | 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] 8 | 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 0.50s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "f867be106315986b2158f003e6210abc669a53d95d95a8155876a83e8fabba8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f867be106315986b2158f003e6210abc669a53d95d95a8155876a83e8fabba8e", kill_on_drop: false }` [INFO] [stdout] f867be106315986b2158f003e6210abc669a53d95d95a8155876a83e8fabba8e