[INFO] fetching crate wikipedia-wasm 0.1.1...
[INFO] checking wikipedia-wasm-0.1.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1
[INFO] extracting crate wikipedia-wasm 0.1.1 into /workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate wikipedia-wasm 0.1.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Locking 181 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 064a4c813ed2399e5f6ef3f35669a3d839c870b1b94751dbb8f1ec0eaa5b06f7
[INFO] running `Command { std: "docker" "start" "-a" "064a4c813ed2399e5f6ef3f35669a3d839c870b1b94751dbb8f1ec0eaa5b06f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "064a4c813ed2399e5f6ef3f35669a3d839c870b1b94751dbb8f1ec0eaa5b06f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "064a4c813ed2399e5f6ef3f35669a3d839c870b1b94751dbb8f1ec0eaa5b06f7", kill_on_drop: false }`
[INFO] [stdout] 064a4c813ed2399e5f6ef3f35669a3d839c870b1b94751dbb8f1ec0eaa5b06f7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d7b392802b97a5bf8dc2fca01bab2bfc62b1aeaf3f7ded06087d48319de433d7
[INFO] running `Command { std: "docker" "start" "-a" "d7b392802b97a5bf8dc2fca01bab2bfc62b1aeaf3f7ded06087d48319de433d7", kill_on_drop: false }`
[INFO] [stderr] Checking tokio v1.47.1
[INFO] [stderr] Compiling openssl v0.10.73
[INFO] [stderr] Compiling syn v1.0.109
[INFO] [stderr] Checking icu_normalizer v2.0.0
[INFO] [stderr] Checking log v0.4.28
[INFO] [stderr] Compiling native-tls v0.2.14
[INFO] [stderr] Compiling wasm-bindgen v0.2.100
[INFO] [stderr] Compiling failure_derive v0.1.8
[INFO] [stderr] Checking object v0.36.7
[INFO] [stderr] Checking serde_urlencoded v0.7.1
[INFO] [stderr] Compiling async-recursion v1.1.1
[INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.50
[INFO] [stderr] Checking serde_json v1.0.143
[INFO] [stderr] Checking idna_adapter v1.2.1
[INFO] [stderr] Checking idna v1.1.0
[INFO] [stderr] Checking url v2.5.7
[INFO] [stderr] Checking js-sys v0.3.77
[INFO] [stderr] Compiling synstructure v0.12.6
[INFO] [stderr] Checking backtrace v0.3.75
[INFO] [stderr] Checking wasm-bindgen-futures v0.4.50
[INFO] [stderr] Checking tokio-util v0.7.16
[INFO] [stderr] Checking tower v0.5.2
[INFO] [stderr] Checking tokio-native-tls v0.3.1
[INFO] [stderr] Checking wasm-bindgen-test v0.3.50
[INFO] [stderr] Checking failure v0.1.8
[INFO] [stderr] Checking h2 v0.4.12
[INFO] [stderr] Checking tower-http v0.6.6
[INFO] [stderr] Checking hyper v1.7.0
[INFO] [stderr] Checking hyper-util v0.1.16
[INFO] [stderr] Checking hyper-tls v0.6.0
[INFO] [stderr] Checking reqwest v0.12.23
[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: hiding a lifetime that's named elsewhere is 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 is named here ------- the same lifetime is hidden 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: 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: hiding a lifetime that's named elsewhere is 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 is named here ------- the same lifetime is hidden here
[INFO] [stdout] |
[INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: 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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:597:33
[INFO] [stdout] |
[INFO] [stdout] 597 | pub async fn get_references(&self) -> Result> {
[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] help: use `'_` for type paths
[INFO] [stdout] |
[INFO] [stdout] 597 | pub async fn get_references(&self) -> Result> {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:623:28
[INFO] [stdout] |
[INFO] [stdout] 623 | pub async fn get_links(&self) -> Result> {
[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] help: use `'_` for type paths
[INFO] [stdout] |
[INFO] [stdout] 623 | pub async fn get_links(&self) -> Result> {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:648:33
[INFO] [stdout] |
[INFO] [stdout] 648 | pub async fn get_categories(&self) -> Result> {
[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] help: use `'_` for type paths
[INFO] [stdout] |
[INFO] [stdout] 648 | pub async fn get_categories(&self) -> Result> {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:674:32
[INFO] [stdout] |
[INFO] [stdout] 674 | pub async fn get_langlinks(&self) -> Result> {
[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] help: use `'_` for type 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: hiding a lifetime that's named elsewhere is 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 is named here ------- the same lifetime is hidden 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: 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: hiding a lifetime that's named elsewhere is 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 is named here ------- the same lifetime is hidden here
[INFO] [stdout] |
[INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: 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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:597:33
[INFO] [stdout] |
[INFO] [stdout] 597 | pub async fn get_references(&self) -> Result> {
[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] help: use `'_` for type paths
[INFO] [stdout] |
[INFO] [stdout] 597 | pub async fn get_references(&self) -> Result> {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:623:28
[INFO] [stdout] |
[INFO] [stdout] 623 | pub async fn get_links(&self) -> Result> {
[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] help: use `'_` for type paths
[INFO] [stdout] |
[INFO] [stdout] 623 | pub async fn get_links(&self) -> Result> {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:648:33
[INFO] [stdout] |
[INFO] [stdout] 648 | pub async fn get_categories(&self) -> Result> {
[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] help: use `'_` for type paths
[INFO] [stdout] |
[INFO] [stdout] 648 | pub async fn get_categories(&self) -> Result> {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:674:32
[INFO] [stdout] |
[INFO] [stdout] 674 | pub async fn get_langlinks(&self) -> Result> {
[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] help: use `'_` for type 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 19.46s
[INFO] running `Command { std: "docker" "inspect" "d7b392802b97a5bf8dc2fca01bab2bfc62b1aeaf3f7ded06087d48319de433d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d7b392802b97a5bf8dc2fca01bab2bfc62b1aeaf3f7ded06087d48319de433d7", kill_on_drop: false }`
[INFO] [stdout] d7b392802b97a5bf8dc2fca01bab2bfc62b1aeaf3f7ded06087d48319de433d7