[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] f455541e478ce7905b2aa0f2ed1956916eb71c05 [INFO] checking equinor/gordo-controller against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fequinor%2Fgordo-controller" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/equinor/gordo-controller on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-1/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 865395ee8593605bd651ae9af5bc8291ca3dbb1b136268dcd41acd2666d4db70 [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" "865395ee8593605bd651ae9af5bc8291ca3dbb1b136268dcd41acd2666d4db70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "865395ee8593605bd651ae9af5bc8291ca3dbb1b136268dcd41acd2666d4db70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "865395ee8593605bd651ae9af5bc8291ca3dbb1b136268dcd41acd2666d4db70", kill_on_drop: false }` [INFO] [stdout] 865395ee8593605bd651ae9af5bc8291ca3dbb1b136268dcd41acd2666d4db70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16a2de1e974ea0acad6188c9c087fb696f789ce623ec436d5cb02f8d130a88a0 [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" "16a2de1e974ea0acad6188c9c087fb696f789ce623ec436d5cb02f8d130a88a0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling syn v1.0.12 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling log v0.4.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Checking pin-project-lite v0.1.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Compiling k8s-openapi v0.7.1 [INFO] [stderr] Checking futures-timer v3.0.1 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.9 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking lock_api v0.3.1 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking miniz_oxide v0.3.5 [INFO] [stderr] Checking http v0.2.0 [INFO] [stderr] Checking bytestring v0.1.2 [INFO] [stderr] Checking encoding_rs v0.8.20 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking getrandom v0.1.13 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking socket2 v0.3.11 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking threadpool v1.7.1 [INFO] [stderr] Checking resolv-conf v0.6.2 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Checking flate2 v1.0.13 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking unicode-normalization v0.1.9 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Checking async-compression v0.3.0 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Checking num-integer v0.1.41 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking url v2.1.1 [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] Checking 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 pin-project-internal v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling derive_more v0.99.2 [INFO] [stderr] Compiling actix-macros v0.1.1 [INFO] [stderr] Compiling failure_derive v0.1.6 [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 rustversion v1.0.2 [INFO] [stderr] Compiling actix-web-codegen v0.2.0 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking tokio v0.2.12 [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] Checking thiserror v1.0.10 [INFO] [stderr] Checking paste v0.1.7 [INFO] [stderr] Checking time-macros v0.1.0 [INFO] [stderr] Checking pin-project v0.4.6 [INFO] [stderr] Checking time v0.2.6 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking actix-threadpool v0.3.1 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking tokio-tls v0.3.0 [INFO] [stderr] Checking tokio-test v0.2.0 [INFO] [stderr] Checking actix-codec v0.2.0 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking actix-service v1.0.1 [INFO] [stderr] Checking h2 v0.2.1 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking actix-rt v1.0.0 [INFO] [stderr] Checking trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Checking actix-utils v1.0.4 [INFO] [stderr] Checking actix-server v1.0.1 [INFO] [stderr] Checking actix-tls v1.0.0 [INFO] [stderr] Checking hyper v0.13.1 [INFO] [stderr] Checking actix-testing v1.0.0 [INFO] [stderr] Checking trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Checking hyper-tls v0.4.0 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking serde-value v0.6.0 [INFO] [stderr] Checking actix-router v0.2.4 [INFO] [stderr] Checking serde_yaml v0.8.11 [INFO] [stderr] Checking envy v0.4.1 [INFO] [stderr] Checking actix-connect v1.0.1 [INFO] [stderr] Checking actix-http v1.0.1 [INFO] [stderr] Checking reqwest v0.10.2 [INFO] [stderr] Checking awc v1.0.1 [INFO] [stderr] Checking actix-web v2.0.0 [INFO] [stderr] Checking kube v0.26.0 [INFO] [stderr] Checking 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: 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [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] [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] 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] 129 | | serde_yaml::from_str(&raw).unwrap() [INFO] [stdout] 130 | | } [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] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "16a2de1e974ea0acad6188c9c087fb696f789ce623ec436d5cb02f8d130a88a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16a2de1e974ea0acad6188c9c087fb696f789ce623ec436d5cb02f8d130a88a0", kill_on_drop: false }` [INFO] [stdout] 16a2de1e974ea0acad6188c9c087fb696f789ce623ec436d5cb02f8d130a88a0