[INFO] fetching crate zhihu-link 0.0.0... [INFO] testing zhihu-link-0.0.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate zhihu-link 0.0.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate zhihu-link 0.0.0 [INFO] finished tweaking crates.io crate zhihu-link 0.0.0 [INFO] tweaked toml for crates.io crate zhihu-link 0.0.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate zhihu-link 0.0.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 211 packages to latest compatible versions [INFO] [stderr] Adding ego-tree v0.6.3 (available: v0.10.0) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 139e4909b794989b85be88654afe524bdb5369e36f55d73309491e168116f2a7 [INFO] running `Command { std: "docker" "start" "-a" "139e4909b794989b85be88654afe524bdb5369e36f55d73309491e168116f2a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "139e4909b794989b85be88654afe524bdb5369e36f55d73309491e168116f2a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "139e4909b794989b85be88654afe524bdb5369e36f55d73309491e168116f2a7", kill_on_drop: false }` [INFO] [stdout] 139e4909b794989b85be88654afe524bdb5369e36f55d73309491e168116f2a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 689aaf46fa5a9bc751c93e1cf4f9c20a8f58a679b6422f0766ae9777fe62b4ba [INFO] running `Command { std: "docker" "start" "-a" "689aaf46fa5a9bc751c93e1cf4f9c20a8f58a679b6422f0766ae9777fe62b4ba", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling servo_arc v0.3.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ego-tree v0.6.3 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling cssparser v0.31.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling htmler v0.1.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling zhihu-link v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Selector` in the current scope [INFO] [stdout] --> src/answers/mod.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 72 | let selector = Selector::new("h1.QuestionHeader-title"); [INFO] [stdout] | ^^^ function or associated item not found in `Selector` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Selector`, consider using `Selector::parse` which returns `Result>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/htmler-0.1.1/src/selector/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn parse(selectors: &'_ str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 72 - let selector = Selector::new("h1.QuestionHeader-title"); [INFO] [stdout] 72 + let selector = Selector::ne("h1.QuestionHeader-title"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Selector` in the current scope [INFO] [stdout] --> src/answers/mod.rs:81:34 [INFO] [stdout] | [INFO] [stdout] 81 | let selector = Selector::new("div.QuestionRichText"); [INFO] [stdout] | ^^^ function or associated item not found in `Selector` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Selector`, consider using `Selector::parse` which returns `Result>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/htmler-0.1.1/src/selector/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn parse(selectors: &'_ str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 81 - let selector = Selector::new("div.QuestionRichText"); [INFO] [stdout] 81 + let selector = Selector::ne("div.QuestionRichText"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Selector` in the current scope [INFO] [stdout] --> src/answers/mod.rs:92:34 [INFO] [stdout] | [INFO] [stdout] 92 | let selector = Selector::new("span.CopyrightRichText-richText"); [INFO] [stdout] | ^^^ function or associated item not found in `Selector` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Selector`, consider using `Selector::parse` which returns `Result>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/htmler-0.1.1/src/selector/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn parse(selectors: &'_ str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 92 - let selector = Selector::new("span.CopyrightRichText-richText"); [INFO] [stdout] 92 + let selector = Selector::ne("span.CopyrightRichText-richText"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zhihu-link` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "689aaf46fa5a9bc751c93e1cf4f9c20a8f58a679b6422f0766ae9777fe62b4ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "689aaf46fa5a9bc751c93e1cf4f9c20a8f58a679b6422f0766ae9777fe62b4ba", kill_on_drop: false }` [INFO] [stdout] 689aaf46fa5a9bc751c93e1cf4f9c20a8f58a679b6422f0766ae9777fe62b4ba