[INFO] cloning repository https://github.com/hieunh1801/leetcode-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hieunh1801/leetcode-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhieunh1801%2Fleetcode-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhieunh1801%2Fleetcode-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b3adc3c248adaa239f5b4cc1e6e05562b85cb48b [INFO] checking hieunh1801/leetcode-rust against try#db4e1d23234d93b5e96ecc768b35d9090c32cddf for pr-149901 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhieunh1801%2Fleetcode-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hieunh1801/leetcode-rust [INFO] finished tweaking git repo https://github.com/hieunh1801/leetcode-rust [INFO] tweaked toml for git repo https://github.com/hieunh1801/leetcode-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hieunh1801/leetcode-rust on toolchain db4e1d23234d93b5e96ecc768b35d9090c32cddf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hieunh1801/leetcode-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e02e3bf5ccbd3ecf8b56eb47cc8f2c1b7f0274f4bb5bc53b383e1a6844a8aa2 [INFO] running `Command { std: "docker" "start" "-a" "2e02e3bf5ccbd3ecf8b56eb47cc8f2c1b7f0274f4bb5bc53b383e1a6844a8aa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e02e3bf5ccbd3ecf8b56eb47cc8f2c1b7f0274f4bb5bc53b383e1a6844a8aa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e02e3bf5ccbd3ecf8b56eb47cc8f2c1b7f0274f4bb5bc53b383e1a6844a8aa2", kill_on_drop: false }` [INFO] [stdout] 2e02e3bf5ccbd3ecf8b56eb47cc8f2c1b7f0274f4bb5bc53b383e1a6844a8aa2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bcaf924e73772f1d5962a51ebde46f9d91e7803f3c8e9344567936362b98d13c [INFO] running `Command { std: "docker" "start" "-a" "bcaf924e73772f1d5962a51ebde46f9d91e7803f3c8e9344567936362b98d13c", kill_on_drop: false }` [INFO] [stderr] Checking leetcode-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking l001 v0.1.0 (/opt/rustwide/workdir/l001) [INFO] [stdout] error[E0425]: cannot find value `test_arrs` in this scope [INFO] [stdout] --> l001/src/test.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | test_arrs [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 48 - test_arrs [INFO] [stdout] 48 + test_cases [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `input` on type `InputOutput` [INFO] [stdout] --> l001/src/main.rs:8:53 [INFO] [stdout] | [INFO] [stdout] 8 | println!("{:?}", Solution::two_sum(test_arr.input, test_arr.output)); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `nums`, `target`, `output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `test_arrs` in this scope [INFO] [stdout] --> l001/src/test.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | test_arrs [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 48 - test_arrs [INFO] [stdout] 48 + test_cases [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> l001/src/main.rs:8:60 [INFO] [stdout] | [INFO] [stdout] 8 | println!("{:?}", Solution::two_sum(test_arr.input, test_arr.output)); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^ expected `i32`, found `Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found struct `Vec` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> l001/src/main.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn two_sum(nums: Vec, target: i32) -> Vec { [INFO] [stdout] | ^^^^^^^ ----------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `input` on type `InputOutput` [INFO] [stdout] --> l001/src/main.rs:8:53 [INFO] [stdout] | [INFO] [stdout] 8 | println!("{:?}", Solution::two_sum(test_arr.input, test_arr.output)); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `nums`, `target`, `output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> l001/src/main.rs:8:60 [INFO] [stdout] | [INFO] [stdout] 8 | println!("{:?}", Solution::two_sum(test_arr.input, test_arr.output)); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^ expected `i32`, found `Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found struct `Vec` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> l001/src/main.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn two_sum(nums: Vec, target: i32) -> Vec { [INFO] [stdout] | ^^^^^^^ ----------- [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `l001` (bin "l001") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `l001` (bin "l001" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "bcaf924e73772f1d5962a51ebde46f9d91e7803f3c8e9344567936362b98d13c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcaf924e73772f1d5962a51ebde46f9d91e7803f3c8e9344567936362b98d13c", kill_on_drop: false }` [INFO] [stdout] bcaf924e73772f1d5962a51ebde46f9d91e7803f3c8e9344567936362b98d13c