[INFO] cloning repository https://github.com/guccialex/kube-rs-manager [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/guccialex/kube-rs-manager" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguccialex%2Fkube-rs-manager", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguccialex%2Fkube-rs-manager'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 74ef7f742d84bfa3c7909665db837977bdec61fb [INFO] checking guccialex/kube-rs-manager against f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1 for pr-160235-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguccialex%2Fkube-rs-manager" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/guccialex/kube-rs-manager [INFO] finished tweaking git repo https://github.com/guccialex/kube-rs-manager [INFO] tweaked toml for git repo https://github.com/guccialex/kube-rs-manager written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/guccialex/kube-rs-manager on toolchain f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 252 packages to highest compatible versions [INFO] [stderr] Adding k8s-openapi v0.13.1 (available: v0.28.0) [INFO] [stderr] Adding kube v0.59.0 (available: v4.2.0) [INFO] [stderr] Adding kube-runtime v0.59.0 (available: v4.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 6eb0b283e2dfc21b20a31a8357b0f4c6277c2c32ca088eeed6cb040a774cee6a [INFO] running `Command { std: "docker" "start" "6eb0b283e2dfc21b20a31a8357b0f4c6277c2c32ca088eeed6cb040a774cee6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6eb0b283e2dfc21b20a31a8357b0f4c6277c2c32ca088eeed6cb040a774cee6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6eb0b283e2dfc21b20a31a8357b0f4c6277c2c32ca088eeed6cb040a774cee6a" "/opt/rustwide/cargo-home/bin/cargo" "+f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6eb0b283e2dfc21b20a31a8357b0f4c6277c2c32ca088eeed6cb040a774cee6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6eb0b283e2dfc21b20a31a8357b0f4c6277c2c32ca088eeed6cb040a774cee6a" "/opt/rustwide/cargo-home/bin/cargo" "+f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.229 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Checking smallvec v1.16.1 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Compiling libc v0.2.189 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.12 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling syn v3.0.5 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Checking mio v1.2.3 [INFO] [stderr] Checking socket2 v0.6.5 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling futures-core v0.3.34 [INFO] [stderr] Compiling futures-sink v0.3.34 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling bytes v1.12.1 [INFO] [stderr] Compiling serde_json v1.0.151 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling cc v1.4.6 [INFO] [stderr] Compiling time-macros v0.2.32 [INFO] [stderr] Compiling futures-channel v0.3.34 [INFO] [stderr] Checking httparse v1.10.1 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-task v0.3.34 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling futures-io v0.3.34 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling cookie v0.18.2 [INFO] [stderr] Compiling ref-cast v1.0.27 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling zerocopy v0.8.57 [INFO] [stderr] Compiling log v0.4.34 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling k8s-openapi v0.13.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling bitflags v2.13.2 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Compiling getrandom v0.4.3 [INFO] [stderr] Checking regex-automata v0.4.18 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.41 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling doc-comment v0.3.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking either v1.18.0 [INFO] [stderr] Checking time v0.3.55 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Checking core_detect v1.0.0 [INFO] [stderr] Checking simdutf8 v0.1.5 [INFO] [stderr] Compiling multiversion_no_op v1.0.0 [INFO] [stderr] Checking indexmap v2.14.2 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking rustls-pemfile v0.2.1 [INFO] [stderr] Checking rustix v1.1.4 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Checking spin v0.9.9 [INFO] [stderr] Compiling glob v0.3.4 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking chacha20 v0.10.2 [INFO] [stderr] Checking regex v1.13.1 [INFO] [stderr] Checking dashmap v4.0.2 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking rand v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Compiling tokio-macros v2.7.2 [INFO] [stderr] Compiling futures-macro v0.3.34 [INFO] [stderr] Compiling ref-cast-impl v1.0.27 [INFO] [stderr] Compiling multiversion-macros v0.9.0 [INFO] [stderr] Compiling async-trait v0.1.92 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Checking tokio v1.53.1 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Checking treediff v3.0.2 [INFO] [stderr] Checking futures-util v0.3.34 [INFO] [stderr] Checking multiversion v0.9.0 [INFO] [stderr] Checking pin-project v0.4.30 [INFO] [stderr] Checking snafu v0.6.10 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling pin-project-internal v1.1.13 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking ct-logs v0.8.0 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking pin-project v1.1.13 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.34 [INFO] [stderr] Checking rand v0.8.8 [INFO] [stderr] Compiling futures v0.3.34 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking chrono v0.4.45 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking json-patch v0.2.7 [INFO] [stderr] Checking jsonpath_lib v0.3.0 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking tower-http v0.1.3 [INFO] [stderr] Checking rustls-native-certs v0.5.0 [INFO] [stderr] Checking tokio-util v0.7.19 [INFO] [stderr] Checking tokio-io-timeout v1.2.1 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking tokio-stream v0.1.19 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking rocket_http v0.5.1 [INFO] [stderr] Checking kube-core v0.59.0 [INFO] [stderr] Checking kube v0.59.0 [INFO] [stderr] Checking kube-runtime v0.59.0 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking kube-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate rocket; [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 imports: `DeleteParams` and `WatchEvent` [INFO] [stdout] --> src/main.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | api::{Api, DeleteParams, ListParams, PostParams, WatchEvent}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::TcpListener` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::net::TcpListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::TcpStream` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/main.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate rocket; [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 imports: `DeleteParams` and `WatchEvent` [INFO] [stdout] --> src/main.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | api::{Api, DeleteParams, ListParams, PostParams, WatchEvent}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::TcpListener` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::net::TcpListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::TcpStream` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/main.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `serviceid` [INFO] [stdout] --> src/main.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | let serviceid = gamepodid.to_string(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serviceid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `service` is never read [INFO] [stdout] --> src/main.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct ApiWrapper{ [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 161 | service: Api, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `create_service_exposing` and `get_existing_exposers` are never used [INFO] [stdout] --> src/main.rs:203:14 [INFO] [stdout] | [INFO] [stdout] 166 | impl ApiWrapper{ [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 203 | async fn create_service_exposing(serviceapi: & Api, gamepodid: u32 ) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | async fn get_existing_exposers( serviceapi: Api ) -> HashMap{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `podstointernalip`, `externalip`, and `podstoport` are never read [INFO] [stdout] --> src/main.rs:404:5 [INFO] [stdout] | [INFO] [stdout] 394 | struct PodData{ [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 404 | podstointernalip: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 407 | externalip: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 408 | [INFO] [stdout] 409 | podstoport: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | podapi.create(&postparams, &pod).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 197 | let _ = podapi.create(&postparams, &pod).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | serviceapi.create( &postparams, &service).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 243 | let _ = serviceapi.create( &postparams, &service).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `serviceid` [INFO] [stdout] --> src/main.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | let serviceid = gamepodid.to_string(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serviceid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `service` is never read [INFO] [stdout] --> src/main.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct ApiWrapper{ [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 161 | service: Api, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `create_service_exposing` and `get_existing_exposers` are never used [INFO] [stdout] --> src/main.rs:203:14 [INFO] [stdout] | [INFO] [stdout] 166 | impl ApiWrapper{ [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 203 | async fn create_service_exposing(serviceapi: & Api, gamepodid: u32 ) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | async fn get_existing_exposers( serviceapi: Api ) -> HashMap{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `podstointernalip`, `externalip`, and `podstoport` are never read [INFO] [stdout] --> src/main.rs:404:5 [INFO] [stdout] | [INFO] [stdout] 394 | struct PodData{ [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 404 | podstointernalip: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 407 | externalip: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 408 | [INFO] [stdout] 409 | podstoport: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | podapi.create(&postparams, &pod).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 197 | let _ = podapi.create(&postparams, &pod).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | serviceapi.create( &postparams, &service).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 243 | let _ = serviceapi.create( &postparams, &service).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `kube-runtime` [INFO] [stderr] --> Cargo.toml:17:15 [INFO] [stderr] | [INFO] [stderr] 17 | [dependencies.kube-runtime] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `kube-runtime` [INFO] [stderr] warning: unused dependency `rand` [INFO] [stderr] --> Cargo.toml:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | rand = "*" [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `rand` [INFO] [stderr] warning: `kube-rs` (manifest) generated 2 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 33s [INFO] running `Command { std: "docker" "inspect" "6eb0b283e2dfc21b20a31a8357b0f4c6277c2c32ca088eeed6cb040a774cee6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6eb0b283e2dfc21b20a31a8357b0f4c6277c2c32ca088eeed6cb040a774cee6a", kill_on_drop: false }` [INFO] [stdout] 6eb0b283e2dfc21b20a31a8357b0f4c6277c2c32ca088eeed6cb040a774cee6a