[INFO] fetching crate temporal-lead-solver 0.1.0... [INFO] testing temporal-lead-solver-0.1.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate temporal-lead-solver 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate temporal-lead-solver 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate temporal-lead-solver 0.1.0 [INFO] tweaked toml for crates.io crate temporal-lead-solver 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate temporal-lead-solver 0.1.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate temporal-lead-solver 0.1.0 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b31e8c65c2136827b40839eb0ee78ec0c3bda83375f26bc31eb9bfa477db9f29 [INFO] running `Command { std: "docker" "start" "-a" "b31e8c65c2136827b40839eb0ee78ec0c3bda83375f26bc31eb9bfa477db9f29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b31e8c65c2136827b40839eb0ee78ec0c3bda83375f26bc31eb9bfa477db9f29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b31e8c65c2136827b40839eb0ee78ec0c3bda83375f26bc31eb9bfa477db9f29", kill_on_drop: false }` [INFO] [stdout] b31e8c65c2136827b40839eb0ee78ec0c3bda83375f26bc31eb9bfa477db9f29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8f57bcae6c7d0da69aa8349d5f3f5e78ab84e030a9eefa333205f636eb49967 [INFO] running `Command { std: "docker" "start" "-a" "e8f57bcae6c7d0da69aa8349d5f3f5e78ab84e030a9eefa333205f636eb49967", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling ndarray v0.16.1 [INFO] [stderr] Compiling alga v0.9.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling simba v0.6.0 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling clap v4.5.48 [INFO] [stderr] Compiling sprs v0.11.3 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling nalgebra v0.29.0 [INFO] [stderr] Compiling nalgebra v0.32.6 [INFO] [stderr] Compiling statrs v0.16.1 [INFO] [stderr] Compiling temporal-lead-solver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Add`, `Mul`, and `Sub` [INFO] [stdout] --> src/core.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::{Add, Mul, Sub}; [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 import: `SparseMatrix` [INFO] [stdout] --> src/solver.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::core::{Matrix, Vector, SparseMatrix, Complexity}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Complexity` [INFO] [stdout] --> src/predictor.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::core::{Matrix, Vector, Complexity}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SolverResult` and `SublinearSolver` [INFO] [stdout] --> src/predictor.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::solver::{SublinearSolver, SolverMethod, SolverResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Matrix` and `Vector` [INFO] [stdout] --> src/validation.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::core::{Matrix, Vector}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `abs` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/core.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | row_sum += val.abs(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a type for this binding, like `f32` [INFO] [stdout] | [INFO] [stdout] 38 | let val: f32 = rng.gen_range(-1.0..1.0); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `&CsMatBase, Vec, Vec>` by `ArrayBase, Dim<[usize; 1]>>` [INFO] [stdout] --> src/core.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | let result = &self.data * v.view(); [INFO] [stdout] | ^ no implementation for `&CsMatBase, Vec, Vec> * ArrayBase, Dim<[usize; 1]>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Mul, Dim<[usize; 1]>>>` is not implemented for `&CsMatBase, Vec, Vec>` [INFO] [stdout] = help: the following other types implement trait `Mul`: [INFO] [stdout] `&CsMatBase` implements `Mul<&ndarray::ArrayBase>>` [INFO] [stdout] `&CsMatBase` implements `Mul<&ndarray::ArrayBase>>` [INFO] [stdout] `&CsMatBase` implements `Mul<&CsMatBase>` [INFO] [stdout] `&CsMatBase` implements `Mul<&CsVecBase>` [INFO] [stdout] `&CsMatBase` implements `Mul` [INFO] [stdout] `&CsMatBase` implements `Mul` [INFO] [stdout] `&CsMatBase` implements `Mul` [INFO] [stdout] `&CsMatBase` implements `Mul` [INFO] [stdout] and 8 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `data` of struct `Vector` is private [INFO] [stdout] --> src/solver.rs:235:22 [INFO] [stdout] | [INFO] [stdout] 235 | solution.data[i] = estimate / num_walks as f64; [INFO] [stdout] | ^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `data` of struct `Vector` is private [INFO] [stdout] --> src/solver.rs:257:29 [INFO] [stdout] | [INFO] [stdout] 257 | if residual.data[i].abs() > max_residual { [INFO] [stdout] | ^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `data` of struct `Vector` is private [INFO] [stdout] --> src/solver.rs:258:45 [INFO] [stdout] | [INFO] [stdout] 258 | max_residual = residual.data[i].abs(); [INFO] [stdout] | ^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `data` of struct `Vector` is private [INFO] [stdout] --> src/solver.rs:268:39 [INFO] [stdout] | [INFO] [stdout] 268 | let push_value = residual.data[max_idx]; [INFO] [stdout] | ^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `data` of struct `Vector` is private [INFO] [stdout] --> src/solver.rs:269:22 [INFO] [stdout] | [INFO] [stdout] 269 | solution.data[max_idx] += push_value; [INFO] [stdout] | ^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `data` of struct `Vector` is private [INFO] [stdout] --> src/solver.rs:273:26 [INFO] [stdout] | [INFO] [stdout] 273 | residual.data[j] -= push_value * a.view()[[max_idx, j]]; [INFO] [stdout] | ^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `data` of struct `Vector` is private [INFO] [stdout] --> src/solver.rs:275:22 [INFO] [stdout] | [INFO] [stdout] 275 | residual.data[max_idx] = 0.0; [INFO] [stdout] | ^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `data` of struct `Matrix` is private [INFO] [stdout] --> src/solver.rs:305:23 [INFO] [stdout] | [INFO] [stdout] 305 | m.data[[i, j]] = 0.0; [INFO] [stdout] | ^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `data` of struct `Matrix` is private [INFO] [stdout] --> src/solver.rs:309:27 [INFO] [stdout] | [INFO] [stdout] 309 | m.data[[i, j]] = -a.view()[[i, j]] / diagonal; [INFO] [stdout] | ^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `max` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/predictor.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | s_max = s_max.max(val); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a type for this binding, like `f32` [INFO] [stdout] | [INFO] [stdout] 35 | let mut s_max: f32 = 0.0; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `data` of struct `Vector` is private [INFO] [stdout] --> src/predictor.rs:265:29 [INFO] [stdout] | [INFO] [stdout] 265 | if residual.data[idx].abs() > max_res { [INFO] [stdout] | ^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `data` of struct `Vector` is private [INFO] [stdout] --> src/predictor.rs:266:40 [INFO] [stdout] | [INFO] [stdout] 266 | max_res = residual.data[idx].abs(); [INFO] [stdout] | ^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `data` of struct `Vector` is private [INFO] [stdout] --> src/predictor.rs:277:39 [INFO] [stdout] | [INFO] [stdout] 277 | let push_value = residual.data[max_idx]; [INFO] [stdout] | ^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `data` of struct `Vector` is private [INFO] [stdout] --> src/predictor.rs:278:22 [INFO] [stdout] | [INFO] [stdout] 278 | solution.data[max_idx] += push_value / (1.0 + params.delta); [INFO] [stdout] | ^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `data` of struct `Vector` is private [INFO] [stdout] --> src/predictor.rs:283:26 [INFO] [stdout] | [INFO] [stdout] 283 | residual.data[j] -= push_value * matrix.view()[[max_idx, j]] / (1.0 + params.delta); [INFO] [stdout] | ^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `data` of struct `Vector` is private [INFO] [stdout] --> src/predictor.rs:327:37 [INFO] [stdout] | [INFO] [stdout] 327 | let mut weight = target.data[start]; [INFO] [stdout] | ^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `data` of struct `Vector` is private [INFO] [stdout] --> src/predictor.rs:340:45 [INFO] [stdout] | [INFO] [stdout] 340 | correction += weight * residual.data[current]; [INFO] [stdout] | ^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/solver.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `solution` [INFO] [stdout] --> src/solver.rs:106:48 [INFO] [stdout] | [INFO] [stdout] 88 | let solution = match method { [INFO] [stdout] | -------- move occurs because `solution` has type `Vector`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 103 | solution, [INFO] [stdout] | -------- value moved here [INFO] [stdout] ... [INFO] [stdout] 106 | residual: self.compute_residual(a, &solution, b), [INFO] [stdout] | ^^^^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 103 | solution: solution.clone(), [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0382, E0616, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `temporal-lead-solver` (lib) due to 20 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e8f57bcae6c7d0da69aa8349d5f3f5e78ab84e030a9eefa333205f636eb49967", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8f57bcae6c7d0da69aa8349d5f3f5e78ab84e030a9eefa333205f636eb49967", kill_on_drop: false }` [INFO] [stdout] e8f57bcae6c7d0da69aa8349d5f3f5e78ab84e030a9eefa333205f636eb49967