[INFO] updating cached repository https://github.com/imjacobclark/Herd
[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] f9fda4c5d1aca47588b0ad2191796df27de6f36e
[INFO] testing imjacobclark/Herd against 1.40.0 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimjacobclark%2FHerd" "/workspace/builds/worker-1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/imjacobclark/Herd on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/imjacobclark/Herd
[INFO] finished tweaking git repo https://github.com/imjacobclark/Herd
[INFO] tweaked toml for git repo https://github.com/imjacobclark/Herd written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/imjacobclark/Herd already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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.40.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] daaa9e6c5d142205f6ebf2f73b86c6ffd52a7fe32a8ddee2d2fed6d874d3960f
[INFO] running `"docker" "start" "-a" "daaa9e6c5d142205f6ebf2f73b86c6ffd52a7fe32a8ddee2d2fed6d874d3960f"`
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling num_cpus v1.11.1
[INFO] [stderr]    Compiling atty v0.2.13
[INFO] [stderr]    Compiling time v0.1.42
[INFO] [stderr]    Compiling nix v0.16.0
[INFO] [stderr]    Compiling clap v2.33.0
[INFO] [stderr]    Compiling threadpool v1.7.1
[INFO] [stderr]    Compiling mio v0.6.21
[INFO] [stderr]    Compiling tokio v0.2.6
[INFO] [stderr]    Compiling tokio-util v0.2.0
[INFO] [stderr]    Compiling h2 v0.2.1
[INFO] [stderr]    Compiling hyper v0.13.1
[INFO] [stderr]    Compiling herd v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved import `self::hyper::header::Connection`
[INFO] [stderr]  --> src/request.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use self::hyper::header::Connection;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Connection` in `header`
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around method argument
[INFO] [stderr]   --> src/herd.rs:17:52
[INFO] [stderr]    |
[INFO] [stderr] 17 |                 request_clone.lock().unwrap().push((request::Request::new(request::Request::create_request(host_str))));
[INFO] [stderr]    |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `self::time::*`
[INFO] [stderr]  --> src/request.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use self::time::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'request::time::precise_time_s': Use `PrimitiveDateTime::now() - PrimitiveDateTime::unix_epoch()` to get a `Duration` since a known epoch.
[INFO] [stderr]   --> src/request.rs:21:21
[INFO] [stderr]    |
[INFO] [stderr] 21 |         let start = time::precise_time_s();
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'request::time::precise_time_s': Use `PrimitiveDateTime::now() - PrimitiveDateTime::unix_epoch()` to get a `Duration` since a known epoch.
[INFO] [stderr]   --> src/request.rs:33:19
[INFO] [stderr]    |
[INFO] [stderr] 33 |         let end = time::precise_time_s();
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/request.rs:23:31
[INFO] [stderr]    |
[INFO] [stderr] 23 |         let _res = client.get(host)
[INFO] [stderr]    |                               ^^^^ expected struct `request::hyper::Uri`, found &str
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected type `request::hyper::Uri`
[INFO] [stderr]               found type `&str`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `header` found for type `request::hyper::client::ResponseFuture` in the current scope
[INFO] [stderr]   --> src/request.rs:24:14
[INFO] [stderr]    |
[INFO] [stderr] 24 |             .header(Connection::close()) 
[INFO] [stderr]    |              ^^^^^^ method not found in `request::hyper::client::ResponseFuture`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 3 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0308, E0432, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0308`.
[INFO] [stderr] error: could not compile `herd`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "daaa9e6c5d142205f6ebf2f73b86c6ffd52a7fe32a8ddee2d2fed6d874d3960f"`
[INFO] running `"docker" "rm" "-f" "daaa9e6c5d142205f6ebf2f73b86c6ffd52a7fe32a8ddee2d2fed6d874d3960f"`
[INFO] [stdout] daaa9e6c5d142205f6ebf2f73b86c6ffd52a7fe32a8ddee2d2fed6d874d3960f
