[INFO] updating cached repository MindFlavor/pusheventhub [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/MindFlavor/pusheventhub [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/MindFlavor/pusheventhub" "work/ex/beta-1.38-1/sources/1.37.0/gh/MindFlavor/pusheventhub"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/MindFlavor/pusheventhub'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/MindFlavor/pusheventhub" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/MindFlavor/pusheventhub"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/MindFlavor/pusheventhub'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] a86bbbb3306e33fb356a2d40d7ed865a404020d9 [INFO] sha for GitHub repo MindFlavor/pusheventhub: a86bbbb3306e33fb356a2d40d7ed865a404020d9 [INFO] validating manifest of MindFlavor/pusheventhub on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of MindFlavor/pusheventhub on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing MindFlavor/pusheventhub [INFO] finished frobbing MindFlavor/pusheventhub [INFO] frobbed toml for MindFlavor/pusheventhub written to work/ex/beta-1.38-1/sources/1.37.0/gh/MindFlavor/pusheventhub/Cargo.toml [INFO] started frobbing MindFlavor/pusheventhub [INFO] finished frobbing MindFlavor/pusheventhub [INFO] frobbed toml for MindFlavor/pusheventhub written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/MindFlavor/pusheventhub/Cargo.toml [INFO] crate MindFlavor/pusheventhub already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/MindFlavor/pusheventhub/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing MindFlavor/pusheventhub against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/MindFlavor/pusheventhub:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 88cf3b75ee6bd6a006887544acb80b839a56641edc2094f0c74d657a64c5536b [INFO] running `"docker" "start" "-a" "88cf3b75ee6bd6a006887544acb80b839a56641edc2094f0c74d657a64c5536b"` [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling tokio-threadpool v0.1.15 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling hyper v0.12.33 [INFO] [stderr] Compiling pusheventhub v0.1.0 (/opt/crater/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 `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]: extern 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: 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` 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] | ^^^^ [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] | ^^^^^^ [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" "88cf3b75ee6bd6a006887544acb80b839a56641edc2094f0c74d657a64c5536b"` [INFO] running `"docker" "rm" "-f" "88cf3b75ee6bd6a006887544acb80b839a56641edc2094f0c74d657a64c5536b"` [INFO] [stdout] 88cf3b75ee6bd6a006887544acb80b839a56641edc2094f0c74d657a64c5536b