[INFO] cloning repository https://github.com/JKay15/pku3b_AI
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JKay15/pku3b_AI" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJKay15%2Fpku3b_AI", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJKay15%2Fpku3b_AI'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 102a167814a0088a3c8e8445ee4623143c44e91e
[INFO] checking JKay15/pku3b_AI against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJKay15%2Fpku3b_AI" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/JKay15/pku3b_AI
[INFO] finished tweaking git repo https://github.com/JKay15/pku3b_AI
[INFO] tweaked toml for git repo https://github.com/JKay15/pku3b_AI written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/JKay15/pku3b_AI on toolchain 52995a223f2919dd3e2e427231db90a257350ded
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/JKay15/pku3b_AI 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" "+52995a223f2919dd3e2e427231db90a257350ded" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /workspace/builds/worker-4-tc2/source/pku3b/Cargo.toml
[INFO] [stderr] workspace: /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]   --> pku3b/Cargo.toml:9:12
[INFO] [stderr]    |
[INFO] [stderr]  9 | homepage = "https://github.com/sshwy/pku3b"
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 10 | repository = "https://github.com/sshwy/pku3b"
[INFO] [stderr]    |              --------------------------------
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `pku3b` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8e1d8306956fb818e2f1d579ad1f93fde10059a91c3feb845e8291d5d2103b06
[INFO] running `Command { std: "docker" "start" "8e1d8306956fb818e2f1d579ad1f93fde10059a91c3feb845e8291d5d2103b06", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8e1d8306956fb818e2f1d579ad1f93fde10059a91c3feb845e8291d5d2103b06", 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" "8e1d8306956fb818e2f1d579ad1f93fde10059a91c3feb845e8291d5d2103b06" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8e1d8306956fb818e2f1d579ad1f93fde10059a91c3feb845e8291d5d2103b06", 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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8e1d8306956fb818e2f1d579ad1f93fde10059a91c3feb845e8291d5d2103b06" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /opt/rustwide/workdir/pku3b/Cargo.toml
[INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]   --> pku3b/Cargo.toml:9:12
[INFO] [stderr]    |
[INFO] [stderr]  9 | homepage = "https://github.com/sshwy/pku3b"
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 10 | repository = "https://github.com/sshwy/pku3b"
[INFO] [stderr]    |              --------------------------------
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `pku3b` (manifest) generated 1 warning
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]    Compiling target-lexicon v0.13.2
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]    Compiling io-uring v0.7.7
[INFO] [stderr]    Compiling aws-lc-rs v1.13.1
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]     Checking crossbeam-utils v0.8.21
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling compio-driver v0.7.1
[INFO] [stderr]    Compiling rustls v0.23.28
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]     Checking http v1.3.1
[INFO] [stderr]     Checking deranged v0.4.0
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]    Compiling compio-fs v0.7.0
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling tz-rs v0.7.0
[INFO] [stderr]     Checking rustls-pki-types v1.12.0
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking compio-log v0.1.0
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]     Checking block-padding v0.3.3
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]     Checking anstyle v1.0.11
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling phf_generator v0.11.3
[INFO] [stderr]     Checking dtoa v1.0.10
[INFO] [stderr]     Checking crossbeam-queue v0.3.12
[INFO] [stderr]     Checking crossbeam-channel v0.5.15
[INFO] [stderr]     Checking anstyle-query v1.1.3
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling pyo3-build-config v0.25.1
[INFO] [stderr]    Compiling phf_codegen v0.11.3
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.1
[INFO] [stderr]     Checking ryu v1.0.20
[INFO] [stderr]    Compiling num_threads v0.1.7
[INFO] [stderr]     Checking anstream v0.6.19
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking rustls-native-certs v0.8.1
[INFO] [stderr]    Compiling selectors v0.26.0
[INFO] [stderr]     Checking dtoa-short v0.3.5
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling syn v2.0.103
[INFO] [stderr]    Compiling string_cache_codegen v0.5.4
[INFO] [stderr]    Compiling is_debug v1.1.0
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking compio-buf v0.5.1
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]    Compiling const_format_proc_macros v0.2.34
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking os_pipe v1.2.2
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]    Compiling tzdb_data v0.2.2
[INFO] [stderr]     Checking signal-hook v0.3.18
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]    Compiling markup5ever v0.14.1
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]    Compiling litrs v0.4.1
[INFO] [stderr]    Compiling cc v1.2.27
[INFO] [stderr]    Compiling portable-atomic v1.11.1
[INFO] [stderr]    Compiling document-features v0.2.11
[INFO] [stderr]    Compiling const_format v0.2.34
[INFO] [stderr]     Checking signal-hook-mio v0.2.4
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking servo_arc v0.4.1
[INFO] [stderr]     Checking unicode-segmentation v1.12.0
[INFO] [stderr]     Checking toml_write v0.1.2
[INFO] [stderr]     Checking clap_lex v0.7.5
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]     Checking unicode-width v0.2.1
[INFO] [stderr]     Checking winnow v0.7.11
[INFO] [stderr]     Checking dirs-sys v0.5.0
[INFO] [stderr]     Checking crossterm v0.25.0
[INFO] [stderr]     Checking clap_builder v4.5.40
[INFO] [stderr]     Checking newline-converter v0.3.0
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking console v0.15.11
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking env_filter v0.1.3
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking cookie v0.18.1
[INFO] [stderr]     Checking number_prefix v0.4.0
[INFO] [stderr]     Checking dyn-clone v1.0.19
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]    Compiling cmake v0.1.54
[INFO] [stderr]     Checking env_logger v0.11.8
[INFO] [stderr]    Compiling tzdb v0.7.2
[INFO] [stderr]     Checking inquire v0.7.5
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]     Checking indicatif v0.17.11
[INFO] [stderr]     Checking rand v0.9.1
[INFO] [stderr]    Compiling aws-lc-sys v0.29.0
[INFO] [stderr]    Compiling proc-macro-crate v3.3.0
[INFO] [stderr]    Compiling pyo3-ffi v0.25.1
[INFO] [stderr]    Compiling pyo3-macros-backend v0.25.1
[INFO] [stderr]     Checking directories v6.0.0
[INFO] [stderr]     Checking cbc v0.1.2
[INFO] [stderr]     Checking itertools v0.14.0
[INFO] [stderr]     Checking downcast-rs v2.0.1
[INFO] [stderr]     Checking urlencoding v2.1.3
[INFO] [stderr]    Compiling pyo3 v0.25.1
[INFO] [stderr]     Checking unindent v0.2.4
[INFO] [stderr]    Compiling indoc v2.0.6
[INFO] [stderr]    Compiling shadow-rs v1.2.0
[INFO] [stderr]     Checking m3u8-rs v6.0.0
[INFO] [stderr]    Compiling pku3b v0.8.1 (/opt/rustwide/workdir/pku3b)
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking sanitize-filename v0.6.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling phf_macros v0.11.3
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling cssparser-macros v0.6.1
[INFO] [stderr]    Compiling compio-macros v0.1.2
[INFO] [stderr]     Checking tokio v1.45.1
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]     Checking phf v0.11.3
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]     Checking cssparser v0.34.0
[INFO] [stderr]    Compiling match_token v0.1.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]    Compiling clap_derive v4.5.40
[INFO] [stderr]     Checking zerovec v0.11.2
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.2
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking clap v4.5.40
[INFO] [stderr]    Compiling pyo3-macros v0.25.1
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking compio-io v0.6.0
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking compio-runtime v0.7.0
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking publicsuffix v2.3.0
[INFO] [stderr]     Checking hyper-util v0.1.14
[INFO] [stderr]     Checking compio-net v0.7.0
[INFO] [stderr]     Checking compio-process v0.4.0
[INFO] [stderr]     Checking rustls-webpki v0.103.3
[INFO] [stderr]     Checking string_cache v0.8.9
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking html5ever v0.29.1
[INFO] [stderr]     Checking cookie_store v0.21.1
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking scraper v0.23.1
[INFO] [stderr]     Checking compio-tls v0.5.0
[INFO] [stderr]     Checking rustls-platform-verifier v0.5.3
[INFO] [stderr]     Checking compio v0.14.0
[INFO] [stderr]     Checking cyper-core v0.3.0
[INFO] [stderr]     Checking cyper v0.3.1
[INFO] [stderr]     Checking pku3b_py v0.1.0 (/opt/rustwide/workdir/pku3b_py)
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]   --> pku3b_py/src/lib.rs:52:62
[INFO] [stdout]    |
[INFO] [stdout] 52 |     fn login_blackboard(&self, user: String, pwd: String) -> PyResult<PyBlackboard> {
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]    = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]   --> pku3b_py/src/lib.rs:90:22
[INFO] [stdout]    |
[INFO] [stdout] 90 |     fn get(&self) -> PyResult<PyCourse> {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]   --> pku3b_py/src/lib.rs:99:31
[INFO] [stdout]    |
[INFO] [stdout] 99 |     fn list_courses(&self) -> PyResult<Vec<PyCourseHandle>> {
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:107:39
[INFO] [stdout]     |
[INFO] [stdout] 107 |     fn course(&self, index: usize) -> PyResult<PyCourse> {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:123:32
[INFO] [stdout]     |
[INFO] [stdout] 123 |     fn course_titles(&self) -> PyResult<Vec<String>> {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:151:30
[INFO] [stdout]     |
[INFO] [stdout] 151 |     fn list_videos(&self) -> PyResult<Vec<PyVideoHandle>> {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:159:54
[INFO] [stdout]     |
[INFO] [stdout] 159 |     fn find_videos_by_title(&self, query: String) -> PyResult<Vec<PyVideoHandle>> {
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:167:41
[INFO] [stdout]     |
[INFO] [stdout] 167 |     pub fn list_announcements(&self) -> PyResult<Vec<PyAnnouncementHandle>> {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:179:61
[INFO] [stdout]     |
[INFO] [stdout] 179 |     fn find_announcements_by_title(&self, query: String) -> PyResult<Vec<PyAnnouncementHandle>> {
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:187:35
[INFO] [stdout]     |
[INFO] [stdout] 187 |     fn list_assignments(&self) -> PyResult<Vec<PyAssignmentHandle>> {
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:196:59
[INFO] [stdout]     |
[INFO] [stdout] 196 |     fn find_assignments_by_title(&self, query: String) -> PyResult<Vec<PyAssignmentHandle>> {
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:203:47
[INFO] [stdout]     |
[INFO] [stdout] 203 |     fn list_unsubmitted_assignments(&self) -> PyResult<Vec<PyAssignmentHandle>> {
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:215:45
[INFO] [stdout]     |
[INFO] [stdout] 215 |     fn list_submitted_assignments(&self) -> PyResult<Vec<PyAssignmentHandle>> {
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:227:33
[INFO] [stdout]     |
[INFO] [stdout] 227 |     fn list_documents(&self) -> PyResult<Vec<PyDocumentHandle>> {
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:237:57
[INFO] [stdout]     |
[INFO] [stdout] 237 |     fn find_documents_by_title(&self, query: String) -> PyResult<Vec<PyDocumentHandle>> {
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:245:29
[INFO] [stdout]     |
[INFO] [stdout] 245 |     fn build_tree(&self) -> PyResult<PyCourseTreeNode> {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:265:26
[INFO] [stdout]     |
[INFO] [stdout] 265 |     fn summary(&self) -> PyResult<String> {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:306:22
[INFO] [stdout]     |
[INFO] [stdout] 306 |     fn get(&self) -> PyResult<PyAssignment> {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:358:40
[INFO] [stdout]     |
[INFO] [stdout] 358 |     fn download(&self, dst: String) -> PyResult<()> {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:367:49
[INFO] [stdout]     |
[INFO] [stdout] 367 |     fn submit_file(&self, file_path: String) -> PyResult<()> {
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:397:22
[INFO] [stdout]     |
[INFO] [stdout] 397 |     fn get(&self) -> PyResult<PyVideo> {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:424:62
[INFO] [stdout]     |
[INFO] [stdout] 424 |     fn download(&self, dst: String, to_mp4: Option<bool>) -> PyResult<String> {
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:514:23
[INFO] [stdout]     |
[INFO] [stdout] 514 | fn cache_size_gb() -> PyResult<f64> {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:521:21
[INFO] [stdout]     |
[INFO] [stdout] 521 | fn cache_clean() -> PyResult<f64> {
[INFO] [stdout]     |                     ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:555:22
[INFO] [stdout]     |
[INFO] [stdout] 555 |     fn get(&self) -> PyResult<PyDocument> {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:594:40
[INFO] [stdout]     |
[INFO] [stdout] 594 |     fn download(&self, dst: String) -> PyResult<()> {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:628:22
[INFO] [stdout]     |
[INFO] [stdout] 628 |     fn get(&self) -> PyResult<PyAnnouncement> {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:669:40
[INFO] [stdout]     |
[INFO] [stdout] 669 |     fn download(&self, dst: String) -> PyResult<()> {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pku3b_py` (lib test) due to 28 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]   --> pku3b_py/src/lib.rs:52:62
[INFO] [stdout]    |
[INFO] [stdout] 52 |     fn login_blackboard(&self, user: String, pwd: String) -> PyResult<PyBlackboard> {
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]    = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]   --> pku3b_py/src/lib.rs:90:22
[INFO] [stdout]    |
[INFO] [stdout] 90 |     fn get(&self) -> PyResult<PyCourse> {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]   --> pku3b_py/src/lib.rs:99:31
[INFO] [stdout]    |
[INFO] [stdout] 99 |     fn list_courses(&self) -> PyResult<Vec<PyCourseHandle>> {
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:107:39
[INFO] [stdout]     |
[INFO] [stdout] 107 |     fn course(&self, index: usize) -> PyResult<PyCourse> {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:123:32
[INFO] [stdout]     |
[INFO] [stdout] 123 |     fn course_titles(&self) -> PyResult<Vec<String>> {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:151:30
[INFO] [stdout]     |
[INFO] [stdout] 151 |     fn list_videos(&self) -> PyResult<Vec<PyVideoHandle>> {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:159:54
[INFO] [stdout]     |
[INFO] [stdout] 159 |     fn find_videos_by_title(&self, query: String) -> PyResult<Vec<PyVideoHandle>> {
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:167:41
[INFO] [stdout]     |
[INFO] [stdout] 167 |     pub fn list_announcements(&self) -> PyResult<Vec<PyAnnouncementHandle>> {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:179:61
[INFO] [stdout]     |
[INFO] [stdout] 179 |     fn find_announcements_by_title(&self, query: String) -> PyResult<Vec<PyAnnouncementHandle>> {
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:187:35
[INFO] [stdout]     |
[INFO] [stdout] 187 |     fn list_assignments(&self) -> PyResult<Vec<PyAssignmentHandle>> {
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:196:59
[INFO] [stdout]     |
[INFO] [stdout] 196 |     fn find_assignments_by_title(&self, query: String) -> PyResult<Vec<PyAssignmentHandle>> {
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:203:47
[INFO] [stdout]     |
[INFO] [stdout] 203 |     fn list_unsubmitted_assignments(&self) -> PyResult<Vec<PyAssignmentHandle>> {
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:215:45
[INFO] [stdout]     |
[INFO] [stdout] 215 |     fn list_submitted_assignments(&self) -> PyResult<Vec<PyAssignmentHandle>> {
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:227:33
[INFO] [stdout]     |
[INFO] [stdout] 227 |     fn list_documents(&self) -> PyResult<Vec<PyDocumentHandle>> {
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:237:57
[INFO] [stdout]     |
[INFO] [stdout] 237 |     fn find_documents_by_title(&self, query: String) -> PyResult<Vec<PyDocumentHandle>> {
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:245:29
[INFO] [stdout]     |
[INFO] [stdout] 245 |     fn build_tree(&self) -> PyResult<PyCourseTreeNode> {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:265:26
[INFO] [stdout]     |
[INFO] [stdout] 265 |     fn summary(&self) -> PyResult<String> {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:306:22
[INFO] [stdout]     |
[INFO] [stdout] 306 |     fn get(&self) -> PyResult<PyAssignment> {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:358:40
[INFO] [stdout]     |
[INFO] [stdout] 358 |     fn download(&self, dst: String) -> PyResult<()> {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:367:49
[INFO] [stdout]     |
[INFO] [stdout] 367 |     fn submit_file(&self, file_path: String) -> PyResult<()> {
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:397:22
[INFO] [stdout]     |
[INFO] [stdout] 397 |     fn get(&self) -> PyResult<PyVideo> {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:424:62
[INFO] [stdout]     |
[INFO] [stdout] 424 |     fn download(&self, dst: String, to_mp4: Option<bool>) -> PyResult<String> {
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:514:23
[INFO] [stdout]     |
[INFO] [stdout] 514 | fn cache_size_gb() -> PyResult<f64> {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:521:21
[INFO] [stdout]     |
[INFO] [stdout] 521 | fn cache_clean() -> PyResult<f64> {
[INFO] [stdout]     |                     ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:555:22
[INFO] [stdout]     |
[INFO] [stdout] 555 |     fn get(&self) -> PyResult<PyDocument> {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:594:40
[INFO] [stdout]     |
[INFO] [stdout] 594 |     fn download(&self, dst: String) -> PyResult<()> {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:628:22
[INFO] [stdout]     |
[INFO] [stdout] 628 |     fn get(&self) -> PyResult<PyAnnouncement> {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> pku3b_py/src/lib.rs:669:40
[INFO] [stdout]     |
[INFO] [stdout] 669 |     fn download(&self, dst: String) -> PyResult<()> {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pku3b_py` (lib) due to 28 previous errors
[INFO] [stdout] warning: methods `syncify` and `blackboard_sync` are never used
[INFO] [stdout]    --> pku3b/src/api/mod.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout]  56 | impl Client {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn syncify<F, T>(&self, fut: F) -> anyhow::Result<T>
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn blackboard_sync(&self, username: &str, password: &str) -> anyhow::Result<Blackboard> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `client` is never used
[INFO] [stdout]    --> pku3b/src/api/mod.rs:139:12
[INFO] [stdout]     |
[INFO] [stdout] 138 | impl Blackboard {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] 139 |     pub fn client(&self) -> Client {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `title`, `id`, and `list_assignments` are never used
[INFO] [stdout]    --> pku3b/src/api/mod.rs:264:12
[INFO] [stdout]     |
[INFO] [stdout] 249 | impl CourseHandle {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 264 |     pub fn title(&self) -> &str {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 267 |     pub fn id(&self) -> &str {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 288 |     pub async fn list_assignments(&self) -> anyhow::Result<Vec<CourseAssignmentHandle>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> pku3b/src/api/mod.rs:467:18
[INFO] [stdout]     |
[INFO] [stdout] 301 | impl Course {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 467 |     pub async fn list_assignments(&self) -> anyhow::Result<Vec<CourseAssignmentHandle>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 481 |     pub async fn list_videos(&self) -> anyhow::Result<Vec<CourseVideoHandle>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 485 |     pub async fn list_documents(&self) -> anyhow::Result<Vec<CourseDocumentHandle>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 505 |     pub async fn list_assignments_with_hierarchy(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 527 |     pub async fn list_documents_with_hierarchy(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 555 |     pub async fn list_announcements(&self) -> Result<Vec<CourseAnnouncementHandle>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 579 |     pub async fn build_tree(&self) -> anyhow::Result<CourseTreeNode> {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_parent` and `get_children` are never used
[INFO] [stdout]    --> pku3b/src/api/mod.rs:828:12
[INFO] [stdout]     |
[INFO] [stdout] 714 | impl CourseContentStream {
[INFO] [stdout]     | ------------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 828 |     pub fn get_parent(&self, id: &str) -> Option<&str> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 833 |     pub fn get_children(&self, id: &str) -> Vec<&str> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `is_folder` and `from_announcement_element` are never used
[INFO] [stdout]    --> pku3b/src/api/mod.rs:896:12
[INFO] [stdout]     |
[INFO] [stdout] 895 | impl CourseContentData {
[INFO] [stdout]     | ---------------------- associated items in this implementation
[INFO] [stdout] 896 |     pub fn is_folder(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 997 |     pub fn from_announcement_element(el: ElementRef) -> anyhow::Result<CourseContentData> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `depth`, `parent_id`, `id_legacy`, and `title` are never used
[INFO] [stdout]     --> pku3b/src/api/mod.rs:1092:12
[INFO] [stdout]      |
[INFO] [stdout] 1090 | impl CourseAssignmentHandle {
[INFO] [stdout]      | --------------------------- methods in this implementation
[INFO] [stdout] 1091 |     /// 获取深度（在内容树中的层级）
[INFO] [stdout] 1092 |     pub fn depth(&self) -> usize {
[INFO] [stdout]      |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1097 |     pub fn parent_id(&self) -> Option<String> {
[INFO] [stdout]      |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1108 |     pub fn id_legacy(&self) -> String {
[INFO] [stdout]      |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1116 |     pub fn title(&self) -> &str {
[INFO] [stdout]      |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CourseDocumentHandle` is never constructed
[INFO] [stdout]     --> pku3b/src/api/mod.rs:1415:12
[INFO] [stdout]      |
[INFO] [stdout] 1415 | pub struct CourseDocumentHandle {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `depth`, `parent_id`, `id`, `title`, and `get` are never used
[INFO] [stdout]     --> pku3b/src/api/mod.rs:1423:12
[INFO] [stdout]      |
[INFO] [stdout] 1421 | impl CourseDocumentHandle {
[INFO] [stdout]      | ------------------------- methods in this implementation
[INFO] [stdout] 1422 |     /// 获取深度（在内容树中的层级）
[INFO] [stdout] 1423 |     pub fn depth(&self) -> usize {
[INFO] [stdout]      |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1428 |     pub fn parent_id(&self) -> Option<String> {
[INFO] [stdout]      |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1432 |     pub fn id(&self) -> String {
[INFO] [stdout]      |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 1439 |     pub fn title(&self) -> &str {
[INFO] [stdout]      |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1443 |     pub async fn get(&self) -> anyhow::Result<CourseDocument> {
[INFO] [stdout]      |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CourseDocument` is never constructed
[INFO] [stdout]     --> pku3b/src/api/mod.rs:1453:12
[INFO] [stdout]      |
[INFO] [stdout] 1453 | pub struct CourseDocument {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `id`, `title`, `descriptions`, `attachments`, and `download_attachment` are never used
[INFO] [stdout]     --> pku3b/src/api/mod.rs:1461:12
[INFO] [stdout]      |
[INFO] [stdout] 1459 | impl CourseDocument {
[INFO] [stdout]      | ------------------- methods in this implementation
[INFO] [stdout] 1460 |     /* —— 基本信息 —— */
[INFO] [stdout] 1461 |     pub fn id(&self) -> String {
[INFO] [stdout]      |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 1464 |     pub fn title(&self) -> &str {
[INFO] [stdout]      |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1467 |     pub fn descriptions(&self) -> &[String] {
[INFO] [stdout]      |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1470 |     pub fn attachments(&self) -> &[(String, String)] {
[INFO] [stdout]      |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1474 |     pub async fn download_attachment(
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CourseAnnouncementHandle` is never constructed
[INFO] [stdout]     --> pku3b/src/api/mod.rs:1523:12
[INFO] [stdout]      |
[INFO] [stdout] 1523 | pub struct CourseAnnouncementHandle {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `id`, `title`, and `get` are never used
[INFO] [stdout]     --> pku3b/src/api/mod.rs:1529:12
[INFO] [stdout]      |
[INFO] [stdout] 1528 | impl CourseAnnouncementHandle {
[INFO] [stdout]      | ----------------------------- methods in this implementation
[INFO] [stdout] 1529 |     pub fn id(&self) -> String {
[INFO] [stdout]      |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 1533 |     pub fn title(&self) -> String {
[INFO] [stdout]      |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1536 |     pub async fn get(&self) -> Result<CourseAnnouncement> {
[INFO] [stdout]      |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CourseAnnouncement` is never constructed
[INFO] [stdout]     --> pku3b/src/api/mod.rs:1545:12
[INFO] [stdout]      |
[INFO] [stdout] 1545 | pub struct CourseAnnouncement {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `title`, `descriptions`, `attachments`, and `download_attachment` are never used
[INFO] [stdout]     --> pku3b/src/api/mod.rs:1551:12
[INFO] [stdout]      |
[INFO] [stdout] 1550 | impl CourseAnnouncement {
[INFO] [stdout]      | ----------------------- methods in this implementation
[INFO] [stdout] 1551 |     pub fn title(&self) -> String {
[INFO] [stdout]      |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1555 |     pub fn descriptions(&self) -> &Vec<String> {
[INFO] [stdout]      |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1559 |     pub fn attachments(&self) -> &Vec<(String, String)> {
[INFO] [stdout]      |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1563 |     pub async fn download_attachment(&self, uri: &str, dest: &std::path::Path) -> Result<()> {
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `content` is never read
[INFO] [stdout]     --> pku3b/src/api/mod.rs:1620:9
[INFO] [stdout]      |
[INFO] [stdout] 1619 | pub struct CourseVideoHandle {
[INFO] [stdout]      |            ----------------- field in this struct
[INFO] [stdout] 1620 |     pub content: CourseContentData,
[INFO] [stdout]      |         ^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `CourseVideoHandle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `title` and `time` are never used
[INFO] [stdout]     --> pku3b/src/api/mod.rs:1649:12
[INFO] [stdout]      |
[INFO] [stdout] 1626 | impl CourseVideoHandle {
[INFO] [stdout]      | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1649 |     pub fn title(&self) -> &str {
[INFO] [stdout]      |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1652 |     pub fn time(&self) -> &str {
[INFO] [stdout]      |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `NodeKind` is never used
[INFO] [stdout]  --> pku3b/src/api/tree.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub enum NodeKind {
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ContentHandle` is never used
[INFO] [stdout]   --> pku3b/src/api/tree.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub enum ContentHandle {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CourseTreeNode` is never constructed
[INFO] [stdout]   --> pku3b/src/api/tree.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct CourseTreeNode {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> pku3b/src/api/tree.rs:39:12
[INFO] [stdout]     |
[INFO] [stdout]  38 | impl CourseTreeNode {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout]  39 |     pub fn id(&self) -> &str {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout]  42 |     pub fn title(&self) -> &str {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  45 |     pub fn kind(&self) -> NodeKind {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  48 |     pub fn children(&self) -> &[CourseTreeNode] {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  51 |     pub fn children_mut(&mut self) -> &mut [CourseTreeNode] {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  55 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  69 |     pub fn new_basic(id: impl Into<String>, title: impl Into<String>, kind: NodeKind) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  73 |     pub fn as_assignment(&self) -> Option<&CourseAssignmentHandle> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  80 |     pub fn as_document(&self) -> Option<&CourseDocumentHandle> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  87 |     pub fn as_video(&self) -> Option<&CourseVideoHandle> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  95 |     pub fn as_announcement(&self) -> Option<&CourseAnnouncementHandle> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub fn add_child(&mut self, child: CourseTreeNode) -> &mut CourseTreeNode {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn dfs<'a>(&'a self) -> impl Iterator<Item = &'a CourseTreeNode> + 'a {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub fn bfs_mut(&mut self) -> impl Iterator<Item = &mut CourseTreeNode> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `syncify` and `blackboard_sync` are never used
[INFO] [stdout]    --> pku3b/src/api/mod.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout]  56 | impl Client {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn syncify<F, T>(&self, fut: F) -> anyhow::Result<T>
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn blackboard_sync(&self, username: &str, password: &str) -> anyhow::Result<Blackboard> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `client` is never used
[INFO] [stdout]    --> pku3b/src/api/mod.rs:139:12
[INFO] [stdout]     |
[INFO] [stdout] 138 | impl Blackboard {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] 139 |     pub fn client(&self) -> Client {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `title`, `id`, and `list_assignments` are never used
[INFO] [stdout]    --> pku3b/src/api/mod.rs:264:12
[INFO] [stdout]     |
[INFO] [stdout] 249 | impl CourseHandle {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 264 |     pub fn title(&self) -> &str {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 267 |     pub fn id(&self) -> &str {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 288 |     pub async fn list_assignments(&self) -> anyhow::Result<Vec<CourseAssignmentHandle>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> pku3b/src/api/mod.rs:467:18
[INFO] [stdout]     |
[INFO] [stdout] 301 | impl Course {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 467 |     pub async fn list_assignments(&self) -> anyhow::Result<Vec<CourseAssignmentHandle>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 481 |     pub async fn list_videos(&self) -> anyhow::Result<Vec<CourseVideoHandle>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 485 |     pub async fn list_documents(&self) -> anyhow::Result<Vec<CourseDocumentHandle>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 505 |     pub async fn list_assignments_with_hierarchy(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 527 |     pub async fn list_documents_with_hierarchy(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 555 |     pub async fn list_announcements(&self) -> Result<Vec<CourseAnnouncementHandle>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 579 |     pub async fn build_tree(&self) -> anyhow::Result<CourseTreeNode> {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_parent` and `get_children` are never used
[INFO] [stdout]    --> pku3b/src/api/mod.rs:828:12
[INFO] [stdout]     |
[INFO] [stdout] 714 | impl CourseContentStream {
[INFO] [stdout]     | ------------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 828 |     pub fn get_parent(&self, id: &str) -> Option<&str> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 833 |     pub fn get_children(&self, id: &str) -> Vec<&str> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `is_folder` and `from_announcement_element` are never used
[INFO] [stdout]    --> pku3b/src/api/mod.rs:896:12
[INFO] [stdout]     |
[INFO] [stdout] 895 | impl CourseContentData {
[INFO] [stdout]     | ---------------------- associated items in this implementation
[INFO] [stdout] 896 |     pub fn is_folder(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 997 |     pub fn from_announcement_element(el: ElementRef) -> anyhow::Result<CourseContentData> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `depth`, `parent_id`, `id_legacy`, and `title` are never used
[INFO] [stdout]     --> pku3b/src/api/mod.rs:1092:12
[INFO] [stdout]      |
[INFO] [stdout] 1090 | impl CourseAssignmentHandle {
[INFO] [stdout]      | --------------------------- methods in this implementation
[INFO] [stdout] 1091 |     /// 获取深度（在内容树中的层级）
[INFO] [stdout] 1092 |     pub fn depth(&self) -> usize {
[INFO] [stdout]      |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1097 |     pub fn parent_id(&self) -> Option<String> {
[INFO] [stdout]      |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1108 |     pub fn id_legacy(&self) -> String {
[INFO] [stdout]      |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1116 |     pub fn title(&self) -> &str {
[INFO] [stdout]      |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CourseDocumentHandle` is never constructed
[INFO] [stdout]     --> pku3b/src/api/mod.rs:1415:12
[INFO] [stdout]      |
[INFO] [stdout] 1415 | pub struct CourseDocumentHandle {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `depth`, `parent_id`, `id`, `title`, and `get` are never used
[INFO] [stdout]     --> pku3b/src/api/mod.rs:1423:12
[INFO] [stdout]      |
[INFO] [stdout] 1421 | impl CourseDocumentHandle {
[INFO] [stdout]      | ------------------------- methods in this implementation
[INFO] [stdout] 1422 |     /// 获取深度（在内容树中的层级）
[INFO] [stdout] 1423 |     pub fn depth(&self) -> usize {
[INFO] [stdout]      |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1428 |     pub fn parent_id(&self) -> Option<String> {
[INFO] [stdout]      |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1432 |     pub fn id(&self) -> String {
[INFO] [stdout]      |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 1439 |     pub fn title(&self) -> &str {
[INFO] [stdout]      |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1443 |     pub async fn get(&self) -> anyhow::Result<CourseDocument> {
[INFO] [stdout]      |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CourseDocument` is never constructed
[INFO] [stdout]     --> pku3b/src/api/mod.rs:1453:12
[INFO] [stdout]      |
[INFO] [stdout] 1453 | pub struct CourseDocument {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `id`, `title`, `descriptions`, `attachments`, and `download_attachment` are never used
[INFO] [stdout]     --> pku3b/src/api/mod.rs:1461:12
[INFO] [stdout]      |
[INFO] [stdout] 1459 | impl CourseDocument {
[INFO] [stdout]      | ------------------- methods in this implementation
[INFO] [stdout] 1460 |     /* —— 基本信息 —— */
[INFO] [stdout] 1461 |     pub fn id(&self) -> String {
[INFO] [stdout]      |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 1464 |     pub fn title(&self) -> &str {
[INFO] [stdout]      |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1467 |     pub fn descriptions(&self) -> &[String] {
[INFO] [stdout]      |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1470 |     pub fn attachments(&self) -> &[(String, String)] {
[INFO] [stdout]      |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1474 |     pub async fn download_attachment(
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CourseAnnouncementHandle` is never constructed
[INFO] [stdout]     --> pku3b/src/api/mod.rs:1523:12
[INFO] [stdout]      |
[INFO] [stdout] 1523 | pub struct CourseAnnouncementHandle {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `id`, `title`, and `get` are never used
[INFO] [stdout]     --> pku3b/src/api/mod.rs:1529:12
[INFO] [stdout]      |
[INFO] [stdout] 1528 | impl CourseAnnouncementHandle {
[INFO] [stdout]      | ----------------------------- methods in this implementation
[INFO] [stdout] 1529 |     pub fn id(&self) -> String {
[INFO] [stdout]      |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 1533 |     pub fn title(&self) -> String {
[INFO] [stdout]      |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1536 |     pub async fn get(&self) -> Result<CourseAnnouncement> {
[INFO] [stdout]      |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CourseAnnouncement` is never constructed
[INFO] [stdout]     --> pku3b/src/api/mod.rs:1545:12
[INFO] [stdout]      |
[INFO] [stdout] 1545 | pub struct CourseAnnouncement {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `title`, `descriptions`, `attachments`, and `download_attachment` are never used
[INFO] [stdout]     --> pku3b/src/api/mod.rs:1551:12
[INFO] [stdout]      |
[INFO] [stdout] 1550 | impl CourseAnnouncement {
[INFO] [stdout]      | ----------------------- methods in this implementation
[INFO] [stdout] 1551 |     pub fn title(&self) -> String {
[INFO] [stdout]      |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1555 |     pub fn descriptions(&self) -> &Vec<String> {
[INFO] [stdout]      |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1559 |     pub fn attachments(&self) -> &Vec<(String, String)> {
[INFO] [stdout]      |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1563 |     pub async fn download_attachment(&self, uri: &str, dest: &std::path::Path) -> Result<()> {
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `content` is never read
[INFO] [stdout]     --> pku3b/src/api/mod.rs:1620:9
[INFO] [stdout]      |
[INFO] [stdout] 1619 | pub struct CourseVideoHandle {
[INFO] [stdout]      |            ----------------- field in this struct
[INFO] [stdout] 1620 |     pub content: CourseContentData,
[INFO] [stdout]      |         ^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `CourseVideoHandle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `title` and `time` are never used
[INFO] [stdout]     --> pku3b/src/api/mod.rs:1649:12
[INFO] [stdout]      |
[INFO] [stdout] 1626 | impl CourseVideoHandle {
[INFO] [stdout]      | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1649 |     pub fn title(&self) -> &str {
[INFO] [stdout]      |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1652 |     pub fn time(&self) -> &str {
[INFO] [stdout]      |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `NodeKind` is never used
[INFO] [stdout]  --> pku3b/src/api/tree.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub enum NodeKind {
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ContentHandle` is never used
[INFO] [stdout]   --> pku3b/src/api/tree.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub enum ContentHandle {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CourseTreeNode` is never constructed
[INFO] [stdout]   --> pku3b/src/api/tree.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct CourseTreeNode {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> pku3b/src/api/tree.rs:39:12
[INFO] [stdout]     |
[INFO] [stdout]  38 | impl CourseTreeNode {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout]  39 |     pub fn id(&self) -> &str {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout]  42 |     pub fn title(&self) -> &str {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  45 |     pub fn kind(&self) -> NodeKind {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  48 |     pub fn children(&self) -> &[CourseTreeNode] {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  51 |     pub fn children_mut(&mut self) -> &mut [CourseTreeNode] {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  55 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  69 |     pub fn new_basic(id: impl Into<String>, title: impl Into<String>, kind: NodeKind) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  73 |     pub fn as_assignment(&self) -> Option<&CourseAssignmentHandle> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  80 |     pub fn as_document(&self) -> Option<&CourseDocumentHandle> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  87 |     pub fn as_video(&self) -> Option<&CourseVideoHandle> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  95 |     pub fn as_announcement(&self) -> Option<&CourseAnnouncementHandle> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub fn add_child(&mut self, child: CourseTreeNode) -> &mut CourseTreeNode {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn dfs<'a>(&'a self) -> impl Iterator<Item = &'a CourseTreeNode> + 'a {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub fn bfs_mut(&mut self) -> impl Iterator<Item = &mut CourseTreeNode> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: unused dependency `downcast-rs`
[INFO] [stderr]   --> pku3b/Cargo.toml:20:1
[INFO] [stderr]    |
[INFO] [stderr] 20 | downcast-rs = "2.0.1"
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `downcast-rs`
[INFO] [stderr] warning: unused dependency `mime_guess`
[INFO] [stderr]   --> pku3b/Cargo.toml:17:1
[INFO] [stderr]    |
[INFO] [stderr] 17 | mime_guess = "2.0"  # 扩展MIME类型支持
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `mime_guess`
[INFO] [stderr] warning: unused dependency `sanitize-filename`
[INFO] [stderr]   --> pku3b/Cargo.toml:19:1
[INFO] [stderr]    |
[INFO] [stderr] 19 | sanitize-filename = "0.6.0"  # 安全文件名
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `sanitize-filename`
[INFO] [stderr] warning: unused dependency `urlencoding`
[INFO] [stderr]   --> pku3b/Cargo.toml:18:1
[INFO] [stderr]    |
[INFO] [stderr] 18 | urlencoding = "2.0"  # 文件名解码
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `urlencoding`
[INFO] [stderr] warning: `pku3b` (manifest) generated 4 warnings
[INFO] running `Command { std: "docker" "inspect" "8e1d8306956fb818e2f1d579ad1f93fde10059a91c3feb845e8291d5d2103b06", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e1d8306956fb818e2f1d579ad1f93fde10059a91c3feb845e8291d5d2103b06", kill_on_drop: false }`
[INFO] [stdout] 8e1d8306956fb818e2f1d579ad1f93fde10059a91c3feb845e8291d5d2103b06
