[INFO] cloning repository https://github.com/gustavoquincy/leetcode [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gustavoquincy/leetcode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgustavoquincy%2Fleetcode", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgustavoquincy%2Fleetcode'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db53df4fe4bfa458cd82c120603ab98f86a2f4b3 [INFO] checking gustavoquincy/leetcode against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgustavoquincy%2Fleetcode" "/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/gustavoquincy/leetcode on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gustavoquincy/leetcode [INFO] finished tweaking git repo https://github.com/gustavoquincy/leetcode [INFO] tweaked toml for git repo https://github.com/gustavoquincy/leetcode written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/gustavoquincy/leetcode already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d80292aa377d24240cb783b0c62f1eb5698a9240d609c8dc09d2bea165597a2a [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" "d80292aa377d24240cb783b0c62f1eb5698a9240d609c8dc09d2bea165597a2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d80292aa377d24240cb783b0c62f1eb5698a9240d609c8dc09d2bea165597a2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d80292aa377d24240cb783b0c62f1eb5698a9240d609c8dc09d2bea165597a2a", kill_on_drop: false }` [INFO] [stdout] d80292aa377d24240cb783b0c62f1eb5698a9240d609c8dc09d2bea165597a2a [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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd7e12257a2a67b2943e6c9bf53302603bae1df682be46213328c9b3e7981759 [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" "dd7e12257a2a67b2943e6c9bf53302603bae1df682be46213328c9b3e7981759", kill_on_drop: false }` [INFO] [stderr] Checking leetcode_problem_set v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `head2tail_eval` in this scope [INFO] [stdout] --> src/trapping_rain_water.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | let eval0 = head2tail_eval(&vec, head_index as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `head2tail_eval` in this scope [INFO] [stdout] --> src/trapping_rain_water.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | eval = head2tail_eval(&vec, head_index as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `head2tail_eval` in this scope [INFO] [stdout] --> src/trapping_rain_water.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | sum += head2tail_eval(&vec, (head_index+1) as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `head2tail_eval` in this scope [INFO] [stdout] --> src/trapping_rain_water.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | let eval0 = head2tail_eval(&vec, head_index as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `head2tail_eval` in this scope [INFO] [stdout] --> src/trapping_rain_water.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | eval = head2tail_eval(&vec, head_index as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `head2tail_eval` in this scope [INFO] [stdout] --> src/trapping_rain_water.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | sum += head2tail_eval(&vec, (head_index+1) as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `>::Output == _` [INFO] [stdout] --> src/trapping_rain_water.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | return k - height.iter().sum() + first + last; [INFO] [stdout] | ^ cannot satisfy `>::Output == _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `>::Output == _` [INFO] [stdout] --> src/trapping_rain_water.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | return k - height.iter().sum() + first + last; [INFO] [stdout] | ^ cannot satisfy `>::Output == _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0284, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0284`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0284, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0284`. [INFO] [stdout] [INFO] [stderr] error: could not compile `leetcode_problem_set` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "dd7e12257a2a67b2943e6c9bf53302603bae1df682be46213328c9b3e7981759", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd7e12257a2a67b2943e6c9bf53302603bae1df682be46213328c9b3e7981759", kill_on_drop: false }` [INFO] [stdout] dd7e12257a2a67b2943e6c9bf53302603bae1df682be46213328c9b3e7981759