[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 try#ff044a3d65d25a17c3e14c1530004e1540179ba7 for pr-78338 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilliamhammond%2Fleet_code" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/williamhammond/leet_code on toolchain ff044a3d65d25a17c3e14c1530004e1540179ba7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff044a3d65d25a17c3e14c1530004e1540179ba7" "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-5/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" "+ff044a3d65d25a17c3e14c1530004e1540179ba7" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+ff044a3d65d25a17c3e14c1530004e1540179ba7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b635e58b04a88c56a42105548244f01b7e3f96dc39182505a86cd279fefad572 [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" "b635e58b04a88c56a42105548244f01b7e3f96dc39182505a86cd279fefad572", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b635e58b04a88c56a42105548244f01b7e3f96dc39182505a86cd279fefad572", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b635e58b04a88c56a42105548244f01b7e3f96dc39182505a86cd279fefad572", kill_on_drop: false }` [INFO] [stdout] b635e58b04a88c56a42105548244f01b7e3f96dc39182505a86cd279fefad572 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+ff044a3d65d25a17c3e14c1530004e1540179ba7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d88e82198ddceb738c37006224bdc744d7ea890c9a463ab220bdbe99383c12c3 [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" "d88e82198ddceb738c37006224bdc744d7ea890c9a463ab220bdbe99383c12c3", kill_on_drop: false }` [INFO] [stderr] Checking leet_code v0.1.0 (/opt/rustwide/workdir) [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: 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 minimum_window_substring/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] [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: 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] 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: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d88e82198ddceb738c37006224bdc744d7ea890c9a463ab220bdbe99383c12c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d88e82198ddceb738c37006224bdc744d7ea890c9a463ab220bdbe99383c12c3", kill_on_drop: false }` [INFO] [stdout] d88e82198ddceb738c37006224bdc744d7ea890c9a463ab220bdbe99383c12c3