[INFO] fetching crate nifti_processing 0.1.2... [INFO] testing nifti_processing-0.1.2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate nifti_processing 0.1.2 into /workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate nifti_processing 0.1.2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d816a77b4dd1a20fb4734040d2999104057e23960047fafb64dbd98d0fa0727 [INFO] running `Command { std: "docker" "start" "-a" "0d816a77b4dd1a20fb4734040d2999104057e23960047fafb64dbd98d0fa0727", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d816a77b4dd1a20fb4734040d2999104057e23960047fafb64dbd98d0fa0727", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d816a77b4dd1a20fb4734040d2999104057e23960047fafb64dbd98d0fa0727", kill_on_drop: false }` [INFO] [stdout] 0d816a77b4dd1a20fb4734040d2999104057e23960047fafb64dbd98d0fa0727 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cc065ac06eecdf4a46170ef485bc57a25eee5332195ea92bd703702927125cc [INFO] running `Command { std: "docker" "start" "-a" "7cc065ac06eecdf4a46170ef485bc57a25eee5332195ea92bd703702927125cc", 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 typenum v1.18.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling wide v0.7.32 [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.77s [INFO] running `Command { std: "docker" "inspect" "7cc065ac06eecdf4a46170ef485bc57a25eee5332195ea92bd703702927125cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cc065ac06eecdf4a46170ef485bc57a25eee5332195ea92bd703702927125cc", kill_on_drop: false }` [INFO] [stdout] 7cc065ac06eecdf4a46170ef485bc57a25eee5332195ea92bd703702927125cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4af41f494a9046d86cf2326fea1565ce1ad42cd6a60e75ce012f46dccf3ff722 [INFO] running `Command { std: "docker" "start" "-a" "4af41f494a9046d86cf2326fea1565ce1ad42cd6a60e75ce012f46dccf3ff722", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling safe-transmute v0.11.3 [INFO] [stderr] Compiling byteordered v0.6.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 regex-automata v0.4.9 [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.15.6 [INFO] [stderr] Compiling ndarray v0.16.1 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling terminal_size v0.2.6 [INFO] [stderr] Compiling kdam v0.3.0 [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 regex v1.11.1 [INFO] [stderr] Compiling clap v4.5.39 [INFO] [stderr] Compiling nalgebra v0.31.4 [INFO] [stderr] Compiling nalgebra v0.32.6 [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" "4af41f494a9046d86cf2326fea1565ce1ad42cd6a60e75ce012f46dccf3ff722", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4af41f494a9046d86cf2326fea1565ce1ad42cd6a60e75ce012f46dccf3ff722", kill_on_drop: false }` [INFO] [stdout] 4af41f494a9046d86cf2326fea1565ce1ad42cd6a60e75ce012f46dccf3ff722