[INFO] cloning repository https://github.com/maxencefrenette/project-euler-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maxencefrenette/project-euler-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxencefrenette%2Fproject-euler-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxencefrenette%2Fproject-euler-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9e77add66b87aacd141b767c4ddaa5876963e1f0 [INFO] testing maxencefrenette/project-euler-rust against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxencefrenette%2Fproject-euler-rust" "/workspace/builds/worker-48/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-48/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxencefrenette/project-euler-rust on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/maxencefrenette/project-euler-rust [INFO] finished tweaking git repo https://github.com/maxencefrenette/project-euler-rust [INFO] tweaked toml for git repo https://github.com/maxencefrenette/project-euler-rust written to /workspace/builds/worker-48/source/Cargo.toml [INFO] crate git repo https://github.com/maxencefrenette/project-euler-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mod_exp v1.0.1 [INFO] [stderr] Downloaded cached v0.8.0 [INFO] [stderr] Downloaded gcd v1.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 51f59e197ac21b906ce907301d72d6e8f628b8d1a61641734cddd123591a665b [INFO] running `Command { std: "docker" "start" "-a" "51f59e197ac21b906ce907301d72d6e8f628b8d1a61641734cddd123591a665b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51f59e197ac21b906ce907301d72d6e8f628b8d1a61641734cddd123591a665b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51f59e197ac21b906ce907301d72d6e8f628b8d1a61641734cddd123591a665b", kill_on_drop: false }` [INFO] [stdout] 51f59e197ac21b906ce907301d72d6e8f628b8d1a61641734cddd123591a665b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e463eefe250445b12749ac9384a42785a36aec701f1413ce9393f9c1fe05f91 [INFO] running `Command { std: "docker" "start" "-a" "6e463eefe250445b12749ac9384a42785a36aec701f1413ce9393f9c1fe05f91", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling proc-macro2 v0.4.28 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling hamming v0.1.3 [INFO] [stderr] Compiling syn v0.15.33 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling primal-estimate v0.2.1 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling float-ord v0.2.0 [INFO] [stderr] Compiling gcd v1.2.0 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling primal-bit v0.2.4 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling primal-sieve v0.2.9 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling primal-check v0.2.3 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling primal v0.2.3 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling once_cell v0.1.8 [INFO] [stderr] Compiling cached v0.8.0 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling mod_exp v1.0.1 [INFO] [stderr] Compiling project-euler-macros v0.1.0 (/opt/rustwide/workdir/macros) [INFO] [stderr] Compiling env_logger v0.6.1 [INFO] [stderr] Compiling project-euler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/solutions/p17.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | n @ 14...19 => format!("{}teen", spell(n - 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 2018) 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/solutions/p17.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | n @ 20...99 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/solutions/p17.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | n @ 100...999 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.33s [INFO] running `Command { std: "docker" "inspect" "6e463eefe250445b12749ac9384a42785a36aec701f1413ce9393f9c1fe05f91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e463eefe250445b12749ac9384a42785a36aec701f1413ce9393f9c1fe05f91", kill_on_drop: false }` [INFO] [stdout] 6e463eefe250445b12749ac9384a42785a36aec701f1413ce9393f9c1fe05f91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4e8663b6ecd9706b964f7dde8e3a53d1c845b3cdda8dc192d802f81dc07bd2e [INFO] running `Command { std: "docker" "start" "-a" "f4e8663b6ecd9706b964f7dde8e3a53d1c845b3cdda8dc192d802f81dc07bd2e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling project-euler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/solutions/p17.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | n @ 14...19 => format!("{}teen", spell(n - 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 2018) 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/solutions/p17.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | n @ 20...99 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/solutions/p17.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | n @ 100...999 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.46s [INFO] running `Command { std: "docker" "inspect" "f4e8663b6ecd9706b964f7dde8e3a53d1c845b3cdda8dc192d802f81dc07bd2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4e8663b6ecd9706b964f7dde8e3a53d1c845b3cdda8dc192d802f81dc07bd2e", kill_on_drop: false }` [INFO] [stdout] f4e8663b6ecd9706b964f7dde8e3a53d1c845b3cdda8dc192d802f81dc07bd2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 092f297dc0d411320fc006bb0cdf9b681fc4e76c45762aaebbc12c83b8c337bb [INFO] running `Command { std: "docker" "start" "-a" "092f297dc0d411320fc006bb0cdf9b681fc4e76c45762aaebbc12c83b8c337bb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/solutions/p17.rs:18:15 [INFO] [stderr] | [INFO] [stderr] 18 | n @ 14...19 => format!("{}teen", spell(n - 10)), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/solutions/p17.rs:19:15 [INFO] [stderr] | [INFO] [stderr] 19 | n @ 20...99 => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/solutions/p17.rs:31:16 [INFO] [stderr] | [INFO] [stderr] 31 | n @ 100...999 => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `project-euler` (bin "project-euler" test) generated 3 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.58s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/project_euler-391640ee165a4f72) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test common::tests::totient_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "092f297dc0d411320fc006bb0cdf9b681fc4e76c45762aaebbc12c83b8c337bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "092f297dc0d411320fc006bb0cdf9b681fc4e76c45762aaebbc12c83b8c337bb", kill_on_drop: false }` [INFO] [stdout] 092f297dc0d411320fc006bb0cdf9b681fc4e76c45762aaebbc12c83b8c337bb