[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 master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjorisquist%2FRustMultithreadingTest" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jorisquist/RustMultithreadingTest on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc1/source/Cargo.toml [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" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] testing jorisquist/RustMultithreadingTest against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjorisquist%2FRustMultithreadingTest" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jorisquist/RustMultithreadingTest on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc2/source/Cargo.toml [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" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hdf5-types v0.8.1 [INFO] [stderr] Downloaded hdf5-sys v0.8.1 [INFO] [stderr] Downloaded hdf5-derive v0.8.1 [INFO] [stderr] Downloaded hdf5 v0.8.1 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d89620b948c9cafb40c825b10f154a4389d3ad0e86cbb324ca6d38d272fefae [INFO] running `Command { std: "docker" "start" "-a" "9d89620b948c9cafb40c825b10f154a4389d3ad0e86cbb324ca6d38d272fefae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d89620b948c9cafb40c825b10f154a4389d3ad0e86cbb324ca6d38d272fefae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d89620b948c9cafb40c825b10f154a4389d3ad0e86cbb324ca6d38d272fefae", kill_on_drop: false }` [INFO] [stdout] 9d89620b948c9cafb40c825b10f154a4389d3ad0e86cbb324ca6d38d272fefae [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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0aecf5d0611c9b01feea59216d7d202f79012d2888b9d27417541041bd1d8da [INFO] running `Command { std: "docker" "start" "-a" "d0aecf5d0611c9b01feea59216d7d202f79012d2888b9d27417541041bd1d8da", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.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 lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling bytemuck v1.9.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling safe_arch v0.6.0 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling hdf5-types v0.8.1 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling wide v0.7.4 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling hdf5 v0.8.1 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling ascii v1.0.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling simba v0.7.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling ndarray v0.15.4 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling json v0.12.4 [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 nalgebra v0.30.1 [INFO] [stderr] Compiling clap v3.1.6 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArrayStorage`, `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)]` 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`, `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`, `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`, `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:: {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::>::default` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ndarray-0.15.4/src/impl_constructors.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 362 | pub fn default(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::>::default` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 11 | impl StateLogger { [INFO] [stdout] | +++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `StateLogger` 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` [INFO] [stdout] | [INFO] [stdout] ::: src/state_logger.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct StateLogger 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] error: aborting due to 2 previous errors; 17 warnings emitted [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 3 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d0aecf5d0611c9b01feea59216d7d202f79012d2888b9d27417541041bd1d8da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0aecf5d0611c9b01feea59216d7d202f79012d2888b9d27417541041bd1d8da", kill_on_drop: false }` [INFO] [stdout] d0aecf5d0611c9b01feea59216d7d202f79012d2888b9d27417541041bd1d8da