[INFO] cloning repository https://github.com/mastermatt/project_euler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mastermatt/project_euler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmastermatt%2Fproject_euler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmastermatt%2Fproject_euler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] af32fa79e6b5deec1cc3486660ee833a27ac8589 [INFO] testing mastermatt/project_euler against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmastermatt%2Fproject_euler" "/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/mastermatt/project_euler on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mastermatt/project_euler [INFO] finished tweaking git repo https://github.com/mastermatt/project_euler [INFO] tweaked toml for git repo https://github.com/mastermatt/project_euler written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/mastermatt/project_euler already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded primal-check v0.2.3 [INFO] [stderr] Downloaded primal-bit v0.2.4 [INFO] [stderr] Downloaded smallvec v0.6.14 [INFO] [stderr] Downloaded hamming v0.1.3 [INFO] [stderr] Downloaded primal v0.2.3 [INFO] [stderr] Downloaded primal-estimate v0.2.1 [INFO] [stderr] Downloaded primal-sieve v0.2.9 [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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f016ffbe1e4a741f3aea9fbb3124f5a0ed05c63fbd6b441aa33667fb5cf4995b [INFO] running `Command { std: "docker" "start" "-a" "f016ffbe1e4a741f3aea9fbb3124f5a0ed05c63fbd6b441aa33667fb5cf4995b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f016ffbe1e4a741f3aea9fbb3124f5a0ed05c63fbd6b441aa33667fb5cf4995b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f016ffbe1e4a741f3aea9fbb3124f5a0ed05c63fbd6b441aa33667fb5cf4995b", kill_on_drop: false }` [INFO] [stdout] f016ffbe1e4a741f3aea9fbb3124f5a0ed05c63fbd6b441aa33667fb5cf4995b [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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b49101ae1183c2a0674203cfcac64c68bc1006bb69d9bee5559a0e01ab00edb9 [INFO] running `Command { std: "docker" "start" "-a" "b49101ae1183c2a0674203cfcac64c68bc1006bb69d9bee5559a0e01ab00edb9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling hamming v0.1.3 [INFO] [stderr] Compiling primal-estimate v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling primal-bit v0.2.4 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling primal-sieve v0.2.9 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling primal-check v0.2.3 [INFO] [stderr] Compiling primal v0.2.3 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling project_euler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/p0022.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/p0067.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute` [INFO] [stdout] --> src/p0001.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn compute(bound: u32) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute` [INFO] [stdout] --> src/p0002.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn compute(bound: u32) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute` [INFO] [stdout] --> src/p0003.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn compute(num: u64) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TEN` [INFO] [stdout] --> src/p0004.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const TEN: u32 = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute` [INFO] [stdout] --> src/p0004.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn compute(num: u32) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_palindrome` [INFO] [stdout] --> src/p0004.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn is_palindrome(num: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute` [INFO] [stdout] --> src/p0005.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn compute(bound: u32) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gcd` [INFO] [stdout] --> src/p0005.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn gcd(a: u32, b: u32) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lcm` [INFO] [stdout] --> src/p0005.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn lcm(a: u32, b: u32) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute` [INFO] [stdout] --> src/p0006.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn compute(bound: u32) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sum_of_squares` [INFO] [stdout] --> src/p0006.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn sum_of_squares(bound: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `square_of_sum` [INFO] [stdout] --> src/p0006.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn square_of_sum(bound: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute` [INFO] [stdout] --> src/p0007.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn compute(n: usize) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_prime` [INFO] [stdout] --> src/p0007.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn is_prime(n: &u32) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INPUT` [INFO] [stdout] --> src/p0008.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / const INPUT: &str = r" [INFO] [stdout] 10 | | 73167176531330624919225119674426574742355349194934 [INFO] [stdout] 11 | | 96983520312774506326239578318016984801869478851843 [INFO] [stdout] 12 | | 85861560789112949495459501737958331952853208805511 [INFO] [stdout] ... | [INFO] [stdout] 29 | | 71636269561882670428252483600823257530420752963450 [INFO] [stdout] 30 | | "; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute` [INFO] [stdout] --> src/p0008.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn compute(l: usize) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute` [INFO] [stdout] --> src/p0009.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn compute(n: u32) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute` [INFO] [stdout] --> src/p0010.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn compute(n: usize) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INPUT` [INFO] [stdout] --> src/p0011.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / const INPUT: &str = r" [INFO] [stdout] 32 | | 08 02 22 97 38 15 00 40 00 75 04 05 07 78 52 12 50 77 91 08 [INFO] [stdout] 33 | | 49 49 99 40 17 81 18 57 60 87 17 40 98 43 69 48 04 56 62 00 [INFO] [stdout] 34 | | 81 49 31 73 55 79 14 29 93 71 40 67 53 88 30 03 49 13 36 65 [INFO] [stdout] ... | [INFO] [stdout] 51 | | 01 70 54 71 83 51 54 69 16 92 33 48 61 43 52 01 89 19 67 48 [INFO] [stdout] 52 | | "; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_input` [INFO] [stdout] --> src/p0011.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn parse_input() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute` [INFO] [stdout] --> src/p0011.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn compute() -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute` [INFO] [stdout] --> src/p0012.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn compute(bound: u32) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INPUT` [INFO] [stdout] --> src/p0013.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / const INPUT: [&str; 100] = [ [INFO] [stdout] 11 | | "37107287533902102798797998220837590246510135740250", [INFO] [stdout] 12 | | "46376937677490009712648124896970078050417018260538", [INFO] [stdout] 13 | | "74324986199524741059474233309513058123726617309629", [INFO] [stdout] ... | [INFO] [stdout] 110 | | "53503534226472524250874054075591789781264330331690", [INFO] [stdout] 111 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_line` [INFO] [stdout] --> src/p0013.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn parse_line(line: &&str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute` [INFO] [stdout] --> src/p0013.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn compute() -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute` [INFO] [stdout] --> src/p0014.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn compute() -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_chain_len` [INFO] [stdout] --> src/p0014.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn get_chain_len(num: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute` [INFO] [stdout] --> src/p0015.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn compute(size: usize) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute` [INFO] [stdout] --> src/p0016.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn compute(pow: usize) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LOWER` [INFO] [stdout] --> src/p0017.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / const LOWER: [&str; 20] = [ [INFO] [stdout] 14 | | "", [INFO] [stdout] 15 | | "one", [INFO] [stdout] 16 | | "two", [INFO] [stdout] ... | [INFO] [stdout] 33 | | "nineteen", [INFO] [stdout] 34 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TENS` [INFO] [stdout] --> src/p0017.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / const TENS: [&str; 10] = [ [INFO] [stdout] 37 | | "", "", "twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety", [INFO] [stdout] 38 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `num_to_str` [INFO] [stdout] --> src/p0017.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn num_to_str(num: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute` [INFO] [stdout] --> src/p0017.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn compute(n: usize) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute` [INFO] [stdout] --> src/p0018.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn compute(input: Vec) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `num_rows` [INFO] [stdout] --> src/p0018.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn num_rows(input: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MONTH` [INFO] [stdout] --> src/p0019.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | const MONTH: [u16; 12] = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MONTH_L` [INFO] [stdout] --> src/p0019.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | const MONTH_L: [u16; 12] = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute` [INFO] [stdout] --> src/p0019.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn compute() -> u16 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_leap_year` [INFO] [stdout] --> src/p0019.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn is_leap_year(year: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute` [INFO] [stdout] --> src/p0020.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn compute(start: u32) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sum_digits` [INFO] [stdout] --> src/p0020.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn sum_digits(num: BigUint) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute` [INFO] [stdout] --> src/p0021.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn compute(limit: usize) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sum_proper_divisors` [INFO] [stdout] --> src/p0021.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn sum_proper_divisors(num: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute` [INFO] [stdout] --> src/p0022.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn compute(mut list: Vec) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `alphabetical_value` [INFO] [stdout] --> src/p0022.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn alphabetical_value(name: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_input` [INFO] [stdout] --> src/p0022.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn parse_input(input: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute` [INFO] [stdout] --> src/p0023.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn compute() -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_abundant` [INFO] [stdout] --> src/p0023.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn is_abundant(num: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute` [INFO] [stdout] --> src/p0024.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn compute(collection: &str, nth: usize) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `factoradic` [INFO] [stdout] --> src/p0024.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn factoradic(decimal: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute` [INFO] [stdout] --> src/p0025.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn compute(digits: usize) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute` [INFO] [stdout] --> src/p0026.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn compute(limit: usize) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cycle_len` [INFO] [stdout] --> src/p0026.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn cycle_len(num: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute` [INFO] [stdout] --> src/p0027.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn compute(limit: usize) -> isize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `count_consecutive_primes` [INFO] [stdout] --> src/p0027.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn count_consecutive_primes(a: isize, b: isize, sieve: &Sieve) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute` [INFO] [stdout] --> src/p0028.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn compute(limit: usize) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute` [INFO] [stdout] --> src/p0067.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn compute(input: Vec) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `num_rows` [INFO] [stdout] --> src/p0067.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn num_rows(input: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_input` [INFO] [stdout] --> src/p0067.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn parse_input(input: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `count_divisors` [INFO] [stdout] --> src/util/factors.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn count_divisors(num: u64) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `divisors` [INFO] [stdout] --> src/util/factors.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn divisors(num: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 63 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.15s [INFO] running `Command { std: "docker" "inspect" "b49101ae1183c2a0674203cfcac64c68bc1006bb69d9bee5559a0e01ab00edb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b49101ae1183c2a0674203cfcac64c68bc1006bb69d9bee5559a0e01ab00edb9", kill_on_drop: false }` [INFO] [stdout] b49101ae1183c2a0674203cfcac64c68bc1006bb69d9bee5559a0e01ab00edb9 [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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e22ea149b1e0fa23d989fb5d499c1de2af3435a18cae8ea0807f5bc26657b1be [INFO] running `Command { std: "docker" "start" "-a" "e22ea149b1e0fa23d989fb5d499c1de2af3435a18cae8ea0807f5bc26657b1be", kill_on_drop: false }` [INFO] [stderr] Compiling project_euler v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.03s [INFO] running `Command { std: "docker" "inspect" "e22ea149b1e0fa23d989fb5d499c1de2af3435a18cae8ea0807f5bc26657b1be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e22ea149b1e0fa23d989fb5d499c1de2af3435a18cae8ea0807f5bc26657b1be", kill_on_drop: false }` [INFO] [stdout] e22ea149b1e0fa23d989fb5d499c1de2af3435a18cae8ea0807f5bc26657b1be [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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 89a69ef056b8f8b6d5230aca7cea8c6d1076f1529e619272911a72cc944f454d [INFO] running `Command { std: "docker" "start" "-a" "89a69ef056b8f8b6d5230aca7cea8c6d1076f1529e619272911a72cc944f454d", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/project_euler-be932ddad33ea9a0) [INFO] [stdout] [INFO] [stdout] running 60 tests [INFO] [stdout] test p0001::example ... ok [INFO] [stdout] test p0002::example ... ok [INFO] [stdout] test p0001::problem ... ok [INFO] [stdout] test p0002::problem ... ok [INFO] [stdout] test p0003::example ... ok [INFO] [stdout] test p0003::problem ... ok [INFO] [stdout] test p0005::example ... ok [INFO] [stdout] test p0005::problem ... ok [INFO] [stdout] test p0006::example ... ok [INFO] [stdout] test p0006::problem ... ok [INFO] [stdout] test p0007::example ... ok [INFO] [stdout] test p0010::example ... ok [INFO] [stdout] test p0009::check_one ... ok [INFO] [stdout] test p0012::example ... ok [INFO] [stdout] test p0008::example ... ok [INFO] [stdout] test p0014::example ... ok [INFO] [stdout] test p0012::test_fifty ... ok [INFO] [stdout] test p0008::problem ... ok [INFO] [stdout] test p0015::example ... ok [INFO] [stdout] test p0015::problem ... ok [INFO] [stdout] test p0011::problem ... ok [INFO] [stdout] test p0017::example ... ok [INFO] [stdout] test p0016::example ... ok [INFO] [stdout] test p0018::example ... ok [INFO] [stdout] test p0018::problem ... ok [INFO] [stdout] test p0019::problem ... ok [INFO] [stdout] test p0020::example ... ok [INFO] [stdout] test p0004::example ... ok [INFO] [stdout] test p0021::example_sums ... ok [INFO] [stdout] test p0022::example_colin ... ok [INFO] [stdout] test p0020::problem ... ok [INFO] [stdout] test p0013::problem ... ok [INFO] [stdout] test p0025::example ... ok [INFO] [stdout] test p0024::sample_factoradic ... ok [INFO] [stdout] test p0024::sample_factoradic_large ... ok [INFO] [stdout] test p0024::problem ... ok [INFO] [stdout] test p0026::problem ... ok [INFO] [stdout] test p0026::example ... ok [INFO] [stdout] test p0027::example_count_eighty ... ok [INFO] [stdout] test p0009::problem ... ok [INFO] [stdout] test p0027::example_count_forty ... ok [INFO] [stdout] test p0024::example_abcd ... ok [INFO] [stdout] test p0025::problem ... ok [INFO] [stdout] test p0016::problem ... ok [INFO] [stdout] test p0012::problem ... ok [INFO] [stdout] test p0028::example ... ok [INFO] [stdout] test p0028::problem ... ok [INFO] [stdout] test util::factors::check_count_divisors ... ok [INFO] [stdout] test util::factors::check_divisors ... ok [INFO] [stdout] test p0067::example ... ok [INFO] [stdout] test p0067::problem ... ok [INFO] [stdout] test p0017::problem ... ok [INFO] [stdout] test p0022::problem ... ok [INFO] [stdout] test p0021::problem ... ok [INFO] [stdout] test p0027::problem ... ok [INFO] [stdout] test p0004::problem ... ok [INFO] [stdout] test p0007::problem ... ok [INFO] [stdout] test p0010::problem ... ok [INFO] [stdout] test p0014::problem ... ok [INFO] [stdout] test p0023::problem ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 60 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.18s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "89a69ef056b8f8b6d5230aca7cea8c6d1076f1529e619272911a72cc944f454d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89a69ef056b8f8b6d5230aca7cea8c6d1076f1529e619272911a72cc944f454d", kill_on_drop: false }` [INFO] [stdout] 89a69ef056b8f8b6d5230aca7cea8c6d1076f1529e619272911a72cc944f454d