[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1dac103f563ac43c04a6526a31b18ad5847b4936 [INFO] testing equinor/gordo-controller against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fequinor%2Fgordo-controller" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/equinor/gordo-controller on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-13/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" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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_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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dce9ded89c7c51db5fe5f5b3353e34fdee2da8c02d4fb059199f2867c781dc18 [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" "dce9ded89c7c51db5fe5f5b3353e34fdee2da8c02d4fb059199f2867c781dc18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dce9ded89c7c51db5fe5f5b3353e34fdee2da8c02d4fb059199f2867c781dc18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dce9ded89c7c51db5fe5f5b3353e34fdee2da8c02d4fb059199f2867c781dc18", kill_on_drop: false }` [INFO] [stdout] dce9ded89c7c51db5fe5f5b3353e34fdee2da8c02d4fb059199f2867c781dc18 [INFO] running `Command { std: "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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 701d41ade4de6fac2bd9041b38c6ba33b5931b72f7ea366a6d53371f05c8be10 [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" "701d41ade4de6fac2bd9041b38c6ba33b5931b72f7ea366a6d53371f05c8be10", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.12 [INFO] [stderr] Compiling log v0.4.10 [INFO] [stderr] Compiling k8s-openapi v0.7.1 [INFO] [stderr] Compiling futures-timer v3.0.1 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling bytestring v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.9 [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling flate2 v1.0.13 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling unicode-normalization v0.1.9 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling async-compression v0.3.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling http-body v0.3.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 failure_derive v0.1.6 [INFO] [stderr] Compiling enum-as-inner v0.3.0 [INFO] [stderr] Compiling async-trait v0.1.22 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling thiserror-impl v1.0.10 [INFO] [stderr] Compiling actix-web-codegen v0.2.0 [INFO] [stderr] Compiling tokio v0.2.12 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.10 [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 paste v0.1.7 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling pin-project v0.4.6 [INFO] [stderr] Compiling time v0.2.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 actix-codec v0.2.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling actix-service v1.0.1 [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 actix-server v1.0.1 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling hyper v0.13.1 [INFO] [stderr] Compiling actix-testing v1.0.0 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-connect v1.0.1 [INFO] [stderr] Compiling hyper-tls v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde-value v0.6.0 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling serde_yaml v0.8.11 [INFO] [stderr] Compiling envy v0.4.1 [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 kube v0.26.0 [INFO] [stderr] Compiling gordo-controller v0.6.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item '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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 45s [INFO] running `Command { std: "docker" "inspect" "701d41ade4de6fac2bd9041b38c6ba33b5931b72f7ea366a6d53371f05c8be10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "701d41ade4de6fac2bd9041b38c6ba33b5931b72f7ea366a6d53371f05c8be10", kill_on_drop: false }` [INFO] [stdout] 701d41ade4de6fac2bd9041b38c6ba33b5931b72f7ea366a6d53371f05c8be10 [INFO] running `Command { std: "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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22ebd077c9383cb95884cd602076585638a169a7e17cee0f33232a2eb11a240d [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" "22ebd077c9383cb95884cd602076585638a169a7e17cee0f33232a2eb11a240d", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-test v0.2.0 [INFO] [stdout] warning: use of deprecated item '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] [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] [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] 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 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: use of deprecated item '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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "22ebd077c9383cb95884cd602076585638a169a7e17cee0f33232a2eb11a240d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22ebd077c9383cb95884cd602076585638a169a7e17cee0f33232a2eb11a240d", kill_on_drop: false }` [INFO] [stdout] 22ebd077c9383cb95884cd602076585638a169a7e17cee0f33232a2eb11a240d