[INFO] cloning repository https://github.com/LorrensP-2158466/swapi-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LorrensP-2158466/swapi-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLorrensP-2158466%2Fswapi-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLorrensP-2158466%2Fswapi-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 567111a2dd9bfa8cbc9e61268eb30f8075787f91 [INFO] checking LorrensP-2158466/swapi-rs against master#40daf23eeb711dadf140b2536e67e3ff4c999196 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLorrensP-2158466%2Fswapi-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LorrensP-2158466/swapi-rs on toolchain 40daf23eeb711dadf140b2536e67e3ff4c999196 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LorrensP-2158466/swapi-rs [INFO] finished tweaking git repo https://github.com/LorrensP-2158466/swapi-rs [INFO] tweaked toml for git repo https://github.com/LorrensP-2158466/swapi-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/LorrensP-2158466/swapi-rs 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" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-graphql-axum v7.0.11 [INFO] [stderr] Downloaded proc-macro2 v1.0.88 [INFO] [stderr] Downloaded async-stream-impl v0.3.6 [INFO] [stderr] Downloaded async-graphql-value v7.0.11 [INFO] [stderr] Downloaded async-graphql-parser v7.0.11 [INFO] [stderr] Downloaded async-stream v0.3.6 [INFO] [stderr] Downloaded tokio-tungstenite v0.24.0 [INFO] [stderr] Downloaded async-graphql-derive v7.0.11 [INFO] [stderr] Downloaded handlebars v5.1.2 [INFO] [stderr] Downloaded hyper-util v0.1.9 [INFO] [stderr] Downloaded cc v1.1.31 [INFO] [stderr] Downloaded tungstenite v0.24.0 [INFO] [stderr] Downloaded regex v1.11.0 [INFO] [stderr] Downloaded async-graphql v7.0.11 [INFO] [stderr] Downloaded regex-automata v0.4.8 [INFO] [stderr] Downloaded libc v0.2.160 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11f00009609dedec0381d76933c163589f5781ee30ddde63ad1594e20dd34ba7 [INFO] running `Command { std: "docker" "start" "-a" "11f00009609dedec0381d76933c163589f5781ee30ddde63ad1594e20dd34ba7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11f00009609dedec0381d76933c163589f5781ee30ddde63ad1594e20dd34ba7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11f00009609dedec0381d76933c163589f5781ee30ddde63ad1594e20dd34ba7", kill_on_drop: false }` [INFO] [stdout] 11f00009609dedec0381d76933c163589f5781ee30ddde63ad1594e20dd34ba7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd76690a08c4841e3084a8ccabd4de3462aa0fb6bcad0f2399567d7f9160f212 [INFO] running `Command { std: "docker" "start" "-a" "dd76690a08c4841e3084a8ccabd4de3462aa0fb6bcad0f2399567d7f9160f212", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.88 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling libc v0.2.160 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Checking foldhash v0.1.3 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking ascii_utils v0.9.3 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking fast_chemail v0.9.6 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking static_assertions_next v1.1.2 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling tempfile v3.13.0 [INFO] [stderr] Checking regex v1.11.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling pest v2.7.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling pest_meta v2.7.14 [INFO] [stderr] Compiling pest_generator v2.7.14 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling pest_derive v2.7.14 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking handlebars v5.1.2 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking async-graphql-value v7.0.11 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking tungstenite v0.24.0 [INFO] [stderr] Checking async-graphql-parser v7.0.11 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking tower-http v0.6.1 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling async-graphql-derive v7.0.11 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking hyper v1.5.0 [INFO] [stderr] Checking tower v0.5.1 [INFO] [stderr] Checking tokio-tungstenite v0.24.0 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking sqlx-core v0.8.2 [INFO] [stderr] Checking hyper-util v0.1.9 [INFO] [stderr] Checking axum v0.7.7 [INFO] [stderr] Checking sqlx-postgres v0.8.2 [INFO] [stderr] Checking async-graphql v7.0.11 [INFO] [stderr] Compiling sqlx-macros-core v0.8.2 [INFO] [stderr] Checking async-graphql-axum v7.0.11 [INFO] [stderr] Compiling sqlx-macros v0.8.2 [INFO] [stderr] Checking sqlx v0.8.2 [INFO] [stderr] Checking swapi-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/starwars/credits_loader.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::Executor` [INFO] [stdout] --> src/starwars/models.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::Executor; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `future::Either` [INFO] [stdout] --> src/starwars/models.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::{future::Either, stream, FutureExt, StreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/starwars/credits_loader.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::Executor` [INFO] [stdout] --> src/starwars/models.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::Executor; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `future::Either` [INFO] [stdout] --> src/starwars/models.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::{future::Either, stream, FutureExt, StreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_user_id` [INFO] [stdout] --> src/starwars/roots.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | from_user_id: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_user_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_user_id` [INFO] [stdout] --> src/starwars/roots.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | to_user_id: String, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/starwars/roots.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | amount: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/starwars/roots.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let db = ctx.data_unchecked::(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_graphql` [INFO] [stdout] --> src/starwars/data.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use async_graphql::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DataContext` [INFO] [stdout] --> src/starwars/models.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | dataloader::DataLoader, Context, DataContext, Enum, Interface, Object, Result, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> src/starwars/models.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::{future::Either, stream, FutureExt, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_user_id` [INFO] [stdout] --> src/starwars/roots.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | from_user_id: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_user_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_user_id` [INFO] [stdout] --> src/starwars/roots.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | to_user_id: String, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/starwars/roots.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | amount: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/starwars/roots.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let db = ctx.data_unchecked::(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_friends` and `home_planet` are never used [INFO] [stdout] --> src/starwars/data.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl APICharacter { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn set_friends(mut self, friends: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn home_planet(mut self, planet: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `climate`, `diameter`, `gravity`, `population`, `rotation_period`, and `orbital_period` are never read [INFO] [stdout] --> src/starwars/data.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct APIPlanet { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 129 | pub climate: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub diameter: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub gravity: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 136 | [INFO] [stdout] 137 | pub population: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub rotation_period: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub orbital_period: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `APIPlanet` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `char_id_counter`, `starship_id_counter`, and `planet_id_counter` are never read [INFO] [stdout] --> src/starwars/data.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 146 | pub struct StarWarsAPI { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 147 | // id counters for insertion [INFO] [stdout] 148 | char_id_counter: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 149 | starship_id_counter: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 150 | planet_id_counter: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_droids` is never used [INFO] [stdout] --> src/starwars/data.rs:346:18 [INFO] [stdout] | [INFO] [stdout] 167 | impl StarWarsAPI { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 346 | pub async fn get_droids(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mass` is never read [INFO] [stdout] --> src/starwars/models.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct Droid { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 123 | pub mass: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_graphql` [INFO] [stdout] --> src/starwars/data.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use async_graphql::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DataContext` [INFO] [stdout] --> src/starwars/models.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | dataloader::DataLoader, Context, DataContext, Enum, Interface, Object, Result, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> src/starwars/models.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::{future::Either, stream, FutureExt, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_friends` and `home_planet` are never used [INFO] [stdout] --> src/starwars/data.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl APICharacter { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn set_friends(mut self, friends: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn home_planet(mut self, planet: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `climate`, `diameter`, `gravity`, `population`, `rotation_period`, and `orbital_period` are never read [INFO] [stdout] --> src/starwars/data.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct APIPlanet { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 129 | pub climate: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub diameter: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub gravity: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 136 | [INFO] [stdout] 137 | pub population: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub rotation_period: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub orbital_period: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `APIPlanet` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `char_id_counter`, `starship_id_counter`, and `planet_id_counter` are never read [INFO] [stdout] --> src/starwars/data.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 146 | pub struct StarWarsAPI { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 147 | // id counters for insertion [INFO] [stdout] 148 | char_id_counter: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 149 | starship_id_counter: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 150 | planet_id_counter: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_droids` is never used [INFO] [stdout] --> src/starwars/data.rs:346:18 [INFO] [stdout] | [INFO] [stdout] 167 | impl StarWarsAPI { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 346 | pub async fn get_droids(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mass` is never read [INFO] [stdout] --> src/starwars/models.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct Droid { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 123 | pub mass: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.36s [INFO] running `Command { std: "docker" "inspect" "dd76690a08c4841e3084a8ccabd4de3462aa0fb6bcad0f2399567d7f9160f212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd76690a08c4841e3084a8ccabd4de3462aa0fb6bcad0f2399567d7f9160f212", kill_on_drop: false }` [INFO] [stdout] dd76690a08c4841e3084a8ccabd4de3462aa0fb6bcad0f2399567d7f9160f212