[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] b8d91ac20bf6d16c3f1216766aac6ab71bbf26b9 [INFO] checking mastermatt/project_euler against master#6526e5c772f2da07db745c94ca6bb0a591a39ba4 for pr-80920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmastermatt%2Fproject_euler" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mastermatt/project_euler on toolchain 6526e5c772f2da07db745c94ca6bb0a591a39ba4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "read-manifest" "--manifest-path" "Cargo.toml", 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-6/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" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43050fb65ef0ae161ecfdec58c3bb97261ff395cd902f321ba75a2ccab8f067f [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" "43050fb65ef0ae161ecfdec58c3bb97261ff395cd902f321ba75a2ccab8f067f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43050fb65ef0ae161ecfdec58c3bb97261ff395cd902f321ba75a2ccab8f067f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43050fb65ef0ae161ecfdec58c3bb97261ff395cd902f321ba75a2ccab8f067f", kill_on_drop: false }` [INFO] [stdout] 43050fb65ef0ae161ecfdec58c3bb97261ff395cd902f321ba75a2ccab8f067f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 133e5fa34020ab6e73f3cd8daef833929161335e42fe07e59a54d1ff70ccb455 [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" "133e5fa34020ab6e73f3cd8daef833929161335e42fe07e59a54d1ff70ccb455", kill_on_drop: false }` [INFO] [stderr] Checking project_euler v0.1.0 (/opt/rustwide/workdir) [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: 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: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "133e5fa34020ab6e73f3cd8daef833929161335e42fe07e59a54d1ff70ccb455", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "133e5fa34020ab6e73f3cd8daef833929161335e42fe07e59a54d1ff70ccb455", kill_on_drop: false }` [INFO] [stdout] 133e5fa34020ab6e73f3cd8daef833929161335e42fe07e59a54d1ff70ccb455