[INFO] fetching crate kube 0.32.1... [INFO] checking kube-0.32.1 against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] extracting crate kube 0.32.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate kube 0.32.1 on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate kube 0.32.1 [INFO] finished tweaking crates.io crate kube 0.32.1 [INFO] tweaked toml for crates.io crate kube 0.32.1 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate crates.io crate kube 0.32.1 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 3ee1ddfb3dccfaee027dafdcd8a57a1b7b6f76be4f24cac24c2b013e0237907e [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" "3ee1ddfb3dccfaee027dafdcd8a57a1b7b6f76be4f24cac24c2b013e0237907e"` [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking arc-swap v0.4.5 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Compiling standback v0.2.2 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Compiling k8s-openapi v0.7.1 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling anyhow v1.0.28 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking encoding_rs v0.8.22 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking async-compression v0.3.2 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking num-integer v0.1.42 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking regex v1.3.6 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.9 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling time-macros-impl v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.15 [INFO] [stderr] Checking time-macros v0.1.0 [INFO] [stderr] Checking tokio v0.2.18 [INFO] [stderr] Compiling time v0.2.9 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking thiserror v1.0.15 [INFO] [stderr] Checking pin-project v0.4.9 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.0 [INFO] [stderr] Checking h2 v0.2.4 [INFO] [stderr] Checking serde v1.0.106 [INFO] [stderr] Checking hyper v0.13.4 [INFO] [stderr] Checking hyper-tls v0.4.1 [INFO] [stderr] Checking serde_json v1.0.51 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking serde-value v0.6.0 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking serde_yaml v0.8.11 [INFO] [stderr] Checking reqwest v0.10.4 [INFO] [stderr] Checking kube v0.32.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `kube_derive` [INFO] [stderr] --> src/api/crds.rs:165:32 [INFO] [stderr] | [INFO] [stderr] 165 | #[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:166:11 [INFO] [stderr] | [INFO] [stderr] 166 | #[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:171:21 [INFO] [stderr] | [INFO] [stderr] 162 | async fn convenient_custom_resource() { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 171 | let a1: 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:173:21 [INFO] [stderr] | [INFO] [stderr] 162 | async fn convenient_custom_resource() { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 173 | let a2: Api = CustomResource::kind("Foo") [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [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_apply.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_apply.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[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_apply.rs:19:3 [INFO] [stderr] | [INFO] [stderr] 19 | #[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_apply.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_apply.rs:21:3 [INFO] [stderr] | [INFO] [stderr] 21 | #[kube(apiextensions = "v1beta1")] // remove this if using Kubernetes >= 1.17 [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `kube` in this scope [INFO] [stderr] --> examples/crd_apply.rs:22:3 [INFO] [stderr] | [INFO] [stderr] 22 | #[kube(scale = r#"{"specReplicasPath":".spec.replicas", "statusReplicasPath":".status.replicas"}"#)] [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Foo` [INFO] [stderr] --> examples/crd_apply.rs:53:54 [INFO] [stderr] | [INFO] [stderr] 53 | info!("Creating crd: {}", serde_yaml::to_string(&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_apply.rs:55:63 [INFO] [stderr] | [INFO] [stderr] 55 | .patch("foos.clux.dev", &ssapply, serde_yaml::to_vec(&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_apply.rs:71:15 [INFO] [stderr] | [INFO] [stderr] 71 | let foo = Foo::new("baz", 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_apply.rs:68:19 [INFO] [stderr] | [INFO] [stderr] 68 | let foos: Api = Api::namespaced(client.clone(), &namespace); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `kube_derive` [INFO] [stderr] --> examples/crd_reflector.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_reflector.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[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_reflector.rs:12:3 [INFO] [stderr] | [INFO] [stderr] 12 | #[kube(group = "clux.dev", version = "v1", namespaced)] [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Foo` in this scope [INFO] [stderr] --> examples/crd_reflector.rs:26:19 [INFO] [stderr] | [INFO] [stderr] 26 | let foos: Api = Api::namespaced(client, &namespace); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [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:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[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:19:3 [INFO] [stderr] | [INFO] [stderr] 19 | #[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:20:3 [INFO] [stderr] | [INFO] [stderr] 20 | #[kube(apiextensions = "v1beta1")] [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(status = "FooStatus")] [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(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:23:3 [INFO] [stderr] | [INFO] [stderr] 23 | #[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:66:18 [INFO] [stderr] | [INFO] [stderr] 66 | 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:124:18 [INFO] [stderr] | [INFO] [stderr] 124 | 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 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432. [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: aborting due to 10 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] [stderr] warning: build failed, waiting for other jobs to finish... [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" "3ee1ddfb3dccfaee027dafdcd8a57a1b7b6f76be4f24cac24c2b013e0237907e"` [INFO] running `"docker" "rm" "-f" "3ee1ddfb3dccfaee027dafdcd8a57a1b7b6f76be4f24cac24c2b013e0237907e"` [INFO] [stdout] 3ee1ddfb3dccfaee027dafdcd8a57a1b7b6f76be4f24cac24c2b013e0237907e