[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] e9972c60f2e7513377daa41f2083c89745cfae2d [INFO] checking gustavoquincy/leetcode against try#bb9dbf1d07454a99066eabaabd5819851281494b for pr-80920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgustavoquincy%2Fleetcode" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gustavoquincy/leetcode on toolchain bb9dbf1d07454a99066eabaabd5819851281494b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+bb9dbf1d07454a99066eabaabd5819851281494b" "read-manifest" "--manifest-path" "Cargo.toml", 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-1/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" "+bb9dbf1d07454a99066eabaabd5819851281494b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+bb9dbf1d07454a99066eabaabd5819851281494b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7681fa76fdc5dc516756b9f2671e1868fc4a43e6cd9bc4e402f33ddc848f2aa [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" "b7681fa76fdc5dc516756b9f2671e1868fc4a43e6cd9bc4e402f33ddc848f2aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7681fa76fdc5dc516756b9f2671e1868fc4a43e6cd9bc4e402f33ddc848f2aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7681fa76fdc5dc516756b9f2671e1868fc4a43e6cd9bc4e402f33ddc848f2aa", kill_on_drop: false }` [INFO] [stdout] b7681fa76fdc5dc516756b9f2671e1868fc4a43e6cd9bc4e402f33ddc848f2aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+bb9dbf1d07454a99066eabaabd5819851281494b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 084d6499b8de16a0cf6da37556b8fbe266d1068738a72ee32f9759a97f5a91fa [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" "084d6499b8de16a0cf6da37556b8fbe266d1068738a72ee32f9759a97f5a91fa", 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: 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[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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "084d6499b8de16a0cf6da37556b8fbe266d1068738a72ee32f9759a97f5a91fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "084d6499b8de16a0cf6da37556b8fbe266d1068738a72ee32f9759a97f5a91fa", kill_on_drop: false }` [INFO] [stdout] 084d6499b8de16a0cf6da37556b8fbe266d1068738a72ee32f9759a97f5a91fa