[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 beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxencefrenette%2Fproject-euler-rust" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxencefrenette/project-euler-rust on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-4/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" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cached v0.8.0 [INFO] [stderr] Downloaded gcd v1.2.0 [INFO] [stderr] Downloaded mod_exp v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "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] 9e6e0a9b5b0659c6babb452f2f75ffa981e7a6ad4ce0149eb3895d119173ff93 [INFO] running `Command { std: "docker" "start" "-a" "9e6e0a9b5b0659c6babb452f2f75ffa981e7a6ad4ce0149eb3895d119173ff93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e6e0a9b5b0659c6babb452f2f75ffa981e7a6ad4ce0149eb3895d119173ff93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e6e0a9b5b0659c6babb452f2f75ffa981e7a6ad4ce0149eb3895d119173ff93", kill_on_drop: false }` [INFO] [stdout] 9e6e0a9b5b0659c6babb452f2f75ffa981e7a6ad4ce0149eb3895d119173ff93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ff1c6f75c4cbd095f220d6b5bf5a5e02fa04650c90de735441987ea4cd5b630 [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" "7ff1c6f75c4cbd095f220d6b5bf5a5e02fa04650c90de735441987ea4cd5b630", 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 smallvec v0.6.9 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling proc-macro2 v0.4.28 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling hamming v0.1.3 [INFO] [stderr] Compiling syn v0.15.33 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling primal-estimate v0.2.1 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling gcd v1.2.0 [INFO] [stderr] Compiling float-ord v0.2.0 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling primal-bit v0.2.4 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling primal-sieve v0.2.9 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling aho-corasick v0.7.3 [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 num-integer v0.1.39 [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_core v0.4.0 [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 54.45s [INFO] running `Command { std: "docker" "inspect" "7ff1c6f75c4cbd095f220d6b5bf5a5e02fa04650c90de735441987ea4cd5b630", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ff1c6f75c4cbd095f220d6b5bf5a5e02fa04650c90de735441987ea4cd5b630", kill_on_drop: false }` [INFO] [stdout] 7ff1c6f75c4cbd095f220d6b5bf5a5e02fa04650c90de735441987ea4cd5b630 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25f049dcad7b1cda1147ad622abb0c7b0965dfbc8783295d398d7883c0eab7e9 [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" "25f049dcad7b1cda1147ad622abb0c7b0965dfbc8783295d398d7883c0eab7e9", kill_on_drop: false }` [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 2.25s [INFO] running `Command { std: "docker" "inspect" "25f049dcad7b1cda1147ad622abb0c7b0965dfbc8783295d398d7883c0eab7e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25f049dcad7b1cda1147ad622abb0c7b0965dfbc8783295d398d7883c0eab7e9", kill_on_drop: false }` [INFO] [stdout] 25f049dcad7b1cda1147ad622abb0c7b0965dfbc8783295d398d7883c0eab7e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5772c4e5ad12da3a2ea1a7dffc0f1e730c9d08bb0f0ef5e4252bd95fddcf039e [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" "5772c4e5ad12da3a2ea1a7dffc0f1e730c9d08bb0f0ef5e4252bd95fddcf039e", kill_on_drop: false }` [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] [stdout] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stdout] running 1 test [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.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/project_euler-fa256d5b499cc899) [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" "5772c4e5ad12da3a2ea1a7dffc0f1e730c9d08bb0f0ef5e4252bd95fddcf039e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5772c4e5ad12da3a2ea1a7dffc0f1e730c9d08bb0f0ef5e4252bd95fddcf039e", kill_on_drop: false }` [INFO] [stdout] 5772c4e5ad12da3a2ea1a7dffc0f1e730c9d08bb0f0ef5e4252bd95fddcf039e