[INFO] fetching crate nifti_processing 0.1.2... [INFO] building nifti_processing-0.1.2 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate nifti_processing 0.1.2 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate nifti_processing 0.1.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate nifti_processing 0.1.2 [INFO] tweaked toml for crates.io crate nifti_processing 0.1.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nifti_processing 0.1.2 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate nifti_processing 0.1.2 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded byteordered v0.6.0 [INFO] [stderr] Downloaded safe-transmute v0.11.3 [INFO] [stderr] Downloaded terminal_size v0.2.6 [INFO] [stderr] Downloaded kdam v0.3.0 [INFO] [stderr] Downloaded simba v0.8.1 [INFO] [stderr] Downloaded nifti v0.15.0 [INFO] [stderr] Downloaded nalgebra v0.32.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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ee8aaadd66f941ebb43671ca2cd9e06cb0da76acfb06c0c65000da1435d69bd [INFO] running `Command { std: "docker" "start" "-a" "7ee8aaadd66f941ebb43671ca2cd9e06cb0da76acfb06c0c65000da1435d69bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ee8aaadd66f941ebb43671ca2cd9e06cb0da76acfb06c0c65000da1435d69bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ee8aaadd66f941ebb43671ca2cd9e06cb0da76acfb06c0c65000da1435d69bd", kill_on_drop: false }` [INFO] [stdout] 7ee8aaadd66f941ebb43671ca2cd9e06cb0da76acfb06c0c65000da1435d69bd [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1a47cfb6a0f70924c9598e541442ffcabc5b7da088a97d014756533c9c7be2c [INFO] running `Command { std: "docker" "start" "-a" "e1a47cfb6a0f70924c9598e541442ffcabc5b7da088a97d014756533c9c7be2c", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling wide v0.7.32 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling ndarray v0.16.1 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling nalgebra v0.32.6 [INFO] [stderr] Compiling nifti_processing v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.86s [INFO] running `Command { std: "docker" "inspect" "e1a47cfb6a0f70924c9598e541442ffcabc5b7da088a97d014756533c9c7be2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1a47cfb6a0f70924c9598e541442ffcabc5b7da088a97d014756533c9c7be2c", kill_on_drop: false }` [INFO] [stdout] e1a47cfb6a0f70924c9598e541442ffcabc5b7da088a97d014756533c9c7be2c [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4178b0269d74d852fc00c991493824c67f8d129b46aad0c82adca70489c4e1e [INFO] running `Command { std: "docker" "start" "-a" "e4178b0269d74d852fc00c991493824c67f8d129b46aad0c82adca70489c4e1e", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling byteordered v0.6.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling safe-transmute v0.11.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling clap_builder v4.5.39 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling simba v0.7.3 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling ndarray v0.16.1 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling terminal_size v0.2.6 [INFO] [stderr] Compiling kdam v0.3.0 [INFO] [stderr] Compiling clap v4.5.39 [INFO] [stderr] Compiling nalgebra v0.31.4 [INFO] [stderr] Compiling nalgebra v0.32.6 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling nifti v0.15.0 [INFO] [stderr] Compiling nifti_processing v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/resample_to_output.rs:50:39 [INFO] [stdout] | [INFO] [stdout] 50 | let in_affine: Matrix4 = in_header.affine(); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^ expected `Matrix, Const<4>, ...>`, found `Matrix<_, Const<4>, Const<4>, ...>` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `nalgebra` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.32.6/src/base/matrix.rs:175:1 [INFO] [stdout] | [INFO] [stdout] 175 | pub struct Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `Matrix` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.31.4/src/base/matrix.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `nalgebra::base::matrix::Matrix` [INFO] [stdout] | [INFO] [stdout] ::: examples/resample_to_output.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use nalgebra::Matrix4; [INFO] [stdout] | -------- one version of crate `nalgebra` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use nifti::IntoNdArray; [INFO] [stdout] | ----- one version of crate `nalgebra` used here, as a dependency of crate `nifti` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/resample_to_output.rs:67:38 [INFO] [stdout] | [INFO] [stdout] 67 | match resample_to_output(&in_im, &in_affine, &[args.resolution; 3], sampler) { [INFO] [stdout] | ------------------ ^^^^^^ expected `ArrayBase, Dim>`, found `ArrayBase, Dim<...>>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `ndarray` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/lib.rs:1268:1 [INFO] [stdout] | [INFO] [stdout] 1268 | pub struct ArrayBase [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/lib.rs:1280:1 [INFO] [stdout] | [INFO] [stdout] 1280 | pub struct ArrayBase [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] ::: examples/resample_to_output.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use nifti::IntoNdArray; [INFO] [stdout] | ----- one version of crate `ndarray` used here, as a dependency of crate `nifti` [INFO] [stdout] 5 | use nifti::{writer::WriterOptions, NiftiObject, ReaderOptions}; [INFO] [stdout] 6 | use nifti_processing::{resample_to_output, NearestNeighbor, ReSample, TriLinear}; [INFO] [stdout] | ---------------- one version of crate `ndarray` used here, as a dependency of crate `nifti_processing` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn resample_to_output( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/resample_to_output.rs:76:31 [INFO] [stdout] | [INFO] [stdout] 76 | out_header.set_affine(&out_affine); [INFO] [stdout] | ---------- ^^^^^^^^^^^ expected `&Matrix<_, Const<4>, Const<4>, ...>`, found `&Matrix, Const<4>, ...>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `nalgebra` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.32.6/src/base/matrix.rs:175:1 [INFO] [stdout] | [INFO] [stdout] 175 | pub struct Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `Matrix` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.31.4/src/base/matrix.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `nalgebra::base::matrix::Matrix` [INFO] [stdout] | [INFO] [stdout] ::: examples/resample_to_output.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use nalgebra::Matrix4; [INFO] [stdout] | -------- one version of crate `nalgebra` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use nifti::IntoNdArray; [INFO] [stdout] | ----- one version of crate `nalgebra` used here, as a dependency of crate `nifti` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nifti-0.15.0/src/header.rs:476:12 [INFO] [stdout] | [INFO] [stdout] 476 | pub fn set_affine(&mut self, affine: &Matrix4) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/resample_to_output.rs:80:26 [INFO] [stdout] | [INFO] [stdout] 80 | .write_nifti(&out_im) [INFO] [stdout] | ----------- ^^^^^^^ expected `&ArrayBase<_, _>`, found `&ArrayBase, Dim<...>>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `ndarray` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/lib.rs:1268:1 [INFO] [stdout] | [INFO] [stdout] 1268 | pub struct ArrayBase [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/lib.rs:1280:1 [INFO] [stdout] | [INFO] [stdout] 1280 | pub struct ArrayBase [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] ::: examples/resample_to_output.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use nifti::IntoNdArray; [INFO] [stdout] | ----- one version of crate `ndarray` used here, as a dependency of crate `nifti` [INFO] [stdout] 5 | use nifti::{writer::WriterOptions, NiftiObject, ReaderOptions}; [INFO] [stdout] 6 | use nifti_processing::{resample_to_output, NearestNeighbor, ReSample, TriLinear}; [INFO] [stdout] | ---------------- one version of crate `ndarray` used here, as a dependency of crate `nifti_processing` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nifti-0.15.0/src/writer.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn write_nifti(&self, data: &ArrayBase) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nifti_processing` (example "resample_to_output") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e4178b0269d74d852fc00c991493824c67f8d129b46aad0c82adca70489c4e1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4178b0269d74d852fc00c991493824c67f8d129b46aad0c82adca70489c4e1e", kill_on_drop: false }` [INFO] [stdout] e4178b0269d74d852fc00c991493824c67f8d129b46aad0c82adca70489c4e1e