[INFO] cloning repository https://github.com/LightStrawberry/cow [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LightStrawberry/cow" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLightStrawberry%2Fcow", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLightStrawberry%2Fcow'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3bada0ce01b169c7dbce0bba508734a8dc5f833e [INFO] testing LightStrawberry/cow against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLightStrawberry%2Fcow" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LightStrawberry/cow on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-11/source/Cargo.toml [INFO] crate git repo https://github.com/LightStrawberry/cow already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded handlebars v2.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5d6c7e03e751747cd92c787ba903628f236ee7f8d9e05ddbeab177798e51062 [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" "a5d6c7e03e751747cd92c787ba903628f236ee7f8d9e05ddbeab177798e51062", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5d6c7e03e751747cd92c787ba903628f236ee7f8d9e05ddbeab177798e51062", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5d6c7e03e751747cd92c787ba903628f236ee7f8d9e05ddbeab177798e51062", kill_on_drop: false }` [INFO] [stdout] a5d6c7e03e751747cd92c787ba903628f236ee7f8d9e05ddbeab177798e51062 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6666e883f0fa9bd61649a17a5e8f50f0c2f2432136bdcfd3b553f7b2a61b1cf8 [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" "6666e883f0fa9bd61649a17a5e8f50f0c2f2432136bdcfd3b553f7b2a61b1cf8", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling hashbrown v0.5.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling tokio-threadpool v0.1.15 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling handlebars v2.0.2 [INFO] [stderr] Compiling pretty_env_logger v0.3.1 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.5 [INFO] [stderr] Compiling serde_test v0.8.23 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling serde-hjson v0.8.2 [INFO] [stderr] Compiling config v0.9.3 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling cow v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> src/main.rs:365:20 [INFO] [stdout] | [INFO] [stdout] 365 | future::result({ render_error_html(status) }) [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 365 - future::result({ render_error_html(status) }) [INFO] [stdout] 365 + future::result(render_error_html(status)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:201:21 [INFO] [stdout] | [INFO] [stdout] 201 | respond_with_dir(path) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected struct `Failed`, found opaque type [INFO] [stdout] ... [INFO] [stdout] 334 | fn respond_with_dir(path: PathBuf) -> impl Future, Error=Error> { [INFO] [stdout] | --------------------------------------------- the found opaque type [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Failed, Error>` [INFO] [stdout] found opaque type `impl futures::Future, Error = Error>` [INFO] [stdout] note: return type inferred to be `Failed, Error>` here [INFO] [stdout] --> src/main.rs:189:20 [INFO] [stdout] | [INFO] [stdout] 189 | return Either::A(future::ok(redir_resp)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `http::response::Builder: futures::Future` is not satisfied [INFO] [stdout] --> src/main.rs:334:39 [INFO] [stdout] | [INFO] [stdout] 334 | fn respond_with_dir(path: PathBuf) -> impl Future, Error=Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `futures::Future` is not implemented for `http::response::Builder` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `futures::Future` for `&mut http::response::Builder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cow` due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "6666e883f0fa9bd61649a17a5e8f50f0c2f2432136bdcfd3b553f7b2a61b1cf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6666e883f0fa9bd61649a17a5e8f50f0c2f2432136bdcfd3b553f7b2a61b1cf8", kill_on_drop: false }` [INFO] [stdout] 6666e883f0fa9bd61649a17a5e8f50f0c2f2432136bdcfd3b553f7b2a61b1cf8