[INFO] cloning repository https://github.com/marcuspat/k8s-netinspect [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marcuspat/k8s-netinspect" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcuspat%2Fk8s-netinspect", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcuspat%2Fk8s-netinspect'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a4c4b5f17e9cad1c7fd854045449e6fb8af132f4 [INFO] building marcuspat/k8s-netinspect against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcuspat%2Fk8s-netinspect" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/marcuspat/k8s-netinspect [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/marcuspat/k8s-netinspect [INFO] tweaked toml for git repo https://github.com/marcuspat/k8s-netinspect written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/marcuspat/k8s-netinspect on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/marcuspat/k8s-netinspect 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_syscall v0.5.15 [INFO] [stderr] Downloaded http-range-header v0.3.1 [INFO] [stderr] Downloaded kube v0.87.2 [INFO] [stderr] Downloaded serde-value v0.7.0 [INFO] [stderr] Downloaded tokio-io-timeout v1.2.1 [INFO] [stderr] Downloaded hyper-timeout v0.4.1 [INFO] [stderr] Downloaded json-patch v1.4.0 [INFO] [stderr] Downloaded jsonpath-rust v0.3.5 [INFO] [stderr] Downloaded kube-core v0.87.2 [INFO] [stderr] Downloaded colored v2.2.0 [INFO] [stderr] Downloaded tower-http v0.4.4 [INFO] [stderr] Downloaded h2 v0.3.27 [INFO] [stderr] Downloaded kube-client v0.87.2 [INFO] [stderr] Downloaded hyper v0.14.32 [INFO] [stderr] Downloaded kube-runtime v0.87.2 [INFO] [stderr] Downloaded axum v0.7.9 [INFO] [stderr] Downloaded unsafe-libyaml v0.2.11 [INFO] [stderr] Downloaded serde_yaml v0.9.34+deprecated [INFO] [stderr] Downloaded k8s-openapi v0.20.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9bc6f326b5cb3e50bc3bf618c5cb013360e8760489928c9034353faa16501fda [INFO] running `Command { std: "docker" "start" "-a" "9bc6f326b5cb3e50bc3bf618c5cb013360e8760489928c9034353faa16501fda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bc6f326b5cb3e50bc3bf618c5cb013360e8760489928c9034353faa16501fda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bc6f326b5cb3e50bc3bf618c5cb013360e8760489928c9034353faa16501fda", kill_on_drop: false }` [INFO] [stdout] 9bc6f326b5cb3e50bc3bf618c5cb013360e8760489928c9034353faa16501fda [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc69a7fdb3b57669741d949fbe259745da8e4d373fdc1d205593aea55efa3da4 [INFO] running `Command { std: "docker" "start" "-a" "cc69a7fdb3b57669741d949fbe259745da8e4d373fdc1d205593aea55efa3da4", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling k8s-openapi v0.20.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling tokio-io-timeout v1.2.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling http-range-header v0.3.1 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling json-patch v1.4.0 [INFO] [stderr] Compiling jsonpath-rust v0.3.5 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tower-http v0.4.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling kube-core v0.87.2 [INFO] [stderr] Compiling kube-client v0.87.2 [INFO] [stderr] Compiling kube-runtime v0.87.2 [INFO] [stderr] Compiling kube v0.87.2 [INFO] [stderr] Compiling k8s-netinspect v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Endpoints` [INFO] [stdout] --> src/validation.rs:311:62 [INFO] [stdout] | [INFO] [stdout] 311 | use k8s_openapi::api::core::v1::{Pod, Node, Service, Endpoints, Namespace}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_connectivity_quick` is never used [INFO] [stdout] --> src/commands/mod.rs:314:10 [INFO] [stdout] | [INFO] [stdout] 314 | async fn test_connectivity_quick(pod_ip: &str) -> NetInspectResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Endpoints` [INFO] [stdout] --> src/validation.rs:311:62 [INFO] [stdout] | [INFO] [stdout] 311 | use k8s_openapi::api::core::v1::{Pod, Node, Service, Endpoints, Namespace}; [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: `errors::NetInspectError` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use errors::NetInspectError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_connectivity_quick` is never used [INFO] [stdout] --> src/commands/mod.rs:314:10 [INFO] [stdout] | [INFO] [stdout] 314 | async fn test_connectivity_quick(pod_ip: &str) -> NetInspectResult<()> { [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 `validate_specific_permission` and `generate_rbac_setup_script` are never used [INFO] [stdout] --> src/validation.rs:305:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl Validator { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 305 | pub async fn validate_specific_permission( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 486 | pub fn generate_rbac_setup_script(service_account: &str, namespace: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.97s [INFO] running `Command { std: "docker" "inspect" "cc69a7fdb3b57669741d949fbe259745da8e4d373fdc1d205593aea55efa3da4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc69a7fdb3b57669741d949fbe259745da8e4d373fdc1d205593aea55efa3da4", kill_on_drop: false }` [INFO] [stdout] cc69a7fdb3b57669741d949fbe259745da8e4d373fdc1d205593aea55efa3da4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4742f21c20c77e8abb5b4de0681e66ea591d27a608e4402717a343e0e33672cf [INFO] running `Command { std: "docker" "start" "-a" "4742f21c20c77e8abb5b4de0681e66ea591d27a608e4402717a343e0e33672cf", kill_on_drop: false }` [INFO] [stderr] Compiling k8s-netinspect v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Endpoints` [INFO] [stdout] --> src/validation.rs:311:62 [INFO] [stdout] | [INFO] [stdout] 311 | use k8s_openapi::api::core::v1::{Pod, Node, Service, Endpoints, Namespace}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_connectivity_quick` is never used [INFO] [stdout] --> src/commands/mod.rs:314:10 [INFO] [stdout] | [INFO] [stdout] 314 | async fn test_connectivity_quick(pod_ip: &str) -> NetInspectResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Endpoints` [INFO] [stdout] --> src/validation.rs:311:62 [INFO] [stdout] | [INFO] [stdout] 311 | use k8s_openapi::api::core::v1::{Pod, Node, Service, Endpoints, Namespace}; [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: `errors::NetInspectError` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use errors::NetInspectError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_connectivity_quick` is never used [INFO] [stdout] --> src/commands/mod.rs:314:10 [INFO] [stdout] | [INFO] [stdout] 314 | async fn test_connectivity_quick(pod_ip: &str) -> NetInspectResult<()> { [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 `validate_specific_permission` and `generate_rbac_setup_script` are never used [INFO] [stdout] --> src/validation.rs:305:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl Validator { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 305 | pub async fn validate_specific_permission( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 486 | pub fn generate_rbac_setup_script(service_account: &str, namespace: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Endpoints` [INFO] [stdout] --> src/validation.rs:311:62 [INFO] [stdout] | [INFO] [stdout] 311 | use k8s_openapi::api::core::v1::{Pod, Node, Service, Endpoints, Namespace}; [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: `errors::NetInspectError` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use errors::NetInspectError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Endpoints` [INFO] [stdout] --> src/validation.rs:311:62 [INFO] [stdout] | [INFO] [stdout] 311 | use k8s_openapi::api::core::v1::{Pod, Node, Service, Endpoints, Namespace}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_connectivity_quick` is never used [INFO] [stdout] --> src/commands/mod.rs:314:10 [INFO] [stdout] | [INFO] [stdout] 314 | async fn test_connectivity_quick(pod_ip: &str) -> NetInspectResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_connectivity_quick` is never used [INFO] [stdout] --> src/commands/mod.rs:314:10 [INFO] [stdout] | [INFO] [stdout] 314 | async fn test_connectivity_quick(pod_ip: &str) -> NetInspectResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9.10s [INFO] running `Command { std: "docker" "inspect" "4742f21c20c77e8abb5b4de0681e66ea591d27a608e4402717a343e0e33672cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4742f21c20c77e8abb5b4de0681e66ea591d27a608e4402717a343e0e33672cf", kill_on_drop: false }` [INFO] [stdout] 4742f21c20c77e8abb5b4de0681e66ea591d27a608e4402717a343e0e33672cf