[INFO] fetching crate ndarray-zfp-rs 0.1.0... [INFO] testing ndarray-zfp-rs-0.1.0 against 1.44.0 for beta-1.45-1 [INFO] extracting crate ndarray-zfp-rs 0.1.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate ndarray-zfp-rs 0.1.0 on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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-3/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e182b2773dc632ea88d11ef6f9fb61f3ca0b43f2f2212fd0abc61603c5eb35a1 [INFO] running `"docker" "start" "-a" "e182b2773dc632ea88d11ef6f9fb61f3ca0b43f2f2212fd0abc61603c5eb35a1"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling bindgen v0.53.3 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling ndarray v0.13.1 [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling zfp-sys v0.1.6 [INFO] [stderr] Compiling ndarray-zfp-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `Array` [INFO] [stderr] --> src/lib.rs:4:23 [INFO] [stderr] | [INFO] [stderr] 4 | use ndarray::{Array1, Array, Array2}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ops::Deref` [INFO] [stderr] --> src/lib.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::ops::Deref; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: patterns aren't allowed in functions without bodies [INFO] [stderr] --> src/lib.rs:8:21 [INFO] [stderr] | [INFO] [stderr] 8 | fn zfp_compress(mut self, tolerance: f64) -> Result>; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(patterns_in_fns_without_body)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #35203 [INFO] [stderr] [INFO] [stderr] warning: patterns aren't allowed in functions without bodies [INFO] [stderr] --> src/lib.rs:9:33 [INFO] [stderr] | [INFO] [stderr] 9 | fn zfp_compress_with_header(mut self, tolerance: f64) -> Result>; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #35203 [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:23:39 [INFO] [stderr] | [INFO] [stderr] 23 | let mut buffer: Vec = vec![0; bufsize]; [INFO] [stderr] | ^^^^^^^ expected `usize`, found `u64` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `u64` to `usize` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 23 | let mut buffer: Vec = vec![0; bufsize.try_into().unwrap()]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the type `[u8]` cannot be indexed by `std::ops::Range` [INFO] [stderr] --> src/lib.rs:39:15 [INFO] [stderr] | [INFO] [stderr] 39 | return Ok(buffer[0..zfpsize].to_vec()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::slice::SliceIndex<[u8]>` is not implemented for `std::ops::Range` [INFO] [stderr] = note: required because of the requirements on the impl of `std::ops::Index>` for `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:82:104 [INFO] [stderr] | [INFO] [stderr] 82 | let stream = unsafe { zfp_sys::stream_open(compressed_bytes.as_mut_ptr() as *mut std::ffi::c_void, compressed_bytes.len()) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 82 | let stream = unsafe { zfp_sys::stream_open(compressed_bytes.as_mut_ptr() as *mut std::ffi::c_void, compressed_bytes.len().try_into().unwrap()) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `ndarray-zfp-rs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "e182b2773dc632ea88d11ef6f9fb61f3ca0b43f2f2212fd0abc61603c5eb35a1"` [INFO] running `"docker" "rm" "-f" "e182b2773dc632ea88d11ef6f9fb61f3ca0b43f2f2212fd0abc61603c5eb35a1"` [INFO] [stdout] e182b2773dc632ea88d11ef6f9fb61f3ca0b43f2f2212fd0abc61603c5eb35a1