[INFO] cloning repository https://github.com/jorisquist/RustMultithreadingTest
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jorisquist/RustMultithreadingTest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjorisquist%2FRustMultithreadingTest", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjorisquist%2FRustMultithreadingTest'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e3158e73da2653a56ea4a00fdb266168365c61bf
[INFO] testing jorisquist/RustMultithreadingTest against 1.98.0-beta.1 for beta-1.98-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjorisquist%2FRustMultithreadingTest" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jorisquist/RustMultithreadingTest
[INFO] finished tweaking git repo https://github.com/jorisquist/RustMultithreadingTest
[INFO] tweaked toml for git repo https://github.com/jorisquist/RustMultithreadingTest written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jorisquist/RustMultithreadingTest on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jorisquist/RustMultithreadingTest 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" "+1.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ebd7974facc7e2c7454aa173a7cb1a33825549060a764bb212312d29b8a4a9b9
[INFO] running `Command { std: "docker" "start" "ebd7974facc7e2c7454aa173a7cb1a33825549060a764bb212312d29b8a4a9b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ebd7974facc7e2c7454aa173a7cb1a33825549060a764bb212312d29b8a4a9b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ebd7974facc7e2c7454aa173a7cb1a33825549060a764bb212312d29b8a4a9b9" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ebd7974facc7e2c7454aa173a7cb1a33825549060a764bb212312d29b8a4a9b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ebd7974facc7e2c7454aa173a7cb1a33825549060a764bb212312d29b8a4a9b9" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling libc v0.2.121
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling syn v1.0.90
[INFO] [stderr]    Compiling regex-syntax v0.6.27
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling libloading v0.7.3
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling bytemuck v1.9.0
[INFO] [stderr]    Compiling matrixmultiply v0.3.2
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling safe_arch v0.6.0
[INFO] [stderr]    Compiling hdf5-types v0.8.1
[INFO] [stderr]    Compiling paste v1.0.7
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling smallvec v1.9.0
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling indexmap v1.8.1
[INFO] [stderr]    Compiling num-rational v0.4.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling wide v0.7.4
[INFO] [stderr]    Compiling quote v1.0.17
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling ascii v1.0.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling hdf5 v0.8.1
[INFO] [stderr]    Compiling crossbeam-channel v0.4.4
[INFO] [stderr]    Compiling crossbeam-queue v0.2.3
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling os_str_bytes v6.0.0
[INFO] [stderr]    Compiling crossbeam-deque v0.7.4
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling textwrap v0.15.0
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling json v0.12.4
[INFO] [stderr]    Compiling crossbeam v0.7.3
[INFO] [stderr]    Compiling num-complex v0.4.0
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling ndarray v0.15.4
[INFO] [stderr]    Compiling simba v0.7.1
[INFO] [stderr]    Compiling regex v1.6.0
[INFO] [stderr]    Compiling hdf5-sys v0.8.1
[INFO] [stderr]    Compiling clap_derive v3.1.4
[INFO] [stderr]    Compiling nalgebra-macros v0.1.0
[INFO] [stderr]    Compiling hdf5-derive v0.8.1
[INFO] [stderr]    Compiling clap v3.1.6
[INFO] [stderr]    Compiling nalgebra v0.30.1
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling RustMultithreading v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/imu.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ArrayStorage` and `vector`
[INFO] [stdout]  --> src/imu.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 | use nalgebra::{ArrayStorage, vector};
[INFO] [stdout]   |                ^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nalgebra::Vector3`
[INFO] [stdout]  --> src/imu.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use nalgebra::Vector3;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::imu::IMUSample`
[INFO] [stdout]  --> src/state_estimation.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::imu::IMUSample;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::pressure::PressureSample`
[INFO] [stdout]  --> src/pressure_calibrator.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::pressure::PressureSample;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]   --> src/state_logger.rs:17:20
[INFO] [stdout]    |
[INFO] [stdout] 17 |             .shape((0..)) // first axis is unlimited with initial size of 1
[INFO] [stdout]    |                    ^   ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 17 -             .shape((0..)) // first axis is unlimited with initial size of 1
[INFO] [stdout] 17 +             .shape(0..) // first axis is unlimited with initial size of 1
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]   --> src/state_logger.rs:16:20
[INFO] [stdout]    |
[INFO] [stdout] 16 |             .chunk((10))  // each chunk contains ny * nx elements
[INFO] [stdout]    |                    ^  ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 16 -             .chunk((10))  // each chunk contains ny * nx elements
[INFO] [stdout] 16 +             .chunk(10)  // each chunk contains ny * nx elements
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]   --> src/state_logger.rs:25:29
[INFO] [stdout]    |
[INFO] [stdout] 25 |         self.dataset.resize((size+1));
[INFO] [stdout]    |                             ^      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 25 -         self.dataset.resize((size+1));
[INFO] [stdout] 25 +         self.dataset.resize(size+1);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]   --> src/state_logger.rs:26:45
[INFO] [stdout]    |
[INFO] [stdout] 26 |         self.dataset.write_slice(&[sample], (size..size+1));
[INFO] [stdout]    |                                             ^            ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 26 -         self.dataset.write_slice(&[sample], (size..size+1));
[INFO] [stdout] 26 +         self.dataset.write_slice(&[sample], size..size+1);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `clap::Parser`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use clap::Parser;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::path::Path;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `fs` and `thread`
[INFO] [stdout]   --> src/main.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::{fs, thread};
[INFO] [stdout]    |           ^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::thread::sleep;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Array1`, `Array2`, and `Array`
[INFO] [stdout]   --> src/main.rs:15:15
[INFO] [stdout]    |
[INFO] [stdout] 15 | use ndarray::{Array, Array1, Array2};
[INFO] [stdout]    |               ^^^^^  ^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `arr2` and `s`
[INFO] [stdout]   --> src/main.rs:16:15
[INFO] [stdout]    |
[INFO] [stdout] 16 | use ndarray::{arr2, s};
[INFO] [stdout]    |               ^^^^  ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::samples::SensorSample::IMU`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::samples::SensorSample::IMU;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `T: std::default::Default` is not satisfied
[INFO] [stdout]    --> src/state_logger.rs:20:48
[INFO] [stdout]     |
[INFO] [stdout]  20 |         StateLogger::<T> {dataset: ds, buffer: Array1::default(10) }
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^^^^^ the trait `std::default::Default` is not implemented for `T`
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `ndarray::impl_constructors::<impl ArrayBase<S, D>>::default`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.4/src/impl_constructors.rs:364:12
[INFO] [stdout]     |
[INFO] [stdout] 362 |     pub fn default<Sh>(shape: Sh) -> Self
[INFO] [stdout]     |            ------- required by a bound in this associated function
[INFO] [stdout] 363 |     where
[INFO] [stdout] 364 |         A: Default,
[INFO] [stdout]     |            ^^^^^^^ required by this bound in `ndarray::impl_constructors::<impl ArrayBase<S, D>>::default`
[INFO] [stdout] help: consider further restricting type parameter `T` with trait `Default`
[INFO] [stdout]     |
[INFO] [stdout]  11 | impl<T: H5Type + Debug + Copy + std::default::Default> StateLogger<T> {
[INFO] [stdout]     |                               +++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read` found for struct `StateLogger<T>` in the current scope
[INFO] [stdout]    --> src/main.rs:106:35
[INFO] [stdout]     |
[INFO] [stdout] 106 |     println!("{:?}", state_logger.read(0));
[INFO] [stdout]     |                                   ^^^^ method not found in `StateLogger<IMUSample>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/state_logger.rs:5:1
[INFO] [stdout]     |
[INFO] [stdout]   5 | pub struct StateLogger <T> where T : H5Type + Debug + Copy {
[INFO] [stdout]     | -------------------------- method `read` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `read`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `std::io::Read`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `RustMultithreading` (bin "RustMultithreading") due to 2 previous errors; 17 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "ebd7974facc7e2c7454aa173a7cb1a33825549060a764bb212312d29b8a4a9b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ebd7974facc7e2c7454aa173a7cb1a33825549060a764bb212312d29b8a4a9b9", kill_on_drop: false }`
[INFO] [stdout] ebd7974facc7e2c7454aa173a7cb1a33825549060a764bb212312d29b8a4a9b9
