[INFO] fetching crate wiki-api 0.1.1... [INFO] testing wiki-api-0.1.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate wiki-api 0.1.1 into /workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wiki-api 0.1.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 212 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.36.1) [INFO] [stderr] Adding markup5ever_rcdom v0.2.0 (available: v0.36.0+unofficial) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.24) [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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 574f972d88b2cd5dc35557349e3a32b9ec935dba2052b2742c464185e032c900 [INFO] running `Command { std: "docker" "start" "-a" "574f972d88b2cd5dc35557349e3a32b9ec935dba2052b2742c464185e032c900", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "574f972d88b2cd5dc35557349e3a32b9ec935dba2052b2742c464185e032c900", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "574f972d88b2cd5dc35557349e3a32b9ec935dba2052b2742c464185e032c900", kill_on_drop: false }` [INFO] [stdout] 574f972d88b2cd5dc35557349e3a32b9ec935dba2052b2742c464185e032c900 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60630b0e94acbedf85fa6aa34c620654d8820b5e9c0e7563624efe68d6e8497c [INFO] running `Command { std: "docker" "start" "-a" "60630b0e94acbedf85fa6aa34c620654d8820b5e9c0e7563624efe68d6e8497c", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling servo_arc v0.3.0 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling snafu-derive v0.8.9 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [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 phf_macros v0.11.3 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling cssparser v0.31.2 [INFO] [stderr] Compiling getopts v0.2.24 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling xml5ever v0.17.0 [INFO] [stderr] Compiling ego-tree v0.6.3 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling snafu v0.8.9 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling wiki-api-macros v0.1.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling markup5ever_rcdom v0.2.0 [INFO] [stderr] Compiling scraper v0.17.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 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 47.27s [INFO] running `Command { std: "docker" "inspect" "60630b0e94acbedf85fa6aa34c620654d8820b5e9c0e7563624efe68d6e8497c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60630b0e94acbedf85fa6aa34c620654d8820b5e9c0e7563624efe68d6e8497c", kill_on_drop: false }` [INFO] [stdout] 60630b0e94acbedf85fa6aa34c620654d8820b5e9c0e7563624efe68d6e8497c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 571f268788b5210e5bea3846737521095af17e4d319b000abec7751c20e88fdc [INFO] running `Command { std: "docker" "start" "-a" "571f268788b5210e5bea3846737521095af17e4d319b000abec7751c20e88fdc", 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" "571f268788b5210e5bea3846737521095af17e4d319b000abec7751c20e88fdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "571f268788b5210e5bea3846737521095af17e4d319b000abec7751c20e88fdc", kill_on_drop: false }` [INFO] [stdout] 571f268788b5210e5bea3846737521095af17e4d319b000abec7751c20e88fdc