[INFO] cloning repository https://github.com/k2bd/kev-holdem-client-rust [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/k2bd/kev-holdem-client-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fk2bd%2Fkev-holdem-client-rust"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fk2bd%2Fkev-holdem-client-rust'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 66c5b9cf2579d2d3e1447918e0a5a13e42d8f475 [INFO] testing k2bd/kev-holdem-client-rust against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fk2bd%2Fkev-holdem-client-rust" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/k2bd/kev-holdem-client-rust 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/k2bd/kev-holdem-client-rust [INFO] finished tweaking git repo https://github.com/k2bd/kev-holdem-client-rust [INFO] tweaked toml for git repo https://github.com/k2bd/kev-holdem-client-rust written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/k2bd/kev-holdem-client-rust 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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] bd1cc77f2fc0f59ff35d4b5a772010c406b71a18042a06b0d292691b0c2c3625 [INFO] running `"docker" "start" "-a" "bd1cc77f2fc0f59ff35d4b5a772010c406b71a18042a06b0d292691b0c2c3625"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling log v0.4.0 [INFO] [stderr] Compiling base64 v0.9.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling tokio-io v0.1.4 [INFO] [stderr] Compiling mio v0.6.11 [INFO] [stderr] Compiling tokio-core v0.1.11 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling hyper v0.11.10 [INFO] [stderr] Compiling kev-holdem-client-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0425]: cannot find value `json` in this scope [INFO] [stderr] --> src/main.rs:18:41 [INFO] [stderr] | [INFO] [stderr] 18 | req.headers_mut().set(ContentLength(json.len() as u64)); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `json` in this scope [INFO] [stderr] --> src/main.rs:19:18 [INFO] [stderr] | [INFO] [stderr] 19 | req.set_body(json); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `client` in this scope [INFO] [stderr] --> src/main.rs:21:16 [INFO] [stderr] | [INFO] [stderr] 21 | let post = client.request(req).and_then(|res| { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stderr] --> src/main.rs:15:15 [INFO] [stderr] | [INFO] [stderr] 6 | / fn main() { [INFO] [stderr] 7 | | // Register to the game [INFO] [stderr] 8 | | let reg_json = r#" [INFO] [stderr] 9 | | { [INFO] [stderr] ... | [INFO] [stderr] 15 | | let uri = "localhost:8000/reg".parse()?; [INFO] [stderr] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stderr] ... | [INFO] [stderr] 25 | | }); [INFO] [stderr] 26 | | } [INFO] [stderr] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stderr] = note: required by `std::ops::Try::from_error` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0425. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `kev-holdem-client-rust`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "bd1cc77f2fc0f59ff35d4b5a772010c406b71a18042a06b0d292691b0c2c3625"` [INFO] running `"docker" "rm" "-f" "bd1cc77f2fc0f59ff35d4b5a772010c406b71a18042a06b0d292691b0c2c3625"` [INFO] [stdout] bd1cc77f2fc0f59ff35d4b5a772010c406b71a18042a06b0d292691b0c2c3625