[INFO] cloning repository https://github.com/imjacobclark/Herd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/imjacobclark/Herd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimjacobclark%2FHerd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimjacobclark%2FHerd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f9fda4c5d1aca47588b0ad2191796df27de6f36e [INFO] testing imjacobclark/Herd against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimjacobclark%2FHerd" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/imjacobclark/Herd on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-9/source/Cargo.toml [INFO] crate git repo https://github.com/imjacobclark/Herd already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-9/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85ad5a5307b2115745ae612b712e3867b4cfe50819705bad39d6c3aeee1123c2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "85ad5a5307b2115745ae612b712e3867b4cfe50819705bad39d6c3aeee1123c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85ad5a5307b2115745ae612b712e3867b4cfe50819705bad39d6c3aeee1123c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85ad5a5307b2115745ae612b712e3867b4cfe50819705bad39d6c3aeee1123c2", kill_on_drop: false }` [INFO] [stdout] 85ad5a5307b2115745ae612b712e3867b4cfe50819705bad39d6c3aeee1123c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90c8acf4d77879a1ea53144bbdf3971b5a523eb9e0cf0b71149ea16303aaa63c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "90c8acf4d77879a1ea53144bbdf3971b5a523eb9e0cf0b71149ea16303aaa63c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling tracing-core v0.1.11 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling yaml-rust v0.4.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling tracing v0.1.17 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling hyper v0.13.7 [INFO] [stderr] Compiling herd v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `self::hyper::header::Connection` [INFO] [stdout] --> src/request.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use self::hyper::header::Connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Connection` in `header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/herd.rs:17:52 [INFO] [stdout] | [INFO] [stdout] 17 | request_clone.lock().unwrap().push((request::Request::new(request::Request::create_request(host_str)))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::time::*` [INFO] [stdout] --> src/request.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use self::time::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:58:45 [INFO] [stdout] | [INFO] [stdout] 58 | ... Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:65:45 [INFO] [stdout] | [INFO] [stdout] 65 | ... Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'request::time::precise_time_s': Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/request.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let start = time::precise_time_s(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'request::time::precise_time_s': Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/request.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | let end = time::precise_time_s(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/request.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | let _res = client.get(host) [INFO] [stdout] | ^^^^ expected struct `request::hyper::Uri`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `header` found for struct `request::hyper::client::ResponseFuture` in the current scope [INFO] [stdout] --> src/request.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | .header(Connection::close()) [INFO] [stdout] | ^^^^^^ method not found in `request::hyper::client::ResponseFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `herd`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "90c8acf4d77879a1ea53144bbdf3971b5a523eb9e0cf0b71149ea16303aaa63c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90c8acf4d77879a1ea53144bbdf3971b5a523eb9e0cf0b71149ea16303aaa63c", kill_on_drop: false }` [INFO] [stdout] 90c8acf4d77879a1ea53144bbdf3971b5a523eb9e0cf0b71149ea16303aaa63c