[INFO] cloning repository https://github.com/MindFlavor/pusheventhub [INFO] running `"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"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMindFlavor%2Fpusheventhub'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] a86bbbb3306e33fb356a2d40d7ed865a404020d9 [INFO] testing MindFlavor/pusheventhub against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMindFlavor%2Fpusheventhub" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MindFlavor/pusheventhub on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.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-3/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.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-3/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 `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c52d36b26900d1e4cc69212586cbca588ac272f87024d22fdde5b5ccd75534f3 [INFO] running `"docker" "start" "-a" "c52d36b26900d1e4cc69212586cbca588ac272f87024d22fdde5b5ccd75534f3"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling pin-project-internal v0.4.19 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling pin-project v0.4.19 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling hyper v0.13.6 [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] | ^^^^^^^^^^^^^^^^ private crate [INFO] [stderr] | [INFO] [stderr] note: the crate `percent_encoding` is defined here [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/url-2.1.1/src/lib.rs:113:1 [INFO] [stderr] | [INFO] [stderr] 113 | extern crate percent_encoding; [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] | ^^^^ private struct [INFO] [stderr] | [INFO] [stderr] note: the struct `Body` is defined here [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.6/src/client/mod.rs:64:19 [INFO] [stderr] | [INFO] [stderr] 64 | use crate::body::{Body, HttpBody}; [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 struct `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 struct `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] | ^^^^ method not found in `hyper::Client` [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] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap` found for unit 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; 6 warnings emitted [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" "c52d36b26900d1e4cc69212586cbca588ac272f87024d22fdde5b5ccd75534f3"` [INFO] running `"docker" "rm" "-f" "c52d36b26900d1e4cc69212586cbca588ac272f87024d22fdde5b5ccd75534f3"` [INFO] [stdout] c52d36b26900d1e4cc69212586cbca588ac272f87024d22fdde5b5ccd75534f3