[INFO] fetching crate ndarray-zfp-rs 0.1.0... [INFO] checking ndarray-zfp-rs-0.1.0 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate ndarray-zfp-rs 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate ndarray-zfp-rs 0.1.0 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ndarray-zfp-rs 0.1.0 [INFO] finished tweaking crates.io crate ndarray-zfp-rs 0.1.0 [INFO] tweaked toml for crates.io crate ndarray-zfp-rs 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 57 packages to latest compatible versions [INFO] [stderr] Adding bytes v0.4.12 (available: v1.8.0) [INFO] [stderr] Adding ndarray v0.13.1 (available: v0.16.1) [INFO] [stderr] Adding zfp-sys v0.1.15 (available: v0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded matrixmultiply v0.2.4 [INFO] [stderr] Downloaded ndarray v0.13.1 [INFO] [stderr] Downloaded zfp-sys v0.1.15 [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f386e2d22dd076f16a550b2156f5867ad3e051da43911a57962d7ccc45cf5e22 [INFO] running `Command { std: "docker" "start" "-a" "f386e2d22dd076f16a550b2156f5867ad3e051da43911a57962d7ccc45cf5e22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f386e2d22dd076f16a550b2156f5867ad3e051da43911a57962d7ccc45cf5e22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f386e2d22dd076f16a550b2156f5867ad3e051da43911a57962d7ccc45cf5e22", kill_on_drop: false }` [INFO] [stdout] f386e2d22dd076f16a550b2156f5867ad3e051da43911a57962d7ccc45cf5e22 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a08dd6ac1baa21a03fc0ed572c3425d09d8f159c3576d0949d2dce7dd168826 [INFO] running `Command { std: "docker" "start" "-a" "2a08dd6ac1baa21a03fc0ed572c3425d09d8f159c3576d0949d2dce7dd168826", kill_on_drop: false }` [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling ndarray v0.13.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking matrixmultiply v0.2.4 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zfp-sys v0.1.15 [INFO] [stderr] Checking ndarray-zfp-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 55 | zfp_sys::zfp_field_1d( [INFO] [stdout] | --------------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 58 | *(shape.get(0).unwrap()) as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/target/debug/build/zfp-sys-4a24347734bc76b9/out/bindings.rs:3:37448 [INFO] [stdout] | [INFO] [stdout] 3 | ...fp_field_alloc () -> * mut zfp_field ; } extern "C" { pub fn zfp_field_1d (pointer : * mut :: std :: os :: raw :: c_void , type_ : zfp... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 58 | (*(shape.get(0).unwrap()) as u32).try_into().unwrap(), [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 55 | zfp_sys::zfp_field_1d( [INFO] [stdout] | --------------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 58 | *(shape.get(0).unwrap()) as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/target/debug/build/zfp-sys-4a24347734bc76b9/out/bindings.rs:3:37448 [INFO] [stdout] | [INFO] [stdout] 3 | ...fp_field_alloc () -> * mut zfp_field ; } extern "C" { pub fn zfp_field_1d (pointer : * mut :: std :: os :: raw :: c_void , type_ : zfp... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 58 | (*(shape.get(0).unwrap()) as u32).try_into().unwrap(), [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/lib.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | zfp_sys::zfp_field_2d( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | *(shape.get(0).unwrap()) as u32, [INFO] [stdout] | ------------------------------- expected `usize`, found `u32` [INFO] [stdout] 68 | *(shape.get(1).unwrap()) as u32, [INFO] [stdout] | ------------------------------- expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/target/debug/build/zfp-sys-4a24347734bc76b9/out/bindings.rs:3:37584 [INFO] [stdout] | [INFO] [stdout] 3 | ...ype , nx : usize) -> * mut zfp_field ; } extern "C" { pub fn zfp_field_2d (pointer : * mut :: std :: os :: raw :: c_void , type_ : zfp... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 67 | (*(shape.get(0).unwrap()) as u32).try_into().unwrap(), [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 68 | (*(shape.get(1).unwrap()) as u32).try_into().unwrap(), [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/lib.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | zfp_sys::zfp_field_2d( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | *(shape.get(0).unwrap()) as u32, [INFO] [stdout] | ------------------------------- expected `usize`, found `u32` [INFO] [stdout] 68 | *(shape.get(1).unwrap()) as u32, [INFO] [stdout] | ------------------------------- expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/target/debug/build/zfp-sys-4a24347734bc76b9/out/bindings.rs:3:37584 [INFO] [stdout] | [INFO] [stdout] 3 | ...ype , nx : usize) -> * mut zfp_field ; } extern "C" { pub fn zfp_field_2d (pointer : * mut :: std :: os :: raw :: c_void , type_ : zfp... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 67 | (*(shape.get(0).unwrap()) as u32).try_into().unwrap(), [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 68 | (*(shape.get(1).unwrap()) as u32).try_into().unwrap(), [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 107 | zfp_sys::zfp_field_1d( [INFO] [stdout] | --------------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 110 | self.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/target/debug/build/zfp-sys-4a24347734bc76b9/out/bindings.rs:3:37448 [INFO] [stdout] | [INFO] [stdout] 3 | ...fp_field_alloc () -> * mut zfp_field ; } extern "C" { pub fn zfp_field_1d (pointer : * mut :: std :: os :: raw :: c_void , type_ : zfp... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 110 | (self.len() as u32).try_into().unwrap(), [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 107 | zfp_sys::zfp_field_1d( [INFO] [stdout] | --------------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 110 | self.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/target/debug/build/zfp-sys-4a24347734bc76b9/out/bindings.rs:3:37448 [INFO] [stdout] | [INFO] [stdout] 3 | ...fp_field_alloc () -> * mut zfp_field ; } extern "C" { pub fn zfp_field_1d (pointer : * mut :: std :: os :: raw :: c_void , type_ : zfp... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 110 | (self.len() as u32).try_into().unwrap(), [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 156 | zfp_sys::zfp_field_1d( [INFO] [stdout] | --------------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 159 | self.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/target/debug/build/zfp-sys-4a24347734bc76b9/out/bindings.rs:3:37448 [INFO] [stdout] | [INFO] [stdout] 3 | ...fp_field_alloc () -> * mut zfp_field ; } extern "C" { pub fn zfp_field_1d (pointer : * mut :: std :: os :: raw :: c_void , type_ : zfp... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 159 | (self.len() as u32).try_into().unwrap(), [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 156 | zfp_sys::zfp_field_1d( [INFO] [stdout] | --------------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 159 | self.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/target/debug/build/zfp-sys-4a24347734bc76b9/out/bindings.rs:3:37448 [INFO] [stdout] | [INFO] [stdout] 3 | ...fp_field_alloc () -> * mut zfp_field ; } extern "C" { pub fn zfp_field_1d (pointer : * mut :: std :: os :: raw :: c_void , type_ : zfp... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 159 | (self.len() as u32).try_into().unwrap(), [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/lib.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | zfp_sys::zfp_field_2d( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | *(self.shape().get(0).unwrap()) as u32, [INFO] [stdout] | -------------------------------------- expected `usize`, found `u32` [INFO] [stdout] 209 | *(self.shape().get(1).unwrap()) as u32, [INFO] [stdout] | -------------------------------------- expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/target/debug/build/zfp-sys-4a24347734bc76b9/out/bindings.rs:3:37584 [INFO] [stdout] | [INFO] [stdout] 3 | ...ype , nx : usize) -> * mut zfp_field ; } extern "C" { pub fn zfp_field_2d (pointer : * mut :: std :: os :: raw :: c_void , type_ : zfp... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 208 | (*(self.shape().get(0).unwrap()) as u32).try_into().unwrap(), [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 209 | (*(self.shape().get(1).unwrap()) as u32).try_into().unwrap(), [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/lib.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | zfp_sys::zfp_field_2d( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | *(self.shape().get(0).unwrap()) as u32, [INFO] [stdout] | -------------------------------------- expected `usize`, found `u32` [INFO] [stdout] 209 | *(self.shape().get(1).unwrap()) as u32, [INFO] [stdout] | -------------------------------------- expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/target/debug/build/zfp-sys-4a24347734bc76b9/out/bindings.rs:3:37584 [INFO] [stdout] | [INFO] [stdout] 3 | ...ype , nx : usize) -> * mut zfp_field ; } extern "C" { pub fn zfp_field_2d (pointer : * mut :: std :: os :: raw :: c_void , type_ : zfp... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 208 | (*(self.shape().get(0).unwrap()) as u32).try_into().unwrap(), [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 209 | (*(self.shape().get(1).unwrap()) as u32).try_into().unwrap(), [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 `ndarray-zfp-rs` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ndarray-zfp-rs` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "2a08dd6ac1baa21a03fc0ed572c3425d09d8f159c3576d0949d2dce7dd168826", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a08dd6ac1baa21a03fc0ed572c3425d09d8f159c3576d0949d2dce7dd168826", kill_on_drop: false }` [INFO] [stdout] 2a08dd6ac1baa21a03fc0ed572c3425d09d8f159c3576d0949d2dce7dd168826