[INFO] cloning repository https://github.com/finn200102/nexus-scraper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/finn200102/nexus-scraper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffinn200102%2Fnexus-scraper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffinn200102%2Fnexus-scraper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 02ef1a86ed95fc172105fe2d4e9bb362c9923463 [INFO] testing finn200102/nexus-scraper against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffinn200102%2Fnexus-scraper" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/finn200102/nexus-scraper [INFO] finished tweaking git repo https://github.com/finn200102/nexus-scraper [INFO] tweaked toml for git repo https://github.com/finn200102/nexus-scraper written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/finn200102/nexus-scraper on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/finn200102/nexus-scraper already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pyo3-macros v0.20.3 [INFO] [stderr] Downloaded pyo3-macros-backend v0.20.3 [INFO] [stderr] Downloaded pyo3-build-config v0.20.3 [INFO] [stderr] Downloaded pyo3-ffi v0.20.3 [INFO] [stderr] Downloaded getopts v0.2.23 [INFO] [stderr] Downloaded pyo3-asyncio v0.20.0 [INFO] [stderr] Downloaded pyo3 v0.20.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf772e5b27932600bc716881100b8b550d170bd4cd2268022d94064b05eaea1b [INFO] running `Command { std: "docker" "start" "-a" "bf772e5b27932600bc716881100b8b550d170bd4cd2268022d94064b05eaea1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf772e5b27932600bc716881100b8b550d170bd4cd2268022d94064b05eaea1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf772e5b27932600bc716881100b8b550d170bd4cd2268022d94064b05eaea1b", kill_on_drop: false }` [INFO] [stdout] bf772e5b27932600bc716881100b8b550d170bd4cd2268022d94064b05eaea1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5bd8aaaf9bb77ba4f4eb29dc682c5a7ac50efef4bc8d055792338fc9fc27f980 [INFO] running `Command { std: "docker" "start" "-a" "5bd8aaaf9bb77ba4f4eb29dc682c5a7ac50efef4bc8d055792338fc9fc27f980", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling ego-tree v0.6.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling getopts v0.2.23 [INFO] [stderr] Compiling unindent v0.2.4 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling pyo3-build-config v0.20.3 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pyo3-ffi v0.20.3 [INFO] [stderr] Compiling pyo3 v0.20.3 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling pyo3-macros-backend v0.20.3 [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] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling cssparser v0.31.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling pyo3-macros v0.20.3 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling pyo3-asyncio v0.20.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling scraper v0.18.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling nexus-core v0.1.0 (/opt/rustwide/workdir/nexus-core) [INFO] [stdout] warning: unused import: `crate::parser::fanfiction` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::parser::fanfiction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> nexus-core/src/parser/fanfiction.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | if !seen.insert((chapter_number)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 46 - if !seen.insert((chapter_number)) { [INFO] [stdout] 46 + if !seen.insert(chapter_number ) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stories` [INFO] [stdout] --> nexus-core/src/parser/spacebattles.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::{Chapter, Story, Stories, Author}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> nexus-core/src/parser/royalroad.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Stories` and `Story` [INFO] [stdout] --> nexus-core/src/parser/royalroad.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::{Chapter, Story, Stories, Author}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> nexus-core/src/parser/royalroad.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sortby_id` [INFO] [stdout] --> nexus-core/src/sites/fanfiction.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | sortby_id: u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sortby_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_pages` [INFO] [stdout] --> nexus-core/src/sites/fanfiction.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | num_pages: u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_pages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> nexus-core/src/sites/fanfiction.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | client: &reqwest::Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> nexus-core/src/sites/archive.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | client: &reqwest::Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sortby_id` [INFO] [stdout] --> nexus-core/src/sites/archive.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | sortby_id: u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sortby_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_pages` [INFO] [stdout] --> nexus-core/src/sites/archive.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | num_pages: u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_pages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> nexus-core/src/sites/archive.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | client: &reqwest::Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `story_id` [INFO] [stdout] --> nexus-core/src/sites/spacebattles.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | story_id: u64, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_story_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `author_id` [INFO] [stdout] --> nexus-core/src/sites/spacebattles.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | author_id: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_author_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> nexus-core/src/sites/spacebattles.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | client: &reqwest::Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `medium_name` [INFO] [stdout] --> nexus-core/src/sites/spacebattles.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | medium_name: String, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_medium_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sortby_id` [INFO] [stdout] --> nexus-core/src/sites/spacebattles.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | sortby_id: u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sortby_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rating_id` [INFO] [stdout] --> nexus-core/src/sites/spacebattles.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | rating_id: u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rating_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word_count` [INFO] [stdout] --> nexus-core/src/sites/spacebattles.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | word_count: u32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_word_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_range` [INFO] [stdout] --> nexus-core/src/sites/spacebattles.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | time_range: u32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `series_name` [INFO] [stdout] --> nexus-core/src/sites/spacebattles.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | series_name: &str, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_series_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> nexus-core/src/sites/spacebattles.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | client: &reqwest::Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `author_id` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | author_id: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_author_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | client: &reqwest::Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `medium_name` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | medium_name: String, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_medium_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sortby_id` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | sortby_id: u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sortby_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rating_id` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | rating_id: u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rating_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word_count` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | word_count: u32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_word_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_range` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | time_range: u32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `series_name` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | series_name: &str, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_series_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | client: &reqwest::Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sortby_id` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | sortby_id: u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sortby_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_pages` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | num_pages: u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_pages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | client: &reqwest::Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> nexus-core/src/parser/spacebattles.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | let text = chapter_element [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `url` is never read [INFO] [stdout] --> nexus-core/src/parser/royalroad.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 28 | struct RawChapter { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawChapter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nexus-cli v0.1.0 (/opt/rustwide/workdir/nexus-cli) [INFO] [stderr] Compiling pybindings v0.1.0 (/opt/rustwide/workdir/pybindings) [INFO] [stdout] warning: unused import: `pyo3::prelude::*` [INFO] [stdout] --> pybindings/src/lib.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | use pyo3::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [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] --> pybindings/src/lib.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 46 | impl PySite { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | `PySite` is not local [INFO] [stdout] | `PySite` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 12s [INFO] running `Command { std: "docker" "inspect" "5bd8aaaf9bb77ba4f4eb29dc682c5a7ac50efef4bc8d055792338fc9fc27f980", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bd8aaaf9bb77ba4f4eb29dc682c5a7ac50efef4bc8d055792338fc9fc27f980", kill_on_drop: false }` [INFO] [stdout] 5bd8aaaf9bb77ba4f4eb29dc682c5a7ac50efef4bc8d055792338fc9fc27f980 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ecd8a3e1324c4ac6f7506af5d541723f51f5ccc0f6395e94c380af8b090a68ed [INFO] running `Command { std: "docker" "start" "-a" "ecd8a3e1324c4ac6f7506af5d541723f51f5ccc0f6395e94c380af8b090a68ed", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `crate::parser::fanfiction` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::parser::fanfiction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> nexus-core/src/parser/fanfiction.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | if !seen.insert((chapter_number)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 46 - if !seen.insert((chapter_number)) { [INFO] [stdout] 46 + if !seen.insert(chapter_number ) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stories` [INFO] [stdout] --> nexus-core/src/parser/spacebattles.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::{Chapter, Story, Stories, Author}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> nexus-core/src/parser/royalroad.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Stories` and `Story` [INFO] [stdout] --> nexus-core/src/parser/royalroad.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::{Chapter, Story, Stories, Author}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> nexus-core/src/parser/royalroad.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sortby_id` [INFO] [stdout] --> nexus-core/src/sites/fanfiction.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | sortby_id: u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sortby_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_pages` [INFO] [stdout] --> nexus-core/src/sites/fanfiction.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | num_pages: u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_pages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> nexus-core/src/sites/fanfiction.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | client: &reqwest::Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> nexus-core/src/sites/archive.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | client: &reqwest::Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sortby_id` [INFO] [stdout] --> nexus-core/src/sites/archive.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | sortby_id: u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sortby_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_pages` [INFO] [stdout] --> nexus-core/src/sites/archive.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | num_pages: u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_pages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> nexus-core/src/sites/archive.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | client: &reqwest::Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `story_id` [INFO] [stdout] --> nexus-core/src/sites/spacebattles.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | story_id: u64, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_story_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `author_id` [INFO] [stdout] --> nexus-core/src/sites/spacebattles.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | author_id: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_author_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> nexus-core/src/sites/spacebattles.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | client: &reqwest::Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `medium_name` [INFO] [stdout] --> nexus-core/src/sites/spacebattles.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | medium_name: String, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_medium_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sortby_id` [INFO] [stdout] --> nexus-core/src/sites/spacebattles.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | sortby_id: u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sortby_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rating_id` [INFO] [stdout] --> nexus-core/src/sites/spacebattles.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | rating_id: u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rating_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word_count` [INFO] [stdout] --> nexus-core/src/sites/spacebattles.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | word_count: u32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_word_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_range` [INFO] [stdout] --> nexus-core/src/sites/spacebattles.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | time_range: u32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `series_name` [INFO] [stdout] --> nexus-core/src/sites/spacebattles.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | series_name: &str, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_series_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> nexus-core/src/sites/spacebattles.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | client: &reqwest::Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `author_id` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | author_id: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_author_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nexus-core v0.1.0 (/opt/rustwide/workdir/nexus-core) [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | client: &reqwest::Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nexus-cli v0.1.0 (/opt/rustwide/workdir/nexus-cli) [INFO] [stdout] warning: unused variable: `medium_name` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | medium_name: String, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_medium_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pybindings v0.1.0 (/opt/rustwide/workdir/pybindings) [INFO] [stdout] warning: unused variable: `sortby_id` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | sortby_id: u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sortby_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rating_id` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | rating_id: u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rating_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word_count` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | word_count: u32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_word_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_range` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | time_range: u32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `series_name` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | series_name: &str, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_series_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | client: &reqwest::Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sortby_id` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | sortby_id: u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sortby_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_pages` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | num_pages: u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_pages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | client: &reqwest::Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> nexus-core/src/parser/spacebattles.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | let text = chapter_element [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `url` is never read [INFO] [stdout] --> nexus-core/src/parser/royalroad.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 28 | struct RawChapter { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawChapter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::fanfiction` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::parser::fanfiction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> nexus-core/src/parser/fanfiction.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | if !seen.insert((chapter_number)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 46 - if !seen.insert((chapter_number)) { [INFO] [stdout] 46 + if !seen.insert(chapter_number ) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stories` [INFO] [stdout] --> nexus-core/src/parser/spacebattles.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::{Chapter, Story, Stories, Author}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> nexus-core/src/parser/royalroad.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Stories` and `Story` [INFO] [stdout] --> nexus-core/src/parser/royalroad.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::{Chapter, Story, Stories, Author}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> nexus-core/src/parser/royalroad.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pyo3::prelude::*` [INFO] [stdout] --> pybindings/src/lib.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | use pyo3::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [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] --> pybindings/src/lib.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 46 | impl PySite { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | `PySite` is not local [INFO] [stdout] | `PySite` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sortby_id` [INFO] [stdout] --> nexus-core/src/sites/fanfiction.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | sortby_id: u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sortby_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_pages` [INFO] [stdout] --> nexus-core/src/sites/fanfiction.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | num_pages: u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_pages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> nexus-core/src/sites/fanfiction.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | client: &reqwest::Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> nexus-core/src/sites/archive.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | client: &reqwest::Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sortby_id` [INFO] [stdout] --> nexus-core/src/sites/archive.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | sortby_id: u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sortby_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_pages` [INFO] [stdout] --> nexus-core/src/sites/archive.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | num_pages: u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_pages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> nexus-core/src/sites/archive.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | client: &reqwest::Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `story_id` [INFO] [stdout] --> nexus-core/src/sites/spacebattles.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | story_id: u64, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_story_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `author_id` [INFO] [stdout] --> nexus-core/src/sites/spacebattles.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | author_id: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_author_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> nexus-core/src/sites/spacebattles.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | client: &reqwest::Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `medium_name` [INFO] [stdout] --> nexus-core/src/sites/spacebattles.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | medium_name: String, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_medium_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sortby_id` [INFO] [stdout] --> nexus-core/src/sites/spacebattles.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | sortby_id: u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sortby_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rating_id` [INFO] [stdout] --> nexus-core/src/sites/spacebattles.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | rating_id: u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rating_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word_count` [INFO] [stdout] --> nexus-core/src/sites/spacebattles.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | word_count: u32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_word_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_range` [INFO] [stdout] --> nexus-core/src/sites/spacebattles.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | time_range: u32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `series_name` [INFO] [stdout] --> nexus-core/src/sites/spacebattles.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | series_name: &str, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_series_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> nexus-core/src/sites/spacebattles.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | client: &reqwest::Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `author_id` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | author_id: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_author_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | client: &reqwest::Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `medium_name` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | medium_name: String, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_medium_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sortby_id` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | sortby_id: u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sortby_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rating_id` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | rating_id: u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rating_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word_count` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | word_count: u32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_word_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_range` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | time_range: u32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `series_name` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | series_name: &str, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_series_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | client: &reqwest::Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sortby_id` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | sortby_id: u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sortby_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_pages` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | num_pages: u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_pages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> nexus-core/src/sites/royalroad.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | client: &reqwest::Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> nexus-core/src/parser/spacebattles.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | let text = chapter_element [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `url` is never read [INFO] [stdout] --> nexus-core/src/parser/royalroad.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 28 | struct RawChapter { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawChapter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.41s [INFO] running `Command { std: "docker" "inspect" "ecd8a3e1324c4ac6f7506af5d541723f51f5ccc0f6395e94c380af8b090a68ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecd8a3e1324c4ac6f7506af5d541723f51f5ccc0f6395e94c380af8b090a68ed", kill_on_drop: false }` [INFO] [stdout] ecd8a3e1324c4ac6f7506af5d541723f51f5ccc0f6395e94c380af8b090a68ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a225e7f56107d7746a42fdb544018c40d6d4355fa7722a7085ab4ae05a355077 [INFO] running `Command { std: "docker" "start" "-a" "a225e7f56107d7746a42fdb544018c40d6d4355fa7722a7085ab4ae05a355077", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::parser::fanfiction` [INFO] [stderr] --> nexus-core/src/sites/royalroad.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::parser::fanfiction; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around method argument [INFO] [stderr] --> nexus-core/src/parser/fanfiction.rs:46:25 [INFO] [stderr] | [INFO] [stderr] 46 | if !seen.insert((chapter_number)) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 46 - if !seen.insert((chapter_number)) { [INFO] [stderr] 46 + if !seen.insert(chapter_number ) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `Stories` [INFO] [stderr] --> nexus-core/src/parser/spacebattles.rs:2:37 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::models::{Chapter, Story, Stories, Author}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashSet` [INFO] [stderr] --> nexus-core/src/parser/royalroad.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::collections::HashSet; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Stories` and `Story` [INFO] [stderr] --> nexus-core/src/parser/royalroad.rs:3:30 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::models::{Chapter, Story, Stories, Author}; [INFO] [stderr] | ^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::Value` [INFO] [stderr] --> nexus-core/src/parser/royalroad.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use serde_json::Value; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sortby_id` [INFO] [stderr] --> nexus-core/src/sites/fanfiction.rs:89:9 [INFO] [stderr] | [INFO] [stderr] 89 | sortby_id: u32, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sortby_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `num_pages` [INFO] [stderr] --> nexus-core/src/sites/fanfiction.rs:90:9 [INFO] [stderr] | [INFO] [stderr] 90 | num_pages: u32, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_pages` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `client` [INFO] [stderr] --> nexus-core/src/sites/fanfiction.rs:91:9 [INFO] [stderr] | [INFO] [stderr] 91 | client: &reqwest::Client, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `client` [INFO] [stderr] --> nexus-core/src/sites/archive.rs:74:9 [INFO] [stderr] | [INFO] [stderr] 74 | client: &reqwest::Client, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sortby_id` [INFO] [stderr] --> nexus-core/src/sites/archive.rs:86:9 [INFO] [stderr] | [INFO] [stderr] 86 | sortby_id: u32, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sortby_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `num_pages` [INFO] [stderr] --> nexus-core/src/sites/archive.rs:87:9 [INFO] [stderr] | [INFO] [stderr] 87 | num_pages: u32, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_pages` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `client` [INFO] [stderr] --> nexus-core/src/sites/archive.rs:88:9 [INFO] [stderr] | [INFO] [stderr] 88 | client: &reqwest::Client, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `story_id` [INFO] [stderr] --> nexus-core/src/sites/spacebattles.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | story_id: u64, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_story_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `author_id` [INFO] [stderr] --> nexus-core/src/sites/spacebattles.rs:65:9 [INFO] [stderr] | [INFO] [stderr] 65 | author_id: u64, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_author_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `client` [INFO] [stderr] --> nexus-core/src/sites/spacebattles.rs:67:9 [INFO] [stderr] | [INFO] [stderr] 67 | client: &reqwest::Client, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `medium_name` [INFO] [stderr] --> nexus-core/src/sites/spacebattles.rs:79:9 [INFO] [stderr] | [INFO] [stderr] 79 | medium_name: String, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_medium_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sortby_id` [INFO] [stderr] --> nexus-core/src/sites/spacebattles.rs:81:9 [INFO] [stderr] | [INFO] [stderr] 81 | sortby_id: u32, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sortby_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rating_id` [INFO] [stderr] --> nexus-core/src/sites/spacebattles.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 82 | rating_id: u32, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rating_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `word_count` [INFO] [stderr] --> nexus-core/src/sites/spacebattles.rs:83:9 [INFO] [stderr] | [INFO] [stderr] 83 | word_count: u32, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_word_count` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `time_range` [INFO] [stderr] --> nexus-core/src/sites/spacebattles.rs:84:9 [INFO] [stderr] | [INFO] [stderr] 84 | time_range: u32, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_range` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `series_name` [INFO] [stderr] --> nexus-core/src/sites/spacebattles.rs:80:9 [INFO] [stderr] | [INFO] [stderr] 80 | series_name: &str, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_series_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `client` [INFO] [stderr] --> nexus-core/src/sites/spacebattles.rs:85:9 [INFO] [stderr] | [INFO] [stderr] 85 | client: &reqwest::Client, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `author_id` [INFO] [stderr] --> nexus-core/src/sites/royalroad.rs:53:9 [INFO] [stderr] | [INFO] [stderr] 53 | author_id: u64, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_author_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `client` [INFO] [stderr] --> nexus-core/src/sites/royalroad.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | client: &reqwest::Client, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `medium_name` [INFO] [stderr] --> nexus-core/src/sites/royalroad.rs:66:9 [INFO] [stderr] | [INFO] [stderr] 66 | medium_name: String, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_medium_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sortby_id` [INFO] [stderr] --> nexus-core/src/sites/royalroad.rs:68:9 [INFO] [stderr] | [INFO] [stderr] 68 | sortby_id: u32, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sortby_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rating_id` [INFO] [stderr] --> nexus-core/src/sites/royalroad.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | rating_id: u32, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rating_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `word_count` [INFO] [stderr] --> nexus-core/src/sites/royalroad.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 70 | word_count: u32, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_word_count` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `time_range` [INFO] [stderr] --> nexus-core/src/sites/royalroad.rs:71:9 [INFO] [stderr] | [INFO] [stderr] 71 | time_range: u32, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_range` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `series_name` [INFO] [stderr] --> nexus-core/src/sites/royalroad.rs:67:9 [INFO] [stderr] | [INFO] [stderr] 67 | series_name: &str, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_series_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `client` [INFO] [stderr] --> nexus-core/src/sites/royalroad.rs:72:9 [INFO] [stderr] | [INFO] [stderr] 72 | client: &reqwest::Client, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sortby_id` [INFO] [stderr] --> nexus-core/src/sites/royalroad.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 82 | sortby_id: u32, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sortby_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `num_pages` [INFO] [stderr] --> nexus-core/src/sites/royalroad.rs:83:9 [INFO] [stderr] | [INFO] [stderr] 83 | num_pages: u32, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_pages` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `client` [INFO] [stderr] --> nexus-core/src/sites/royalroad.rs:84:9 [INFO] [stderr] | [INFO] [stderr] 84 | client: &reqwest::Client, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `text` [INFO] [stderr] --> nexus-core/src/parser/spacebattles.rs:52:17 [INFO] [stderr] | [INFO] [stderr] 52 | let text = chapter_element [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stderr] [INFO] [stderr] warning: field `url` is never read [INFO] [stderr] --> nexus-core/src/parser/royalroad.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 28 | struct RawChapter { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 32 | url: String, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RawChapter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `nexus-core` (lib) generated 37 warnings (run `cargo fix --lib -p nexus-core` to apply 36 suggestions) [INFO] [stderr] warning: `nexus-core` (lib test) generated 37 warnings (37 duplicates) [INFO] [stderr] warning: unused import: `pyo3::prelude::*` [INFO] [stderr] --> pybindings/src/lib.rs:137:5 [INFO] [stderr] | [INFO] [stderr] 137 | use pyo3::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> pybindings/src/lib.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | #[pymethods] [INFO] [stderr] | -^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `PyClassImplCollector` is not local [INFO] [stderr] | `PyClassNewTextSignature` is not local [INFO] [stderr] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stderr] 46 | impl PySite { [INFO] [stderr] | ------ [INFO] [stderr] | | [INFO] [stderr] | `PySite` is not local [INFO] [stderr] | `PySite` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `pybindings` (lib test) generated 2 warnings (run `cargo fix --lib -p pybindings --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/nexus_cli-ec03550e948e6ae5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nexus_core-e7d6b3d41f19dca7) [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pybindings-079f98b29c28f55f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests nexus_core [INFO] [stderr] warning: unnecessary parentheses around method argument [INFO] [stderr] --> nexus-core/src/parser/fanfiction.rs:46:25 [INFO] [stderr] | [INFO] [stderr] 46 | if !seen.insert((chapter_number)) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 46 - if !seen.insert((chapter_number)) { [INFO] [stderr] 46 + if !seen.insert(chapter_number ) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a225e7f56107d7746a42fdb544018c40d6d4355fa7722a7085ab4ae05a355077", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a225e7f56107d7746a42fdb544018c40d6d4355fa7722a7085ab4ae05a355077", kill_on_drop: false }` [INFO] [stdout] a225e7f56107d7746a42fdb544018c40d6d4355fa7722a7085ab4ae05a355077