[INFO] cloning repository https://github.com/nickngn/DSA
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nickngn/DSA" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnickngn%2FDSA", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnickngn%2FDSA'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5fb2b0c663a18dc035e3d26f8d626ba93c5cb221
[INFO] testing nickngn/DSA against 1.98.0-beta.1 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnickngn%2FDSA" "/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/nickngn/DSA
[INFO] finished tweaking git repo https://github.com/nickngn/DSA
[INFO] tweaked toml for git repo https://github.com/nickngn/DSA written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/nickngn/DSA on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/nickngn/DSA 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.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 93bfd246c109ad53b8b9882e416f308a0135b0efa6407028195f818c9a251ae1
[INFO] running `Command { std: "docker" "start" "93bfd246c109ad53b8b9882e416f308a0135b0efa6407028195f818c9a251ae1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "93bfd246c109ad53b8b9882e416f308a0135b0efa6407028195f818c9a251ae1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "93bfd246c109ad53b8b9882e416f308a0135b0efa6407028195f818c9a251ae1" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "93bfd246c109ad53b8b9882e416f308a0135b0efa6407028195f818c9a251ae1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "93bfd246c109ad53b8b9882e416f308a0135b0efa6407028195f818c9a251ae1" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling rand_core v0.10.0-rc-2
[INFO] [stderr]    Compiling chacha20 v0.10.0-rc.5
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling rand v0.10.0-rc.5
[INFO] [stderr]    Compiling dsa v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::time::Instant`
[INFO] [stdout]  --> src/sort/quick_sort.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::time::Instant;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/sort/quick_sort.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `quick_sort` is never used
[INFO] [stdout]  --> src/sort/quick_sort.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn quick_sort(arr: &mut [i32]) {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `max_area` is never used
[INFO] [stdout]   --> src/leetcode/container_with_most_water.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn max_area(height: Vec<i32>) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `int_to_roman` is never used
[INFO] [stdout]  --> src/leetcode/integer_to_roman.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn int_to_roman(num: i32) -> String {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `longest_common_prefix` is never used
[INFO] [stdout]  --> src/leetcode/longest_common_prefix.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn longest_common_prefix(strs: Vec<String>) -> String {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `roman_to_int` is never used
[INFO] [stdout]  --> src/leetcode/roman_to_integer.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn roman_to_int(s: String) -> i32 {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `three_sum` is never used
[INFO] [stdout]  --> src/leetcode/three_sum.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn three_sum(nums: Vec<i32>) -> Vec<Vec<i32>> {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.85s
[INFO] running `Command { std: "docker" "inspect" "93bfd246c109ad53b8b9882e416f308a0135b0efa6407028195f818c9a251ae1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "93bfd246c109ad53b8b9882e416f308a0135b0efa6407028195f818c9a251ae1" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling dsa v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]   --> src/sort/quick_sort.rs:36:25
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let mut rng = rand::thread_rng();
[INFO] [stdout]    |                         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/sort/quick_sort.rs:38:22
[INFO] [stdout]    |
[INFO] [stdout] 38 |         .map(|_| rng.gen_range(0..10_000_000))
[INFO] [stdout]    |                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.75s
[INFO] running `Command { std: "docker" "inspect" "93bfd246c109ad53b8b9882e416f308a0135b0efa6407028195f818c9a251ae1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "93bfd246c109ad53b8b9882e416f308a0135b0efa6407028195f818c9a251ae1" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stderr]   --> src/sort/quick_sort.rs:36:25
[INFO] [stderr]    |
[INFO] [stderr] 36 |     let mut rng = rand::thread_rng();
[INFO] [stderr]    |                         ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stderr]   --> src/sort/quick_sort.rs:38:22
[INFO] [stderr]    |
[INFO] [stderr] 38 |         .map(|_| rng.gen_range(0..10_000_000))
[INFO] [stderr]    |                      ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `dsa` (bin "dsa" test) generated 2 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/dsa-df5507815bb7f8fe)
[INFO] [stdout] 
[INFO] [stdout] running 17 tests
[INFO] [stdout] test leetcode::container_with_most_water::tests::test_11 ... ok
[INFO] [stdout] test leetcode::container_with_most_water::tests::test_12 ... ok
[INFO] [stdout] test leetcode::integer_to_roman::tests::test1 ... ok
[INFO] [stdout] test leetcode::integer_to_roman::tests::test3 ... ok
[INFO] [stdout] test leetcode::integer_to_roman::tests::test4 ... ok
[INFO] [stdout] test leetcode::longest_common_prefix::tests::test1 ... ok
[INFO] [stdout] test leetcode::longest_common_prefix::tests::test2 ... ok
[INFO] [stdout] test leetcode::integer_to_roman::tests::test2 ... ok
[INFO] [stdout] test leetcode::longest_common_prefix::tests::test3 ... ok
[INFO] [stdout] test leetcode::longest_common_prefix::tests::test4 ... ok
[INFO] [stdout] test leetcode::longest_common_prefix::tests::test5 ... ok
[INFO] [stdout] test leetcode::roman_to_integer::tests::test_1 ... ok
[INFO] [stdout] test leetcode::three_sum::tests::test1 ... ok
[INFO] [stdout] test leetcode::three_sum::tests::test3 ... ok
[INFO] [stdout] test leetcode::three_sum::tests::test2 ... ok
[INFO] [stdout] test leetcode::three_sum::tests::test4 ... ok
[INFO] [stdout] test sort::quick_sort::test_quick_sort ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.50s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "93bfd246c109ad53b8b9882e416f308a0135b0efa6407028195f818c9a251ae1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "93bfd246c109ad53b8b9882e416f308a0135b0efa6407028195f818c9a251ae1", kill_on_drop: false }`
[INFO] [stdout] 93bfd246c109ad53b8b9882e416f308a0135b0efa6407028195f818c9a251ae1
