[INFO] crate kube 0.35.1 is already in cache [INFO] testing kube-0.35.1 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate kube 0.35.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate kube 0.35.1 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate kube 0.35.1 [INFO] finished tweaking crates.io crate kube 0.35.1 [INFO] tweaked toml for crates.io crate kube 0.35.1 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate kube 0.35.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10a3fbef77c95d94a8d0b6f301d1f6e6af8755fb0f1f3ff5f5e7d4b32661692d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "10a3fbef77c95d94a8d0b6f301d1f6e6af8755fb0f1f3ff5f5e7d4b32661692d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10a3fbef77c95d94a8d0b6f301d1f6e6af8755fb0f1f3ff5f5e7d4b32661692d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10a3fbef77c95d94a8d0b6f301d1f6e6af8755fb0f1f3ff5f5e7d4b32661692d", kill_on_drop: false }` [INFO] [stdout] 10a3fbef77c95d94a8d0b6f301d1f6e6af8755fb0f1f3ff5f5e7d4b32661692d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e59fe5c4f4adc68a2a1b56170b9bd500c50366c15f00362a9c34777ef6cdf03f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e59fe5c4f4adc68a2a1b56170b9bd500c50366c15f00362a9c34777ef6cdf03f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling serde v1.0.112 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Compiling base64 v0.12.2 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling k8s-openapi v0.8.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling yaml-rust v0.4.4 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling async-compression v0.3.4 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling pem v0.8.1 [INFO] [stderr] Compiling serde_derive v1.0.112 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling hyper v0.13.6 [INFO] [stderr] Compiling serde-value v0.6.0 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_yaml v0.8.13 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling reqwest v0.10.6 [INFO] [stderr] Compiling kube v0.35.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 23s [INFO] running `Command { std: "docker" "inspect" "e59fe5c4f4adc68a2a1b56170b9bd500c50366c15f00362a9c34777ef6cdf03f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e59fe5c4f4adc68a2a1b56170b9bd500c50366c15f00362a9c34777ef6cdf03f", kill_on_drop: false }` [INFO] [stdout] e59fe5c4f4adc68a2a1b56170b9bd500c50366c15f00362a9c34777ef6cdf03f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2ffea3d22854972024159d72e782e3fd03dcaee134cb1b789715577b5db71b3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d2ffea3d22854972024159d72e782e3fd03dcaee134cb1b789715577b5db71b3", kill_on_drop: false }` [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling kube v0.35.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `kube_derive` [INFO] [stdout] --> examples/crd_reflector.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use kube_derive::CustomResource; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `kube_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `CustomResource` [INFO] [stdout] --> examples/crd_reflector.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(CustomResource, Deserialize, Serialize, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `kube` in this scope [INFO] [stdout] --> examples/crd_reflector.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[kube(group = "clux.dev", version = "v1", namespaced)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope [INFO] [stdout] --> examples/crd_reflector.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | let foos: Api = Api::namespaced(client, &namespace); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `kube_derive` [INFO] [stdout] --> examples/crd_apply.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use kube_derive::CustomResource; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `kube_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `CustomResource` [INFO] [stdout] --> examples/crd_apply.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(CustomResource, Deserialize, Serialize, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `kube` in this scope [INFO] [stdout] --> examples/crd_apply.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[kube(group = "clux.dev", version = "v1", namespaced)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `kube` in this scope [INFO] [stdout] --> examples/crd_apply.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[kube(status = "FooStatus")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `kube` in this scope [INFO] [stdout] --> examples/crd_apply.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[kube(apiextensions = "v1beta1")] // remove this if using Kubernetes >= 1.17 [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `kube` in this scope [INFO] [stdout] --> examples/crd_apply.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[kube(scale = r#"{"specReplicasPath":".spec.replicas", "statusReplicasPath":".status.replicas"}"#)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Foo` [INFO] [stdout] --> examples/crd_apply.rs:53:54 [INFO] [stdout] | [INFO] [stdout] 53 | info!("Creating crd: {}", serde_yaml::to_string(&Foo::crd())?); [INFO] [stdout] | ^^^ use of undeclared type or module `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kube`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Foo` [INFO] [stdout] --> examples/crd_apply.rs:55:63 [INFO] [stdout] | [INFO] [stdout] 55 | .patch("foos.clux.dev", &ssapply, serde_yaml::to_vec(&Foo::crd())?) [INFO] [stdout] | ^^^ use of undeclared type or module `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Foo` [INFO] [stdout] --> examples/crd_apply.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | let foo = Foo::new("baz", FooSpec { [INFO] [stdout] | ^^^ use of undeclared type or module `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope [INFO] [stdout] --> examples/crd_apply.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | let foos: Api = Api::namespaced(client.clone(), &namespace); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `kube_derive` [INFO] [stdout] --> examples/crd_derive.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use kube_derive::CustomResource; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `kube_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `CustomResource` [INFO] [stdout] --> examples/crd_derive.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(CustomResource, Serialize, Deserialize, Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `kube` in this scope [INFO] [stdout] --> examples/crd_derive.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[kube( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Foo` [INFO] [stdout] --> examples/crd_derive.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | println!("Kind {}", Foo::KIND); [INFO] [stdout] | ^^^ use of undeclared type or module `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Foo` [INFO] [stdout] --> examples/crd_derive.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | let mut foo = Foo::new("hi", MyFoo { [INFO] [stdout] | ^^^ use of undeclared type or module `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Foo` [INFO] [stdout] --> examples/crd_derive.rs:39:45 [INFO] [stdout] | [INFO] [stdout] 39 | let crd = serde_json::to_string_pretty(&Foo::crd()).unwrap(); [INFO] [stdout] | ^^^ use of undeclared type or module `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `k8s_openapi::Resource` [INFO] [stdout] --> examples/crd_derive.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use k8s_openapi::Resource; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `kube_derive` [INFO] [stdout] --> examples/crd_api.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use kube_derive::CustomResource; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `kube_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `CustomResource` [INFO] [stdout] --> examples/crd_api.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(CustomResource, Deserialize, Serialize, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `kube` in this scope [INFO] [stdout] --> examples/crd_api.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[kube(group = "clux.dev", version = "v1", namespaced)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `kube` in this scope [INFO] [stdout] --> examples/crd_api.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[kube(apiextensions = "v1beta1")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `kube` in this scope [INFO] [stdout] --> examples/crd_api.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[kube(status = "FooStatus")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `kube` in this scope [INFO] [stdout] --> examples/crd_api.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[kube(scale = r#"{"specReplicasPath":".spec.replicas", "statusReplicasPath":".status.replicas"}"#)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `kube` in this scope [INFO] [stdout] --> examples/crd_api.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | #[kube(printcolumn = r#"{"name":"Team", "jsonPath": ".spec.metadata.team", "type": "string"}"#)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Foo` [INFO] [stdout] --> examples/crd_api.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | let foocrd = Foo::crd(); [INFO] [stdout] | ^^^ use of undeclared type or module `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Foo` [INFO] [stdout] --> examples/crd_api.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | let f1 = Foo::new("baz", FooSpec { [INFO] [stdout] | ^^^ use of undeclared type or module `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Foo` [INFO] [stdout] --> examples/crd_api.rs:124:18 [INFO] [stdout] | [INFO] [stdout] 124 | let mut f2 = Foo::new("qux", FooSpec { [INFO] [stdout] | ^^^ use of undeclared type or module `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope [INFO] [stdout] --> examples/crd_api.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | let foos: Api = Api::namespaced(client.clone(), &namespace); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope [INFO] [stdout] --> examples/crd_api.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | let foo_replace: Foo = serde_json::from_value(json!({ [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `kube_derive` [INFO] [stdout] --> src/api/crds.rs:165:32 [INFO] [stdout] | [INFO] [stdout] 165 | #[derive(Clone, Debug, kube_derive::CustomResource, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `kube_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `kube` in this scope [INFO] [stdout] --> src/api/crds.rs:166:11 [INFO] [stdout] | [INFO] [stdout] 166 | #[kube(group = "clux.dev", version = "v1", namespaced)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope [INFO] [stdout] --> src/api/crds.rs:171:21 [INFO] [stdout] | [INFO] [stdout] 162 | async fn convenient_custom_resource() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 171 | let a1: Api = Api::namespaced(client.clone(), "myns"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope [INFO] [stdout] --> src/api/crds.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 162 | async fn convenient_custom_resource() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 173 | let a2: Api = CustomResource::kind("Foo") [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d2ffea3d22854972024159d72e782e3fd03dcaee134cb1b789715577b5db71b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2ffea3d22854972024159d72e782e3fd03dcaee134cb1b789715577b5db71b3", kill_on_drop: false }` [INFO] [stdout] d2ffea3d22854972024159d72e782e3fd03dcaee134cb1b789715577b5db71b3