[INFO] fetching crate wikipedia-wasm 0.1.1... [INFO] checking wikipedia-wasm-0.1.1 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate wikipedia-wasm 0.1.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate wikipedia-wasm 0.1.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate wikipedia-wasm 0.1.1 [INFO] tweaked toml for crates.io crate wikipedia-wasm 0.1.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wikipedia-wasm 0.1.1 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 179 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88647ff3a6fc9ae3955cee7e1abff67005361b38fe55e3c5354fcdf7a0afc34f [INFO] running `Command { std: "docker" "start" "-a" "88647ff3a6fc9ae3955cee7e1abff67005361b38fe55e3c5354fcdf7a0afc34f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88647ff3a6fc9ae3955cee7e1abff67005361b38fe55e3c5354fcdf7a0afc34f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88647ff3a6fc9ae3955cee7e1abff67005361b38fe55e3c5354fcdf7a0afc34f", kill_on_drop: false }` [INFO] [stdout] 88647ff3a6fc9ae3955cee7e1abff67005361b38fe55e3c5354fcdf7a0afc34f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b186cd53064e101d36489be6883610e3dd7130c08cc3404f90c415cd8623e00f [INFO] running `Command { std: "docker" "start" "-a" "b186cd53064e101d36489be6883610e3dd7130c08cc3404f90c415cd8623e00f", kill_on_drop: false }` [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking openssl v0.10.73 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.50 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking js-sys v0.3.77 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking h2 v0.4.10 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking native-tls v0.2.14 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.50 [INFO] [stderr] Checking wasm-bindgen-test v0.3.50 [INFO] [stderr] Checking hyper-util v0.1.14 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.20 [INFO] [stderr] Checking wikipedia-wasm v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 80 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 80 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:336:35 [INFO] [stdout] | [INFO] [stdout] 336 | pub fn from_title(wikipedia: &'a Wikipedia, title: String) -> Page { [INFO] [stdout] | ^^ ------- the lifetime gets resolved as `'a` [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 consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 336 | pub fn from_title(wikipedia: &'a Wikipedia, title: String) -> Page<'a, A> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:341:36 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn from_pageid(wikipedia: &'a Wikipedia, pageid: String) -> Page { [INFO] [stdout] | ^^ ------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 341 | pub fn from_pageid(wikipedia: &'a Wikipedia, pageid: String) -> Page<'a, A> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:597:33 [INFO] [stdout] | [INFO] [stdout] 597 | pub async fn get_references(&self) -> 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] 597 | pub async fn get_references(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:623:28 [INFO] [stdout] | [INFO] [stdout] 623 | pub async fn get_links(&self) -> 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] 623 | pub async fn get_links(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:648:33 [INFO] [stdout] | [INFO] [stdout] 648 | pub async fn get_categories(&self) -> 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] 648 | pub async fn get_categories(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:674:32 [INFO] [stdout] | [INFO] [stdout] 674 | pub async fn get_langlinks(&self) -> 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] 674 | pub async fn get_langlinks(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `w` is never used [INFO] [stdout] --> tests/integration.rs:283:8 [INFO] [stdout] | [INFO] [stdout] 283 | fn w() -> Wikipedia { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search` is never used [INFO] [stdout] --> tests/integration.rs:288:14 [INFO] [stdout] | [INFO] [stdout] 288 | async fn search() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `geosearch` is never used [INFO] [stdout] --> tests/integration.rs:296:14 [INFO] [stdout] | [INFO] [stdout] 296 | async fn geosearch() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random` is never used [INFO] [stdout] --> tests/integration.rs:304:14 [INFO] [stdout] | [INFO] [stdout] 304 | async fn random() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_count` is never used [INFO] [stdout] --> tests/integration.rs:310:14 [INFO] [stdout] | [INFO] [stdout] 310 | async fn random_count() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `page_content` is never used [INFO] [stdout] --> tests/integration.rs:316:14 [INFO] [stdout] | [INFO] [stdout] 316 | async fn page_content() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `title` is never used [INFO] [stdout] --> tests/integration.rs:323:14 [INFO] [stdout] | [INFO] [stdout] 323 | async fn title() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pageid` is never used [INFO] [stdout] --> tests/integration.rs:332:14 [INFO] [stdout] | [INFO] [stdout] 332 | async fn pageid() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `page_html_content` is never used [INFO] [stdout] --> tests/integration.rs:343:14 [INFO] [stdout] | [INFO] [stdout] 343 | async fn page_html_content() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `page_summary` is never used [INFO] [stdout] --> tests/integration.rs:352:14 [INFO] [stdout] | [INFO] [stdout] 352 | async fn page_summary() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `page_redirect_summary` is never used [INFO] [stdout] --> tests/integration.rs:362:14 [INFO] [stdout] | [INFO] [stdout] 362 | async fn page_redirect_summary() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `page_images` is never used [INFO] [stdout] --> tests/integration.rs:372:14 [INFO] [stdout] | [INFO] [stdout] 372 | async fn page_images() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coordinates` is never used [INFO] [stdout] --> tests/integration.rs:394:14 [INFO] [stdout] | [INFO] [stdout] 394 | async fn coordinates() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `no_coordinates` is never used [INFO] [stdout] --> tests/integration.rs:403:14 [INFO] [stdout] | [INFO] [stdout] 403 | async fn no_coordinates() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `references` is never used [INFO] [stdout] --> tests/integration.rs:410:14 [INFO] [stdout] | [INFO] [stdout] 410 | async fn references() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `links` is never used [INFO] [stdout] --> tests/integration.rs:430:14 [INFO] [stdout] | [INFO] [stdout] 430 | async fn links() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `langlinks` is never used [INFO] [stdout] --> tests/integration.rs:449:14 [INFO] [stdout] | [INFO] [stdout] 449 | async fn langlinks() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `categories` is never used [INFO] [stdout] --> tests/integration.rs:475:14 [INFO] [stdout] | [INFO] [stdout] 475 | async fn categories() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sections` is never used [INFO] [stdout] --> tests/integration.rs:494:14 [INFO] [stdout] | [INFO] [stdout] 494 | async fn sections() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sections2` is never used [INFO] [stdout] --> tests/integration.rs:512:14 [INFO] [stdout] | [INFO] [stdout] 512 | async fn sections2() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `section_content` is never used [INFO] [stdout] --> tests/integration.rs:530:14 [INFO] [stdout] | [INFO] [stdout] 530 | async fn section_content() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `languages` is never used [INFO] [stdout] --> tests/integration.rs:538:14 [INFO] [stdout] | [INFO] [stdout] 538 | async fn languages() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockClient` is never constructed [INFO] [stdout] --> src/lib.rs:1315:12 [INFO] [stdout] | [INFO] [stdout] 1315 | struct MockClient { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `base_url` is never used [INFO] [stdout] --> src/lib.rs:1347:8 [INFO] [stdout] | [INFO] [stdout] 1347 | fn base_url() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `user_agent` is never used [INFO] [stdout] --> src/lib.rs:1361:14 [INFO] [stdout] | [INFO] [stdout] 1361 | async fn user_agent() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search` is never used [INFO] [stdout] --> src/lib.rs:1376:14 [INFO] [stdout] | [INFO] [stdout] 1376 | async fn search() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `geosearch` is never used [INFO] [stdout] --> src/lib.rs:1399:14 [INFO] [stdout] | [INFO] [stdout] 1399 | async fn geosearch() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_count` is never used [INFO] [stdout] --> src/lib.rs:1422:14 [INFO] [stdout] | [INFO] [stdout] 1422 | async fn random_count() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random` is never used [INFO] [stdout] --> src/lib.rs:1444:14 [INFO] [stdout] | [INFO] [stdout] 1444 | async fn random() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `page_content` is never used [INFO] [stdout] --> src/lib.rs:1464:14 [INFO] [stdout] | [INFO] [stdout] 1464 | async fn page_content() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `page_html_content` is never used [INFO] [stdout] --> src/lib.rs:1488:14 [INFO] [stdout] | [INFO] [stdout] 1488 | async fn page_html_content() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `page_summary` is never used [INFO] [stdout] --> src/lib.rs:1513:14 [INFO] [stdout] | [INFO] [stdout] 1513 | async fn page_summary() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `page_redirect_summary` is never used [INFO] [stdout] --> src/lib.rs:1537:14 [INFO] [stdout] | [INFO] [stdout] 1537 | async fn page_redirect_summary() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `page_images` is never used [INFO] [stdout] --> src/lib.rs:1577:14 [INFO] [stdout] | [INFO] [stdout] 1577 | async fn page_images() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `page_coordinates` is never used [INFO] [stdout] --> src/lib.rs:1629:14 [INFO] [stdout] | [INFO] [stdout] 1629 | async fn page_coordinates() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `page_no_coordinates` is never used [INFO] [stdout] --> src/lib.rs:1652:14 [INFO] [stdout] | [INFO] [stdout] 1652 | async fn page_no_coordinates() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_references` is never used [INFO] [stdout] --> src/lib.rs:1671:14 [INFO] [stdout] | [INFO] [stdout] 1671 | async fn get_references() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_links` is never used [INFO] [stdout] --> src/lib.rs:1712:14 [INFO] [stdout] | [INFO] [stdout] 1712 | async fn get_links() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_categories` is never used [INFO] [stdout] --> src/lib.rs:1756:14 [INFO] [stdout] | [INFO] [stdout] 1756 | async fn get_categories() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sections` is never used [INFO] [stdout] --> src/lib.rs:1798:14 [INFO] [stdout] | [INFO] [stdout] 1798 | async fn sections() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `languages` is never used [INFO] [stdout] --> src/lib.rs:1818:14 [INFO] [stdout] | [INFO] [stdout] 1818 | async fn languages() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 80 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 80 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:336:35 [INFO] [stdout] | [INFO] [stdout] 336 | pub fn from_title(wikipedia: &'a Wikipedia, title: String) -> Page { [INFO] [stdout] | ^^ ------- the lifetime gets resolved as `'a` [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 consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 336 | pub fn from_title(wikipedia: &'a Wikipedia, title: String) -> Page<'a, A> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:341:36 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn from_pageid(wikipedia: &'a Wikipedia, pageid: String) -> Page { [INFO] [stdout] | ^^ ------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 341 | pub fn from_pageid(wikipedia: &'a Wikipedia, pageid: String) -> Page<'a, A> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:597:33 [INFO] [stdout] | [INFO] [stdout] 597 | pub async fn get_references(&self) -> 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] 597 | pub async fn get_references(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:623:28 [INFO] [stdout] | [INFO] [stdout] 623 | pub async fn get_links(&self) -> 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] 623 | pub async fn get_links(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:648:33 [INFO] [stdout] | [INFO] [stdout] 648 | pub async fn get_categories(&self) -> 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] 648 | pub async fn get_categories(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:674:32 [INFO] [stdout] | [INFO] [stdout] 674 | pub async fn get_langlinks(&self) -> 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] 674 | pub async fn get_langlinks(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.63s [INFO] running `Command { std: "docker" "inspect" "b186cd53064e101d36489be6883610e3dd7130c08cc3404f90c415cd8623e00f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b186cd53064e101d36489be6883610e3dd7130c08cc3404f90c415cd8623e00f", kill_on_drop: false }` [INFO] [stdout] b186cd53064e101d36489be6883610e3dd7130c08cc3404f90c415cd8623e00f