[INFO] cloning repository https://github.com/equinor/gordo-controller [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/equinor/gordo-controller" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fequinor%2Fgordo-controller", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fequinor%2Fgordo-controller'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 82b8ffff7ab15d56fab5bc1edc0c6d5279d83296 [INFO] testing equinor/gordo-controller against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fequinor%2Fgordo-controller" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/equinor/gordo-controller on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/equinor/gordo-controller [INFO] finished tweaking git repo https://github.com/equinor/gordo-controller [INFO] tweaked toml for git repo https://github.com/equinor/gordo-controller written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/equinor/gordo-controller already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a072b9c7052e95f9375bd6247cf2cbecfc4b936e3d796d65493d005f6fd0d3f3 [INFO] running `Command { std: "docker" "start" "-a" "a072b9c7052e95f9375bd6247cf2cbecfc4b936e3d796d65493d005f6fd0d3f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a072b9c7052e95f9375bd6247cf2cbecfc4b936e3d796d65493d005f6fd0d3f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a072b9c7052e95f9375bd6247cf2cbecfc4b936e3d796d65493d005f6fd0d3f3", kill_on_drop: false }` [INFO] [stdout] a072b9c7052e95f9375bd6247cf2cbecfc4b936e3d796d65493d005f6fd0d3f3 [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 939f580c9eea1accfc06bc0b12f90572d212300ec14d6d16e18243e347285fe0 [INFO] running `Command { std: "docker" "start" "-a" "939f580c9eea1accfc06bc0b12f90572d212300ec14d6d16e18243e347285fe0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.12 [INFO] [stderr] Compiling log v0.4.10 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling pin-project-lite v0.1.1 [INFO] [stderr] Compiling arc-swap v0.4.4 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling smallvec v1.1.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling copyless v0.1.4 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling encoding_rs v0.8.20 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling mime v0.3.14 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling protobuf v2.17.0 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling k8s-openapi v0.7.1 [INFO] [stderr] Compiling prometheus v0.8.0 [INFO] [stderr] Compiling futures-timer v3.0.1 [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.9 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling bytestring v0.1.2 [INFO] [stderr] Compiling miniz_oxide v0.3.5 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling flate2 v1.0.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling unicode-normalization v0.1.9 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling async-compression v0.3.0 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling tokio-macros v0.2.4 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling pin-project-internal v0.4.6 [INFO] [stderr] Compiling derive_more v0.99.2 [INFO] [stderr] Compiling actix-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.22 [INFO] [stderr] Compiling enum-as-inner v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.10 [INFO] [stderr] Compiling actix-web-codegen v0.2.0 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling time-macros-impl v0.1.0 [INFO] [stderr] Compiling paste-impl v0.1.7 [INFO] [stderr] Compiling tokio v0.2.12 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.10 [INFO] [stderr] Compiling paste v0.1.7 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling time v0.2.6 [INFO] [stderr] Compiling pin-project v0.4.6 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling actix-threadpool v0.3.1 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling tokio-tls v0.3.0 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling actix-service v1.0.1 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling h2 v0.2.1 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling actix-rt v1.0.0 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-utils v1.0.4 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling actix-server v1.0.1 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-testing v1.0.0 [INFO] [stderr] Compiling hyper v0.13.1 [INFO] [stderr] Compiling actix-connect v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling serde-value v0.6.0 [INFO] [stderr] Compiling serde_yaml v0.8.11 [INFO] [stderr] Compiling envy v0.4.1 [INFO] [stderr] Compiling hyper-tls v0.4.0 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling reqwest v0.10.2 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling actix-web v2.0.0 [INFO] [stderr] Compiling actix-web-prom v0.2.0 [INFO] [stderr] Compiling kube v0.26.0 [INFO] [stderr] Compiling gordo-controller v0.6.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `kube::api::Void` [INFO] [stdout] --> src/deploy_job.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | pub status: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ownerReference` should have a snake case name [INFO] [stdout] --> src/crd/model/model.rs:104:7 [INFO] [stdout] | [INFO] [stdout] 104 | for ownerReference in &model.metadata.ownerReferences { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `owner_reference` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 29s [INFO] running `Command { std: "docker" "inspect" "939f580c9eea1accfc06bc0b12f90572d212300ec14d6d16e18243e347285fe0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "939f580c9eea1accfc06bc0b12f90572d212300ec14d6d16e18243e347285fe0", kill_on_drop: false }` [INFO] [stdout] 939f580c9eea1accfc06bc0b12f90572d212300ec14d6d16e18243e347285fe0 [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53111b29c0d12f5d26015e56f09507126e22888f5f9e5973d3f72be5b21c355a [INFO] running `Command { std: "docker" "start" "-a" "53111b29c0d12f5d26015e56f09507126e22888f5f9e5973d3f72be5b21c355a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling tokio-test v0.2.0 [INFO] [stdout] warning: use of deprecated type alias `kube::api::Void` [INFO] [stdout] --> src/deploy_job.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | pub status: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ownerReference` should have a snake case name [INFO] [stdout] --> src/crd/model/model.rs:104:7 [INFO] [stdout] | [INFO] [stdout] 104 | for ownerReference in &model.metadata.ownerReferences { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `owner_reference` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gordo-controller v0.6.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0601]: `main` function not found in crate `helpers` [INFO] [stdout] --> examples/helpers.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[macro_export] [INFO] [stdout] 2 | | macro_rules! wait_or_panic { [INFO] [stdout] 3 | | // Execute a block of code in a loop with 1 second waits up to 30 seconds total run time [INFO] [stdout] 4 | | // Use: wait_or_panic!({if 5 > 2 { break }}) [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `examples/helpers.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found keyword `let` [INFO] [stdout] --> examples/query_server.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 46 | assert!(body.contains("gordo_controller_http_requests_total")) [INFO] [stdout] | - expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] ... [INFO] [stdout] 49 | let gordo: Value = read_manifest("example-gordo.yaml"); [INFO] [stdout] | ^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gordo-controller` [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: unexpected token [INFO] [stdout] --> examples/query_server.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | let gordo: Value = read_manifest("example-gordo.yaml"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `failure::_core::time::Duration` [INFO] [stdout] --> examples/query_server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use failure::_core::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Gordo`, `Model`, `load_gordo_resource`, `load_kube_config`, `load_model_resource` [INFO] [stdout] --> examples/query_server.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | crd::gordo::{load_gordo_resource, Gordo}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] 4 | crd::model::{load_model_resource, Model}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] 5 | load_kube_config, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeleteParams`, `PostParams` [INFO] [stdout] --> examples/query_server.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use kube::api::{DeleteParams, PostParams}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kube::client::APIClient` [INFO] [stdout] --> examples/query_server.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use kube::client::APIClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `query_server` [INFO] [stdout] --> examples/query_server.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use failure::_core::time::Duration; [INFO] [stdout] 2 | | use gordo_controller::{ [INFO] [stdout] 3 | | crd::gordo::{load_gordo_resource, Gordo}, [INFO] [stdout] 4 | | crd::model::{load_model_resource, Model}, [INFO] [stdout] ... | [INFO] [stdout] 136 | | serde_yaml::from_str(&raw).unwrap() [INFO] [stdout] 137 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `examples/query_server.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kube::config` [INFO] [stdout] --> examples/apply_gordo.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use kube::config; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> examples/apply_gordo.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_yaml` [INFO] [stdout] --> examples/apply_gordo.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_yaml; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gordo_controller::crd::model::Model` [INFO] [stdout] --> examples/apply_gordo.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use gordo_controller::crd::model::Model; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `gordo::load_gordo_resource`, `model::load_model_resource` [INFO] [stdout] --> examples/apply_gordo.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use gordo_controller::crd::{gordo::load_gordo_resource, model::load_model_resource}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeleteParams`, `ListParams`, `PostParams` [INFO] [stdout] --> examples/apply_gordo.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use kube::api::{DeleteParams, ListParams, PostParams}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kube::client::APIClient` [INFO] [stdout] --> examples/apply_gordo.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use kube::client::APIClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `apply_gordo` [INFO] [stdout] --> examples/apply_gordo.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use kube::config; [INFO] [stdout] 2 | | use serde_json::Value; [INFO] [stdout] 3 | | use serde_yaml; [INFO] [stdout] 4 | | [INFO] [stdout] ... | [INFO] [stdout] 95 | | }); [INFO] [stdout] 96 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `examples/apply_gordo.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `kube::api::Void` [INFO] [stdout] --> src/deploy_job.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | pub status: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ownerReference` should have a snake case name [INFO] [stdout] --> src/crd/model/model.rs:104:7 [INFO] [stdout] | [INFO] [stdout] 104 | for ownerReference in &model.metadata.ownerReferences { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `owner_reference` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "53111b29c0d12f5d26015e56f09507126e22888f5f9e5973d3f72be5b21c355a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53111b29c0d12f5d26015e56f09507126e22888f5f9e5973d3f72be5b21c355a", kill_on_drop: false }` [INFO] [stdout] 53111b29c0d12f5d26015e56f09507126e22888f5f9e5973d3f72be5b21c355a