[INFO] cloning repository https://github.com/ajsworton/workflowstatus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ajsworton/workflowstatus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajsworton%2Fworkflowstatus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajsworton%2Fworkflowstatus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cdc26501968d7ec0e774bb1049cdc2f933031b2a [INFO] testing ajsworton/workflowstatus against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajsworton%2Fworkflowstatus" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ajsworton/workflowstatus 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/ajsworton/workflowstatus [INFO] finished tweaking git repo https://github.com/ajsworton/workflowstatus [INFO] tweaked toml for git repo https://github.com/ajsworton/workflowstatus written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/ajsworton/workflowstatus 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 hyper v0.12.25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 1455321898a6fb8d66499bc3c64c52059f90d4db89f21d1aee9f6967c78b3f16 [INFO] running `Command { std: "docker" "start" "-a" "1455321898a6fb8d66499bc3c64c52059f90d4db89f21d1aee9f6967c78b3f16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1455321898a6fb8d66499bc3c64c52059f90d4db89f21d1aee9f6967c78b3f16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1455321898a6fb8d66499bc3c64c52059f90d4db89f21d1aee9f6967c78b3f16", kill_on_drop: false }` [INFO] [stdout] 1455321898a6fb8d66499bc3c64c52059f90d4db89f21d1aee9f6967c78b3f16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 033608837ddbe8f80da7e96f3d2ead83f33579d084e72e6d7209760ea5b18945 [INFO] running `Command { std: "docker" "start" "-a" "033608837ddbe8f80da7e96f3d2ead83f33579d084e72e6d7209760ea5b18945", 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] Compiling libc v0.2.51 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling syn v0.15.29 [INFO] [stderr] Compiling cc v1.0.35 [INFO] [stderr] Compiling serde v1.0.89 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling directories v1.0.2 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling tokio-executor v0.1.7 [INFO] [stderr] Compiling tokio-sync v0.1.4 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.10 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.16 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.13 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling tokio v0.1.18 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling h2 v0.1.17 [INFO] [stderr] Compiling serde_derive v1.0.89 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling hyper v0.12.25 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling workflowstatus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server/mod.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | type FResponseBody = Box, Error=hyper::Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - type FResponseBody = Box, Error=hyper::Error> + Send>; [INFO] [stdout] 36 + type FResponseBody = Box, Error=hyper::Error> + Send>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elasticsearch/http.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | ) -> Box + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 - ) -> Box + Send> { [INFO] [stdout] 28 + ) -> Box + Send> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elasticsearch/http.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | ) -> Box + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - ) -> Box + Send> { [INFO] [stdout] 38 + ) -> Box + Send> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elasticsearch/http.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | ) -> Box, Error = Error> + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - ) -> Box, Error = Error> + Send> { [INFO] [stdout] 45 + ) -> Box, Error = Error> + Send> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elasticsearch/http.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | ) -> Box + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 - ) -> Box + Send> { [INFO] [stdout] 56 + ) -> Box + Send> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elasticsearch/http.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | ) -> Box + Send> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - ) -> Box + Send> [INFO] [stdout] 67 + ) -> Box + Send> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` + std::marker::Send> as futures::Future>::Item == ()` [INFO] [stdout] --> src/elasticsearch/mod.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | rt::spawn(fut); [INFO] [stdout] | ^^^^^^^^^ expected `()`, found struct `EsHits` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `hyper::rt::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.12.25/src/rt.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | F: Future + Send + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `hyper::rt::spawn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` + std::marker::Send> as futures::Future>::Error == ()` [INFO] [stdout] --> src/elasticsearch/mod.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | rt::spawn(fut); [INFO] [stdout] | ^^^^^^^^^ expected `()`, found struct `failure::Error` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `hyper::rt::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.12.25/src/rt.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | F: Future + Send + 'static, [INFO] [stdout] | ^^^^^^^^ required by this bound in `hyper::rt::spawn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::prelude` [INFO] [stdout] --> src/elasticsearch/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use futures::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stream` [INFO] [stdout] --> src/elasticsearch/mod.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | use hyper::rt::{self, Future, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `workflowstatus` due to 3 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "033608837ddbe8f80da7e96f3d2ead83f33579d084e72e6d7209760ea5b18945", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "033608837ddbe8f80da7e96f3d2ead83f33579d084e72e6d7209760ea5b18945", kill_on_drop: false }` [INFO] [stdout] 033608837ddbe8f80da7e96f3d2ead83f33579d084e72e6d7209760ea5b18945