[INFO] fetching crate electro 0.9.3... [INFO] testing electro-0.9.3 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate electro 0.9.3 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate electro 0.9.3 [INFO] finished tweaking crates.io crate electro 0.9.3 [INFO] tweaked toml for crates.io crate electro 0.9.3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate electro 0.9.3 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 21 packages to latest compatible versions [INFO] [stderr] Adding num v0.1.43 (available: v0.4.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f6d05f642ea59a1ff45fb1582861c3ca9f160f34f5e1999f679286e75996141 [INFO] running `Command { std: "docker" "start" "-a" "8f6d05f642ea59a1ff45fb1582861c3ca9f160f34f5e1999f679286e75996141", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f6d05f642ea59a1ff45fb1582861c3ca9f160f34f5e1999f679286e75996141", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f6d05f642ea59a1ff45fb1582861c3ca9f160f34f5e1999f679286e75996141", kill_on_drop: false }` [INFO] [stdout] 8f6d05f642ea59a1ff45fb1582861c3ca9f160f34f5e1999f679286e75996141 [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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37e349dbb716bf944c6a9ee08ad80c835a5667ba5029dca2e9d3e2a87c76934b [INFO] running `Command { std: "docker" "start" "-a" "37e349dbb716bf944c6a9ee08ad80c835a5667ba5029dca2e9d3e2a87c76934b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-bigint v0.1.45 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Compiling num-complex v0.1.44 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling num v0.1.43 [INFO] [stderr] Compiling rulinalg v0.4.2 [INFO] [stderr] Compiling electro v0.9.3 (/opt/rustwide/workdir) [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/topo.rs:126:35 [INFO] [stdout] | [INFO] [stdout] 126 | let bottom_horiz = lower_left[0]...lower_right[0]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 126 - let bottom_horiz = lower_left[0]...lower_right[0]; [INFO] [stdout] 126 + let bottom_horiz = lower_left[0]..lower_right[0]; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 126 - let bottom_horiz = lower_left[0]...lower_right[0]; [INFO] [stdout] 126 + let bottom_horiz = lower_left[0]..=lower_right[0]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/topo.rs:128:35 [INFO] [stdout] | [INFO] [stdout] 128 | let right_vert = (upper_right[1]...lower_right[1]).rev(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 128 - let right_vert = (upper_right[1]...lower_right[1]).rev(); [INFO] [stdout] 128 + let right_vert = (upper_right[1]..lower_right[1]).rev(); [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 128 - let right_vert = (upper_right[1]...lower_right[1]).rev(); [INFO] [stdout] 128 + let right_vert = (upper_right[1]..=lower_right[1]).rev(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/topo.rs:129:33 [INFO] [stdout] | [INFO] [stdout] 129 | let top_horiz = (upper_left[0]...upper_right[0]).rev(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 129 - let top_horiz = (upper_left[0]...upper_right[0]).rev(); [INFO] [stdout] 129 + let top_horiz = (upper_left[0]..upper_right[0]).rev(); [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 129 - let top_horiz = (upper_left[0]...upper_right[0]).rev(); [INFO] [stdout] 129 + let top_horiz = (upper_left[0]..=upper_right[0]).rev(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/topo.rs:257:43 [INFO] [stdout] | [INFO] [stdout] 257 | let conductor_col_inds = conductor_start...conductor_end; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 257 - let conductor_col_inds = conductor_start...conductor_end; [INFO] [stdout] 257 + let conductor_col_inds = conductor_start..conductor_end; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 257 - let conductor_col_inds = conductor_start...conductor_end; [INFO] [stdout] 257 + let conductor_col_inds = conductor_start..=conductor_end; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/topo.rs:274:43 [INFO] [stdout] | [INFO] [stdout] 274 | let conductor_col_inds = conductor_start...conductor_end; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 274 - let conductor_col_inds = conductor_start...conductor_end; [INFO] [stdout] 274 + let conductor_col_inds = conductor_start..conductor_end; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 274 - let conductor_col_inds = conductor_start...conductor_end; [INFO] [stdout] 274 + let conductor_col_inds = conductor_start..=conductor_end; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/topo.rs:300:43 [INFO] [stdout] | [INFO] [stdout] 300 | let conductor_col_inds = conductor_start...conductor_end; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 300 - let conductor_col_inds = conductor_start...conductor_end; [INFO] [stdout] 300 + let conductor_col_inds = conductor_start..conductor_end; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 300 - let conductor_col_inds = conductor_start...conductor_end; [INFO] [stdout] 300 + let conductor_col_inds = conductor_start..=conductor_end; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/topo.rs:322:43 [INFO] [stdout] | [INFO] [stdout] 322 | let conductor_col_inds = conductor_start...conductor_end; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 322 - let conductor_col_inds = conductor_start...conductor_end; [INFO] [stdout] 322 + let conductor_col_inds = conductor_start..conductor_end; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 322 - let conductor_col_inds = conductor_start...conductor_end; [INFO] [stdout] 322 + let conductor_col_inds = conductor_start..=conductor_end; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/topo.rs:341:43 [INFO] [stdout] | [INFO] [stdout] 341 | let conductor_col_inds = conductor_start...conductor_end; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 341 - let conductor_col_inds = conductor_start...conductor_end; [INFO] [stdout] 341 + let conductor_col_inds = conductor_start..conductor_end; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 341 - let conductor_col_inds = conductor_start...conductor_end; [INFO] [stdout] 341 + let conductor_col_inds = conductor_start..=conductor_end; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/topo.rs:359:43 [INFO] [stdout] | [INFO] [stdout] 359 | let conductor_col_inds = conductor_start...conductor_end; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 359 - let conductor_col_inds = conductor_start...conductor_end; [INFO] [stdout] 359 + let conductor_col_inds = conductor_start..conductor_end; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 359 - let conductor_col_inds = conductor_start...conductor_end; [INFO] [stdout] 359 + let conductor_col_inds = conductor_start..=conductor_end; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/fd.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(step_by)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `inclusive_range_syntax` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(inclusive_range_syntax)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `step_by` [INFO] [stdout] --> src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(step_by)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mm.rs:123:20 [INFO] [stdout] | [INFO] [stdout] 123 | for (diag_ind, mut diag_val) in moment_mat [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mm.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | for mut diag_val in moment_mat.diag_iter_mut(DiagOffset::Main) { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stderr] error: could not compile `electro` (lib) due to 10 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "37e349dbb716bf944c6a9ee08ad80c835a5667ba5029dca2e9d3e2a87c76934b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37e349dbb716bf944c6a9ee08ad80c835a5667ba5029dca2e9d3e2a87c76934b", kill_on_drop: false }` [INFO] [stdout] 37e349dbb716bf944c6a9ee08ad80c835a5667ba5029dca2e9d3e2a87c76934b