[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] testing MindFlavor/pusheventhub against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMindFlavor%2Fpusheventhub" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MindFlavor/pusheventhub on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-6/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-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-6/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-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", 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] 1a40b3f5da8e4b0866e46b3509e6983ed61430568c3f455e49aae1fc4ea13a75 [INFO] running `Command { std: "docker" "start" "-a" "1a40b3f5da8e4b0866e46b3509e6983ed61430568c3f455e49aae1fc4ea13a75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a40b3f5da8e4b0866e46b3509e6983ed61430568c3f455e49aae1fc4ea13a75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a40b3f5da8e4b0866e46b3509e6983ed61430568c3f455e49aae1fc4ea13a75", kill_on_drop: false }` [INFO] [stdout] 1a40b3f5da8e4b0866e46b3509e6983ed61430568c3f455e49aae1fc4ea13a75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--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] 016c12533c208bbd32cf283defe799325e138db972618e851dfb1331efc99a54 [INFO] running `Command { std: "docker" "start" "-a" "016c12533c208bbd32cf283defe799325e138db972618e851dfb1331efc99a54", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling tracing-core v0.1.13 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling tracing v0.1.18 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling idna v0.2.0 [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.2 [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.13 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling regex v1.3.9 [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 time-macros-impl v0.1.1 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling hyper v0.13.7 [INFO] [stderr] Compiling 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 imports `url::percent_encoding::HTTP_VALUE_ENCODE_SET`, `url::percent_encoding::FORM_URLENCODED_ENCODE_SET` [INFO] [stdout] --> src/main.rs:27:50 [INFO] [stdout] | [INFO] [stdout] 27 | use url::percent_encoding::{utf8_percent_encode, HTTP_VALUE_ENCODE_SET, FORM_URLENCODED_ENCODE_SET}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `FORM_URLENCODED_ENCODE_SET` in `percent_encoding` [INFO] [stdout] | | [INFO] [stdout] | no `HTTP_VALUE_ENCODE_SET` in `percent_encoding` [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]: crate `percent_encoding` is private [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] | ^^^^^^^^^^^^^^^^ private crate [INFO] [stdout] | [INFO] [stdout] note: the crate `percent_encoding` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/url-2.1.1/src/lib.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | extern crate percent_encoding; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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.7/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 item '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 item '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 item '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 `hyper::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 `hyper::Body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `post` found for struct `hyper::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 `hyper::Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `percent_encoding::PercentEncode<'_>` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> src/main.rs:90:35 [INFO] [stdout] | [INFO] [stdout] 90 | debug!("url_encoded == {:?}", url_encoded); [INFO] [stdout] | ^^^^^^^^^^^ `percent_encoding::PercentEncode<'_>` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Debug` is not implemented for `percent_encoding::PercentEncode<'_>` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `percent_encoding::PercentEncode<'_>` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> src/main.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | debug!("sig == {:?}", sig); [INFO] [stdout] | ^^^ `percent_encoding::PercentEncode<'_>` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Debug` is not implemented for `percent_encoding::PercentEncode<'_>` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] error: aborting due to 14 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0432, E0433, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pusheventhub`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "016c12533c208bbd32cf283defe799325e138db972618e851dfb1331efc99a54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "016c12533c208bbd32cf283defe799325e138db972618e851dfb1331efc99a54", kill_on_drop: false }` [INFO] [stdout] 016c12533c208bbd32cf283defe799325e138db972618e851dfb1331efc99a54