[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLightStrawberry%2Fcow" "/workspace/builds/worker-71/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-71/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LightStrawberry/cow on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-71/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded config v0.9.3 [INFO] [stderr] Downloaded handlebars v2.0.2 [INFO] [stderr] Downloaded pretty_env_logger v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f938df4cc9e62e93dac907a8e50292e2ab3e358ad44a3e7e0c7d2af01104ddaa [INFO] running `Command { std: "docker" "start" "-a" "f938df4cc9e62e93dac907a8e50292e2ab3e358ad44a3e7e0c7d2af01104ddaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f938df4cc9e62e93dac907a8e50292e2ab3e358ad44a3e7e0c7d2af01104ddaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f938df4cc9e62e93dac907a8e50292e2ab3e358ad44a3e7e0c7d2af01104ddaa", kill_on_drop: false }` [INFO] [stdout] f938df4cc9e62e93dac907a8e50292e2ab3e358ad44a3e7e0c7d2af01104ddaa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73db602d981a5ed3c48b480ecaceabcec9fe70f73ebca753b29f281fbade7382 [INFO] running `Command { std: "docker" "start" "-a" "73db602d981a5ed3c48b480ecaceabcec9fe70f73ebca753b29f281fbade7382", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling proc-macro2 v1.0.4 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling scopeguard v1.0.0 [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 ryu v1.0.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [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 linked-hash-map v0.5.2 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling indexmap v1.2.0 [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 vec_map v0.8.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling mime v0.3.14 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling unicase v2.5.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling pest v2.1.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling serde_test v0.8.23 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling tokio-sync v0.1.6 [INFO] [stderr] Compiling pest_meta v2.1.2 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.18 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.15 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling pest_generator v2.1.1 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling serde-hjson v0.8.2 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-udp v0.1.5 [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 tokio v0.1.22 [INFO] [stderr] Compiling pretty_env_logger v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling config v0.9.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling handlebars v2.0.2 [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" "73db602d981a5ed3c48b480ecaceabcec9fe70f73ebca753b29f281fbade7382", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73db602d981a5ed3c48b480ecaceabcec9fe70f73ebca753b29f281fbade7382", kill_on_drop: false }` [INFO] [stdout] 73db602d981a5ed3c48b480ecaceabcec9fe70f73ebca753b29f281fbade7382