[INFO] cloning repository https://github.com/openkruise/client-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/openkruise/client-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fopenkruise%2Fclient-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fopenkruise%2Fclient-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5716338710e76e11b3a6ae3a03d8cc3bbe90278c [INFO] testing openkruise/client-rust against beta-2025-01-12 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fopenkruise%2Fclient-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/openkruise/client-rust on toolchain beta-2025-01-12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/openkruise/client-rust [INFO] finished tweaking git repo https://github.com/openkruise/client-rust [INFO] tweaked toml for git repo https://github.com/openkruise/client-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/openkruise/client-rust 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-2025-01-12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dyn-clone v1.0.13 [INFO] [stderr] Downloaded serde_yaml v0.9.25 [INFO] [stderr] Downloaded unsafe-libyaml v0.2.9 [INFO] [stderr] Downloaded kube-derive v0.85.0 [INFO] [stderr] Downloaded tokio-openssl v0.6.3 [INFO] [stderr] Downloaded hyper-openssl v0.9.2 [INFO] [stderr] Downloaded serde-value v0.7.0 [INFO] [stderr] Downloaded schemars v0.8.12 [INFO] [stderr] Downloaded openssl-sys v0.9.91 [INFO] [stderr] Downloaded kube-core v0.85.0 [INFO] [stderr] Downloaded base64 v0.21.3 [INFO] [stderr] Downloaded tower-http v0.4.3 [INFO] [stderr] Downloaded kube-client v0.85.0 [INFO] [stderr] Downloaded http-range-header v0.3.1 [INFO] [stderr] Downloaded kube v0.85.0 [INFO] [stderr] Downloaded serde_derive_internals v0.26.0 [INFO] [stderr] Downloaded schemars_derive v0.8.12 [INFO] [stderr] Downloaded jsonpath_lib v0.3.0 [INFO] [stderr] Downloaded openssl v0.10.56 [INFO] [stderr] Downloaded k8s-openapi v0.19.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93dc69e5339e843e95f98ceb3bf6193ea958f988f994a05049182cce0df38af2 [INFO] running `Command { std: "docker" "start" "-a" "93dc69e5339e843e95f98ceb3bf6193ea958f988f994a05049182cce0df38af2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93dc69e5339e843e95f98ceb3bf6193ea958f988f994a05049182cce0df38af2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93dc69e5339e843e95f98ceb3bf6193ea958f988f994a05049182cce0df38af2", kill_on_drop: false }` [INFO] [stdout] 93dc69e5339e843e95f98ceb3bf6193ea958f988f994a05049182cce0df38af2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f7b5a9d0b8acaddf34f6404eb9c900fa20da9d67176497441085db55a13472c [INFO] running `Command { std: "docker" "start" "-a" "7f7b5a9d0b8acaddf34f6404eb9c900fa20da9d67176497441085db55a13472c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling schemars v0.8.12 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling k8s-openapi v0.19.0 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling base64 v0.21.3 [INFO] [stderr] Compiling dyn-clone v1.0.13 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.9 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling schemars_derive v0.8.12 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling kube-derive v0.85.0 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling serde_yaml v0.9.25 [INFO] [stderr] Compiling kube-core v0.85.0 [INFO] [stderr] Compiling kube v0.85.0 [INFO] [stderr] Compiling openkruise v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.50s [INFO] running `Command { std: "docker" "inspect" "7f7b5a9d0b8acaddf34f6404eb9c900fa20da9d67176497441085db55a13472c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f7b5a9d0b8acaddf34f6404eb9c900fa20da9d67176497441085db55a13472c", kill_on_drop: false }` [INFO] [stdout] 7f7b5a9d0b8acaddf34f6404eb9c900fa20da9d67176497441085db55a13472c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e29d0340498c566b1b60f4c814a348b38b70cbfe792b1780476ee33a8c6d686b [INFO] running `Command { std: "docker" "start" "-a" "e29d0340498c566b1b60f4c814a348b38b70cbfe792b1780476ee33a8c6d686b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling openssl v0.10.56 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling tokio-openssl v0.6.3 [INFO] [stderr] Compiling base64 v0.21.3 [INFO] [stderr] Compiling hyper-openssl v0.9.2 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling zeroize v1.6.0 [INFO] [stderr] Compiling http-range-header v0.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling linked_hash_set v0.1.4 [INFO] [stderr] Compiling base64 v0.20.0 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.5.3 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling openssl-sys v0.9.91 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling uuid v1.4.1 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling tower-http v0.4.3 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling serde_yaml v0.9.25 [INFO] [stderr] Compiling schemars v0.8.12 [INFO] [stderr] Compiling jsonpath_lib v0.3.0 [INFO] [stderr] Compiling k8s-openapi v0.19.0 [INFO] [stderr] Compiling kube-core v0.85.0 [INFO] [stderr] Compiling kube-client v0.85.0 [INFO] [stderr] Compiling kube v0.85.0 [INFO] [stderr] Compiling openkruise v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `kube::CustomResourceExt` [INFO] [stdout] --> src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | use kube::CustomResourceExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/lib.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_kind_cluster` is never used [INFO] [stdout] --> src/lib.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn delete_kind_cluster(cluster_name: &str) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "e29d0340498c566b1b60f4c814a348b38b70cbfe792b1780476ee33a8c6d686b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e29d0340498c566b1b60f4c814a348b38b70cbfe792b1780476ee33a8c6d686b", kill_on_drop: false }` [INFO] [stdout] e29d0340498c566b1b60f4c814a348b38b70cbfe792b1780476ee33a8c6d686b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8db5dd93e73f2b62f6abbe7e5bba061acb779a0971b375ef32022aaea11ba78a [INFO] running `Command { std: "docker" "start" "-a" "8db5dd93e73f2b62f6abbe7e5bba061acb779a0971b375ef32022aaea11ba78a", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `kube::CustomResourceExt` [INFO] [stderr] --> src/lib.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | use kube::CustomResourceExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `uuid::Uuid` [INFO] [stderr] --> src/lib.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | use uuid::Uuid; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `delete_kind_cluster` is never used [INFO] [stderr] --> src/lib.rs:132:8 [INFO] [stderr] | [INFO] [stderr] 132 | fn delete_kind_cluster(cluster_name: &str) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `openkruise` (lib test) generated 3 warnings (run `cargo fix --lib -p openkruise --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/openkruise-de46d3ba14210c9b) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::deploy_sts ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::deploy_sts stdout ---- [INFO] [stdout] get kind kubeconfig from cluster:kind [INFO] [stdout] Error: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::deploy_sts [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "8db5dd93e73f2b62f6abbe7e5bba061acb779a0971b375ef32022aaea11ba78a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8db5dd93e73f2b62f6abbe7e5bba061acb779a0971b375ef32022aaea11ba78a", kill_on_drop: false }` [INFO] [stdout] 8db5dd93e73f2b62f6abbe7e5bba061acb779a0971b375ef32022aaea11ba78a