[INFO] cloning repository https://github.com/xprgv/k8s-crd-operator-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xprgv/k8s-crd-operator-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxprgv%2Fk8s-crd-operator-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxprgv%2Fk8s-crd-operator-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c8d56cca02730187e0c7f1ec00e3d0d5e7a348dd [INFO] testing xprgv/k8s-crd-operator-rs against beta-2023-10-04 for beta-1.74-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxprgv%2Fk8s-crd-operator-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xprgv/k8s-crd-operator-rs on toolchain beta-2023-10-04 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-10-04" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xprgv/k8s-crd-operator-rs [INFO] finished tweaking git repo https://github.com/xprgv/k8s-crd-operator-rs [INFO] tweaked toml for git repo https://github.com/xprgv/k8s-crd-operator-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/xprgv/k8s-crd-operator-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" "+beta-2023-10-04" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] efc3c15f289c1f9f2e7c36795200bc0d2bf9c180bec9674eab4e5177df659369 [INFO] running `Command { std: "docker" "start" "-a" "efc3c15f289c1f9f2e7c36795200bc0d2bf9c180bec9674eab4e5177df659369", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "efc3c15f289c1f9f2e7c36795200bc0d2bf9c180bec9674eab4e5177df659369", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efc3c15f289c1f9f2e7c36795200bc0d2bf9c180bec9674eab4e5177df659369", kill_on_drop: false }` [INFO] [stdout] efc3c15f289c1f9f2e7c36795200bc0d2bf9c180bec9674eab4e5177df659369 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02562350b437d634a98f8f0c93ddee29f9ecc4f0544a7acd7df76d0cfba8d3f4 [INFO] running `Command { std: "docker" "start" "-a" "02562350b437d634a98f8f0c93ddee29f9ecc4f0544a7acd7df76d0cfba8d3f4", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling libc v0.2.135 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling itoa v1.0.4 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling serde_derive v1.0.147 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling serde v1.0.147 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling serde_json v1.0.87 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling openssl v0.10.42 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling schemars v0.8.11 [INFO] [stderr] Compiling tokio-openssl v0.6.3 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling openssl-sys v0.9.76 [INFO] [stderr] Compiling k8s-openapi v0.16.0 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling iana-time-zone v0.1.51 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling hyper-openssl v0.9.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling dyn-clone v1.0.9 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling linked_hash_set v0.1.4 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling zeroize v1.5.7 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling pem v1.1.0 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ahash v0.8.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling anyhow v1.0.66 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling darling_core v0.14.1 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling schemars_derive v0.8.11 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling darling_macro v0.14.1 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling darling v0.14.1 [INFO] [stderr] Compiling kube-derive v0.75.0 [INFO] [stderr] Compiling futures-executor v0.3.25 [INFO] [stderr] Compiling tower-http v0.3.4 [INFO] [stderr] Compiling futures v0.3.25 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling chrono v0.4.22 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling treediff v3.0.2 [INFO] [stderr] Compiling json-patch v0.2.6 [INFO] [stderr] Compiling jsonpath_lib v0.3.0 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling kube-core v0.75.0 [INFO] [stderr] Compiling kube-client v0.75.0 [INFO] [stderr] Compiling kube-runtime v0.75.0 [INFO] [stderr] Compiling kube v0.75.0 [INFO] [stderr] Compiling kubers v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/main.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `k8s_openapi::apiextensions_apiserver::pkg::apis::apiextensions::v1::CustomResourceDefinition` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use k8s_openapi::apiextensions_apiserver::pkg::apis::apiextensions::v1::CustomResourceDefinition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ApiResource`, `CustomResourceExt`, `DynamicObject`, `GroupVersionKind`, `PatchParams`, `Patch`, `WatchEvent`, `await_condition`, `conditions` [INFO] [stdout] --> src/main.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | Api, ApiResource, DeleteParams, DynamicObject, GroupVersionKind, ListParams, Patch, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] 7 | PatchParams, PostParams, WatchEvent, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | wait::{await_condition, conditions}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | Client, CustomResource, CustomResourceExt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rc::Rc` [INFO] [stdout] --> src/main.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | use std::{rc::Rc, sync::Arc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/main.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | struct KubeOperator { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 68 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `list_devices`, `create_device`, and `delete_device` are never used [INFO] [stdout] --> src/main.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 72 | impl KubeOperator { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub async fn list_devices(&self) -> Result, kube::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub async fn create_device(&self, device: &Device) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub async fn delete_device(&self, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 37.26s [INFO] running `Command { std: "docker" "inspect" "02562350b437d634a98f8f0c93ddee29f9ecc4f0544a7acd7df76d0cfba8d3f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02562350b437d634a98f8f0c93ddee29f9ecc4f0544a7acd7df76d0cfba8d3f4", kill_on_drop: false }` [INFO] [stdout] 02562350b437d634a98f8f0c93ddee29f9ecc4f0544a7acd7df76d0cfba8d3f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13939815825a41911c601e24c51cf86e6bf7ab62ce97c6132c24b669975f6e0e [INFO] running `Command { std: "docker" "start" "-a" "13939815825a41911c601e24c51cf86e6bf7ab62ce97c6132c24b669975f6e0e", kill_on_drop: false }` [INFO] [stderr] Compiling kubers v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/main.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `k8s_openapi::apiextensions_apiserver::pkg::apis::apiextensions::v1::CustomResourceDefinition` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use k8s_openapi::apiextensions_apiserver::pkg::apis::apiextensions::v1::CustomResourceDefinition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ApiResource`, `CustomResourceExt`, `DynamicObject`, `GroupVersionKind`, `PatchParams`, `Patch`, `WatchEvent`, `await_condition`, `conditions` [INFO] [stdout] --> src/main.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | Api, ApiResource, DeleteParams, DynamicObject, GroupVersionKind, ListParams, Patch, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] 7 | PatchParams, PostParams, WatchEvent, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | wait::{await_condition, conditions}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | Client, CustomResource, CustomResourceExt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rc::Rc` [INFO] [stdout] --> src/main.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | use std::{rc::Rc, sync::Arc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/main.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | struct KubeOperator { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 68 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `list_devices`, `create_device`, and `delete_device` are never used [INFO] [stdout] --> src/main.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 72 | impl KubeOperator { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub async fn list_devices(&self) -> Result, kube::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub async fn create_device(&self, device: &Device) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub async fn delete_device(&self, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.86s [INFO] running `Command { std: "docker" "inspect" "13939815825a41911c601e24c51cf86e6bf7ab62ce97c6132c24b669975f6e0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13939815825a41911c601e24c51cf86e6bf7ab62ce97c6132c24b669975f6e0e", kill_on_drop: false }` [INFO] [stdout] 13939815825a41911c601e24c51cf86e6bf7ab62ce97c6132c24b669975f6e0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 74f79b2e95ef28951b887629e735cd5054bcde410d48cf2931b6dc343469e823 [INFO] running `Command { std: "docker" "start" "-a" "74f79b2e95ef28951b887629e735cd5054bcde410d48cf2931b6dc343469e823", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `anyhow` [INFO] [stderr] --> src/main.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use anyhow::{anyhow, Result}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `StreamExt` [INFO] [stderr] --> src/main.rs:2:15 [INFO] [stderr] | [INFO] [stderr] 2 | use futures::{StreamExt, TryStreamExt}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `k8s_openapi::apiextensions_apiserver::pkg::apis::apiextensions::v1::CustomResourceDefinition` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use k8s_openapi::apiextensions_apiserver::pkg::apis::apiextensions::v1::CustomResourceDefinition; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ApiResource`, `CustomResourceExt`, `DynamicObject`, `GroupVersionKind`, `PatchParams`, `Patch`, `WatchEvent`, `await_condition`, `conditions` [INFO] [stderr] --> src/main.rs:6:14 [INFO] [stderr] | [INFO] [stderr] 6 | Api, ApiResource, DeleteParams, DynamicObject, GroupVersionKind, ListParams, Patch, [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stderr] 7 | PatchParams, PostParams, WatchEvent, [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 11 | wait::{await_condition, conditions}, [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 14 | Client, CustomResource, CustomResourceExt, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rc::Rc` [INFO] [stderr] --> src/main.rs:18:11 [INFO] [stderr] | [INFO] [stderr] 18 | use std::{rc::Rc, sync::Arc}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `client` is never read [INFO] [stderr] --> src/main.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 67 | struct KubeOperator { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 68 | client: Client, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `list_devices`, `create_device`, and `delete_device` are never used [INFO] [stderr] --> src/main.rs:79:18 [INFO] [stderr] | [INFO] [stderr] 72 | impl KubeOperator { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 79 | pub async fn list_devices(&self) -> Result, kube::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 83 | pub async fn create_device(&self, device: &Device) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 90 | pub async fn delete_device(&self, name: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `kubers` (bin "kubers" test) generated 7 warnings (run `cargo fix --bin "kubers" --tests` to apply 5 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/kubers-d3442a593acd3c92) [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" "74f79b2e95ef28951b887629e735cd5054bcde410d48cf2931b6dc343469e823", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74f79b2e95ef28951b887629e735cd5054bcde410d48cf2931b6dc343469e823", kill_on_drop: false }` [INFO] [stdout] 74f79b2e95ef28951b887629e735cd5054bcde410d48cf2931b6dc343469e823