[INFO] updating cached repository https://github.com/erikjohnston/rust-sync-server [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] a251ee63ab8869584611c8d572e0279995e79b35 [INFO] checking erikjohnston/rust-sync-server against try#e922e6444795ab795fab1943288aee3d543699b8 for pr-66852 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferikjohnston%2Frust-sync-server" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/erikjohnston/rust-sync-server on toolchain e922e6444795ab795fab1943288aee3d543699b8 [INFO] running `"/workspace/cargo-home/bin/cargo" "+e922e6444795ab795fab1943288aee3d543699b8" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/erikjohnston/rust-sync-server [INFO] finished tweaking git repo https://github.com/erikjohnston/rust-sync-server [INFO] tweaked toml for git repo https://github.com/erikjohnston/rust-sync-server written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/erikjohnston/rust-sync-server already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e922e6444795ab795fab1943288aee3d543699b8" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e922e6444795ab795fab1943288aee3d543699b8" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9ce43dbe98a7bec1a0167ef961efe55c18c5cae5b0c3bc82ac89108eb8ff8d45 [INFO] running `"docker" "start" "-a" "9ce43dbe98a7bec1a0167ef961efe55c18c5cae5b0c3bc82ac89108eb8ff8d45"` [INFO] [stderr] Compiling gcc v0.3.38 [INFO] [stderr] Checking matches v0.1.3 [INFO] [stderr] Compiling quote v0.3.5 [INFO] [stderr] Checking md5 v0.2.1 [INFO] [stderr] Checking phf_shared v0.7.15 [INFO] [stderr] Checking fallible-iterator v0.1.3 [INFO] [stderr] Checking rustc-serialize v0.3.19 [INFO] [stderr] Checking serde v0.8.16 [INFO] [stderr] Checking indolentjson v0.1.0 (https://github.com/erikjohnston/indolentjson-rust.git?branch=erikj/node#61b27a18) [INFO] [stderr] Checking quick-error v1.1.0 [INFO] [stderr] Checking num_cpus v1.1.0 [INFO] [stderr] error[E0642]: patterns aren't allowed in methods without bodies [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.3.19/src/serialize.rs:147:45 [INFO] [stderr] | [INFO] [stderr] 147 | ... &f_name: &str, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] Checking scoped-pool v1.0.0 [INFO] [stderr] Checking unicode-bidi v0.2.3 [INFO] [stderr] Compiling syn v0.9.2 [INFO] [stderr] Checking phf v0.7.15 [INFO] [stderr] Checking postgres-protocol v0.1.0 [INFO] [stderr] Checking openssl-sys v0.7.17 [INFO] [stderr] Checking idna v0.1.0 [INFO] [stderr] Checking time v0.1.35 [INFO] [stderr] Compiling openssl-sys-extras v0.7.14 [INFO] [stderr] Compiling openssl v0.7.14 [INFO] [stderr] Checking postgres v0.12.0 [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0642`. [INFO] [stderr] error: could not compile `rustc-serialize`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0282]: type annotations needed for `&_` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/postgres-0.12.0/src/lib.rs:684:59 [INFO] [stderr] | [INFO] [stderr] 684 | row.as_ref().and_then(|r| r.get(i)).and_then(|r| r.as_ref().map(|r| &**r)) [INFO] [stderr] | ^ consider giving this closure parameter the explicit type `&_`, with the type parameters specified [INFO] [stderr] | [INFO] [stderr] = note: type must be known at this point [INFO] [stderr] [INFO] [stderr] error[E0282]: type annotations needed for `&_` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/postgres-0.12.0/src/lib.rs:795:56 [INFO] [stderr] | [INFO] [stderr] 795 | let get_raw = |i| row.get(i).and_then(|r| r.as_ref().map(|r| &**r)); [INFO] [stderr] | ^ consider giving this closure parameter the explicit type `&_`, with the type parameters specified [INFO] [stderr] | [INFO] [stderr] = note: type must be known at this point [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0282`. [INFO] [stderr] error: could not compile `postgres`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "9ce43dbe98a7bec1a0167ef961efe55c18c5cae5b0c3bc82ac89108eb8ff8d45"` [INFO] running `"docker" "rm" "-f" "9ce43dbe98a7bec1a0167ef961efe55c18c5cae5b0c3bc82ac89108eb8ff8d45"` [INFO] [stdout] 9ce43dbe98a7bec1a0167ef961efe55c18c5cae5b0c3bc82ac89108eb8ff8d45