[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] checking LightStrawberry/cow against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLightStrawberry%2Fcow" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LightStrawberry/cow on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", 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-1/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" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95ece4abf98a7dbd364f454eef1ad0daaa353e1481a88f3a5446bafb11f93363 [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" "95ece4abf98a7dbd364f454eef1ad0daaa353e1481a88f3a5446bafb11f93363", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95ece4abf98a7dbd364f454eef1ad0daaa353e1481a88f3a5446bafb11f93363", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95ece4abf98a7dbd364f454eef1ad0daaa353e1481a88f3a5446bafb11f93363", kill_on_drop: false }` [INFO] [stdout] 95ece4abf98a7dbd364f454eef1ad0daaa353e1481a88f3a5446bafb11f93363 [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1fc5377ed5d93c55dee3cd2bc42c9ebbdb93fd8ac9658bebc6cde45fc3903e7 [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" "b1fc5377ed5d93c55dee3cd2bc42c9ebbdb93fd8ac9658bebc6cde45fc3903e7", kill_on_drop: false }` [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking hashbrown v0.5.0 [INFO] [stderr] Checking nom v4.2.3 [INFO] [stderr] Checking num-integer v0.1.41 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking parking_lot_core v0.4.0 [INFO] [stderr] Checking tokio-threadpool v0.1.15 [INFO] [stderr] Checking serde-hjson v0.8.2 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking chrono v0.4.9 [INFO] [stderr] Checking handlebars v2.0.2 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking config v0.9.3 [INFO] [stderr] Checking tokio-udp v0.1.5 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking pretty_env_logger v0.3.1 [INFO] [stderr] Checking hyper v0.12.35 [INFO] [stderr] Checking cow v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `bytes` [INFO] [stdout] --> examples/connect.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern crate bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cow` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [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` [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] 335 | / Response::builder() [INFO] [stdout] 336 | | .status(StatusCode::OK) [INFO] [stdout] 337 | | .header("cow", "0.0.1") [INFO] [stdout] | |_______________________________- this returned value is of type `&mut 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] = note: the return type of a function must have a statically known size [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` [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] 335 | / Response::builder() [INFO] [stdout] 336 | | .status(StatusCode::OK) [INFO] [stdout] 337 | | .header("cow", "0.0.1") [INFO] [stdout] | |_______________________________- this returned value is of type `&mut 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] = note: the return type of a function must have a statically known size [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] [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: build failed [INFO] running `Command { std: "docker" "inspect" "b1fc5377ed5d93c55dee3cd2bc42c9ebbdb93fd8ac9658bebc6cde45fc3903e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1fc5377ed5d93c55dee3cd2bc42c9ebbdb93fd8ac9658bebc6cde45fc3903e7", kill_on_drop: false }` [INFO] [stdout] b1fc5377ed5d93c55dee3cd2bc42c9ebbdb93fd8ac9658bebc6cde45fc3903e7