[INFO] updating cached repository https://github.com/cprohoda/contract [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] be0880de8b233b524a7708309e2b79984f48a1f1 [INFO] checking cprohoda/contract against try#d27c6c6a469a28343396a8f3ac1c9d403aabda69 for pr-66037 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcprohoda%2Fcontract" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cprohoda/contract on toolchain d27c6c6a469a28343396a8f3ac1c9d403aabda69 [INFO] running `"/workspace/cargo-home/bin/cargo" "+d27c6c6a469a28343396a8f3ac1c9d403aabda69" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/cprohoda/contract [INFO] finished tweaking git repo https://github.com/cprohoda/contract [INFO] tweaked toml for git repo https://github.com/cprohoda/contract written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/cprohoda/contract already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+d27c6c6a469a28343396a8f3ac1c9d403aabda69" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+d27c6c6a469a28343396a8f3ac1c9d403aabda69" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+d27c6c6a469a28343396a8f3ac1c9d403aabda69" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+d27c6c6a469a28343396a8f3ac1c9d403aabda69" "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] 2b58a7f647d188c1c6c57011a97df91066735dd35e4d1b8ddbb391029f985804 [INFO] running `"docker" "start" "-a" "2b58a7f647d188c1c6c57011a97df91066735dd35e4d1b8ddbb391029f985804"` [INFO] [stderr] Compiling yansi v0.3.4 [INFO] [stderr] Compiling state v0.2.2 [INFO] [stderr] Compiling term-painter v0.2.4 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling cookie v0.6.2 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Compiling rocket v0.2.11 [INFO] [stderr] Compiling rocket_codegen v0.2.11 [INFO] [stderr] error[E0432]: unresolved import `std::net::lookup_host` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rocket-0.2.11/src/config/config.rs:2:24 [INFO] [stderr] | [INFO] [stderr] 2 | use std::net::{IpAddr, lookup_host}; [INFO] [stderr] | ^^^^^^^^^^^ no `lookup_host` in `net` [INFO] [stderr] [INFO] [stderr] error[E0283]: type annotations needed [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rocket-0.2.11/src/http/header.rs:480:47 [INFO] [stderr] | [INFO] [stderr] 480 | Header::new(key.as_str(), val.borrow()) [INFO] [stderr] | ^^^^^^ cannot infer type for enum `std::borrow::Cow<'_, str>` [INFO] [stderr] | [INFO] [stderr] = note: cannot resolve `std::borrow::Cow<'_, str>: std::borrow::Borrow<_>` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::net::lookup_host` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rocket-0.2.11/src/config/config.rs:2:24 [INFO] [stderr] | [INFO] [stderr] 2 | use std::net::{IpAddr, lookup_host}; [INFO] [stderr] | ^^^^^^^^^^^ no `lookup_host` in `net` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0283, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0283`. [INFO] [stderr] error: could not compile `rocket`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0283]: type annotations needed [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rocket-0.2.11/src/http/header.rs:480:47 [INFO] [stderr] | [INFO] [stderr] 480 | Header::new(key.as_str(), val.borrow()) [INFO] [stderr] | ^^^^^^ cannot infer type for enum `std::borrow::Cow<'_, str>` [INFO] [stderr] | [INFO] [stderr] = note: cannot resolve `std::borrow::Cow<'_, str>: std::borrow::Borrow<_>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0283, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0283`. [INFO] [stderr] error: could not compile `rocket`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "2b58a7f647d188c1c6c57011a97df91066735dd35e4d1b8ddbb391029f985804"` [INFO] running `"docker" "rm" "-f" "2b58a7f647d188c1c6c57011a97df91066735dd35e4d1b8ddbb391029f985804"` [INFO] [stdout] 2b58a7f647d188c1c6c57011a97df91066735dd35e4d1b8ddbb391029f985804