[INFO] cloning repository https://github.com/williamhammond/leet_code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/williamhammond/leet_code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilliamhammond%2Fleet_code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilliamhammond%2Fleet_code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eadcbed07f40d11b6edac79b7247a1c148492ad5 [INFO] checking williamhammond/leet_code against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilliamhammond%2Fleet_code" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/williamhammond/leet_code on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/williamhammond/leet_code [INFO] finished tweaking git repo https://github.com/williamhammond/leet_code [INFO] tweaked toml for git repo https://github.com/williamhammond/leet_code written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/williamhammond/leet_code already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 636e6bf60755ba7716d366fc3f12e89a4fb9b9aa5d99fdf9f436cc26764659b0 [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" "636e6bf60755ba7716d366fc3f12e89a4fb9b9aa5d99fdf9f436cc26764659b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "636e6bf60755ba7716d366fc3f12e89a4fb9b9aa5d99fdf9f436cc26764659b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "636e6bf60755ba7716d366fc3f12e89a4fb9b9aa5d99fdf9f436cc26764659b0", kill_on_drop: false }` [INFO] [stdout] 636e6bf60755ba7716d366fc3f12e89a4fb9b9aa5d99fdf9f436cc26764659b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 2be6106a1125282ffd3e7cbe9a3c2433cae3065301584fe5a9cff1cc554c2acd [INFO] running `Command { std: "docker" "start" "-a" "2be6106a1125282ffd3e7cbe9a3c2433cae3065301584fe5a9cff1cc554c2acd", kill_on_drop: false }` [INFO] [stderr] Checking leet_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read minimum_window_substring/src/test.rs: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read minimum_window_substring/src/test.rs: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read fancy_sequence/src/test.rs: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read fancy_sequence/src/test.rs: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `leet_code` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MOD` [INFO] [stdout] --> fancy_sequence/src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const MOD: usize = 1000000007; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> fancy_sequence/src/main.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `append` [INFO] [stdout] --> fancy_sequence/src/main.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn append(&self, val: i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_all` [INFO] [stdout] --> fancy_sequence/src/main.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn add_all(&mut self, inc: i32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mult_all` [INFO] [stdout] --> fancy_sequence/src/main.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn mult_all(&mut self, m: i32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_index` [INFO] [stdout] --> fancy_sequence/src/main.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn get_index(&self, idx: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pow_mod` [INFO] [stdout] --> fancy_sequence/src/main.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | fn pow_mod(&self, base: usize, exp: usize, modulo: usize) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mod_mult` [INFO] [stdout] --> fancy_sequence/src/main.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn mod_mult(&self, a: usize , b: usize, m: usize) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> fancy_sequence/src/main.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | assert!(exp >= 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> fancy_sequence/src/tests.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let mut fancy = Fancy::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> fancy_sequence/src/main.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | assert!(exp >= 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> minimum_window_substring/src/main.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Solution{} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `min_window` [INFO] [stdout] --> minimum_window_substring/src/main.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn min_window(s: String, t: String) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2be6106a1125282ffd3e7cbe9a3c2433cae3065301584fe5a9cff1cc554c2acd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2be6106a1125282ffd3e7cbe9a3c2433cae3065301584fe5a9cff1cc554c2acd", kill_on_drop: false }` [INFO] [stdout] 2be6106a1125282ffd3e7cbe9a3c2433cae3065301584fe5a9cff1cc554c2acd