[INFO] cloning repository https://github.com/aria3ppp/rust-operator-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aria3ppp/rust-operator-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faria3ppp%2Frust-operator-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faria3ppp%2Frust-operator-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b579e27108c6946ad1e7842fd7c426c99a89843f [INFO] building aria3ppp/rust-operator-demo against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faria3ppp%2Frust-operator-demo" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aria3ppp/rust-operator-demo [INFO] finished tweaking git repo https://github.com/aria3ppp/rust-operator-demo [INFO] tweaked toml for git repo https://github.com/aria3ppp/rust-operator-demo written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aria3ppp/rust-operator-demo 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/aria3ppp/rust-operator-demo 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 serde_derive_internals v0.26.0 [INFO] [stderr] Downloaded kube-runtime v0.77.0 [INFO] [stderr] Downloaded kube-derive v0.77.0 [INFO] [stderr] Downloaded linked_hash_set v0.1.4 [INFO] [stderr] Downloaded treediff v4.0.3 [INFO] [stderr] Downloaded serde v1.0.199 [INFO] [stderr] Downloaded kube-core v0.77.0 [INFO] [stderr] Downloaded serde_derive v1.0.199 [INFO] [stderr] Downloaded tokio-openssl v0.6.4 [INFO] [stderr] Downloaded hyper-openssl v0.9.2 [INFO] [stderr] Downloaded json-patch v0.3.0 [INFO] [stderr] Downloaded kube-client v0.77.0 [INFO] [stderr] Downloaded kube v0.77.0 [INFO] [stderr] Downloaded schemars_derive v0.8.16 [INFO] [stderr] Downloaded schemars v0.8.16 [INFO] [stderr] Downloaded jsonpath_lib v0.3.0 [INFO] [stderr] Downloaded k8s-openapi v0.16.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 418c490c6c69b686cafb0aa66a9ec92f1dc6be16730cd4aabeb71cce284fcfa6 [INFO] running `Command { std: "docker" "start" "-a" "418c490c6c69b686cafb0aa66a9ec92f1dc6be16730cd4aabeb71cce284fcfa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "418c490c6c69b686cafb0aa66a9ec92f1dc6be16730cd4aabeb71cce284fcfa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "418c490c6c69b686cafb0aa66a9ec92f1dc6be16730cd4aabeb71cce284fcfa6", kill_on_drop: false }` [INFO] [stdout] 418c490c6c69b686cafb0aa66a9ec92f1dc6be16730cd4aabeb71cce284fcfa6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 9b57f5c4f28af17ff8dea328f9cc6397d5b00f7a2f51498afa69979884817550 [INFO] running `Command { std: "docker" "start" "-a" "9b57f5c4f28af17ff8dea328f9cc6397d5b00f7a2f51498afa69979884817550", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling tokio-openssl v0.6.4 [INFO] [stderr] Compiling schemars v0.8.16 [INFO] [stderr] Compiling k8s-openapi v0.16.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling hyper-openssl v0.9.2 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling linked_hash_set v0.1.4 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.199 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling schemars_derive v0.8.16 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling kube-derive v0.77.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling tower-http v0.3.5 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling treediff v4.0.3 [INFO] [stderr] Compiling json-patch v0.3.0 [INFO] [stderr] Compiling jsonpath_lib v0.3.0 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling kube-core v0.77.0 [INFO] [stderr] Compiling kube-client v0.77.0 [INFO] [stderr] Compiling kube-runtime v0.77.0 [INFO] [stderr] Compiling kube v0.77.0 [INFO] [stderr] Compiling rust-operator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:89:72 [INFO] [stdout] | [INFO] [stdout] 89 | let tt = topologies.patch("default", &top_apply, &Patch::Apply((&Topology::new("default", spec)))).await?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 89 - let tt = topologies.patch("default", &top_apply, &Patch::Apply((&Topology::new("default", spec)))).await?; [INFO] [stdout] 89 + let tt = topologies.patch("default", &top_apply, &Patch::Apply(&Topology::new("default", spec))).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tt` [INFO] [stdout] --> src/main.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let tt = topologies.patch("default", &top_apply, &Patch::Apply((&Topology::new("default", spec)))).await?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `crdName` should have an upper case name [INFO] [stdout] --> src/main.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | const crdName: &str = "topologies.aria3ppp.ir"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 37 - const crdName: &str = "topologies.aria3ppp.ir"; [INFO] [stdout] 37 + const CRD_NAME: &str = "topologies.aria3ppp.ir"; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "9b57f5c4f28af17ff8dea328f9cc6397d5b00f7a2f51498afa69979884817550", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b57f5c4f28af17ff8dea328f9cc6397d5b00f7a2f51498afa69979884817550", kill_on_drop: false }` [INFO] [stdout] 9b57f5c4f28af17ff8dea328f9cc6397d5b00f7a2f51498afa69979884817550 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] dbb96adf9f93baefc5d5099d2647030c22365a81dd347f32d1ffa4f4628e8d39 [INFO] running `Command { std: "docker" "start" "-a" "dbb96adf9f93baefc5d5099d2647030c22365a81dd347f32d1ffa4f4628e8d39", kill_on_drop: false }` [INFO] [stderr] Compiling rust-operator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:89:72 [INFO] [stdout] | [INFO] [stdout] 89 | let tt = topologies.patch("default", &top_apply, &Patch::Apply((&Topology::new("default", spec)))).await?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 89 - let tt = topologies.patch("default", &top_apply, &Patch::Apply((&Topology::new("default", spec)))).await?; [INFO] [stdout] 89 + let tt = topologies.patch("default", &top_apply, &Patch::Apply(&Topology::new("default", spec))).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tt` [INFO] [stdout] --> src/main.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let tt = topologies.patch("default", &top_apply, &Patch::Apply((&Topology::new("default", spec)))).await?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `crdName` should have an upper case name [INFO] [stdout] --> src/main.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | const crdName: &str = "topologies.aria3ppp.ir"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 37 - const crdName: &str = "topologies.aria3ppp.ir"; [INFO] [stdout] 37 + const CRD_NAME: &str = "topologies.aria3ppp.ir"; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "dbb96adf9f93baefc5d5099d2647030c22365a81dd347f32d1ffa4f4628e8d39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbb96adf9f93baefc5d5099d2647030c22365a81dd347f32d1ffa4f4628e8d39", kill_on_drop: false }` [INFO] [stdout] dbb96adf9f93baefc5d5099d2647030c22365a81dd347f32d1ffa4f4628e8d39