[INFO] fetching crate rspixiv 0.1.0... [INFO] testing rspixiv-0.1.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate rspixiv 0.1.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate rspixiv 0.1.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rspixiv 0.1.0 [INFO] tweaked toml for crates.io crate rspixiv 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rspixiv 0.1.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rspixiv 0.1.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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 296d7d6c4a2834d6247ad1c3d4271e08e811d7dbf71d321e6f48bbcdf2bd7764 [INFO] running `Command { std: "docker" "start" "-a" "296d7d6c4a2834d6247ad1c3d4271e08e811d7dbf71d321e6f48bbcdf2bd7764", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "296d7d6c4a2834d6247ad1c3d4271e08e811d7dbf71d321e6f48bbcdf2bd7764", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "296d7d6c4a2834d6247ad1c3d4271e08e811d7dbf71d321e6f48bbcdf2bd7764", kill_on_drop: false }` [INFO] [stdout] 296d7d6c4a2834d6247ad1c3d4271e08e811d7dbf71d321e6f48bbcdf2bd7764 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95504ec0aaa6b82edd22dd5befb1b40ed0cac4a870ad2f41c2547d9d86787b12 [INFO] running `Command { std: "docker" "start" "-a" "95504ec0aaa6b82edd22dd5befb1b40ed0cac4a870ad2f41c2547d9d86787b12", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling cc v1.2.45 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling rspixiv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PixivError` [INFO] [stdout] --> src/client/app.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::{PixivError, Result}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Comment` [INFO] [stdout] --> src/client/app.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Comment, CommentsResponse, ContentType, Duration, Filter, FollowRestrict, IllustBookmarkResponse, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/client/app.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PixivError` [INFO] [stdout] --> src/client/bypass_sni.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::{PixivError, Result}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/client/bypass_sni.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/client/bypass_sni.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/models/app.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/models/public.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/utils.rs:134:28 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn set_accept_language(client: &mut HttpClient, language: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.30s [INFO] running `Command { std: "docker" "inspect" "95504ec0aaa6b82edd22dd5befb1b40ed0cac4a870ad2f41c2547d9d86787b12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95504ec0aaa6b82edd22dd5befb1b40ed0cac4a870ad2f41c2547d9d86787b12", kill_on_drop: false }` [INFO] [stdout] 95504ec0aaa6b82edd22dd5befb1b40ed0cac4a870ad2f41c2547d9d86787b12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a6224e8f5e8567f539f17200f2a6d4fd7b36f35b06e9519d12db40a2a246bd2 [INFO] running `Command { std: "docker" "start" "-a" "2a6224e8f5e8567f539f17200f2a6d4fd7b36f35b06e9519d12db40a2a246bd2", kill_on_drop: false }` [INFO] [stderr] Compiling rspixiv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PixivError` [INFO] [stdout] --> src/client/app.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::{PixivError, Result}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Comment` [INFO] [stdout] --> src/client/app.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Comment, CommentsResponse, ContentType, Duration, Filter, FollowRestrict, IllustBookmarkResponse, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/client/app.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PixivError` [INFO] [stdout] --> src/client/bypass_sni.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::{PixivError, Result}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/client/bypass_sni.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/client/bypass_sni.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/models/app.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/models/public.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/utils.rs:134:28 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn set_accept_language(client: &mut HttpClient, language: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pixiv_rs` in this scope [INFO] [stdout] --> tests/bypass_sni_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use pixiv_rs::client::bypass_sni::BypassSniAppClient; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `pixiv_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pixiv_rs`, use `cargo add pixiv_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pixiv_rs` in this scope [INFO] [stdout] --> tests/bypass_sni_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pixiv_rs::error::PixivError; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `pixiv_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pixiv_rs`, use `cargo add pixiv_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pixiv_rs` in this scope [INFO] [stdout] --> tests/network_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use pixiv_rs::network::HttpClient; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `pixiv_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pixiv_rs`, use `cargo add pixiv_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pixiv_rs` in this scope [INFO] [stdout] --> tests/network_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pixiv_rs::error::PixivError; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `pixiv_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pixiv_rs`, use `cargo add pixiv_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rspixiv` (test "bypass_sni_tests") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `pixiv_rs` [INFO] [stdout] --> tests/app_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use pixiv_rs::{AppClient, HttpClient, RankingMode, Filter, SearchTarget, Sort, ContentType, FollowRestrict}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `pixiv_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pixiv_rs`, use `cargo add pixiv_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pixiv_rs` in this scope [INFO] [stdout] --> tests/utils_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use pixiv_rs::utils::{download, extract_extension, format_file_size, parse_qs, safe_filename}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `pixiv_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pixiv_rs`, use `cargo add pixiv_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pixiv_rs` in this scope [INFO] [stdout] --> tests/utils_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pixiv_rs::network::HttpClient; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `pixiv_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pixiv_rs`, use `cargo add pixiv_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rspixiv` (test "network_tests") due to 2 previous errors [INFO] [stderr] error: could not compile `rspixiv` (test "error_tests") due to 1 previous error [INFO] [stdout] error[E0433]: cannot find module or crate `pixiv_rs` in this scope [INFO] [stdout] --> tests/error_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use pixiv_rs::error::{ApiErrorCode, ApiErrorDetails, PixivError}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `pixiv_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pixiv_rs`, use `cargo add pixiv_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pixiv_rs` [INFO] [stdout] --> examples/new_features_usage.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use pixiv_rs::{ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `pixiv_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pixiv_rs`, use `cargo add pixiv_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pixiv_rs` in this scope [INFO] [stdout] --> tests/auth_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use pixiv_rs::auth::AuthClient; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `pixiv_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pixiv_rs`, use `cargo add pixiv_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pixiv_rs` in this scope [INFO] [stdout] --> tests/auth_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pixiv_rs::error::PixivError; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `pixiv_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pixiv_rs`, use `cargo add pixiv_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pixiv_rs` in this scope [INFO] [stdout] --> tests/auth_tests.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | use pixiv_rs::auth::{AuthResponse, User, ProfileImageUrls}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `pixiv_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pixiv_rs`, use `cargo add pixiv_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rspixiv` (example "new_features_usage") due to 1 previous error [INFO] [stderr] error: could not compile `rspixiv` (test "auth_tests") due to 3 previous errors [INFO] [stderr] error: could not compile `rspixiv` (test "utils_tests") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rspixiv` (test "app_tests") due to 1 previous error [INFO] [stdout] warning: unused import: `PixivError` [INFO] [stdout] --> src/client/app.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::{PixivError, Result}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Comment` [INFO] [stdout] --> src/client/app.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Comment, CommentsResponse, ContentType, Duration, Filter, FollowRestrict, IllustBookmarkResponse, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/client/app.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PixivError` [INFO] [stdout] --> src/client/bypass_sni.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::{PixivError, Result}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/client/bypass_sni.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/client/bypass_sni.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/models/app.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/models/public.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/utils.rs:134:28 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn set_accept_language(client: &mut HttpClient, language: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2a6224e8f5e8567f539f17200f2a6d4fd7b36f35b06e9519d12db40a2a246bd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a6224e8f5e8567f539f17200f2a6d4fd7b36f35b06e9519d12db40a2a246bd2", kill_on_drop: false }` [INFO] [stdout] 2a6224e8f5e8567f539f17200f2a6d4fd7b36f35b06e9519d12db40a2a246bd2