[INFO] updating cached repository https://github.com/ChiefBahooti/rust-and-balance [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c8d62a6dbee72a3c38ffa8e2483e482df88f5b06 [INFO] testing ChiefBahooti/rust-and-balance against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChiefBahooti%2Frust-and-balance" "/workspace/builds/worker-10/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ChiefBahooti/rust-and-balance on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/ChiefBahooti/rust-and-balance [INFO] finished tweaking git repo https://github.com/ChiefBahooti/rust-and-balance [INFO] tweaked toml for git repo https://github.com/ChiefBahooti/rust-and-balance written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/ChiefBahooti/rust-and-balance already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d8c9cc2979c0997abd1b0c960f40a09b8483238bc7d02e81c5c52562aea07bcc [INFO] running `"docker" "start" "-a" "d8c9cc2979c0997abd1b0c960f40a09b8483238bc7d02e81c5c52562aea07bcc"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling tokio-executor v0.1.9 [INFO] [stderr] Compiling serde_json v1.0.42 [INFO] [stderr] Compiling http v0.1.20 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.16 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.12 [INFO] [stderr] Compiling tokio-reactor v0.1.11 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling pretty_env_logger v0.3.1 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling rust_and_balance v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error: expected identifier, found keyword `type` [INFO] [stderr] --> src/config.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | type: String, [INFO] [stderr] | ^^^^ expected identifier, found keyword [INFO] [stderr] | [INFO] [stderr] help: you can escape reserved keywords to use them as identifiers [INFO] [stderr] | [INFO] [stderr] 11 | r#type: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `serde_json` [INFO] [stderr] --> src/config.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use serde_json::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^^ help: a similar path exists: `self::serde_json` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `serde_json` [INFO] [stderr] --> src/config.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use serde_json::Result; [INFO] [stderr] | ^^^^^^^^^^ help: a similar path exists: `self::serde_json` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stderr] --> src/config.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stderr] --> src/config.rs:6:21 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0603]: function `start_cluster` is private [INFO] [stderr] --> src/main.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | config::start_cluster(); [INFO] [stderr] | ^^^^^^^^^^^^^ private function [INFO] [stderr] | [INFO] [stderr] note: the function `start_cluster` is defined here [INFO] [stderr] --> src/config.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | fn start_cluster(dnsname: Option, strategy: Option, port: Option, ) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 arguments but 0 arguments were supplied [INFO] [stderr] --> src/main.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | config::start_cluster(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 3 arguments [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | fn start_cluster(dnsname: Option, strategy: Option, port: Option, ) -> Result<()> { [INFO] [stderr] | ----------------------------------------------------------------------------------------------------- defined here [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0432, E0603. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: could not compile `rust_and_balance`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "d8c9cc2979c0997abd1b0c960f40a09b8483238bc7d02e81c5c52562aea07bcc"` [INFO] running `"docker" "rm" "-f" "d8c9cc2979c0997abd1b0c960f40a09b8483238bc7d02e81c5c52562aea07bcc"` [INFO] [stdout] d8c9cc2979c0997abd1b0c960f40a09b8483238bc7d02e81c5c52562aea07bcc