[INFO] updating cached repository https://github.com/MindFlavor/pusheventhub
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] a86bbbb3306e33fb356a2d40d7ed865a404020d9
[INFO] testing MindFlavor/pusheventhub against 1.40.0 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMindFlavor%2Fpusheventhub" "/workspace/builds/worker-1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/MindFlavor/pusheventhub on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[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-1/source/Cargo.toml
[INFO] crate git repo https://github.com/MindFlavor/pusheventhub already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.40.0" "build" "--frozen"`
[INFO] [stdout] 9718cb531bf43968f63b4e9795defa63d0be61a6e2ae575322b95cf602030ffc
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `"docker" "start" "-a" "9718cb531bf43968f63b4e9795defa63d0be61a6e2ae575322b95cf602030ffc"`
[INFO] [stderr]    Compiling bytes v0.5.3
[INFO] [stderr]    Compiling futures-core v0.3.1
[INFO] [stderr]    Compiling syn v1.0.11
[INFO] [stderr]    Compiling pin-project-lite v0.1.1
[INFO] [stderr]    Compiling futures-sink v0.3.1
[INFO] [stderr]    Compiling futures-task v0.3.1
[INFO] [stderr]    Compiling tower-service v0.3.0
[INFO] [stderr]    Compiling time v0.2.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling futures-util v0.3.1
[INFO] [stderr]    Compiling futures-channel v0.3.1
[INFO] [stderr]    Compiling clap v2.33.0
[INFO] [stderr]    Compiling tokio v0.2.6
[INFO] [stderr]    Compiling http v0.2.0
[INFO] [stderr]    Compiling http-body v0.3.1
[INFO] [stderr]    Compiling tokio-util v0.2.0
[INFO] [stderr]    Compiling h2 v0.2.1
[INFO] [stderr]    Compiling pin-project-internal v0.4.6
[INFO] [stderr]    Compiling pin-project v0.4.6
[INFO] [stderr]    Compiling hyper v0.13.1
[INFO] [stderr]    Compiling pusheventhub v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved import `hyper::status`
[INFO] [stderr]  --> src/azure_error.rs:6:12
[INFO] [stderr]   |
[INFO] [stderr] 6 | use hyper::status::StatusCode;
[INFO] [stderr]   |            ^^^^^^ could not find `status` in `hyper`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `hyper::header::Headers`, `hyper::header::ContentLength`
[INFO] [stderr]   --> src/main.rs:19:21
[INFO] [stderr]    |
[INFO] [stderr] 19 | use hyper::header::{Headers, ContentLength};
[INFO] [stderr]    |                     ^^^^^^^  ^^^^^^^^^^^^^ no `ContentLength` in `header`
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     no `Headers` in `header`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `hyper::status`
[INFO] [stderr]   --> src/main.rs:20:12
[INFO] [stderr]    |
[INFO] [stderr] 20 | use hyper::status::StatusCode;
[INFO] [stderr]    |            ^^^^^^ could not find `status` in `hyper`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `url::percent_encoding::HTTP_VALUE_ENCODE_SET`, `url::percent_encoding::FORM_URLENCODED_ENCODE_SET`
[INFO] [stderr]   --> src/main.rs:27:50
[INFO] [stderr]    |
[INFO] [stderr] 27 | use url::percent_encoding::{utf8_percent_encode, HTTP_VALUE_ENCODE_SET, FORM_URLENCODED_ENCODE_SET};
[INFO] [stderr]    |                                                  ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `FORM_URLENCODED_ENCODE_SET` in `percent_encoding`
[INFO] [stderr]    |                                                  |
[INFO] [stderr]    |                                                  no `HTTP_VALUE_ENCODE_SET` in `percent_encoding`
[INFO] [stderr] 
[INFO] [stderr] error: cannot find macro `header` in this scope
[INFO] [stderr]   --> src/main.rs:37:1
[INFO] [stderr]    |
[INFO] [stderr] 37 | header! { (Authorization, "Authorization") => [String] }
[INFO] [stderr]    | ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `UTC` in `chrono`
[INFO] [stderr]   --> src/main.rs:86:26
[INFO] [stderr]    |
[INFO] [stderr] 86 |     let expiry = chrono::UTC::now().add(ttl).timestamp();
[INFO] [stderr]    |                          ^^^ could not find `UTC` in `chrono`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Authorization` in this scope
[INFO] [stderr]   --> src/main.rs:63:17
[INFO] [stderr]    |
[INFO] [stderr] 63 |     headers.set(Authorization(sas));
[INFO] [stderr]    |                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0603]: crate `percent_encoding` is private
[INFO] [stderr]   --> src/main.rs:27:10
[INFO] [stderr]    |
[INFO] [stderr] 27 | use url::percent_encoding::{utf8_percent_encode, HTTP_VALUE_ENCODE_SET, FORM_URLENCODED_ENCODE_SET};
[INFO] [stderr]    |          ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0603]: struct `Body` is private
[INFO] [stderr]   --> src/main.rs:67:31
[INFO] [stderr]    |
[INFO] [stderr] 67 |     let body = hyper::client::Body::SizedBody(event_body.0, event_body.1);
[INFO] [stderr]    |                               ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/main.rs:51:15
[INFO] [stderr]    |
[INFO] [stderr] 51 |     let url = try!(url::Url::parse(&url));
[INFO] [stderr]    |               ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/main.rs:70:24
[INFO] [stderr]    |
[INFO] [stderr] 70 |     let mut response = try!(client.post(url).body(body).headers(headers).send());
[INFO] [stderr]    |                        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/main.rs:77:9
[INFO] [stderr]    |
[INFO] [stderr] 77 |         try!(response.read_to_string(&mut resp_s));
[INFO] [stderr]    |         ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused `#[macro_use]` import
[INFO] [stderr]  --> src/main.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | #[macro_use]
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/main.rs:43:39
[INFO] [stderr]    |
[INFO] [stderr] 43 |                     event_body: (&mut Read, u64),
[INFO] [stderr]    |                                       ^^^^ help: use `dyn`: `dyn Read`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no associated item named `SizedBody` found for type `hyper::Body` in the current scope
[INFO] [stderr]   --> src/main.rs:67:37
[INFO] [stderr]    |
[INFO] [stderr] 67 |     let body = hyper::client::Body::SizedBody(event_body.0, event_body.1);
[INFO] [stderr]    |                                     ^^^^^^^^^ associated item not found in `hyper::Body`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `post` found for type `hyper::Client<hyper::client::HttpConnector>` in the current scope
[INFO] [stderr]   --> src/main.rs:70:36
[INFO] [stderr]    |
[INFO] [stderr] 70 |     let mut response = try!(client.post(url).body(body).headers(headers).send());
[INFO] [stderr]    |                                    ^^^^ method not found in `hyper::Client<hyper::client::HttpConnector>`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: `percent_encoding::PercentEncode<'_>` doesn't implement `std::fmt::Debug`
[INFO] [stderr]   --> src/main.rs:90:35
[INFO] [stderr]    |
[INFO] [stderr] 90 |     debug!("url_encoded == {:?}", url_encoded);
[INFO] [stderr]    |                                   ^^^^^^^^^^^ `percent_encoding::PercentEncode<'_>` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
[INFO] [stderr]    |
[INFO] [stderr]    = help: the trait `std::fmt::Debug` is not implemented for `percent_encoding::PercentEncode<'_>`
[INFO] [stderr]    = note: required by `std::fmt::Debug::fmt`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: `percent_encoding::PercentEncode<'_>` doesn't implement `std::fmt::Debug`
[INFO] [stderr]    --> src/main.rs:101:27
[INFO] [stderr]     |
[INFO] [stderr] 101 |     debug!("sig == {:?}", sig);
[INFO] [stderr]     |                           ^^^ `percent_encoding::PercentEncode<'_>` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
[INFO] [stderr]     |
[INFO] [stderr]     = help: the trait `std::fmt::Debug` is not implemented for `percent_encoding::PercentEncode<'_>`
[INFO] [stderr]     = note: required by `std::fmt::Debug::fmt`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `unwrap` found for type `()` in the current scope
[INFO] [stderr]    --> src/main.rs:111:24
[INFO] [stderr]     |
[INFO] [stderr] 111 |     env_logger::init().unwrap();
[INFO] [stderr]     |                        ^^^^^^ method not found in `()`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::ops::Add`
[INFO] [stderr]   --> src/main.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr] 24 | use std::ops::Add;
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 14 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0277, E0425, E0432, E0433, E0599, E0603.
[INFO] [stderr] For more information about an error, try `rustc --explain E0277`.
[INFO] [stderr] error: could not compile `pusheventhub`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "9718cb531bf43968f63b4e9795defa63d0be61a6e2ae575322b95cf602030ffc"`
[INFO] running `"docker" "rm" "-f" "9718cb531bf43968f63b4e9795defa63d0be61a6e2ae575322b95cf602030ffc"`
[INFO] [stdout] 9718cb531bf43968f63b4e9795defa63d0be61a6e2ae575322b95cf602030ffc
