[INFO] fetching crate nuts-rs 0.8.0...
[INFO] checking nuts-rs-0.8.0 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate nuts-rs 0.8.0 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate nuts-rs 0.8.0 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate nuts-rs 0.8.0
[INFO] finished tweaking crates.io crate nuts-rs 0.8.0
[INFO] tweaked toml for crates.io crate nuts-rs 0.8.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded multiversion-macros v0.7.4
[INFO] [stderr]   Downloaded target-features v0.1.6
[INFO] [stderr]   Downloaded multiversion v0.7.4
[INFO] [stderr]   Downloaded arrow2 v0.17.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b0df46b2623688341df4d9df1497b79f40a5298d7328e4098a1488e0510c5263
[INFO] running `Command { std: "docker" "start" "-a" "b0df46b2623688341df4d9df1497b79f40a5298d7328e4098a1488e0510c5263", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b0df46b2623688341df4d9df1497b79f40a5298d7328e4098a1488e0510c5263", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b0df46b2623688341df4d9df1497b79f40a5298d7328e4098a1488e0510c5263", kill_on_drop: false }`
[INFO] [stdout] b0df46b2623688341df4d9df1497b79f40a5298d7328e4098a1488e0510c5263
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 588361e6d5a2f2dfc312042834cf8c2ab99008c652ebbcf0591c7806915b8b50
[INFO] running `Command { std: "docker" "start" "-a" "588361e6d5a2f2dfc312042834cf8c2ab99008c652ebbcf0591c7806915b8b50", kill_on_drop: false }`
[INFO] [stderr]    Compiling target-features v0.1.6
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling semver v1.0.22
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling rustix v0.38.32
[INFO] [stderr]     Checking linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling matrixmultiply v0.3.8
[INFO] [stderr]     Checking fastrand v2.0.2
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling bytemuck_derive v1.6.0
[INFO] [stderr]     Checking serde v1.0.197
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking chrono v0.4.37
[INFO] [stderr]     Checking crossbeam-queue v0.3.11
[INFO] [stderr]     Checking wait-timeout v0.2.0
[INFO] [stderr]     Checking crossbeam-channel v0.5.12
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking bit-vec v0.6.3
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking simdutf8 v0.1.4
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]     Checking hash_hasher v2.0.3
[INFO] [stderr]     Checking foreign_vec v0.1.0
[INFO] [stderr]     Checking ethnum v1.5.0
[INFO] [stderr]     Checking crossbeam v0.8.4
[INFO] [stderr]     Checking bit-set v0.5.3
[INFO] [stderr]     Checking plotters v0.3.5
[INFO] [stderr]    Compiling arrow2 v0.17.4
[INFO] [stderr]     Checking rand_xorshift v0.3.0
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking is-terminal v0.4.12
[INFO] [stderr]     Checking rand_distr v0.4.3
[INFO] [stderr]     Checking itertools v0.11.0
[INFO] [stderr]     Checking unarray v0.1.4
[INFO] [stderr]     Checking nix v0.26.4
[INFO] [stderr]     Checking ndarray v0.15.6
[INFO] [stderr]     Checking criterion-plot v0.5.0
[INFO] [stderr]     Checking bytemuck v1.15.0
[INFO] [stderr]     Checking regex v1.10.4
[INFO] [stderr]     Checking tempfile v3.10.1
[INFO] [stderr]     Checking rusty-fork v0.3.0
[INFO] [stderr]     Checking proptest v1.4.0
[INFO] [stderr]     Checking serde_json v1.0.115
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking criterion v0.5.1
[INFO] [stderr]    Compiling multiversion-macros v0.7.4
[INFO] [stderr]     Checking multiversion v0.7.4
[INFO] [stderr]     Checking nuts-rs v0.8.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `AdaptStrategy` is imported redundantly
[INFO] [stdout]    --> src/adapt_strategy.rs:698:23
[INFO] [stdout]     |
[INFO] [stdout] 697 |     use super::*;
[INFO] [stdout]     |         -------- the item `AdaptStrategy` is already imported here
[INFO] [stdout] 698 |     use crate::nuts::{AdaptStrategy, Chain, NutsChain, NutsOptions};
[INFO] [stdout]     |                       ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `NutsOptions` is imported redundantly
[INFO] [stdout]    --> src/adapt_strategy.rs:698:56
[INFO] [stdout]     |
[INFO] [stdout] 697 |     use super::*;
[INFO] [stdout]     |         -------- the item `NutsOptions` is already imported here
[INFO] [stdout] 698 |     use crate::nuts::{AdaptStrategy, Chain, NutsChain, NutsOptions};
[INFO] [stdout]     |                                                        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlignedArray` is never constructed
[INFO] [stdout]   --> src/cpu_state.rs:84:19
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub(crate) struct AlignedArray {
[INFO] [stdout]    |                   ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `make_layout` are never used
[INFO] [stdout]    --> src/cpu_state.rs:90:19
[INFO] [stdout]     |
[INFO] [stdout] 89  | impl AlignedArray {
[INFO] [stdout]     | ----------------- associated functions in this implementation
[INFO] [stdout] 90  |     pub(crate) fn new(size: usize) -> Self {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     fn make_layout(size: usize) -> std::alloc::Layout {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NullCollector` is never constructed
[INFO] [stdout]   --> src/mass_matrix.rs:16:19
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub(crate) struct NullCollector {}
[INFO] [stdout]    |                   ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `write_momentum` and `log_acceptance_probability` are never used
[INFO] [stdout]    --> src/nuts.rs:159:8
[INFO] [stdout]     |
[INFO] [stdout] 148 | pub trait State: Clone + Debug {
[INFO] [stdout]     |           ----- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 159 |     fn write_momentum(&self, out: &mut [f64]);
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 175 |     fn log_acceptance_probability(&self, initial_energy: f64) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlignedArray` is never constructed
[INFO] [stdout]   --> src/cpu_state.rs:84:19
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub(crate) struct AlignedArray {
[INFO] [stdout]    |                   ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `make_layout` are never used
[INFO] [stdout]    --> src/cpu_state.rs:90:19
[INFO] [stdout]     |
[INFO] [stdout] 89  | impl AlignedArray {
[INFO] [stdout]     | ----------------- associated functions in this implementation
[INFO] [stdout] 90  |     pub(crate) fn new(size: usize) -> Self {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     fn make_layout(size: usize) -> std::alloc::Layout {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NullCollector` is never constructed
[INFO] [stdout]   --> src/mass_matrix.rs:16:19
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub(crate) struct NullCollector {}
[INFO] [stdout]    |                   ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `write_momentum` and `log_acceptance_probability` are never used
[INFO] [stdout]    --> src/nuts.rs:159:8
[INFO] [stdout]     |
[INFO] [stdout] 148 | pub trait State: Clone + Debug {
[INFO] [stdout]     |           ----- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 159 |     fn write_momentum(&self, out: &mut [f64]);
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 175 |     fn log_acceptance_probability(&self, initial_energy: f64) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> benches/sample.rs:11:50
[INFO] [stdout]     |
[INFO] [stdout] 11  |     new_sampler(func, SamplerArgs::default(), 0, 0)
[INFO] [stdout]     |     -----------                                  ^ expected `&mut _`, found integer
[INFO] [stdout]     |     |
[INFO] [stdout]     |     arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut _`
[INFO] [stdout]                             found type `{integer}`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/src/cpu_sampler.rs:184:8
[INFO] [stdout]     |
[INFO] [stdout] 184 | pub fn new_sampler<F: CpuLogpFunc, R: Rng + ?Sized>(
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] help: consider mutably borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 11  |     new_sampler(func, SamplerArgs::default(), 0, &mut 0)
[INFO] [stdout]     |                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 6 arguments but 7 arguments were supplied
[INFO] [stdout]    --> benches/sample.rs:103:41
[INFO] [stdout]     |
[INFO] [stdout] 103 |                 let (handle, channel) = sample_parallel(
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |                     n_try_init,
[INFO] [stdout]     |                     ---------- unexpected argument of type `{integer}`
[INFO] [stdout]     |
[INFO] [stdout] note: expected `&mut _`, found integer
[INFO] [stdout]    --> benches/sample.rs:108:21
[INFO] [stdout]     |
[INFO] [stdout] 108 |                     n_draws,
[INFO] [stdout]     |                     ^^^^^^^
[INFO] [stdout]     = note: expected mutable reference `&mut _`
[INFO] [stdout]                             found type `{integer}`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/src/cpu_sampler.rs:94:8
[INFO] [stdout]     |
[INFO] [stdout] 94  | pub fn sample_parallel<
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider mutably borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 108 |                     &mut n_draws,
[INFO] [stdout]     |                     ++++
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 108 ~                     /* rng */,
[INFO] [stdout] 109 ~                     seed,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nuts-rs` (bench "sample") due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "588361e6d5a2f2dfc312042834cf8c2ab99008c652ebbcf0591c7806915b8b50", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "588361e6d5a2f2dfc312042834cf8c2ab99008c652ebbcf0591c7806915b8b50", kill_on_drop: false }`
[INFO] [stdout] 588361e6d5a2f2dfc312042834cf8c2ab99008c652ebbcf0591c7806915b8b50
