[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgustavoquincy%2Fleetcode" "/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/gustavoquincy/leetcode on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-8/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e99cbad84a352e0088ae66dab20f9fa67df7fff63802a5497e859f853829c150 [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" "e99cbad84a352e0088ae66dab20f9fa67df7fff63802a5497e859f853829c150", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e99cbad84a352e0088ae66dab20f9fa67df7fff63802a5497e859f853829c150", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e99cbad84a352e0088ae66dab20f9fa67df7fff63802a5497e859f853829c150", kill_on_drop: false }` [INFO] [stdout] e99cbad84a352e0088ae66dab20f9fa67df7fff63802a5497e859f853829c150 [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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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] 6dcd822a602bfb96d8d46ed2a6d092670b6cefba3b3abbd74eb7cccbf1e23b76 [INFO] running `Command { std: "docker" "start" "-a" "6dcd822a602bfb96d8d46ed2a6d092670b6cefba3b3abbd74eb7cccbf1e23b76", 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[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] [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] [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: 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: build failed [INFO] running `Command { std: "docker" "inspect" "6dcd822a602bfb96d8d46ed2a6d092670b6cefba3b3abbd74eb7cccbf1e23b76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dcd822a602bfb96d8d46ed2a6d092670b6cefba3b3abbd74eb7cccbf1e23b76", kill_on_drop: false }` [INFO] [stdout] 6dcd822a602bfb96d8d46ed2a6d092670b6cefba3b3abbd74eb7cccbf1e23b76