tanakh / cargo-atcoder

Cargo subcommand for AtCoder
BSD 3-Clause "New" or "Revised" License
397 stars 36 forks source link

Failed to parse result #52

Closed DuGlaser closed 3 years ago

DuGlaser commented 3 years ago

素晴らしいツールをありがとうございます!いつも使わせていただいてます!

cargo atcoder submit aなどで回答を提出した際にfailed to parse resultとエラーが表示され、正常に動作しません

cargo atcoder submit b
    Finished dev [unoptimized + debuginfo] target(s) in 0.24s
running 3 tests
test sample 1 ... ok
test sample 2 ... ok
test sample 3 ... ok

test_result: ok

Submitted to problem `abc178_b`, using language `Rust (1.42.0)`

Fetching submission result...
thread 'main' panicked at 'failed to parse result:
<tr>

                                                <td class="no-break"><time class="fixtime fixtime-second">2020-09-19 16:49:53+0900</time></td>
                                                <td><a href="/contests/abc178/tasks/abc178_b">B - Product Max</a></td>
                                                <td><a href="/users/DuGlaser">DuGlaser</a> <a href="/contests/abc178/submissions?f.User=DuGlaser"><span title="view DuGlaser" submissions'="" data-toggle="tooltip" s="" class="glyphicon glyphicon-search black" aria-hidden="true"></span></a></td>
                                                <td><a href="/contests/abc178/submissions/me?f.Language=4050">Rust (1.42.0)</a></td>
                                                <td data-id="16840943" class="text-right submission-score">0</td>
                                                <td class="text-right">543 Byte</td>
                                                <td class="text-center waiting-judge" data-id="16840943" colspan="3"><span title="Waiting for Judging" aria-hidden="true" data-toggle="tooltip" class="label label-default" data-placement="top">WJ</span></td>
                                                <td class="text-center">
                                                        <a href="/contests/abc178/submissions/16840943">Detail</a>
                                                </td>
                                        </tr>', /Users/DuGlaser/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-atcoder-0.2.0/src/atcoder.rs:667:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
RUST_BACKTRACE=1 cargo atcoder submit b
    Finished dev [unoptimized + debuginfo] target(s) in 0.04s
running 3 tests
test sample 1 ... ok
test sample 2 ... ok
test sample 3 ... ok

test_result: ok

Submitted to problem `abc178_b`, using language `Rust (1.42.0)`

Fetching submission result...
thread 'main' panicked at 'failed to parse result:
<tr>

                                                <td class="no-break"><time class="fixtime fixtime-second">2020-09-19 17:00:45+0900</time></td>
                                                <td><a href="/contests/abc178/tasks/abc178_b">B - Product Max</a></td>
                                                <td><a href="/users/DuGlaser">DuGlaser</a> <a href="/contests/abc178/submissions?f.User=DuGlaser"><span data-toggle="tooltip" title="view DuGlaser" s="" submissions'="" aria-hidden="true" class="glyphicon glyphicon-search black"></span></a></td>
                                                <td><a href="/contests/abc178/submissions/me?f.Language=4050">Rust (1.42.0)</a></td>
                                                <td class="text-right submission-score" data-id="16841177">0</td>
                                                <td class="text-right">543 Byte</td>
                                                <td class="text-center waiting-judge" colspan="3" data-id="16841177"><span aria-hidden="true" title="Waiting for Judging" class="label label-default" data-toggle="tooltip" data-placement="top">WJ</span></td>
                                                <td class="text-center">
                                                        <a href="/contests/abc178/submissions/16841177">Detail</a>
                                                </td>
                                        </tr>', /Users/DuGlaser/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-atcoder-0.2.0/src/atcoder.rs:667:17
stack backtrace:
   0: <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt
   1: core::fmt::write
   2: std::io::Write::write_fmt
   3: std::panicking::default_hook::{{closure}}
   4: std::panicking::default_hook
   5: std::panicking::rust_panic_with_hook
   6: rust_begin_unwind
   7: std::panicking::begin_panic_fmt
   8: cargo_atcoder::atcoder::AtCoder::submission_status
   9: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
  10: tokio::runtime::task::core::Core<T,S>::poll
  11: <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
  12: tokio::runtime::task::raw::poll
  13: std::thread::local::LocalKey<T>::with
  14: tokio::runtime::basic_scheduler::BasicScheduler<P>::block_on
  15: tokio::runtime::context::enter
  16: tokio::runtime::handle::Handle::enter
  17: cargo_atcoder::main
  18: std::rt::lang_start::{{closure}}
  19: std::rt::lang_start_internal
  20: main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.