[INFO] fetching crate zju-jw-scraper 0.2.1... [INFO] checking zju-jw-scraper-0.2.1 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate zju-jw-scraper 0.2.1 into /workspace/builds/worker-59/source [INFO] validating manifest of crates.io crate zju-jw-scraper 0.2.1 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-59/source/rust-toolchain [INFO] started tweaking crates.io crate zju-jw-scraper 0.2.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate zju-jw-scraper 0.2.1 [INFO] tweaked toml for crates.io crate zju-jw-scraper 0.2.1 written to /workspace/builds/worker-59/source/Cargo.toml [INFO] crate crates.io crate zju-jw-scraper 0.2.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded http-body v0.2.0-alpha.1 [INFO] [stderr] Downloaded pin-project-internal v0.4.0-alpha.7 [INFO] [stderr] Downloaded pin-project v0.4.0-alpha.7 [INFO] [stderr] Downloaded tokio-tls v0.3.0-alpha.4 [INFO] [stderr] Downloaded hyper-tls v0.4.0-alpha.1 [INFO] [stderr] Downloaded futures-util-preview v0.3.0-alpha.18 [INFO] [stderr] Downloaded interfacer-http-attribute v0.2.1 [INFO] [stderr] Downloaded tower-service v0.3.0-alpha.1 [INFO] [stderr] Downloaded tower-make v0.1.0-alpha.2 [INFO] [stderr] Downloaded hyper v0.13.0-alpha.1 [INFO] [stderr] Downloaded h2 v0.2.0-alpha.1 [INFO] [stderr] Downloaded tokio v0.2.0-alpha.4 [INFO] [stderr] Downloaded tokio-fs v0.2.0-alpha.4 [INFO] [stderr] Downloaded tracing v0.1.8 [INFO] [stderr] Downloaded tokio-sync v0.2.0-alpha.4 [INFO] [stderr] Downloaded futures-core-preview v0.3.0-alpha.18 [INFO] [stderr] Downloaded tokio-timer v0.3.0-alpha.4 [INFO] [stderr] Downloaded ego-tree v0.6.0 [INFO] [stderr] Downloaded interfacer-http v0.2.2 [INFO] [stderr] Downloaded tokio-codec v0.2.0-alpha.4 [INFO] [stderr] Downloaded futures-channel-preview v0.3.0-alpha.18 [INFO] [stderr] Downloaded futures-sink-preview v0.3.0-alpha.18 [INFO] [stderr] Downloaded tokio-net v0.2.0-alpha.4 [INFO] [stderr] Downloaded tracing-attributes v0.1.2 [INFO] [stderr] Downloaded unhtml v0.7.3 [INFO] [stderr] Downloaded tokio-executor v0.2.0-alpha.4 [INFO] [stderr] Downloaded tokio-macros v0.2.0-alpha.4 [INFO] [stderr] Downloaded tokio-io v0.2.0-alpha.4 [INFO] [stderr] Downloaded interfacer-http-hyper v0.1.0 [INFO] [stderr] Downloaded async-trait v0.1.11 [INFO] [stderr] Downloaded reformation_derive v0.4.1 [INFO] [stderr] Downloaded reformation v0.4.1 [INFO] [stderr] Downloaded unhtml_derive v0.7.3 [INFO] [stderr] Downloaded tracing-core v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b6fda738a085058219457f785a95059da66c82c038b09a3bf1978818787ebe6 [INFO] running `Command { std: "docker" "start" "-a" "8b6fda738a085058219457f785a95059da66c82c038b09a3bf1978818787ebe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b6fda738a085058219457f785a95059da66c82c038b09a3bf1978818787ebe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b6fda738a085058219457f785a95059da66c82c038b09a3bf1978818787ebe6", kill_on_drop: false }` [INFO] [stdout] 8b6fda738a085058219457f785a95059da66c82c038b09a3bf1978818787ebe6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e14aa46c29df1591d167f033a1db786872b33a5d0ad5daf64b7bcf5cebd1facd [INFO] running `Command { std: "docker" "start" "-a" "e14aa46c29df1591d167f033a1db786872b33a5d0ad5daf64b7bcf5cebd1facd", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] lazy_static v1.4.0: spin, spin_no_std [INFO] [stderr] lazy_static v1.4.0 (as host dependency): spin, spin_no_std [INFO] [stderr] serde v1.0.100 (as host dependency): derive, serde_derive [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling proc-macro2 v1.0.3 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling serde v1.0.100 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking futures-core-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling procedural-masquerade v0.1.6 [INFO] [stderr] Compiling new_debug_unreachable v1.0.3 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling pkg-config v0.3.16 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling thin-slice v0.1.1 [INFO] [stderr] Compiling ego-tree v0.6.0 [INFO] [stderr] Compiling openssl v0.10.24 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Compiling mime v0.3.14 [INFO] [stderr] Checking tower-service v0.3.0-alpha.1 [INFO] [stderr] Checking indexmap v1.2.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Checking phf_shared v0.7.24 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking dtoa-short v0.3.2 [INFO] [stderr] Checking futures-sink-preview v0.3.0-alpha.18 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling servo_arc v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Compiling tendril v0.4.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.18 [INFO] [stderr] Checking lock_api v0.3.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking tracing-core v0.1.5 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling openssl-sys v0.9.49 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking serde_test v0.8.23 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling pin-project-internal v0.4.0-alpha.7 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Checking tokio-sync v0.2.0-alpha.4 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking url v2.1.0 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking tokio-io v0.2.0-alpha.4 [INFO] [stderr] Checking http v0.1.18 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking tokio-codec v0.2.0-alpha.4 [INFO] [stderr] Checking tower-make v0.1.0-alpha.2 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling string_cache_codegen v0.4.2 [INFO] [stderr] Checking cookie v0.12.0 [INFO] [stderr] Compiling selectors v0.21.0 [INFO] [stderr] Checking serde-hjson v0.8.2 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Compiling string_cache v0.7.3 [INFO] [stderr] Checking tokio-tls v0.3.0-alpha.4 [INFO] [stderr] Checking http-body v0.2.0-alpha.1 [INFO] [stderr] Checking h2 v0.2.0-alpha.1 [INFO] [stderr] Compiling html5ever v0.22.5 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling reformation_derive v0.4.1 [INFO] [stderr] Compiling derive_more v0.13.0 [INFO] [stderr] Compiling serde_derive v1.0.100 [INFO] [stderr] Compiling cssparser v0.25.9 [INFO] [stderr] Compiling cssparser-macros v0.3.6 [INFO] [stderr] Compiling tracing-attributes v0.1.2 [INFO] [stderr] Compiling tokio-macros v0.2.0-alpha.4 [INFO] [stderr] Compiling interfacer-http-attribute v0.2.1 [INFO] [stderr] Compiling async-trait v0.1.11 [INFO] [stderr] Checking reformation v0.4.1 [INFO] [stderr] Checking tracing v0.1.8 [INFO] [stderr] Checking tokio-executor v0.2.0-alpha.4 [INFO] [stderr] Checking pin-project v0.4.0-alpha.7 [INFO] [stderr] Checking tokio-timer v0.3.0-alpha.4 [INFO] [stderr] Checking tokio-fs v0.2.0-alpha.4 [INFO] [stderr] Checking tokio-net v0.2.0-alpha.4 [INFO] [stderr] Checking tokio v0.2.0-alpha.4 [INFO] [stderr] Checking hyper v0.13.0-alpha.1 [INFO] [stderr] Checking hyper-tls v0.4.0-alpha.1 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking config v0.9.3 [INFO] [stderr] Compiling markup5ever v0.7.5 [INFO] [stderr] Checking scraper v0.10.1 [INFO] [stderr] Compiling unhtml_derive v0.7.3 [INFO] [stderr] Checking unhtml v0.7.3 [INFO] [stderr] Checking interfacer-http v0.2.2 [INFO] [stderr] Checking interfacer-http-hyper v0.1.0 [INFO] [stderr] Checking zju-jw-scraper v0.2.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | #![feature(custom_attribute, param_attrs, async_closure)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `#![register_tool]` and `#![register_attr]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/raw/mod.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[get("default2.aspx")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `expect` in this scope [INFO] [stdout] --> src/raw/mod.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[expect(200, "text/html; charset=gb2312")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> src/raw/mod.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[post("default2.aspx", "application/x-www-form-urlencoded; charset=gb2312")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `expect` in this scope [INFO] [stdout] --> src/raw/mod.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[expect(302, "text/html; charset=gb2312")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `body` in this scope [INFO] [stdout] --> src/raw/mod.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | async fn login<'a>(&self, #[body] body: LoginBody<'a>) -> Result, Self::Err>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/raw/mod.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[get("html_kc/{code}.html")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `expect` in this scope [INFO] [stdout] --> src/raw/mod.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | #[expect(200, "text/html; charset=gb2312")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/raw/mod.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[get("xskbcx.aspx?xh={stu_id}")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `expect` in this scope [INFO] [stdout] --> src/raw/mod.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[expect(200, "text/html; charset=gb2312")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `header` in this scope [INFO] [stdout] --> src/raw/mod.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | #[header(COOKIE)] cookie: &str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> src/raw/mod.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | #[post("xskbcx.aspx?xh={stu_id}", "application/x-www-form-urlencoded; charset=gb2312")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `expect` in this scope [INFO] [stdout] --> src/raw/mod.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | #[expect(200, "text/html; charset=gb2312")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `body` in this scope [INFO] [stdout] --> src/raw/mod.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | #[body] body: CoursesReq<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `header` in this scope [INFO] [stdout] --> src/raw/mod.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | #[header(COOKIE)] cookie: &str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/raw/mod.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | #[get("xskscx.aspx?xh={stu_id}")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `expect` in this scope [INFO] [stdout] --> src/raw/mod.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | #[expect(200, "text/html; charset=gb2312")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `header` in this scope [INFO] [stdout] --> src/raw/mod.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | #[header(COOKIE)] cookie: &str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> src/raw/mod.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | #[post("xskscx.aspx?xh={stu_id}", "application/x-www-form-urlencoded; charset=gb2312")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `expect` in this scope [INFO] [stdout] --> src/raw/mod.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | #[expect(200, "text/html; charset=gb2312")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `body` in this scope [INFO] [stdout] --> src/raw/mod.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | #[body] body: ExamsReq<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `header` in this scope [INFO] [stdout] --> src/raw/mod.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | #[header(COOKIE)] cookie: &str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/raw/mod.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | #[get("xscj.aspx?xh={stu_id}")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `expect` in this scope [INFO] [stdout] --> src/raw/mod.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | #[expect(200, "text/html; charset=gb2312")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `header` in this scope [INFO] [stdout] --> src/raw/mod.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | #[header(COOKIE)] cookie: &str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> src/raw/mod.rs:77:7 [INFO] [stdout] | [INFO] [stdout] 77 | #[post("xscj.aspx?xh={stu_id}", "application/x-www-form-urlencoded; charset=gb2312")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `expect` in this scope [INFO] [stdout] --> src/raw/mod.rs:78:7 [INFO] [stdout] | [INFO] [stdout] 78 | #[expect(200, "text/html; charset=gb2312")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `body` in this scope [INFO] [stdout] --> src/raw/mod.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | #[body] body: ScoresReq<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `header` in this scope [INFO] [stdout] --> src/raw/mod.rs:83:11 [INFO] [stdout] | [INFO] [stdout] 83 | #[header(COOKIE)] cookie: &str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/raw/mod.rs:86:7 [INFO] [stdout] | [INFO] [stdout] 86 | #[get("xscj_zg.aspx?xh={stu_id}")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `expect` in this scope [INFO] [stdout] --> src/raw/mod.rs:87:7 [INFO] [stdout] | [INFO] [stdout] 87 | #[expect(200, "text/html; charset=gb2312")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `header` in this scope [INFO] [stdout] --> src/raw/mod.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[header(COOKIE)] cookie: &str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/raw/mod.rs:94:7 [INFO] [stdout] | [INFO] [stdout] 94 | #[get("xs_txsqddy.aspx?xh={stu_id}")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `expect` in this scope [INFO] [stdout] --> src/raw/mod.rs:95:7 [INFO] [stdout] | [INFO] [stdout] 95 | #[expect(200, "text/html; charset=gb2312")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `header` in this scope [INFO] [stdout] --> src/raw/mod.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[header(COOKIE)] cookie: &str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this attribute can only be applied to a `use` item [INFO] [stdout] --> src/lib.rs:109:7 [INFO] [stdout] | [INFO] [stdout] 109 | #[doc(inline)] [INFO] [stdout] | ^^^^^^ only applicable on `use` items [INFO] [stdout] 110 | pub mod helper; [INFO] [stdout] | --------------- not a `use` item [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_doc_attributes)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82730 [INFO] [stdout] = note: read https://doc.rust-lang.org/nightly/rustdoc/the-doc-attribute.html#docno_inlinedocinline for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zju-jw-scraper` due to 36 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | #![feature(custom_attribute, param_attrs, async_closure)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `#![register_tool]` and `#![register_attr]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/raw/mod.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[get("default2.aspx")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `expect` in this scope [INFO] [stdout] --> src/raw/mod.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[expect(200, "text/html; charset=gb2312")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> src/raw/mod.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[post("default2.aspx", "application/x-www-form-urlencoded; charset=gb2312")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `expect` in this scope [INFO] [stdout] --> src/raw/mod.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[expect(302, "text/html; charset=gb2312")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `body` in this scope [INFO] [stdout] --> src/raw/mod.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | async fn login<'a>(&self, #[body] body: LoginBody<'a>) -> Result, Self::Err>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/raw/mod.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[get("html_kc/{code}.html")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `expect` in this scope [INFO] [stdout] --> src/raw/mod.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | #[expect(200, "text/html; charset=gb2312")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/raw/mod.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[get("xskbcx.aspx?xh={stu_id}")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `expect` in this scope [INFO] [stdout] --> src/raw/mod.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[expect(200, "text/html; charset=gb2312")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `header` in this scope [INFO] [stdout] --> src/raw/mod.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | #[header(COOKIE)] cookie: &str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> src/raw/mod.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | #[post("xskbcx.aspx?xh={stu_id}", "application/x-www-form-urlencoded; charset=gb2312")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `expect` in this scope [INFO] [stdout] --> src/raw/mod.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | #[expect(200, "text/html; charset=gb2312")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `body` in this scope [INFO] [stdout] --> src/raw/mod.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | #[body] body: CoursesReq<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `header` in this scope [INFO] [stdout] --> src/raw/mod.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | #[header(COOKIE)] cookie: &str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/raw/mod.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | #[get("xskscx.aspx?xh={stu_id}")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `expect` in this scope [INFO] [stdout] --> src/raw/mod.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | #[expect(200, "text/html; charset=gb2312")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `header` in this scope [INFO] [stdout] --> src/raw/mod.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | #[header(COOKIE)] cookie: &str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> src/raw/mod.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | #[post("xskscx.aspx?xh={stu_id}", "application/x-www-form-urlencoded; charset=gb2312")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `expect` in this scope [INFO] [stdout] --> src/raw/mod.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | #[expect(200, "text/html; charset=gb2312")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `body` in this scope [INFO] [stdout] --> src/raw/mod.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | #[body] body: ExamsReq<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `header` in this scope [INFO] [stdout] --> src/raw/mod.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | #[header(COOKIE)] cookie: &str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/raw/mod.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | #[get("xscj.aspx?xh={stu_id}")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `expect` in this scope [INFO] [stdout] --> src/raw/mod.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | #[expect(200, "text/html; charset=gb2312")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `header` in this scope [INFO] [stdout] --> src/raw/mod.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | #[header(COOKIE)] cookie: &str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> src/raw/mod.rs:77:7 [INFO] [stdout] | [INFO] [stdout] 77 | #[post("xscj.aspx?xh={stu_id}", "application/x-www-form-urlencoded; charset=gb2312")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `expect` in this scope [INFO] [stdout] --> src/raw/mod.rs:78:7 [INFO] [stdout] | [INFO] [stdout] 78 | #[expect(200, "text/html; charset=gb2312")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `body` in this scope [INFO] [stdout] --> src/raw/mod.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | #[body] body: ScoresReq<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `header` in this scope [INFO] [stdout] --> src/raw/mod.rs:83:11 [INFO] [stdout] | [INFO] [stdout] 83 | #[header(COOKIE)] cookie: &str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/raw/mod.rs:86:7 [INFO] [stdout] | [INFO] [stdout] 86 | #[get("xscj_zg.aspx?xh={stu_id}")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `expect` in this scope [INFO] [stdout] --> src/raw/mod.rs:87:7 [INFO] [stdout] | [INFO] [stdout] 87 | #[expect(200, "text/html; charset=gb2312")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `header` in this scope [INFO] [stdout] --> src/raw/mod.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[header(COOKIE)] cookie: &str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/raw/mod.rs:94:7 [INFO] [stdout] | [INFO] [stdout] 94 | #[get("xs_txsqddy.aspx?xh={stu_id}")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `expect` in this scope [INFO] [stdout] --> src/raw/mod.rs:95:7 [INFO] [stdout] | [INFO] [stdout] 95 | #[expect(200, "text/html; charset=gb2312")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `header` in this scope [INFO] [stdout] --> src/raw/mod.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[header(COOKIE)] cookie: &str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this attribute can only be applied to a `use` item [INFO] [stdout] --> src/lib.rs:109:7 [INFO] [stdout] | [INFO] [stdout] 109 | #[doc(inline)] [INFO] [stdout] | ^^^^^^ only applicable on `use` items [INFO] [stdout] 110 | pub mod helper; [INFO] [stdout] | --------------- not a `use` item [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_doc_attributes)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82730 [INFO] [stdout] = note: read https://doc.rust-lang.org/nightly/rustdoc/the-doc-attribute.html#docno_inlinedocinline for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "e14aa46c29df1591d167f033a1db786872b33a5d0ad5daf64b7bcf5cebd1facd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e14aa46c29df1591d167f033a1db786872b33a5d0ad5daf64b7bcf5cebd1facd", kill_on_drop: false }` [INFO] [stdout] e14aa46c29df1591d167f033a1db786872b33a5d0ad5daf64b7bcf5cebd1facd