[INFO] fetching crate electro 0.9.3... [INFO] testing electro-0.9.3 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate electro 0.9.3 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate electro 0.9.3 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a58442f62587b3152bb71863f94550e45340c0bfebcdcfade264873b7411e3d [INFO] running `Command { std: "docker" "start" "-a" "6a58442f62587b3152bb71863f94550e45340c0bfebcdcfade264873b7411e3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a58442f62587b3152bb71863f94550e45340c0bfebcdcfade264873b7411e3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a58442f62587b3152bb71863f94550e45340c0bfebcdcfade264873b7411e3d", kill_on_drop: false }` [INFO] [stdout] 6a58442f62587b3152bb71863f94550e45340c0bfebcdcfade264873b7411e3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4508f2aa67fd222d7b0356db58861fcdefa8004b55c3f9fd4bbc3ec77b054347 [INFO] running `Command { std: "docker" "start" "-a" "4508f2aa67fd222d7b0356db58861fcdefa8004b55c3f9fd4bbc3ec77b054347", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.1.45 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling num-complex v0.1.44 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-iter v0.1.45 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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" "4508f2aa67fd222d7b0356db58861fcdefa8004b55c3f9fd4bbc3ec77b054347", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4508f2aa67fd222d7b0356db58861fcdefa8004b55c3f9fd4bbc3ec77b054347", kill_on_drop: false }` [INFO] [stdout] 4508f2aa67fd222d7b0356db58861fcdefa8004b55c3f9fd4bbc3ec77b054347