[INFO] updating cached repository https://github.com/LightStrawberry/cow [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] 3bada0ce01b169c7dbce0bba508734a8dc5f833e [INFO] testing LightStrawberry/cow against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLightStrawberry%2Fcow" "/workspace/builds/worker-8/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LightStrawberry/cow on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/LightStrawberry/cow [INFO] finished tweaking git repo https://github.com/LightStrawberry/cow [INFO] tweaked toml for git repo https://github.com/LightStrawberry/cow written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/LightStrawberry/cow already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+beta-2020-06-03" "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] 84b5b5f07cfca5b5cda3958d91f27501c6e7094bf2f2aacacf019b53b304bd6c [INFO] running `"docker" "start" "-a" "84b5b5f07cfca5b5cda3958d91f27501c6e7094bf2f2aacacf019b53b304bd6c"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.4 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Compiling indexmap v1.2.0 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling mime v0.3.14 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling pest v2.1.2 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling unicase v2.5.1 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.18 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling pest_meta v2.1.2 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling serde_test v0.8.23 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-udp v0.1.5 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.15 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling serde-hjson v0.8.2 [INFO] [stderr] Compiling pest_generator v2.1.1 [INFO] [stderr] Compiling pretty_env_logger v0.3.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling hashbrown v0.5.0 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling handlebars v2.0.2 [INFO] [stderr] Compiling config v0.9.3 [INFO] [stderr] Compiling cow v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unnecessary braces around function argument [INFO] [stderr] --> src/main.rs:365:20 [INFO] [stderr] | [INFO] [stderr] 365 | future::result({ render_error_html(status) }) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:201:21 [INFO] [stderr] | [INFO] [stderr] 201 | respond_with_dir(path) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ expected struct `futures::Done`, found opaque type [INFO] [stderr] ... [INFO] [stderr] 334 | fn respond_with_dir(path: PathBuf) -> impl Future, Error=Error> { [INFO] [stderr] | --------------------------------------------- the found opaque type [INFO] [stderr] | [INFO] [stderr] = note: expected struct `futures::Done, Error>` [INFO] [stderr] found opaque type `impl futures::Future` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `hyper::http::response::Builder: futures::Future` is not satisfied [INFO] [stderr] --> src/main.rs:334:39 [INFO] [stderr] | [INFO] [stderr] 334 | fn respond_with_dir(path: PathBuf) -> impl Future, Error=Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `futures::Future` is not implemented for `hyper::http::response::Builder` [INFO] [stderr] 335 | / Response::builder() [INFO] [stderr] 336 | | .status(StatusCode::OK) [INFO] [stderr] 337 | | .header("cow", "0.0.1") [INFO] [stderr] | |_______________________________- this returned value is of type `&mut hyper::http::response::Builder` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `futures::Future` for `&mut hyper::http::response::Builder` [INFO] [stderr] = note: the return type of a function must have a statically known size [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `cow`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "84b5b5f07cfca5b5cda3958d91f27501c6e7094bf2f2aacacf019b53b304bd6c"` [INFO] running `"docker" "rm" "-f" "84b5b5f07cfca5b5cda3958d91f27501c6e7094bf2f2aacacf019b53b304bd6c"` [INFO] [stdout] 84b5b5f07cfca5b5cda3958d91f27501c6e7094bf2f2aacacf019b53b304bd6c