[INFO] fetching crate kube 0.30.0... [INFO] checking kube-0.30.0 against master#d939f708d960161d23b964309ba68ff207fc0ead for pr-70087 [INFO] extracting crate kube 0.30.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate kube 0.30.0 on toolchain d939f708d960161d23b964309ba68ff207fc0ead [INFO] running `"/workspace/cargo-home/bin/cargo" "+d939f708d960161d23b964309ba68ff207fc0ead" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate kube 0.30.0 [INFO] finished tweaking crates.io crate kube 0.30.0 [INFO] tweaked toml for crates.io crate kube 0.30.0 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate crates.io crate kube 0.30.0 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+d939f708d960161d23b964309ba68ff207fc0ead" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "/opt/rustwide/cargo-home/bin/cargo" "+d939f708d960161d23b964309ba68ff207fc0ead" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 0069e9ed138e048c38ee121534a567ea81dc3d61e363127932246ea648067769 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "0069e9ed138e048c38ee121534a567ea81dc3d61e363127932246ea648067769"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling k8s-openapi v0.7.1 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking async-compression v0.3.1 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Compiling time-macros-impl v0.1.0 [INFO] [stderr] Compiling time v0.2.9 [INFO] [stderr] Checking serde-value v0.6.0 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking tokio v0.2.13 [INFO] [stderr] Checking time-macros v0.1.0 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking tokio-tls v0.3.0 [INFO] [stderr] Checking h2 v0.2.2 [INFO] [stderr] Checking hyper v0.13.3 [INFO] [stderr] Checking hyper-tls v0.4.1 [INFO] [stderr] Checking reqwest v0.10.4 [INFO] [stderr] Checking kube v0.30.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `kube_derive` [INFO] [stderr] --> src/api/crds.rs:158:32 [INFO] [stderr] | [INFO] [stderr] 158 | #[derive(Clone, Debug, kube_derive::CustomResource, Deserialize, Serialize)] [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `kube_derive` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `kube` in this scope [INFO] [stderr] --> src/api/crds.rs:159:11 [INFO] [stderr] | [INFO] [stderr] 159 | #[kube(group = "clux.dev", version = "v1", namespaced)] [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Foo` in this scope [INFO] [stderr] --> src/api/crds.rs:165:21 [INFO] [stderr] | [INFO] [stderr] 156 | async fn convenient_custom_resource() { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 165 | let r1: Api = Api::namespaced(client.clone(), "myns"); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Foo` in this scope [INFO] [stderr] --> src/api/crds.rs:167:21 [INFO] [stderr] | [INFO] [stderr] 156 | async fn convenient_custom_resource() { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 167 | let r2: Api = CustomResource::kind("Foo") [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0463]: can't find crate for `kube_derive` [INFO] [stderr] --> examples/crd_reflector.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 3 | #[macro_use] extern crate kube_derive; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0463`. [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] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [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] [stderr] error[E0432]: unresolved import `kube_derive` [INFO] [stderr] --> examples/crd_derive.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use kube_derive::CustomResource; [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `kube_derive` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the derive macro `CustomResource` [INFO] [stderr] --> examples/crd_derive.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(CustomResource, Serialize, Deserialize, Debug, Clone)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `kube` in this scope [INFO] [stderr] --> examples/crd_derive.rs:9:3 [INFO] [stderr] | [INFO] [stderr] 9 | #[kube(group = "clux.dev", version = "v1", kind = "Foo", namespaced)] [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `kube` in this scope [INFO] [stderr] --> examples/crd_derive.rs:10:3 [INFO] [stderr] | [INFO] [stderr] 10 | #[kube(status = "FooStatus")] [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `kube` in this scope [INFO] [stderr] --> examples/crd_derive.rs:11:3 [INFO] [stderr] | [INFO] [stderr] 11 | #[kube(scale = r#"{"specReplicasPath":".spec.replicas", "statusReplicasPath":".status.replicas"}"#)] [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `kube` in this scope [INFO] [stderr] --> examples/crd_derive.rs:12:3 [INFO] [stderr] | [INFO] [stderr] 12 | #[kube( [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Foo` [INFO] [stderr] --> examples/crd_derive.rs:26:25 [INFO] [stderr] | [INFO] [stderr] 26 | println!("Kind {}", Foo::KIND); [INFO] [stderr] | ^^^ use of undeclared type or module `Foo` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Foo` [INFO] [stderr] --> examples/crd_derive.rs:27:19 [INFO] [stderr] | [INFO] [stderr] 27 | let mut foo = Foo::new("hi", MyFoo { [INFO] [stderr] | ^^^ use of undeclared type or module `Foo` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Foo` [INFO] [stderr] --> examples/crd_derive.rs:33:31 [INFO] [stderr] | [INFO] [stderr] 33 | println!("Foo CRD: {:?}", Foo::crd()); [INFO] [stderr] | ^^^ use of undeclared type or module `Foo` [INFO] [stderr] [INFO] [stderr] warning: unused import: `k8s_openapi::Resource` [INFO] [stderr] --> examples/crd_derive.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use k8s_openapi::Resource; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [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] [stderr] error[E0432]: unresolved import `kube_derive` [INFO] [stderr] --> examples/crd_api.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use kube_derive::CustomResource; [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `kube_derive` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the derive macro `CustomResource` [INFO] [stderr] --> examples/crd_api.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(CustomResource, Deserialize, Serialize, Clone, Debug)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `kube` in this scope [INFO] [stderr] --> examples/crd_api.rs:18:3 [INFO] [stderr] | [INFO] [stderr] 18 | #[kube(group = "clux.dev", version = "v1", namespaced)] [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `kube` in this scope [INFO] [stderr] --> examples/crd_api.rs:19:3 [INFO] [stderr] | [INFO] [stderr] 19 | #[kube(apiextensions = "v1beta1")] [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `kube` in this scope [INFO] [stderr] --> examples/crd_api.rs:20:3 [INFO] [stderr] | [INFO] [stderr] 20 | #[kube(status = "FooStatus")] [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `kube` in this scope [INFO] [stderr] --> examples/crd_api.rs:21:3 [INFO] [stderr] | [INFO] [stderr] 21 | #[kube(scale = r#"{"specReplicasPath":".spec.replicas", "statusReplicasPath":".status.replicas"}"#)] [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `kube` in this scope [INFO] [stderr] --> examples/crd_api.rs:22:3 [INFO] [stderr] | [INFO] [stderr] 22 | #[kube(printcolumn = r#"{"name":"Team", "jsonPath": ".spec.metadata.team", "type": "string"}"#)] [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Foo` [INFO] [stderr] --> examples/crd_api.rs:67:18 [INFO] [stderr] | [INFO] [stderr] 67 | let foocrd = Foo::crd(); [INFO] [stderr] | ^^^ use of undeclared type or module `Foo` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Foo` [INFO] [stderr] --> examples/crd_api.rs:86:14 [INFO] [stderr] | [INFO] [stderr] 86 | let f1 = Foo::new("baz", FooSpec { [INFO] [stderr] | ^^^ use of undeclared type or module `Foo` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Foo` [INFO] [stderr] --> examples/crd_api.rs:125:18 [INFO] [stderr] | [INFO] [stderr] 125 | let mut f2 = Foo::new("qux", FooSpec { [INFO] [stderr] | ^^^ use of undeclared type or module `Foo` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Foo` in this scope [INFO] [stderr] --> examples/crd_api.rs:82:19 [INFO] [stderr] | [INFO] [stderr] 82 | let foos: Api = Api::namespaced(client.clone(), &namespace); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Foo` in this scope [INFO] [stderr] --> examples/crd_api.rs:102:22 [INFO] [stderr] | [INFO] [stderr] 102 | let foo_replace: Foo = serde_json::from_value(json!({ [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 12 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `kube`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "0069e9ed138e048c38ee121534a567ea81dc3d61e363127932246ea648067769"` [INFO] running `"docker" "rm" "-f" "0069e9ed138e048c38ee121534a567ea81dc3d61e363127932246ea648067769"` [INFO] [stdout] 0069e9ed138e048c38ee121534a567ea81dc3d61e363127932246ea648067769