[INFO] fetching crate cluster-mode 0.1.0... [INFO] testing cluster-mode-0.1.0 against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] extracting crate cluster-mode 0.1.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate cluster-mode 0.1.0 on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cluster-mode 0.1.0 [INFO] finished tweaking crates.io crate cluster-mode 0.1.0 [INFO] tweaked toml for crates.io crate cluster-mode 0.1.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2fbdff0de77db4672c6968ebaf4dfff4fed2c0a69161ba38d6573d801267948 [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" "a2fbdff0de77db4672c6968ebaf4dfff4fed2c0a69161ba38d6573d801267948", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2fbdff0de77db4672c6968ebaf4dfff4fed2c0a69161ba38d6573d801267948", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2fbdff0de77db4672c6968ebaf4dfff4fed2c0a69161ba38d6573d801267948", kill_on_drop: false }` [INFO] [stdout] a2fbdff0de77db4672c6968ebaf4dfff4fed2c0a69161ba38d6573d801267948 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97ca7c4386ba42133f9363059abd8d962b3426f39f6f1452fd39bfc41ad3f9ef [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" "97ca7c4386ba42133f9363059abd8d962b3426f39f6f1452fd39bfc41ad3f9ef", 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] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling k8s-openapi v0.11.0 [INFO] [stderr] Compiling array_tool v1.0.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling socket2 v0.4.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling ordered-float v2.7.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling getset v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-io-timeout v1.1.1 [INFO] [stderr] Compiling tokio-stream v0.1.7 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling tower v0.4.8 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Compiling hyper v0.14.11 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling rust-cloud-discovery v0.1.0 [INFO] [stderr] Compiling almost-raft v0.2.1 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling jsonpath_lib v0.2.6 [INFO] [stderr] Compiling kube v0.51.0 [INFO] [stderr] Compiling cloud-discovery-kubernetes v0.1.0 [INFO] [stderr] Compiling cluster-mode v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 41s [INFO] running `Command { std: "docker" "inspect" "97ca7c4386ba42133f9363059abd8d962b3426f39f6f1452fd39bfc41ad3f9ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97ca7c4386ba42133f9363059abd8d962b3426f39f6f1452fd39bfc41ad3f9ef", kill_on_drop: false }` [INFO] [stdout] 97ca7c4386ba42133f9363059abd8d962b3426f39f6f1452fd39bfc41ad3f9ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bec9596eb9ab9c85b6c691d897408d94d4582270f074d1b3c62ee821d82ed520 [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" "bec9596eb9ab9c85b6c691d897408d94d4582270f074d1b3c62ee821d82ed520", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling sharded-slab v0.1.2 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling tracing-subscriber v0.2.19 [INFO] [stderr] Compiling cluster-mode v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 30.07s [INFO] running `Command { std: "docker" "inspect" "bec9596eb9ab9c85b6c691d897408d94d4582270f074d1b3c62ee821d82ed520", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bec9596eb9ab9c85b6c691d897408d94d4582270f074d1b3c62ee821d82ed520", kill_on_drop: false }` [INFO] [stdout] bec9596eb9ab9c85b6c691d897408d94d4582270f074d1b3c62ee821d82ed520 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 566e28216eb5204622a9e24582dc2c58019ca429ecb307d54aa613c327677953 [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" "566e28216eb5204622a9e24582dc2c58019ca429ecb307d54aa613c327677953", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cluster_mode-32aa4b38a8f7eaf8) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] Doc-tests cluster-mode [INFO] [stdout] test test::misc ... ok [INFO] [stdout] test test::test_cluster_impl ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 6) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 6) stdout ---- [INFO] [stdout] error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled. [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[tokio::main] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `rust_out` [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![allow(unused)] [INFO] [stdout] 2 | | extern crate r#cluster_mode; [INFO] [stdout] 3 | | use cloud_discovery_kubernetes::KubernetesDiscoverService; [INFO] [stdout] 4 | | use std::sync::Arc; [INFO] [stdout] ... | [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ consider adding a `main` function at the crate level [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 6) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.49s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "566e28216eb5204622a9e24582dc2c58019ca429ecb307d54aa613c327677953", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "566e28216eb5204622a9e24582dc2c58019ca429ecb307d54aa613c327677953", kill_on_drop: false }` [INFO] [stdout] 566e28216eb5204622a9e24582dc2c58019ca429ecb307d54aa613c327677953