[INFO] cloning repository https://github.com/0xra9/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/0xra9/leetcode_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xra9%2Fleetcode_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xra9%2Fleetcode_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3bfc8302be9e9ffe0728942a93aa5673f019e704
[INFO] testing 0xra9/leetcode_rust against 1.75.0 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xra9%2Fleetcode_rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/0xra9/leetcode_rust on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/0xra9/leetcode_rust
[INFO] finished tweaking git repo https://github.com/0xra9/leetcode_rust
[INFO] tweaked toml for git repo https://github.com/0xra9/leetcode_rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/0xra9/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" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ebe0a1b23763baeab7f3886a0d7ca0d45fd1420c5c06fb544227b128231fdeb6
[INFO] running `Command { std: "docker" "start" "-a" "ebe0a1b23763baeab7f3886a0d7ca0d45fd1420c5c06fb544227b128231fdeb6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ebe0a1b23763baeab7f3886a0d7ca0d45fd1420c5c06fb544227b128231fdeb6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ebe0a1b23763baeab7f3886a0d7ca0d45fd1420c5c06fb544227b128231fdeb6", kill_on_drop: false }`
[INFO] [stdout] ebe0a1b23763baeab7f3886a0d7ca0d45fd1420c5c06fb544227b128231fdeb6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 315bad2c85db68861ae6f415db2503bf46123b14627ca4798c1da3de321cb396
[INFO] running `Command { std: "docker" "start" "-a" "315bad2c85db68861ae6f415db2503bf46123b14627ca4798c1da3de321cb396", kill_on_drop: false }`
[INFO] [stderr]    Compiling leetcode_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::sync::mpsc::channel`
[INFO] [stdout]  --> src/valid_parentheses.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::mpsc::channel;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Index`
[INFO] [stdout]  --> src/two_sum_1.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::Index;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `String` cannot be indexed by `usize`
[INFO] [stdout]   --> src/roman_to_integer_13.rs:11:16
[INFO] [stdout]    |
[INFO] [stdout] 11 |             if s[index] == 'V' && s[index - 1] == 'I' {
[INFO] [stdout]    |                ^^^^^^^^ `String` cannot be indexed by `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Index<usize>` is not implemented for `String`
[INFO] [stdout]    = help: the following other types implement trait `Index<Idx>`:
[INFO] [stdout]              <String as Index<RangeFull>>
[INFO] [stdout]              <String as Index<std::ops::Range<usize>>>
[INFO] [stdout]              <String as Index<RangeFrom<usize>>>
[INFO] [stdout]              <String as Index<RangeTo<usize>>>
[INFO] [stdout]              <String as Index<RangeInclusive<usize>>>
[INFO] [stdout]              <String as Index<RangeToInclusive<usize>>>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `String` cannot be indexed by `usize`
[INFO] [stdout]   --> src/roman_to_integer_13.rs:11:35
[INFO] [stdout]    |
[INFO] [stdout] 11 |             if s[index] == 'V' && s[index - 1] == 'I' {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^ `String` cannot be indexed by `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Index<usize>` is not implemented for `String`
[INFO] [stdout]    = help: the following other types implement trait `Index<Idx>`:
[INFO] [stdout]              <String as Index<RangeFull>>
[INFO] [stdout]              <String as Index<std::ops::Range<usize>>>
[INFO] [stdout]              <String as Index<RangeFrom<usize>>>
[INFO] [stdout]              <String as Index<RangeTo<usize>>>
[INFO] [stdout]              <String as Index<RangeInclusive<usize>>>
[INFO] [stdout]              <String as Index<RangeToInclusive<usize>>>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `String` cannot be indexed by `usize`
[INFO] [stdout]   --> src/roman_to_integer_13.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 |             } else if s[index] == 'X' && s[index - 1] == 'I' {
[INFO] [stdout]    |                       ^^^^^^^^ `String` cannot be indexed by `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Index<usize>` is not implemented for `String`
[INFO] [stdout]    = help: the following other types implement trait `Index<Idx>`:
[INFO] [stdout]              <String as Index<RangeFull>>
[INFO] [stdout]              <String as Index<std::ops::Range<usize>>>
[INFO] [stdout]              <String as Index<RangeFrom<usize>>>
[INFO] [stdout]              <String as Index<RangeTo<usize>>>
[INFO] [stdout]              <String as Index<RangeInclusive<usize>>>
[INFO] [stdout]              <String as Index<RangeToInclusive<usize>>>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `String` cannot be indexed by `usize`
[INFO] [stdout]   --> src/roman_to_integer_13.rs:13:42
[INFO] [stdout]    |
[INFO] [stdout] 13 |             } else if s[index] == 'X' && s[index - 1] == 'I' {
[INFO] [stdout]    |                                          ^^^^^^^^^^^^ `String` cannot be indexed by `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Index<usize>` is not implemented for `String`
[INFO] [stdout]    = help: the following other types implement trait `Index<Idx>`:
[INFO] [stdout]              <String as Index<RangeFull>>
[INFO] [stdout]              <String as Index<std::ops::Range<usize>>>
[INFO] [stdout]              <String as Index<RangeFrom<usize>>>
[INFO] [stdout]              <String as Index<RangeTo<usize>>>
[INFO] [stdout]              <String as Index<RangeInclusive<usize>>>
[INFO] [stdout]              <String as Index<RangeToInclusive<usize>>>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `String` cannot be indexed by `usize`
[INFO] [stdout]   --> src/roman_to_integer_13.rs:15:23
[INFO] [stdout]    |
[INFO] [stdout] 15 |             } else if s[index] == 'L' && s[index - 1] == 'X' {
[INFO] [stdout]    |                       ^^^^^^^^ `String` cannot be indexed by `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Index<usize>` is not implemented for `String`
[INFO] [stdout]    = help: the following other types implement trait `Index<Idx>`:
[INFO] [stdout]              <String as Index<RangeFull>>
[INFO] [stdout]              <String as Index<std::ops::Range<usize>>>
[INFO] [stdout]              <String as Index<RangeFrom<usize>>>
[INFO] [stdout]              <String as Index<RangeTo<usize>>>
[INFO] [stdout]              <String as Index<RangeInclusive<usize>>>
[INFO] [stdout]              <String as Index<RangeToInclusive<usize>>>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `String` cannot be indexed by `usize`
[INFO] [stdout]   --> src/roman_to_integer_13.rs:15:42
[INFO] [stdout]    |
[INFO] [stdout] 15 |             } else if s[index] == 'L' && s[index - 1] == 'X' {
[INFO] [stdout]    |                                          ^^^^^^^^^^^^ `String` cannot be indexed by `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Index<usize>` is not implemented for `String`
[INFO] [stdout]    = help: the following other types implement trait `Index<Idx>`:
[INFO] [stdout]              <String as Index<RangeFull>>
[INFO] [stdout]              <String as Index<std::ops::Range<usize>>>
[INFO] [stdout]              <String as Index<RangeFrom<usize>>>
[INFO] [stdout]              <String as Index<RangeTo<usize>>>
[INFO] [stdout]              <String as Index<RangeInclusive<usize>>>
[INFO] [stdout]              <String as Index<RangeToInclusive<usize>>>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `String` cannot be indexed by `usize`
[INFO] [stdout]   --> src/roman_to_integer_13.rs:17:23
[INFO] [stdout]    |
[INFO] [stdout] 17 |             } else if s[index] == 'C' && s[index - 1] == 'I' {
[INFO] [stdout]    |                       ^^^^^^^^ `String` cannot be indexed by `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Index<usize>` is not implemented for `String`
[INFO] [stdout]    = help: the following other types implement trait `Index<Idx>`:
[INFO] [stdout]              <String as Index<RangeFull>>
[INFO] [stdout]              <String as Index<std::ops::Range<usize>>>
[INFO] [stdout]              <String as Index<RangeFrom<usize>>>
[INFO] [stdout]              <String as Index<RangeTo<usize>>>
[INFO] [stdout]              <String as Index<RangeInclusive<usize>>>
[INFO] [stdout]              <String as Index<RangeToInclusive<usize>>>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `String` cannot be indexed by `usize`
[INFO] [stdout]   --> src/roman_to_integer_13.rs:17:42
[INFO] [stdout]    |
[INFO] [stdout] 17 |             } else if s[index] == 'C' && s[index - 1] == 'I' {
[INFO] [stdout]    |                                          ^^^^^^^^^^^^ `String` cannot be indexed by `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Index<usize>` is not implemented for `String`
[INFO] [stdout]    = help: the following other types implement trait `Index<Idx>`:
[INFO] [stdout]              <String as Index<RangeFull>>
[INFO] [stdout]              <String as Index<std::ops::Range<usize>>>
[INFO] [stdout]              <String as Index<RangeFrom<usize>>>
[INFO] [stdout]              <String as Index<RangeTo<usize>>>
[INFO] [stdout]              <String as Index<RangeInclusive<usize>>>
[INFO] [stdout]              <String as Index<RangeToInclusive<usize>>>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `String` cannot be indexed by `usize`
[INFO] [stdout]   --> src/roman_to_integer_13.rs:19:23
[INFO] [stdout]    |
[INFO] [stdout] 19 |             } else if s[index] == 'D' && s[index - 1] == 'C' {
[INFO] [stdout]    |                       ^^^^^^^^ `String` cannot be indexed by `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Index<usize>` is not implemented for `String`
[INFO] [stdout]    = help: the following other types implement trait `Index<Idx>`:
[INFO] [stdout]              <String as Index<RangeFull>>
[INFO] [stdout]              <String as Index<std::ops::Range<usize>>>
[INFO] [stdout]              <String as Index<RangeFrom<usize>>>
[INFO] [stdout]              <String as Index<RangeTo<usize>>>
[INFO] [stdout]              <String as Index<RangeInclusive<usize>>>
[INFO] [stdout]              <String as Index<RangeToInclusive<usize>>>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `String` cannot be indexed by `usize`
[INFO] [stdout]   --> src/roman_to_integer_13.rs:19:42
[INFO] [stdout]    |
[INFO] [stdout] 19 |             } else if s[index] == 'D' && s[index - 1] == 'C' {
[INFO] [stdout]    |                                          ^^^^^^^^^^^^ `String` cannot be indexed by `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Index<usize>` is not implemented for `String`
[INFO] [stdout]    = help: the following other types implement trait `Index<Idx>`:
[INFO] [stdout]              <String as Index<RangeFull>>
[INFO] [stdout]              <String as Index<std::ops::Range<usize>>>
[INFO] [stdout]              <String as Index<RangeFrom<usize>>>
[INFO] [stdout]              <String as Index<RangeTo<usize>>>
[INFO] [stdout]              <String as Index<RangeInclusive<usize>>>
[INFO] [stdout]              <String as Index<RangeToInclusive<usize>>>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `String` cannot be indexed by `usize`
[INFO] [stdout]   --> src/roman_to_integer_13.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 21 |             } else if s[index] == 'X' && s[index - 1] == 'I' {
[INFO] [stdout]    |                       ^^^^^^^^ `String` cannot be indexed by `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Index<usize>` is not implemented for `String`
[INFO] [stdout]    = help: the following other types implement trait `Index<Idx>`:
[INFO] [stdout]              <String as Index<RangeFull>>
[INFO] [stdout]              <String as Index<std::ops::Range<usize>>>
[INFO] [stdout]              <String as Index<RangeFrom<usize>>>
[INFO] [stdout]              <String as Index<RangeTo<usize>>>
[INFO] [stdout]              <String as Index<RangeInclusive<usize>>>
[INFO] [stdout]              <String as Index<RangeToInclusive<usize>>>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `String` cannot be indexed by `usize`
[INFO] [stdout]   --> src/roman_to_integer_13.rs:21:42
[INFO] [stdout]    |
[INFO] [stdout] 21 |             } else if s[index] == 'X' && s[index - 1] == 'I' {
[INFO] [stdout]    |                                          ^^^^^^^^^^^^ `String` cannot be indexed by `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Index<usize>` is not implemented for `String`
[INFO] [stdout]    = help: the following other types implement trait `Index<Idx>`:
[INFO] [stdout]              <String as Index<RangeFull>>
[INFO] [stdout]              <String as Index<std::ops::Range<usize>>>
[INFO] [stdout]              <String as Index<RangeFrom<usize>>>
[INFO] [stdout]              <String as Index<RangeTo<usize>>>
[INFO] [stdout]              <String as Index<RangeInclusive<usize>>>
[INFO] [stdout]              <String as Index<RangeToInclusive<usize>>>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `leetcode_rust` (lib) due to 13 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "315bad2c85db68861ae6f415db2503bf46123b14627ca4798c1da3de321cb396", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "315bad2c85db68861ae6f415db2503bf46123b14627ca4798c1da3de321cb396", kill_on_drop: false }`
[INFO] [stdout] 315bad2c85db68861ae6f415db2503bf46123b14627ca4798c1da3de321cb396
