[INFO] fetching crate htmler 0.1.1... [INFO] testing htmler-0.1.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate htmler 0.1.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate htmler 0.1.1 [INFO] finished tweaking crates.io crate htmler 0.1.1 [INFO] tweaked toml for crates.io crate htmler 0.1.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate htmler 0.1.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate htmler 0.1.1 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.186 [INFO] [stderr] Downloaded serde v1.0.186 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7fe12406338847efc6a40f1672d7b6dcc4e4aa9cfd18802bb807dce1ecd3b3ab [INFO] running `Command { std: "docker" "start" "-a" "7fe12406338847efc6a40f1672d7b6dcc4e4aa9cfd18802bb807dce1ecd3b3ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fe12406338847efc6a40f1672d7b6dcc4e4aa9cfd18802bb807dce1ecd3b3ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fe12406338847efc6a40f1672d7b6dcc4e4aa9cfd18802bb807dce1ecd3b3ab", kill_on_drop: false }` [INFO] [stdout] 7fe12406338847efc6a40f1672d7b6dcc4e4aa9cfd18802bb807dce1ecd3b3ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f329eccc3a70a723a9be6067973ed05753c8ea52bc0cad850c6c272dae29f7cf [INFO] running `Command { std: "docker" "start" "-a" "f329eccc3a70a723a9be6067973ed05753c8ea52bc0cad850c6c272dae29f7cf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling serde v1.0.186 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling dtoa-short v0.3.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling servo_arc v0.3.0 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling ego-tree v0.6.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling cssparser v0.31.2 [INFO] [stderr] Compiling htmler v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/html/mod.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn select_one(&self, selector: &Selector) -> Option { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 80 | pub fn select_one(&self, selector: &Selector) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/html/mod.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn root_node(&self) -> Node { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 85 | pub fn root_node(&self) -> Node<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/html/tree_sink.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | fn elem_name(&self, target: &Self::Handle) -> ExpandedName { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 36 | fn elem_name(&self, target: &Self::Handle) -> ExpandedName<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/node/mod.rs:161:20 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn classes(&self) -> HtmlClasses { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 161 | pub fn classes(&self) -> HtmlClasses<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/node/mod.rs:192:23 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn attributes(&self) -> HtmlAttributes { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 192 | pub fn attributes(&self) -> HtmlAttributes<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/selector/mod.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn parse(selectors: &'_ str) -> Result { [INFO] [stdout] | ^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 27 - pub fn parse(selectors: &'_ str) -> Result { [INFO] [stdout] 27 + pub fn parse(selectors: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.41s [INFO] running `Command { std: "docker" "inspect" "f329eccc3a70a723a9be6067973ed05753c8ea52bc0cad850c6c272dae29f7cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f329eccc3a70a723a9be6067973ed05753c8ea52bc0cad850c6c272dae29f7cf", kill_on_drop: false }` [INFO] [stdout] f329eccc3a70a723a9be6067973ed05753c8ea52bc0cad850c6c272dae29f7cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d06b2ddb027186ad22ab5f60857f8e735503cada82b4d7c3c08f2b205c7c5c8b [INFO] running `Command { std: "docker" "start" "-a" "d06b2ddb027186ad22ab5f60857f8e735503cada82b4d7c3c08f2b205c7c5c8b", kill_on_drop: false }` [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/html/mod.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn select_one(&self, selector: &Selector) -> Option { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 80 | pub fn select_one(&self, selector: &Selector) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/html/mod.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn root_node(&self) -> Node { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 85 | pub fn root_node(&self) -> Node<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling htmler v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/html/tree_sink.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | fn elem_name(&self, target: &Self::Handle) -> ExpandedName { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 36 | fn elem_name(&self, target: &Self::Handle) -> ExpandedName<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/node/mod.rs:161:20 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn classes(&self) -> HtmlClasses { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 161 | pub fn classes(&self) -> HtmlClasses<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/node/mod.rs:192:23 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn attributes(&self) -> HtmlAttributes { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 192 | pub fn attributes(&self) -> HtmlAttributes<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/selector/mod.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn parse(selectors: &'_ str) -> Result { [INFO] [stdout] | ^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 27 - pub fn parse(selectors: &'_ str) -> Result { [INFO] [stdout] 27 + pub fn parse(selectors: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `atomic` [INFO] [stdout] --> src/html/mod.rs:195:11 [INFO] [stdout] | [INFO] [stdout] 195 | #[cfg(feature = "atomic")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` [INFO] [stdout] = help: consider adding `atomic` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [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] --> examples/document.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | let selector = Selector::new(&input); [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/workdir/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] 12 - let selector = Selector::new(&input); [INFO] [stdout] 12 + let selector = Selector::ne(&input); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `value` found for struct `Node` in the current scope [INFO] [stdout] --> examples/document.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | println!("{:?}", node.value()); [INFO] [stdout] | ^^^^^ method not found in `Node<'_>` [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] --> examples/fragment.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | let selector = Selector::new(&input); [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/workdir/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] 13 - let selector = Selector::new(&input); [INFO] [stdout] 13 + let selector = Selector::ne(&input); [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 `htmler` (example "document") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `value` found for struct `Node` in the current scope [INFO] [stdout] --> examples/fragment.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | println!("{:?}", node.value()); [INFO] [stdout] | ^^^^^ method not found in `Node<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `htmler` (example "fragment") due to 2 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `try_parse` found for struct `selector::Selector` in the current scope [INFO] [stdout] --> src/html/mod.rs:157:47 [INFO] [stdout] | [INFO] [stdout] 157 | let href = root_ref.select(&Selector::try_parse("a").unwrap()).next().unwrap(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `selector::Selector` [INFO] [stdout] | [INFO] [stdout] ::: src/selector/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Selector { [INFO] [stdout] | ------------------- function or associated item `try_parse` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `selector::Selector`, consider using `selector::Selector::parse` which returns `Result>` [INFO] [stdout] --> src/selector/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn parse(selectors: &'_ str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `parse` with a similar name [INFO] [stdout] | [INFO] [stdout] 157 - let href = root_ref.select(&Selector::try_parse("a").unwrap()).next().unwrap(); [INFO] [stdout] 157 + let href = root_ref.select(&Selector::parse("a").unwrap()).next().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `value` found for struct `Node` in the current scope [INFO] [stdout] --> src/html/mod.rs:159:25 [INFO] [stdout] | [INFO] [stdout] 159 | assert_eq!(href.value().get_attribute("href").unwrap(), "http://github.com"); [INFO] [stdout] | ^^^^^ method not found in `Node<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/node_ref/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Node<'a> { [INFO] [stdout] | ------------------- method `value` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 159 | assert_eq!(href.ptr.value().get_attribute("href").unwrap(), "http://github.com"); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_parse` found for struct `selector::Selector` in the current scope [INFO] [stdout] --> src/html/mod.rs:166:48 [INFO] [stdout] | [INFO] [stdout] 166 | let title = root_ref.select(&Selector::try_parse("title").unwrap()).next().unwrap(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `selector::Selector` [INFO] [stdout] | [INFO] [stdout] ::: src/selector/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Selector { [INFO] [stdout] | ------------------- function or associated item `try_parse` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `selector::Selector`, consider using `selector::Selector::parse` which returns `Result>` [INFO] [stdout] --> src/selector/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn parse(selectors: &'_ str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `parse` with a similar name [INFO] [stdout] | [INFO] [stdout] 166 - let title = root_ref.select(&Selector::try_parse("title").unwrap()).next().unwrap(); [INFO] [stdout] 166 + let title = root_ref.select(&Selector::parse("title").unwrap()).next().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_parse` found for struct `selector::Selector` in the current scope [INFO] [stdout] --> src/html/mod.rs:174:48 [INFO] [stdout] | [INFO] [stdout] 174 | let title = root_ref.select(&Selector::try_parse("title").unwrap()).next().unwrap(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `selector::Selector` [INFO] [stdout] | [INFO] [stdout] ::: src/selector/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Selector { [INFO] [stdout] | ------------------- function or associated item `try_parse` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `selector::Selector`, consider using `selector::Selector::parse` which returns `Result>` [INFO] [stdout] --> src/selector/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn parse(selectors: &'_ str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `parse` with a similar name [INFO] [stdout] | [INFO] [stdout] 174 - let title = root_ref.select(&Selector::try_parse("title").unwrap()).next().unwrap(); [INFO] [stdout] 174 + let title = root_ref.select(&Selector::parse("title").unwrap()).next().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_parse` found for struct `selector::Selector` in the current scope [INFO] [stdout] --> src/html/mod.rs:181:34 [INFO] [stdout] | [INFO] [stdout] 181 | let selector = Selector::try_parse("p").unwrap(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `selector::Selector` [INFO] [stdout] | [INFO] [stdout] ::: src/selector/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Selector { [INFO] [stdout] | ------------------- function or associated item `try_parse` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `selector::Selector`, consider using `selector::Selector::parse` which returns `Result>` [INFO] [stdout] --> src/selector/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn parse(selectors: &'_ str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `parse` with a similar name [INFO] [stdout] | [INFO] [stdout] 181 - let selector = Selector::try_parse("p").unwrap(); [INFO] [stdout] 181 + let selector = Selector::parse("p").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_parse` found for struct `selector::Selector` in the current scope [INFO] [stdout] --> src/html/mod.rs:189:34 [INFO] [stdout] | [INFO] [stdout] 189 | let selector = Selector::try_parse("p").unwrap(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `selector::Selector` [INFO] [stdout] | [INFO] [stdout] ::: src/selector/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Selector { [INFO] [stdout] | ------------------- function or associated item `try_parse` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `selector::Selector`, consider using `selector::Selector::parse` which returns `Result>` [INFO] [stdout] --> src/selector/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn parse(selectors: &'_ str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `parse` with a similar name [INFO] [stdout] | [INFO] [stdout] 189 - let selector = Selector::try_parse("p").unwrap(); [INFO] [stdout] 189 + let selector = Selector::parse("p").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_parse` found for struct `selector::Selector` in the current scope [INFO] [stdout] --> src/node_ref/element.rs:152:29 [INFO] [stdout] | [INFO] [stdout] 152 | let sel = Selector::try_parse("p").unwrap(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `selector::Selector` [INFO] [stdout] | [INFO] [stdout] ::: src/selector/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Selector { [INFO] [stdout] | ------------------- function or associated item `try_parse` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `selector::Selector`, consider using `selector::Selector::parse` which returns `Result>` [INFO] [stdout] --> src/selector/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn parse(selectors: &'_ str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `parse` with a similar name [INFO] [stdout] | [INFO] [stdout] 152 - let sel = Selector::try_parse("p").unwrap(); [INFO] [stdout] 152 + let sel = Selector::parse("p").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_parse` found for struct `selector::Selector` in the current scope [INFO] [stdout] --> src/node_ref/element.rs:167:29 [INFO] [stdout] | [INFO] [stdout] 167 | let sel = Selector::try_parse("link").unwrap(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `selector::Selector` [INFO] [stdout] | [INFO] [stdout] ::: src/selector/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Selector { [INFO] [stdout] | ------------------- function or associated item `try_parse` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `selector::Selector`, consider using `selector::Selector::parse` which returns `Result>` [INFO] [stdout] --> src/selector/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn parse(selectors: &'_ str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `parse` with a similar name [INFO] [stdout] | [INFO] [stdout] 167 - let sel = Selector::try_parse("link").unwrap(); [INFO] [stdout] 167 + let sel = Selector::parse("link").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_parse` found for struct `selector::Selector` in the current scope [INFO] [stdout] --> src/node_ref/element.rs:173:29 [INFO] [stdout] | [INFO] [stdout] 173 | let sel = Selector::try_parse("p").unwrap(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `selector::Selector` [INFO] [stdout] | [INFO] [stdout] ::: src/selector/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Selector { [INFO] [stdout] | ------------------- function or associated item `try_parse` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `selector::Selector`, consider using `selector::Selector::parse` which returns `Result>` [INFO] [stdout] --> src/selector/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn parse(selectors: &'_ str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `parse` with a similar name [INFO] [stdout] | [INFO] [stdout] 173 - let sel = Selector::try_parse("p").unwrap(); [INFO] [stdout] 173 + let sel = Selector::parse("p").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_parse` found for struct `selector::Selector` in the current scope [INFO] [stdout] --> src/node_ref/element.rs:182:29 [INFO] [stdout] | [INFO] [stdout] 182 | let sel = Selector::try_parse("p").unwrap(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `selector::Selector` [INFO] [stdout] | [INFO] [stdout] ::: src/selector/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Selector { [INFO] [stdout] | ------------------- function or associated item `try_parse` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `selector::Selector`, consider using `selector::Selector::parse` which returns `Result>` [INFO] [stdout] --> src/selector/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn parse(selectors: &'_ str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `parse` with a similar name [INFO] [stdout] | [INFO] [stdout] 182 - let sel = Selector::try_parse("p").unwrap(); [INFO] [stdout] 182 + let sel = Selector::parse("p").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_parse` found for struct `selector::Selector` in the current scope [INFO] [stdout] --> src/node_ref/element.rs:191:29 [INFO] [stdout] | [INFO] [stdout] 191 | let sel = Selector::try_parse("p").unwrap(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `selector::Selector` [INFO] [stdout] | [INFO] [stdout] ::: src/selector/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Selector { [INFO] [stdout] | ------------------- function or associated item `try_parse` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `selector::Selector`, consider using `selector::Selector::parse` which returns `Result>` [INFO] [stdout] --> src/selector/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn parse(selectors: &'_ str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `parse` with a similar name [INFO] [stdout] | [INFO] [stdout] 191 - let sel = Selector::try_parse("p").unwrap(); [INFO] [stdout] 191 + let sel = Selector::parse("p").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_parse` found for struct `selector::Selector` in the current scope [INFO] [stdout] --> src/node_ref/mod.rs:241:30 [INFO] [stdout] | [INFO] [stdout] 241 | let sel1 = Selector::try_parse("div > span").unwrap(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `selector::Selector` [INFO] [stdout] | [INFO] [stdout] ::: src/selector/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Selector { [INFO] [stdout] | ------------------- function or associated item `try_parse` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `selector::Selector`, consider using `selector::Selector::parse` which returns `Result>` [INFO] [stdout] --> src/selector/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn parse(selectors: &'_ str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `parse` with a similar name [INFO] [stdout] | [INFO] [stdout] 241 - let sel1 = Selector::try_parse("div > span").unwrap(); [INFO] [stdout] 241 + let sel1 = Selector::parse("div > span").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_parse` found for struct `selector::Selector` in the current scope [INFO] [stdout] --> src/node_ref/mod.rs:242:30 [INFO] [stdout] | [INFO] [stdout] 242 | let sel2 = Selector::try_parse(":scope > b").unwrap(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `selector::Selector` [INFO] [stdout] | [INFO] [stdout] ::: src/selector/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Selector { [INFO] [stdout] | ------------------- function or associated item `try_parse` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `selector::Selector`, consider using `selector::Selector::parse` which returns `Result>` [INFO] [stdout] --> src/selector/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn parse(selectors: &'_ str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `parse` with a similar name [INFO] [stdout] | [INFO] [stdout] 242 - let sel2 = Selector::try_parse(":scope > b").unwrap(); [INFO] [stdout] 242 + let sel2 = Selector::parse(":scope > b").unwrap(); [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 `htmler` (lib test) due to 13 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "d06b2ddb027186ad22ab5f60857f8e735503cada82b4d7c3c08f2b205c7c5c8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d06b2ddb027186ad22ab5f60857f8e735503cada82b4d7c3c08f2b205c7c5c8b", kill_on_drop: false }` [INFO] [stdout] d06b2ddb027186ad22ab5f60857f8e735503cada82b4d7c3c08f2b205c7c5c8b