[INFO] cloning repository https://github.com/runope/leetcode.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/runope/leetcode.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frunope%2Fleetcode.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frunope%2Fleetcode.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2b187612ef90b6c50c95c4f7ae7ad09f5673824f [INFO] testing runope/leetcode.rs against 1.98.0-beta.6+cargoflags=--release for beta-1.98-release-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frunope%2Fleetcode.rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/runope/leetcode.rs [INFO] finished tweaking git repo https://github.com/runope/leetcode.rs [INFO] tweaked toml for git repo https://github.com/runope/leetcode.rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/runope/leetcode.rs on toolchain 1.98.0-beta.6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/runope/leetcode.rs 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.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 7d7eac4cc2b6379ed2e343e65892f4c7a33af3f23a7ec0d4fd9f49bd5ef24aa1 [INFO] running `Command { std: "docker" "start" "7d7eac4cc2b6379ed2e343e65892f4c7a33af3f23a7ec0d4fd9f49bd5ef24aa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d7eac4cc2b6379ed2e343e65892f4c7a33af3f23a7ec0d4fd9f49bd5ef24aa1", 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" "7d7eac4cc2b6379ed2e343e65892f4c7a33af3f23a7ec0d4fd9f49bd5ef24aa1" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d7eac4cc2b6379ed2e343e65892f4c7a33af3f23a7ec0d4fd9f49bd5ef24aa1", 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" "7d7eac4cc2b6379ed2e343e65892f4c7a33af3f23a7ec0d4fd9f49bd5ef24aa1" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling tracing-core v0.1.23 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling native-tls v0.2.9 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ipnet v2.4.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.9 [INFO] [stderr] Compiling clap v3.1.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling test-case v2.0.2 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.12 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling practice-leetcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1m 23s [INFO] running `Command { std: "docker" "inspect" "7d7eac4cc2b6379ed2e343e65892f4c7a33af3f23a7ec0d4fd9f49bd5ef24aa1", 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" "7d7eac4cc2b6379ed2e343e65892f4c7a33af3f23a7ec0d4fd9f49bd5ef24aa1" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling practice-leetcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1.40s [INFO] running `Command { std: "docker" "inspect" "7d7eac4cc2b6379ed2e343e65892f4c7a33af3f23a7ec0d4fd9f49bd5ef24aa1", 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" "7d7eac4cc2b6379ed2e343e65892f4c7a33af3f23a7ec0d4fd9f49bd5ef24aa1" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/deps/practice_leetcode-3338102f06faa59b) [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test solution_sets::s0026_remove_duplicates_from_sorted_array::tests::test_26::example_1 ... ok [INFO] [stdout] test solution_sets::s0026_remove_duplicates_from_sorted_array::tests::test_26::example_2 ... ok [INFO] [stdout] test solution_sets::s0001_two_sum::tests::test_1 ... ok [INFO] [stdout] test problem_sets::p0079_word_search::tests::test_79 ... ok [INFO] [stdout] test solution_sets::s0011_container_with_most_water::tests::test_11 ... ok [INFO] [stdout] test solution_sets::s0080_remove_duplicates_from_sorted_array_ii::tests::test_80::example_2 ... ok [INFO] [stdout] test solution_sets::s0088_merge_sorted_array::tests::test_88 ... ok [INFO] [stdout] test solution_sets::s0206_reverse_linked_list::tests::test_206 ... ok [INFO] [stdout] test solution_sets::s0209_minimum_size_subarray_sum::tests::test_209::solution_min_sub_array_len_11_vec_1_1_1_1_1_1_1_1_0_expects ... ok [INFO] [stdout] test solution_sets::s0075_sort_colors::tests::test_75 ... ok [INFO] [stdout] test solution_sets::s0209_minimum_size_subarray_sum::tests::test_209::solution_min_sub_array_len_4_vec_1_4_4_1_expects ... ok [INFO] [stdout] test solution_sets::s0209_minimum_size_subarray_sum::tests::test_209::solution_min_sub_array_len_7_vec_2_3_1_2_4_3_2_expects ... ok [INFO] [stdout] test solution_sets::s0215_kth_largest_element_in_an_array::tests::test_215 ... ok [INFO] [stdout] test solution_sets::s0232_implement_queue_using_stacks::tests::test_232 ... ok [INFO] [stdout] test solution_sets::s0167_two_sum_ii_input_array_is_sorted::tests::test_167 ... ok [INFO] [stdout] test solution_sets::s0027_remove_element::tests::test_27 ... FAILED [INFO] [stdout] test solution_sets::s1925_count_square_sum_triples::tests::test_1925 ... ok [INFO] [stdout] test solution_sets::s0283_move_zeroes::tests::test_283 ... ok [INFO] [stdout] test solution_sets::s0172_factorial_trailing_zeroes::tests::test_172 ... FAILED [INFO] [stdout] test solution_sets::s0080_remove_duplicates_from_sorted_array_ii::tests::test_80::example_1 ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- solution_sets::s0027_remove_element::tests::test_27 stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'solution_sets::s0027_remove_element::tests::test_27' (2409) panicked at src/solution_sets/s0027_remove_element.rs:105:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: 3 [INFO] [stdout] right: 2 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x6169fcdafc21 - <::print::DisplayBacktrace as core[812a354ff5be3162]::fmt::Display>::fmt [INFO] [stdout] 1: 0x6169fcdc393a - core[812a354ff5be3162]::fmt::write [INFO] [stdout] 2: 0x6169fcdb40dc - as std[93043b772a62376c]::io::Write>::write_fmt [INFO] [stdout] 3: 0x6169fcd8e346 - std[93043b772a62376c]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x6169fcda7df9 - std[93043b772a62376c]::panicking::default_hook [INFO] [stdout] 5: 0x6169fcd42e70 - test[8de0c696b8e66f4f]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x6169fcda7fb2 - std[93043b772a62376c]::panicking::panic_with_hook [INFO] [stdout] 7: 0x6169fcd8e3f2 - std[93043b772a62376c]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x6169fcd85d49 - std[93043b772a62376c]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x6169fcd8efed - __rustc[9fcb67b4460bf95]::rust_begin_unwind [INFO] [stdout] 10: 0x6169fcdc406c - core[812a354ff5be3162]::panicking::panic_fmt [INFO] [stdout] 11: 0x6169fcdc3f83 - core[812a354ff5be3162]::panicking::assert_failed_inner [INFO] [stdout] 12: 0x6169fcd83205 - core[812a354ff5be3162]::panicking::assert_failed:: [INFO] [stdout] 13: 0x6169fcd35ae4 - >::call_once [INFO] [stdout] 14: 0x6169fcd361ab - test[8de0c696b8e66f4f]::__rust_begin_short_backtrace::, fn() -> core[812a354ff5be3162]::result::Result<(), alloc[9902a75dd20b7c99]::string::String>> [INFO] [stdout] 15: 0x6169fcd437f5 - test[8de0c696b8e66f4f]::run_test::{closure#0} [INFO] [stdout] 16: 0x6169fcd3e2a4 - std[93043b772a62376c]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 17: 0x6169fcd46942 - ::{closure#1} as core[812a354ff5be3162]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 18: 0x6169fcdaf4af - ::new::thread_start [INFO] [stdout] 19: 0x74af4a8df07a - [INFO] [stdout] 20: 0x74af4a972534 - clone [INFO] [stdout] 21: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- solution_sets::s0172_factorial_trailing_zeroes::tests::test_172 stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'solution_sets::s0172_factorial_trailing_zeroes::tests::test_172' (2415) panicked at src/solution_sets/s0172_factorial_trailing_zeroes.rs:67:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: 5 [INFO] [stdout] right: 0 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x6169fcdafc21 - <::print::DisplayBacktrace as core[812a354ff5be3162]::fmt::Display>::fmt [INFO] [stdout] 1: 0x6169fcdc393a - core[812a354ff5be3162]::fmt::write [INFO] [stdout] 2: 0x6169fcdb40dc - as std[93043b772a62376c]::io::Write>::write_fmt [INFO] [stdout] 3: 0x6169fcd8e346 - std[93043b772a62376c]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x6169fcda7df9 - std[93043b772a62376c]::panicking::default_hook [INFO] [stdout] 5: 0x6169fcd42e70 - test[8de0c696b8e66f4f]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x6169fcda7fb2 - std[93043b772a62376c]::panicking::panic_with_hook [INFO] [stdout] 7: 0x6169fcd8e3f2 - std[93043b772a62376c]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x6169fcd85d49 - std[93043b772a62376c]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x6169fcd8efed - __rustc[9fcb67b4460bf95]::rust_begin_unwind [INFO] [stdout] 10: 0x6169fcdc406c - core[812a354ff5be3162]::panicking::panic_fmt [INFO] [stdout] 11: 0x6169fcdc3f83 - core[812a354ff5be3162]::panicking::assert_failed_inner [INFO] [stdout] 12: 0x6169fcd83205 - core[812a354ff5be3162]::panicking::assert_failed:: [INFO] [stdout] 13: 0x6169fcd35b46 - >::call_once [INFO] [stdout] 14: 0x6169fcd361ab - test[8de0c696b8e66f4f]::__rust_begin_short_backtrace::, fn() -> core[812a354ff5be3162]::result::Result<(), alloc[9902a75dd20b7c99]::string::String>> [INFO] [stdout] 15: 0x6169fcd437f5 - test[8de0c696b8e66f4f]::run_test::{closure#0} [INFO] [stdout] 16: 0x6169fcd3e2a4 - std[93043b772a62376c]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 17: 0x6169fcd46942 - ::{closure#1} as core[812a354ff5be3162]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 18: 0x6169fcdaf4af - ::new::thread_start [INFO] [stdout] 19: 0x74af4a8df07a - [INFO] [stdout] 20: 0x74af4a972534 - clone [INFO] [stdout] 21: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] solution_sets::s0027_remove_element::tests::test_27 [INFO] [stdout] solution_sets::s0172_factorial_trailing_zeroes::tests::test_172 [INFO] [stdout] [INFO] [stdout] test result: FAILED. 18 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "7d7eac4cc2b6379ed2e343e65892f4c7a33af3f23a7ec0d4fd9f49bd5ef24aa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d7eac4cc2b6379ed2e343e65892f4c7a33af3f23a7ec0d4fd9f49bd5ef24aa1", kill_on_drop: false }` [INFO] [stdout] 7d7eac4cc2b6379ed2e343e65892f4c7a33af3f23a7ec0d4fd9f49bd5ef24aa1