[INFO] fetching crate wiki-api 0.1.1... [INFO] testing wiki-api-0.1.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate wiki-api 0.1.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate wiki-api 0.1.1 [INFO] finished tweaking crates.io crate wiki-api 0.1.1 [INFO] tweaked toml for crates.io crate wiki-api 0.1.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wiki-api 0.1.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 214 packages to latest compatible versions [INFO] [stderr] Adding ego-tree v0.6.3 (available: v0.10.0) [INFO] [stderr] Adding html5ever v0.26.0 (available: v0.35.0) [INFO] [stderr] Adding markup5ever_rcdom v0.2.0 (available: v0.35.0+unofficial) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] [stderr] Adding scraper v0.17.1 (available: v0.24.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scraper v0.17.1 [INFO] [stderr] Downloaded ego-tree v0.6.3 [INFO] [stderr] Downloaded cssparser v0.31.2 [INFO] [stderr] Downloaded markup5ever v0.11.0 [INFO] [stderr] Downloaded wiki-api-macros v0.1.2 [INFO] [stderr] Downloaded phf_codegen v0.10.0 [INFO] [stderr] Downloaded servo_arc v0.3.0 [INFO] [stderr] Downloaded markup5ever_rcdom v0.2.0 [INFO] [stderr] Downloaded selectors v0.25.0 [INFO] [stderr] Downloaded html5ever v0.26.0 [INFO] [stderr] Downloaded xml5ever v0.17.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b88c620a196e7f97f3c15bd61761c82a93b5b25264bb2a204828303157708727 [INFO] running `Command { std: "docker" "start" "-a" "b88c620a196e7f97f3c15bd61761c82a93b5b25264bb2a204828303157708727", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b88c620a196e7f97f3c15bd61761c82a93b5b25264bb2a204828303157708727", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b88c620a196e7f97f3c15bd61761c82a93b5b25264bb2a204828303157708727", kill_on_drop: false }` [INFO] [stdout] b88c620a196e7f97f3c15bd61761c82a93b5b25264bb2a204828303157708727 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8216991d5d7c546139b413d0b9b815ff869e6abdc495638e6154de58530023a3 [INFO] running `Command { std: "docker" "start" "-a" "8216991d5d7c546139b413d0b9b815ff869e6abdc495638e6154de58530023a3", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling servo_arc v0.3.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling snafu-derive v0.8.9 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling getopts v0.2.24 [INFO] [stderr] Compiling ego-tree v0.6.3 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling snafu v0.8.9 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling wiki-api-macros v0.1.2 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling cssparser v0.31.2 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling xml5ever v0.17.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling scraper v0.17.1 [INFO] [stderr] Compiling markup5ever_rcdom v0.2.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling wiki-api v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/document.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn nth(&self, n: usize) -> Option { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | pub fn nth(&self, n: usize) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.03s [INFO] running `Command { std: "docker" "inspect" "8216991d5d7c546139b413d0b9b815ff869e6abdc495638e6154de58530023a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8216991d5d7c546139b413d0b9b815ff869e6abdc495638e6154de58530023a3", kill_on_drop: false }` [INFO] [stdout] 8216991d5d7c546139b413d0b9b815ff869e6abdc495638e6154de58530023a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eec921830acf812035780334c765d621d8b86a102db43e4c53fbee50fde3214b [INFO] running `Command { std: "docker" "start" "-a" "eec921830acf812035780334c765d621d8b86a102db43e4c53fbee50fde3214b", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/document.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn nth(&self, n: usize) -> Option { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | pub fn nth(&self, n: usize) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wiki-api v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no variant or associated item named `from_str` found for enum `Namespace` in the current scope [INFO] [stdout] --> src/search.rs:235:32 [INFO] [stdout] | [INFO] [stdout] 160 | pub enum Namespace { [INFO] [stdout] | ------------------ variant or associated item `from_str` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 235 | Namespace::from_str(&namespace_str), [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Namespace` [INFO] [stdout] ... [INFO] [stdout] 247 | test_namespace!(Main, MainTalk); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Namespace`, consider using `Namespace::from_string` which returns `std::option::Option` [INFO] [stdout] --> src/search.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn from_string(namespace: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] = note: this error originates in the macro `test_namespace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_str` found for enum `Namespace` in the current scope [INFO] [stdout] --> src/search.rs:241:32 [INFO] [stdout] | [INFO] [stdout] 160 | pub enum Namespace { [INFO] [stdout] | ------------------ variant or associated item `from_str` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 241 | Namespace::from_str(&namespace_str), [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Namespace` [INFO] [stdout] ... [INFO] [stdout] 247 | test_namespace!(Main, MainTalk); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Namespace`, consider using `Namespace::from_string` which returns `std::option::Option` [INFO] [stdout] --> src/search.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn from_string(namespace: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] = note: this error originates in the macro `test_namespace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_str` found for enum `Namespace` in the current scope [INFO] [stdout] --> src/search.rs:235:32 [INFO] [stdout] | [INFO] [stdout] 160 | pub enum Namespace { [INFO] [stdout] | ------------------ variant or associated item `from_str` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 235 | Namespace::from_str(&namespace_str), [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Namespace` [INFO] [stdout] ... [INFO] [stdout] 248 | test_namespace!(User, UserTalk); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Namespace`, consider using `Namespace::from_string` which returns `std::option::Option` [INFO] [stdout] --> src/search.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn from_string(namespace: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] = note: this error originates in the macro `test_namespace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_str` found for enum `Namespace` in the current scope [INFO] [stdout] --> src/search.rs:241:32 [INFO] [stdout] | [INFO] [stdout] 160 | pub enum Namespace { [INFO] [stdout] | ------------------ variant or associated item `from_str` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 241 | Namespace::from_str(&namespace_str), [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Namespace` [INFO] [stdout] ... [INFO] [stdout] 248 | test_namespace!(User, UserTalk); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Namespace`, consider using `Namespace::from_string` which returns `std::option::Option` [INFO] [stdout] --> src/search.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn from_string(namespace: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] = note: this error originates in the macro `test_namespace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_str` found for enum `Namespace` in the current scope [INFO] [stdout] --> src/search.rs:235:32 [INFO] [stdout] | [INFO] [stdout] 160 | pub enum Namespace { [INFO] [stdout] | ------------------ variant or associated item `from_str` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 235 | Namespace::from_str(&namespace_str), [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Namespace` [INFO] [stdout] ... [INFO] [stdout] 249 | test_namespace!(Project, ProjectTalk); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Namespace`, consider using `Namespace::from_string` which returns `std::option::Option` [INFO] [stdout] --> src/search.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn from_string(namespace: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] = note: this error originates in the macro `test_namespace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_str` found for enum `Namespace` in the current scope [INFO] [stdout] --> src/search.rs:241:32 [INFO] [stdout] | [INFO] [stdout] 160 | pub enum Namespace { [INFO] [stdout] | ------------------ variant or associated item `from_str` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 241 | Namespace::from_str(&namespace_str), [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Namespace` [INFO] [stdout] ... [INFO] [stdout] 249 | test_namespace!(Project, ProjectTalk); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Namespace`, consider using `Namespace::from_string` which returns `std::option::Option` [INFO] [stdout] --> src/search.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn from_string(namespace: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] = note: this error originates in the macro `test_namespace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_str` found for enum `Namespace` in the current scope [INFO] [stdout] --> src/search.rs:235:32 [INFO] [stdout] | [INFO] [stdout] 160 | pub enum Namespace { [INFO] [stdout] | ------------------ variant or associated item `from_str` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 235 | Namespace::from_str(&namespace_str), [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Namespace` [INFO] [stdout] ... [INFO] [stdout] 250 | test_namespace!(File, FileTalk); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Namespace`, consider using `Namespace::from_string` which returns `std::option::Option` [INFO] [stdout] --> src/search.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn from_string(namespace: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] = note: this error originates in the macro `test_namespace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_str` found for enum `Namespace` in the current scope [INFO] [stdout] --> src/search.rs:241:32 [INFO] [stdout] | [INFO] [stdout] 160 | pub enum Namespace { [INFO] [stdout] | ------------------ variant or associated item `from_str` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 241 | Namespace::from_str(&namespace_str), [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Namespace` [INFO] [stdout] ... [INFO] [stdout] 250 | test_namespace!(File, FileTalk); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Namespace`, consider using `Namespace::from_string` which returns `std::option::Option` [INFO] [stdout] --> src/search.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn from_string(namespace: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] = note: this error originates in the macro `test_namespace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_str` found for enum `Namespace` in the current scope [INFO] [stdout] --> src/search.rs:235:32 [INFO] [stdout] | [INFO] [stdout] 160 | pub enum Namespace { [INFO] [stdout] | ------------------ variant or associated item `from_str` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 235 | Namespace::from_str(&namespace_str), [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Namespace` [INFO] [stdout] ... [INFO] [stdout] 251 | test_namespace!(MediaWiki, MediaWikiTalk); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Namespace`, consider using `Namespace::from_string` which returns `std::option::Option` [INFO] [stdout] --> src/search.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn from_string(namespace: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] = note: this error originates in the macro `test_namespace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_str` found for enum `Namespace` in the current scope [INFO] [stdout] --> src/search.rs:241:32 [INFO] [stdout] | [INFO] [stdout] 160 | pub enum Namespace { [INFO] [stdout] | ------------------ variant or associated item `from_str` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 241 | Namespace::from_str(&namespace_str), [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Namespace` [INFO] [stdout] ... [INFO] [stdout] 251 | test_namespace!(MediaWiki, MediaWikiTalk); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Namespace`, consider using `Namespace::from_string` which returns `std::option::Option` [INFO] [stdout] --> src/search.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn from_string(namespace: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] = note: this error originates in the macro `test_namespace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_str` found for enum `Namespace` in the current scope [INFO] [stdout] --> src/search.rs:235:32 [INFO] [stdout] | [INFO] [stdout] 160 | pub enum Namespace { [INFO] [stdout] | ------------------ variant or associated item `from_str` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 235 | Namespace::from_str(&namespace_str), [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Namespace` [INFO] [stdout] ... [INFO] [stdout] 252 | test_namespace!(Template, TemplateTalk); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Namespace`, consider using `Namespace::from_string` which returns `std::option::Option` [INFO] [stdout] --> src/search.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn from_string(namespace: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] = note: this error originates in the macro `test_namespace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_str` found for enum `Namespace` in the current scope [INFO] [stdout] --> src/search.rs:241:32 [INFO] [stdout] | [INFO] [stdout] 160 | pub enum Namespace { [INFO] [stdout] | ------------------ variant or associated item `from_str` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 241 | Namespace::from_str(&namespace_str), [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Namespace` [INFO] [stdout] ... [INFO] [stdout] 252 | test_namespace!(Template, TemplateTalk); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Namespace`, consider using `Namespace::from_string` which returns `std::option::Option` [INFO] [stdout] --> src/search.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn from_string(namespace: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] = note: this error originates in the macro `test_namespace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_str` found for enum `Namespace` in the current scope [INFO] [stdout] --> src/search.rs:235:32 [INFO] [stdout] | [INFO] [stdout] 160 | pub enum Namespace { [INFO] [stdout] | ------------------ variant or associated item `from_str` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 235 | Namespace::from_str(&namespace_str), [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Namespace` [INFO] [stdout] ... [INFO] [stdout] 253 | test_namespace!(Help, HelpTalk); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Namespace`, consider using `Namespace::from_string` which returns `std::option::Option` [INFO] [stdout] --> src/search.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn from_string(namespace: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] = note: this error originates in the macro `test_namespace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_str` found for enum `Namespace` in the current scope [INFO] [stdout] --> src/search.rs:241:32 [INFO] [stdout] | [INFO] [stdout] 160 | pub enum Namespace { [INFO] [stdout] | ------------------ variant or associated item `from_str` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 241 | Namespace::from_str(&namespace_str), [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Namespace` [INFO] [stdout] ... [INFO] [stdout] 253 | test_namespace!(Help, HelpTalk); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Namespace`, consider using `Namespace::from_string` which returns `std::option::Option` [INFO] [stdout] --> src/search.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn from_string(namespace: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] = note: this error originates in the macro `test_namespace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_str` found for enum `Namespace` in the current scope [INFO] [stdout] --> src/search.rs:235:32 [INFO] [stdout] | [INFO] [stdout] 160 | pub enum Namespace { [INFO] [stdout] | ------------------ variant or associated item `from_str` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 235 | Namespace::from_str(&namespace_str), [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Namespace` [INFO] [stdout] ... [INFO] [stdout] 254 | test_namespace!(Category, CategoryTalk); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Namespace`, consider using `Namespace::from_string` which returns `std::option::Option` [INFO] [stdout] --> src/search.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn from_string(namespace: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] = note: this error originates in the macro `test_namespace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_str` found for enum `Namespace` in the current scope [INFO] [stdout] --> src/search.rs:241:32 [INFO] [stdout] | [INFO] [stdout] 160 | pub enum Namespace { [INFO] [stdout] | ------------------ variant or associated item `from_str` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 241 | Namespace::from_str(&namespace_str), [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Namespace` [INFO] [stdout] ... [INFO] [stdout] 254 | test_namespace!(Category, CategoryTalk); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Namespace`, consider using `Namespace::from_string` which returns `std::option::Option` [INFO] [stdout] --> src/search.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn from_string(namespace: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] = note: this error originates in the macro `test_namespace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wiki-api` (lib test) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "eec921830acf812035780334c765d621d8b86a102db43e4c53fbee50fde3214b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eec921830acf812035780334c765d621d8b86a102db43e4c53fbee50fde3214b", kill_on_drop: false }` [INFO] [stdout] eec921830acf812035780334c765d621d8b86a102db43e4c53fbee50fde3214b