[INFO] cloning repository https://github.com/MindFlavor/pusheventhub [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MindFlavor/pusheventhub" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMindFlavor%2Fpusheventhub", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMindFlavor%2Fpusheventhub'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a86bbbb3306e33fb356a2d40d7ed865a404020d9 [INFO] checking MindFlavor/pusheventhub against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMindFlavor%2Fpusheventhub" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MindFlavor/pusheventhub 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/MindFlavor/pusheventhub [INFO] finished tweaking git repo https://github.com/MindFlavor/pusheventhub [INFO] tweaked toml for git repo https://github.com/MindFlavor/pusheventhub written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/MindFlavor/pusheventhub 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] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] f193a27bb89ddcc198b4c7c560e9357a96fd9a816c7824ea25b0d1da0606e1a2 [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" "f193a27bb89ddcc198b4c7c560e9357a96fd9a816c7824ea25b0d1da0606e1a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f193a27bb89ddcc198b4c7c560e9357a96fd9a816c7824ea25b0d1da0606e1a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f193a27bb89ddcc198b4c7c560e9357a96fd9a816c7824ea25b0d1da0606e1a2", kill_on_drop: false }` [INFO] [stdout] f193a27bb89ddcc198b4c7c560e9357a96fd9a816c7824ea25b0d1da0606e1a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 035f94e414eec1a161bd2c8032c55feae29721a6349fe38ae63f7d8d3f31ee6a [INFO] running `Command { std: "docker" "start" "-a" "035f94e414eec1a161bd2c8032c55feae29721a6349fe38ae63f7d8d3f31ee6a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking humantime v2.0.1 [INFO] [stderr] Compiling standback v0.2.11 [INFO] [stderr] Compiling time v0.2.22 [INFO] [stderr] Checking tracing v0.1.21 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking tokio v0.2.23 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking env_logger v0.8.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking pin-project v1.0.1 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking pusheventhub v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `hyper::status` [INFO] [stdout] --> src/azure_error.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use hyper::status::StatusCode; [INFO] [stdout] | ^^^^^^ could not find `status` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `hyper::header::Headers`, `hyper::header::ContentLength` [INFO] [stdout] --> src/main.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | use hyper::header::{Headers, ContentLength}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ no `ContentLength` in `header` [INFO] [stdout] | | [INFO] [stdout] | no `Headers` in `header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::status` [INFO] [stdout] --> src/main.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | use hyper::status::StatusCode; [INFO] [stdout] | ^^^^^^ could not find `status` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `url::percent_encoding` [INFO] [stdout] --> src/main.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | use url::percent_encoding::{utf8_percent_encode, HTTP_VALUE_ENCODE_SET, FORM_URLENCODED_ENCODE_SET}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `percent_encoding` in `url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `header` in this scope [INFO] [stdout] --> src/main.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | header! { (Authorization, "Authorization") => [String] } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::status` [INFO] [stdout] --> src/azure_error.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use hyper::status::StatusCode; [INFO] [stdout] | ^^^^^^ could not find `status` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `hyper::header::Headers`, `hyper::header::ContentLength` [INFO] [stdout] --> src/main.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | use hyper::header::{Headers, ContentLength}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ no `ContentLength` in `header` [INFO] [stdout] | | [INFO] [stdout] | no `Headers` in `header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::status` [INFO] [stdout] --> src/main.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | use hyper::status::StatusCode; [INFO] [stdout] | ^^^^^^ could not find `status` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `url::percent_encoding` [INFO] [stdout] --> src/main.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | use url::percent_encoding::{utf8_percent_encode, HTTP_VALUE_ENCODE_SET, FORM_URLENCODED_ENCODE_SET}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `percent_encoding` in `url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `header` in this scope [INFO] [stdout] --> src/main.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | header! { (Authorization, "Authorization") => [String] } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `UTC` in `chrono` [INFO] [stdout] --> src/main.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | let expiry = chrono::UTC::now().add(ttl).timestamp(); [INFO] [stdout] | ^^^ could not find `UTC` in `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Authorization` in this scope [INFO] [stdout] --> src/main.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | headers.set(Authorization(sas)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Body` is private [INFO] [stdout] --> src/main.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | let body = hyper::client::Body::SizedBody(event_body.0, event_body.1); [INFO] [stdout] | ^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Body` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.9/src/client/mod.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | use crate::body::{Body, HttpBody}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | let url = try!(url::Url::parse(&url)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 70 | let mut response = try!(client.post(url).body(body).headers(headers).send()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | try!(response.read_to_string(&mut resp_s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:43:39 [INFO] [stdout] | [INFO] [stdout] 43 | event_body: (&mut Read, u64), [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `UTC` in `chrono` [INFO] [stdout] --> src/main.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | let expiry = chrono::UTC::now().add(ttl).timestamp(); [INFO] [stdout] | ^^^ could not find `UTC` in `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Authorization` in this scope [INFO] [stdout] --> src/main.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | headers.set(Authorization(sas)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Body` is private [INFO] [stdout] --> src/main.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | let body = hyper::client::Body::SizedBody(event_body.0, event_body.1); [INFO] [stdout] | ^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Body` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.9/src/client/mod.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | use crate::body::{Body, HttpBody}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | let url = try!(url::Url::parse(&url)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 70 | let mut response = try!(client.post(url).body(body).headers(headers).send()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | try!(response.read_to_string(&mut resp_s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:43:39 [INFO] [stdout] | [INFO] [stdout] 43 | event_body: (&mut Read, u64), [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `SizedBody` found for struct `Body` in the current scope [INFO] [stdout] --> src/main.rs:67:37 [INFO] [stdout] | [INFO] [stdout] 67 | let body = hyper::client::Body::SizedBody(event_body.0, event_body.1); [INFO] [stdout] | ^^^^^^^^^ associated item not found in `Body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `SizedBody` found for struct `Body` in the current scope [INFO] [stdout] --> src/main.rs:67:37 [INFO] [stdout] | [INFO] [stdout] 67 | let body = hyper::client::Body::SizedBody(event_body.0, event_body.1); [INFO] [stdout] | ^^^^^^^^^ associated item not found in `Body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `post` found for struct `Client` in the current scope [INFO] [stdout] --> src/main.rs:70:36 [INFO] [stdout] | [INFO] [stdout] 70 | let mut response = try!(client.post(url).body(body).headers(headers).send()); [INFO] [stdout] | ^^^^ method not found in `Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `post` found for struct `Client` in the current scope [INFO] [stdout] --> src/main.rs:70:36 [INFO] [stdout] | [INFO] [stdout] 70 | let mut response = try!(client.post(url).body(body).headers(headers).send()); [INFO] [stdout] | ^^^^ method not found in `Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> src/main.rs:111:24 [INFO] [stdout] | [INFO] [stdout] 111 | env_logger::init().unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> src/main.rs:111:24 [INFO] [stdout] | [INFO] [stdout] 111 | env_logger::init().unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pusheventhub` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "035f94e414eec1a161bd2c8032c55feae29721a6349fe38ae63f7d8d3f31ee6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "035f94e414eec1a161bd2c8032c55feae29721a6349fe38ae63f7d8d3f31ee6a", kill_on_drop: false }` [INFO] [stdout] 035f94e414eec1a161bd2c8032c55feae29721a6349fe38ae63f7d8d3f31ee6a