[INFO] cloning repository https://github.com/sciyoshi/euler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sciyoshi/euler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsciyoshi%2Feuler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsciyoshi%2Feuler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 82220e62954758d66ff70909e04fd7a5208addde [INFO] testing sciyoshi/euler against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsciyoshi%2Feuler" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sciyoshi/euler on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sciyoshi/euler [INFO] finished tweaking git repo https://github.com/sciyoshi/euler [INFO] tweaked toml for git repo https://github.com/sciyoshi/euler written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/sciyoshi/euler already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b8b56a1e76bfb00fe1d17a1d3b80e2fc7dc79a64330512b8fb3e82fff4288fbe [INFO] running `Command { std: "docker" "start" "-a" "b8b56a1e76bfb00fe1d17a1d3b80e2fc7dc79a64330512b8fb3e82fff4288fbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8b56a1e76bfb00fe1d17a1d3b80e2fc7dc79a64330512b8fb3e82fff4288fbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8b56a1e76bfb00fe1d17a1d3b80e2fc7dc79a64330512b8fb3e82fff4288fbe", kill_on_drop: false }` [INFO] [stdout] b8b56a1e76bfb00fe1d17a1d3b80e2fc7dc79a64330512b8fb3e82fff4288fbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd4a6d1e83c4283f3f6ba8eae51add22b57040b6443edf011d7295f489f0d748 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bd4a6d1e83c4283f3f6ba8eae51add22b57040b6443edf011d7295f489f0d748", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rustc-serialize v0.3.21 [INFO] [stderr] Compiling hamming v0.1.3 [INFO] [stderr] Compiling primal-estimate v0.2.1 [INFO] [stderr] Compiling ndarray v0.7.1 [INFO] [stderr] Compiling either v1.0.2 [INFO] [stderr] Compiling unicode-width v0.1.3 [INFO] [stderr] Compiling matrixmultiply v0.1.12 [INFO] [stderr] Compiling encode_unicode v0.2.0 [INFO] [stderr] Compiling bit-vec v0.4.3 [INFO] [stderr] Compiling term v0.4.4 [INFO] [stderr] Compiling atty v0.2.1 [INFO] [stderr] Compiling time v0.1.35 [INFO] [stderr] Compiling itertools v0.5.6 [INFO] [stderr] Compiling primal-bit v0.2.3 [INFO] [stderr] Compiling bit-set v0.4.0 [INFO] [stderr] Compiling primal-sieve v0.2.6 [INFO] [stderr] Compiling num-bigint v0.1.35 [INFO] [stderr] Compiling num-complex v0.1.35 [INFO] [stderr] Compiling csv v0.14.7 [INFO] [stderr] Compiling prettytable-rs v0.6.6 [INFO] [stderr] Compiling num-rational v0.1.35 [INFO] [stderr] Compiling num v0.1.36 [INFO] [stderr] Compiling primal-check v0.2.2 [INFO] [stderr] Compiling roaring v0.4.0 [INFO] [stderr] Compiling mod_pow v0.1.0 (https://github.com/kunerd/mod_pow#c3a01b12) [INFO] [stderr] Compiling mod_exp v1.0.0 [INFO] [stderr] Compiling primal v0.2.3 [INFO] [stderr] Compiling euler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/problem75.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | for total in (sum...limit).step_by(sum) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 41 | for total in (sum..limit).step_by(sum) { [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 41 | for total in (sum..=limit).step_by(sum) { [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/problem91.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | for x in 1...bound { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 17 | for x in 1..bound { [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 17 | for x in 1..=bound { [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/problem91.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | for y in 1...x { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 18 | for y in 1..x { [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 18 | for y in 1..=x { [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/problem93.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | for j in i...k { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 86 | for j in i..k { [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 86 | for j in i..=k { [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/problem94.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | for i in (3...limit).step_by(2) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 11 | for i in (3..limit).step_by(2) { [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 11 | for i in (3..=limit).step_by(2) { [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/problem94.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | for i in (3...limit).step_by(2) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 17 | for i in (3..limit).step_by(2) { [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 17 | for i in (3..=limit).step_by(2) { [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/problem96.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | for digit in 1...9 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 42 | for digit in 1..9 { [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 42 | for digit in 1..=9 { [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/problem96.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | for digit in 1...9 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 58 | for digit in 1..9 { [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 58 | for digit in 1..=9 { [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/problem98.rs:54:28 [INFO] [stdout] | [INFO] [stdout] 54 | let squares: Vec = (1...limit).map(|n| n * n).collect(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 54 | let squares: Vec = (1..limit).map(|n| n * n).collect(); [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 54 | let squares: Vec = (1..=limit).map(|n| n * n).collect(); [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/problem124.rs:9:42 [INFO] [stdout] | [INFO] [stdout] 9 | let mut result: Vec<(usize, usize)> = (1...limit).map(|n| (sieve.factor(n).unwrap().iter().map(|&(p, _)| p).product(), n)).collect(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 9 | let mut result: Vec<(usize, usize)> = (1..limit).map(|n| (sieve.factor(n).unwrap().iter().map(|&(p, _)| p).product(), n)).collect(); [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 9 | let mut result: Vec<(usize, usize)> = (1..=limit).map(|n| (sieve.factor(n).unwrap().iter().map(|&(p, _)| p).product(), n)).collect(); [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/problem149.rs:29:40 [INFO] [stdout] | [INFO] [stdout] 29 | diag1_max = max(diag1_max, max_sum((0...i).zip((0...i).rev()).map(|(i, j)| &arr[[i, j]]))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 29 | diag1_max = max(diag1_max, max_sum((0..i).zip((0...i).rev()).map(|(i, j)| &arr[[i, j]]))); [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 29 | diag1_max = max(diag1_max, max_sum((0..=i).zip((0...i).rev()).map(|(i, j)| &arr[[i, j]]))); [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/problem149.rs:29:52 [INFO] [stdout] | [INFO] [stdout] 29 | diag1_max = max(diag1_max, max_sum((0...i).zip((0...i).rev()).map(|(i, j)| &arr[[i, j]]))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 29 | diag1_max = max(diag1_max, max_sum((0...i).zip((0..i).rev()).map(|(i, j)| &arr[[i, j]]))); [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 29 | diag1_max = max(diag1_max, max_sum((0...i).zip((0..=i).rev()).map(|(i, j)| &arr[[i, j]]))); [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/problem149.rs:30:50 [INFO] [stdout] | [INFO] [stdout] 30 | diag2_max = max(diag2_max, max_sum((dim - 1 - i...dim - 1).zip(0...i).map(|(i, j)| &arr[[i, j]]))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 30 | diag2_max = max(diag2_max, max_sum((dim - 1 - i..dim - 1).zip(0...i).map(|(i, j)| &arr[[i, j]]))); [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 30 | diag2_max = max(diag2_max, max_sum((dim - 1 - i..=dim - 1).zip(0...i).map(|(i, j)| &arr[[i, j]]))); [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/problem149.rs:30:67 [INFO] [stdout] | [INFO] [stdout] 30 | diag2_max = max(diag2_max, max_sum((dim - 1 - i...dim - 1).zip(0...i).map(|(i, j)| &arr[[i, j]]))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 30 | diag2_max = max(diag2_max, max_sum((dim - 1 - i...dim - 1).zip(0..i).map(|(i, j)| &arr[[i, j]]))); [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 30 | diag2_max = max(diag2_max, max_sum((dim - 1 - i...dim - 1).zip(0..=i).map(|(i, j)| &arr[[i, j]]))); [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/problem149.rs:34:40 [INFO] [stdout] | [INFO] [stdout] 34 | diag1_max = max(diag1_max, max_sum((i...dim - 1).zip((i...dim - 1).rev()).map(|(i, j)| &arr[[i, j]]))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 34 | diag1_max = max(diag1_max, max_sum((i..dim - 1).zip((i...dim - 1).rev()).map(|(i, j)| &arr[[i, j]]))); [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 34 | diag1_max = max(diag1_max, max_sum((i..=dim - 1).zip((i...dim - 1).rev()).map(|(i, j)| &arr[[i, j]]))); [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/problem149.rs:34:58 [INFO] [stdout] | [INFO] [stdout] 34 | diag1_max = max(diag1_max, max_sum((i...dim - 1).zip((i...dim - 1).rev()).map(|(i, j)| &arr[[i, j]]))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 34 | diag1_max = max(diag1_max, max_sum((i...dim - 1).zip((i..dim - 1).rev()).map(|(i, j)| &arr[[i, j]]))); [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 34 | diag1_max = max(diag1_max, max_sum((i...dim - 1).zip((i..=dim - 1).rev()).map(|(i, j)| &arr[[i, j]]))); [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/problem149.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | diag2_max = max(diag2_max, max_sum((0...i).zip(i...dim - 1).map(|(i, j)| &arr[[i, j]]))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 35 | diag2_max = max(diag2_max, max_sum((0..i).zip(i...dim - 1).map(|(i, j)| &arr[[i, j]]))); [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 35 | diag2_max = max(diag2_max, max_sum((0..=i).zip(i...dim - 1).map(|(i, j)| &arr[[i, j]]))); [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/problem149.rs:35:51 [INFO] [stdout] | [INFO] [stdout] 35 | diag2_max = max(diag2_max, max_sum((0...i).zip(i...dim - 1).map(|(i, j)| &arr[[i, j]]))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 35 | diag2_max = max(diag2_max, max_sum((0...i).zip(i..dim - 1).map(|(i, j)| &arr[[i, j]]))); [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 35 | diag2_max = max(diag2_max, max_sum((0...i).zip(i..=dim - 1).map(|(i, j)| &arr[[i, j]]))); [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/problem185.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | for digit in 1...size { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 74 | for digit in 1..size { [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 74 | for digit in 1..=size { [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/problem185.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | for pos in 1...size { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 80 | for pos in 1..size { [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 80 | for pos in 1..=size { [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/problem185.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | for digit in 0...9 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 81 | for digit in 0..9 { [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 81 | for digit in 0..=9 { [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/problem162.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | format!("{:X}", (1...16).map(|n| count(n)).sum::()) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 10 | format!("{:X}", (1..16).map(|n| count(n)).sum::()) [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 10 | format!("{:X}", (1..=16).map(|n| count(n)).sum::()) [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(inclusive_range_syntax, step_by, conservative_impl_trait, ptr_eq)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: the feature `inclusive_range_syntax` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] = help: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/problem60.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | 0...10 => 10, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/problem60.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 10...100 => 100, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/problem60.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | 100...1000 => 1000, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/problem60.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | 1000...10000 => 10000, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/problem60.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | 10000...100000 => 100000, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/problem60.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | 100000...1000000 => 1000000, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/problem60.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | 1000000...10000000 => 10000000, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/problem60.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | 10000000...100000000 => 100000000, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/problem60.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | 100000000...1000000000 => 1000000000, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/problem60.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | 1000000000...10000000000 => 10000000000, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/problem60.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | 10000000000...100000000000 => 100000000000, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/problem60.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | 100000000000...1000000000000 => 1000000000000, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/problem91.rs:22:45 [INFO] [stdout] | [INFO] [stdout] 22 | let min = cmp::max(-frac!(y / xp), frac!((x - bound) / yp)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 - let min = cmp::max(-frac!(y / xp), frac!((x - bound) / yp)); [INFO] [stdout] 22 + let min = cmp::max(-frac!(y / xp), frac!(x - bound / yp)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/problem91.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | let max = cmp::min(frac!(x / yp), frac!((bound - y) / xp)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - let max = cmp::min(frac!(x / yp), frac!((bound - y) / xp)); [INFO] [stdout] 23 + let max = cmp::min(frac!(x / yp), frac!(bound - y / xp)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/problem149.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | 1...55 => (100_003 - 200_003 * (n as i64) + 300_007 * (n as i64).pow(3)) % 1_000_000 - 500_000, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/problem186.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | 1...55 => (100_003 - 200_003 * (n as i64) + 300_007 * (n as i64).pow(3)) % 1_000_000, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(inclusive_range_syntax, step_by, conservative_impl_trait, ptr_eq)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(inclusive_range_syntax, step_by, conservative_impl_trait, ptr_eq)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(inclusive_range_syntax, step_by, conservative_impl_trait, ptr_eq)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:70 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(inclusive_range_syntax, step_by, conservative_impl_trait, ptr_eq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `ptr_eq` has been stable since 1.17.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:70 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(inclusive_range_syntax, step_by, conservative_impl_trait, ptr_eq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `step_by` [INFO] [stdout] --> src/main.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(inclusive_range_syntax, step_by, conservative_impl_trait, ptr_eq)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/problem186.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | select_root: Box usize> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - select_root: Box usize> [INFO] [stdout] 11 + select_root: Box usize> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/problem93.rs:39:72 [INFO] [stdout] | [INFO] [stdout] 39 | fn add_leaf(tree: Rc>, val: V) -> Box>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - fn add_leaf(tree: Rc>, val: V) -> Box>> { [INFO] [stdout] 39 + fn add_leaf(tree: Rc>, val: V) -> Box>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/problem93.rs:63:60 [INFO] [stdout] | [INFO] [stdout] 63 | fn expr_trees(terms: &[V]) -> Box>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 - fn expr_trees(terms: &[V]) -> Box>> { [INFO] [stdout] 63 + fn expr_trees(terms: &[V]) -> Box>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/problem305.rs:54:54 [INFO] [stdout] | [INFO] [stdout] 54 | fn superstrings(n: usize, d: usize, k: usize) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 - fn superstrings(n: usize, d: usize, k: usize) -> Box> { [INFO] [stdout] 54 + fn superstrings(n: usize, d: usize, k: usize) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/problem75.rs:41:38 [INFO] [stdout] | [INFO] [stdout] 41 | for total in (sum...limit).step_by(sum) { [INFO] [stdout] | ^^^ expected `usize`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u64` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 41 | for total in (sum...limit).step_by(sum.try_into().unwrap()) { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors; 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0554, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `euler` due to 28 previous errors; 25 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bd4a6d1e83c4283f3f6ba8eae51add22b57040b6443edf011d7295f489f0d748", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd4a6d1e83c4283f3f6ba8eae51add22b57040b6443edf011d7295f489f0d748", kill_on_drop: false }` [INFO] [stdout] bd4a6d1e83c4283f3f6ba8eae51add22b57040b6443edf011d7295f489f0d748