[INFO] fetching crate fluffyf 0.2.0... [INFO] testing fluffyf-0.2.0 against 1.79.0 for beta-1.80-4 [INFO] extracting crate fluffyf 0.2.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate fluffyf 0.2.0 on toolchain 1.79.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.79.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fluffyf 0.2.0 [INFO] finished tweaking crates.io crate fluffyf 0.2.0 [INFO] tweaked toml for crates.io crate fluffyf 0.2.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate fluffyf 0.2.0 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" "+1.79.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.75 [INFO] [stderr] Downloaded clap v4.4.13 [INFO] [stderr] Downloaded syn v2.0.47 [INFO] [stderr] Downloaded serde_derive v1.0.194 [INFO] [stderr] Downloaded serde v1.0.194 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b9ecfb0fe7e52eef5ab7296bdc4375de545ae304b6c97006e1d8a582076caa5 [INFO] running `Command { std: "docker" "start" "-a" "3b9ecfb0fe7e52eef5ab7296bdc4375de545ae304b6c97006e1d8a582076caa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b9ecfb0fe7e52eef5ab7296bdc4375de545ae304b6c97006e1d8a582076caa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b9ecfb0fe7e52eef5ab7296bdc4375de545ae304b6c97006e1d8a582076caa5", kill_on_drop: false }` [INFO] [stdout] 3b9ecfb0fe7e52eef5ab7296bdc4375de545ae304b6c97006e1d8a582076caa5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f081958e614ea43764eb98ae8b6e0fa4bee9f1188ee24f4a41b9330d9a11a258 [INFO] running `Command { std: "docker" "start" "-a" "f081958e614ea43764eb98ae8b6e0fa4bee9f1188ee24f4a41b9330d9a11a258", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.75 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling serde v1.0.194 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling unicode-bidi v0.3.14 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling time-macros v0.2.16 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling anstream v0.6.5 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling syn v2.0.47 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling clap_builder v4.4.12 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling clap v4.4.13 [INFO] [stderr] Compiling serde_derive v1.0.194 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling h2 v0.3.22 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling time v0.3.31 [INFO] [stderr] Compiling simple_logger v4.3.3 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.23 [INFO] [stderr] Compiling fluffyf v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `header::HeaderMap` [INFO] [stdout] --> src/client/mod.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use reqwest::{header::HeaderMap, Url}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/api/pool.rs:60:41 [INFO] [stdout] | [INFO] [stdout] 60 | pub async fn by_search_first(&self, id: IdType) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/api/post.rs:131:30 [INFO] [stdout] | [INFO] [stdout] 131 | pub async fn vote(&self, client: Client) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/api/post.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | pub async fn vote_by_id(id: IdType) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/api/post.rs:139:30 [INFO] [stdout] | [INFO] [stdout] 139 | pub async fn vote_by_url(url: Url) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BASE_URL621` is never used [INFO] [stdout] --> src/api/mod.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | const BASE_URL621: &'static str = "https://e621.net"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BASE_URL926` is never used [INFO] [stdout] --> src/api/mod.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | const BASE_URL926: &'static str = "https://e926.net"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `count_total` is never used [INFO] [stdout] --> src/api/post.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 92 | impl Score { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 93 | fn count_total(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Search` is never used [INFO] [stdout] --> src/api/search.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) trait Search { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client`, `limit`, and `url` are never read [INFO] [stdout] --> src/client/mod.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Client { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 19 | pub(crate) client: reqwest::Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | limit: L, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | url: Url, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Client` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/client/rate_limit.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | async fn check(self, fut: F) -> R [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 73 - async fn check(self, fut: F) -> R [INFO] [stdout] 73 + fn check(self, fut: F) -> impl std::future::Future + Send [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `blocking`, `crate::common::build_header`, `methods`, `reqwest::blocking::multipart::Form` [INFO] [stdout] --> src/bin/fluffypost.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | fluffyf::connect::{methods, blocking}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] 13 | reqwest::blocking::multipart::Form, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | [INFO] [stdout] 15 | crate::common::build_header, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_login` is never used [INFO] [stdout] --> src/bin/common/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn encode_login(username: T, apikey: T) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_header` is never used [INFO] [stdout] --> src/bin/common/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn build_header(username: T, apikey: T) -> HeaderMap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usename` [INFO] [stdout] --> src/bin/fluffyget.rs:117:87 [INFO] [stdout] | [INFO] [stdout] 117 | async fn download_pools(client: reqwest::Client, path: &PathBuf, pools: Vec<&IdType>, usename: bool) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usename` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.52s [INFO] running `Command { std: "docker" "inspect" "f081958e614ea43764eb98ae8b6e0fa4bee9f1188ee24f4a41b9330d9a11a258", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f081958e614ea43764eb98ae8b6e0fa4bee9f1188ee24f4a41b9330d9a11a258", kill_on_drop: false }` [INFO] [stdout] f081958e614ea43764eb98ae8b6e0fa4bee9f1188ee24f4a41b9330d9a11a258 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e455481a81895d621e4c6963e8105290cd3c7f924121fc2396af2b6145bcc96 [INFO] running `Command { std: "docker" "start" "-a" "2e455481a81895d621e4c6963e8105290cd3c7f924121fc2396af2b6145bcc96", kill_on_drop: false }` [INFO] [stderr] Compiling fluffyf v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `header::HeaderMap` [INFO] [stdout] --> src/client/mod.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use reqwest::{header::HeaderMap, Url}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/api/pool.rs:60:41 [INFO] [stdout] | [INFO] [stdout] 60 | pub async fn by_search_first(&self, id: IdType) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/api/post.rs:131:30 [INFO] [stdout] | [INFO] [stdout] 131 | pub async fn vote(&self, client: Client) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/api/post.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | pub async fn vote_by_id(id: IdType) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/api/post.rs:139:30 [INFO] [stdout] | [INFO] [stdout] 139 | pub async fn vote_by_url(url: Url) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BASE_URL621` is never used [INFO] [stdout] --> src/api/mod.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | const BASE_URL621: &'static str = "https://e621.net"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BASE_URL926` is never used [INFO] [stdout] --> src/api/mod.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | const BASE_URL926: &'static str = "https://e926.net"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `count_total` is never used [INFO] [stdout] --> src/api/post.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 92 | impl Score { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 93 | fn count_total(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Search` is never used [INFO] [stdout] --> src/api/search.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) trait Search { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client`, `limit`, and `url` are never read [INFO] [stdout] --> src/client/mod.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Client { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 19 | pub(crate) client: reqwest::Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | limit: L, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | url: Url, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Client` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/client/rate_limit.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | async fn check(self, fut: F) -> R [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 73 - async fn check(self, fut: F) -> R [INFO] [stdout] 73 + fn check(self, fut: F) -> impl std::future::Future + Send [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `blocking`, `crate::common::build_header`, `methods`, `reqwest::blocking::multipart::Form` [INFO] [stdout] --> src/bin/fluffypost.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | fluffyf::connect::{methods, blocking}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] 13 | reqwest::blocking::multipart::Form, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | [INFO] [stdout] 15 | crate::common::build_header, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_login` is never used [INFO] [stdout] --> src/bin/common/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn encode_login(username: T, apikey: T) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_header` is never used [INFO] [stdout] --> src/bin/common/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn build_header(username: T, apikey: T) -> HeaderMap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `header::HeaderMap` [INFO] [stdout] --> src/client/mod.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use reqwest::{header::HeaderMap, Url}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usename` [INFO] [stdout] --> src/bin/fluffyget.rs:117:87 [INFO] [stdout] | [INFO] [stdout] 117 | async fn download_pools(client: reqwest::Client, path: &PathBuf, pools: Vec<&IdType>, usename: bool) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usename` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/api/pool.rs:60:41 [INFO] [stdout] | [INFO] [stdout] 60 | pub async fn by_search_first(&self, id: IdType) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/api/post.rs:131:30 [INFO] [stdout] | [INFO] [stdout] 131 | pub async fn vote(&self, client: Client) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/api/post.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | pub async fn vote_by_id(id: IdType) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/api/post.rs:139:30 [INFO] [stdout] | [INFO] [stdout] 139 | pub async fn vote_by_url(url: Url) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BASE_URL621` is never used [INFO] [stdout] --> src/api/mod.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | const BASE_URL621: &'static str = "https://e621.net"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BASE_URL926` is never used [INFO] [stdout] --> src/api/mod.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | const BASE_URL926: &'static str = "https://e926.net"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `count_total` is never used [INFO] [stdout] --> src/api/post.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 92 | impl Score { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 93 | fn count_total(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Search` is never used [INFO] [stdout] --> src/api/search.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) trait Search { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client`, `limit`, and `url` are never read [INFO] [stdout] --> src/client/mod.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Client { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 19 | pub(crate) client: reqwest::Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | limit: L, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | url: Url, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Client` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/client/rate_limit.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | async fn check(self, fut: F) -> R [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 73 - async fn check(self, fut: F) -> R [INFO] [stdout] 73 + fn check(self, fut: F) -> impl std::future::Future + Send [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.87s [INFO] running `Command { std: "docker" "inspect" "2e455481a81895d621e4c6963e8105290cd3c7f924121fc2396af2b6145bcc96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e455481a81895d621e4c6963e8105290cd3c7f924121fc2396af2b6145bcc96", kill_on_drop: false }` [INFO] [stdout] 2e455481a81895d621e4c6963e8105290cd3c7f924121fc2396af2b6145bcc96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e8e54829a72fb59a2918fde6cd98eef4ba47061abd09ff4de75cb6eb39401593 [INFO] running `Command { std: "docker" "start" "-a" "e8e54829a72fb59a2918fde6cd98eef4ba47061abd09ff4de75cb6eb39401593", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `header::HeaderMap` [INFO] [stderr] --> src/client/mod.rs:13:15 [INFO] [stderr] | [INFO] [stderr] 13 | use reqwest::{header::HeaderMap, Url}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/api/pool.rs:60:41 [INFO] [stderr] | [INFO] [stderr] 60 | pub async fn by_search_first(&self, id: IdType) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `client` [INFO] [stderr] --> src/api/post.rs:131:30 [INFO] [stderr] | [INFO] [stderr] 131 | pub async fn vote(&self, client: Client) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/api/post.rs:135:29 [INFO] [stderr] | [INFO] [stderr] 135 | pub async fn vote_by_id(id: IdType) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `url` [INFO] [stderr] --> src/api/post.rs:139:30 [INFO] [stderr] | [INFO] [stderr] 139 | pub async fn vote_by_url(url: Url) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stderr] [INFO] [stderr] warning: constant `BASE_URL621` is never used [INFO] [stderr] --> src/api/mod.rs:53:7 [INFO] [stderr] | [INFO] [stderr] 53 | const BASE_URL621: &'static str = "https://e621.net"; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `BASE_URL926` is never used [INFO] [stderr] --> src/api/mod.rs:54:7 [INFO] [stderr] | [INFO] [stderr] 54 | const BASE_URL926: &'static str = "https://e926.net"; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `count_total` is never used [INFO] [stderr] --> src/api/post.rs:93:8 [INFO] [stderr] | [INFO] [stderr] 92 | impl Score { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] 93 | fn count_total(&mut self) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `Search` is never used [INFO] [stderr] --> src/api/search.rs:9:18 [INFO] [stderr] | [INFO] [stderr] 9 | pub(crate) trait Search { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `client`, `limit`, and `url` are never read [INFO] [stderr] --> src/client/mod.rs:19:16 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Client { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 19 | pub(crate) client: reqwest::Client, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 20 | limit: L, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 21 | url: Url, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Client` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/client/rate_limit.rs:73:5 [INFO] [stderr] | [INFO] [stderr] 73 | async fn check(self, fut: F) -> R [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 73 - async fn check(self, fut: F) -> R [INFO] [stderr] 73 + fn check(self, fut: F) -> impl std::future::Future + Send [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `fluffyf` (lib) generated 11 warnings (run `cargo fix --lib -p fluffyf` to apply 1 suggestion) [INFO] [stderr] warning: `fluffyf` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] warning: unused variable: `usename` [INFO] [stderr] --> src/bin/fluffyget.rs:117:87 [INFO] [stderr] | [INFO] [stderr] 117 | async fn download_pools(client: reqwest::Client, path: &PathBuf, pools: Vec<&IdType>, usename: bool) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usename` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `blocking`, `crate::common::build_header`, `methods`, `reqwest::blocking::multipart::Form` [INFO] [stderr] --> src/bin/fluffypost.rs:12:24 [INFO] [stderr] | [INFO] [stderr] 12 | fluffyf::connect::{methods, blocking}, [INFO] [stderr] | ^^^^^^^ ^^^^^^^^ [INFO] [stderr] 13 | reqwest::blocking::multipart::Form, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 14 | [INFO] [stderr] 15 | crate::common::build_header, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `encode_login` is never used [INFO] [stderr] --> src/bin/common/mod.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn encode_login(username: T, apikey: T) -> String { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `build_header` is never used [INFO] [stderr] --> src/bin/common/mod.rs:23:8 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn build_header(username: T, apikey: T) -> HeaderMap { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `fluffyf` (bin "fluffyget" test) generated 1 warning [INFO] [stderr] warning: `fluffyf` (bin "fluffypost" test) generated 3 warnings (run `cargo fix --bin "fluffypost" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fluffyf-ba4f133676d7f9ee) [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/fluffyget.rs (/opt/rustwide/target/debug/deps/fluffyget-ad0b357fc28a3513) [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] Running unittests src/bin/fluffypost.rs (/opt/rustwide/target/debug/deps/fluffypost-d96885f22139c80d) [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 fluffyf [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" "e8e54829a72fb59a2918fde6cd98eef4ba47061abd09ff4de75cb6eb39401593", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8e54829a72fb59a2918fde6cd98eef4ba47061abd09ff4de75cb6eb39401593", kill_on_drop: false }` [INFO] [stdout] e8e54829a72fb59a2918fde6cd98eef4ba47061abd09ff4de75cb6eb39401593