[INFO] crate eventsource 0.4.0 is already in cache [INFO] testing eventsource-0.4.0 against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] extracting crate eventsource 0.4.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate eventsource 0.4.0 on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate eventsource 0.4.0 [INFO] finished tweaking crates.io crate eventsource 0.4.0 [INFO] tweaked toml for crates.io crate eventsource 0.4.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate eventsource 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=forbid" "-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" "+41997647ba6a77908f6ef64401414feb00bccf16" "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] 9c7dd0e833f14501aa3b3a3ecfd2249f4e613f14d55d1b55c365e2ce4b208324 [INFO] running `"docker" "start" "-a" "9c7dd0e833f14501aa3b3a3ecfd2249f4e613f14d55d1b55c365e2ce4b208324"` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling cc v1.0.1 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling matches v0.1.6 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling unicode-normalization v0.1.5 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rustc-demangle v0.1.5 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.24 [INFO] [stderr] Compiling percent-encoding v1.0.0 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling indexmap v1.2.0 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling encoding_rs v0.8.19 [INFO] [stderr] Compiling httparse v1.2.3 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling mime v0.3.14 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling unicase v2.5.1 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling openssl-sys v0.9.49 [INFO] [stderr] Compiling miniz_oxide v0.3.2 [INFO] [stderr] Compiling tokio-sync v0.1.6 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling proc-macro2 v1.0.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling iovec v0.1.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling flate2 v1.0.11 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling futures-cpupool v0.1.7 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.18 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling backtrace v0.3.3 [INFO] [stderr] Compiling tokio-threadpool v0.1.15 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling publicsuffix v1.5.3 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling serde_derive v1.0.100 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling serde v1.0.16 [INFO] [stderr] Compiling serde_json v1.0.4 [INFO] [stderr] Compiling serde_urlencoded v0.5.1 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling reqwest v0.9.20 [INFO] [stderr] Compiling eventsource v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/event.rs:109:13 [INFO] [stderr] | [INFO] [stderr] 109 | try!(write!(f, "id: {}\n", id)); [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/event.rs:112:13 [INFO] [stderr] | [INFO] [stderr] 112 | try!(write!(f, "event: {}\n", event_type)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/event.rs:115:13 [INFO] [stderr] | [INFO] [stderr] 115 | try!(write!(f, "data: {}\n", line)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/reqwest.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | / error_chain! { [INFO] [stderr] 8 | | foreign_links { [INFO] [stderr] 9 | | Reqwest(super::reqw::Error); [INFO] [stderr] 10 | | Io(::std::io::Error); [INFO] [stderr] ... | [INFO] [stderr] 26 | | } [INFO] [stderr] 27 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/event.rs:51:21 [INFO] [stderr] | [INFO] [stderr] 51 | let line = line.trim_right_matches(|c| c == '\r' || c == '\n'); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/reqwest.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | / error_chain! { [INFO] [stderr] 8 | | foreign_links { [INFO] [stderr] 9 | | Reqwest(super::reqw::Error); [INFO] [stderr] 10 | | Io(::std::io::Error); [INFO] [stderr] ... | [INFO] [stderr] 26 | | } [INFO] [stderr] 27 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 18s [INFO] running `"docker" "inspect" "9c7dd0e833f14501aa3b3a3ecfd2249f4e613f14d55d1b55c365e2ce4b208324"` [INFO] running `"docker" "rm" "-f" "9c7dd0e833f14501aa3b3a3ecfd2249f4e613f14d55d1b55c365e2ce4b208324"` [INFO] [stdout] 9c7dd0e833f14501aa3b3a3ecfd2249f4e613f14d55d1b55c365e2ce4b208324 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=forbid" "-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" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b0a9b87ed54400d980e91b097e031ac06ac983bcc491b253be598173dd5ab97d [INFO] running `"docker" "start" "-a" "b0a9b87ed54400d980e91b097e031ac06ac983bcc491b253be598173dd5ab97d"` [INFO] [stderr] Compiling eventsource v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/event.rs:109:13 [INFO] [stderr] | [INFO] [stderr] 109 | try!(write!(f, "id: {}\n", id)); [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/event.rs:112:13 [INFO] [stderr] | [INFO] [stderr] 112 | try!(write!(f, "event: {}\n", event_type)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/event.rs:115:13 [INFO] [stderr] | [INFO] [stderr] 115 | try!(write!(f, "data: {}\n", line)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/reqwest.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | / error_chain! { [INFO] [stderr] 8 | | foreign_links { [INFO] [stderr] 9 | | Reqwest(super::reqw::Error); [INFO] [stderr] 10 | | Io(::std::io::Error); [INFO] [stderr] ... | [INFO] [stderr] 26 | | } [INFO] [stderr] 27 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/event.rs:51:21 [INFO] [stderr] | [INFO] [stderr] 51 | let line = line.trim_right_matches(|c| c == '\r' || c == '\n'); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/reqwest.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | / error_chain! { [INFO] [stderr] 8 | | foreign_links { [INFO] [stderr] 9 | | Reqwest(super::reqw::Error); [INFO] [stderr] 10 | | Io(::std::io::Error); [INFO] [stderr] ... | [INFO] [stderr] 26 | | } [INFO] [stderr] 27 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/event.rs:109:13 [INFO] [stderr] | [INFO] [stderr] 109 | try!(write!(f, "id: {}\n", id)); [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/event.rs:112:13 [INFO] [stderr] | [INFO] [stderr] 112 | try!(write!(f, "event: {}\n", event_type)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/event.rs:115:13 [INFO] [stderr] | [INFO] [stderr] 115 | try!(write!(f, "data: {}\n", line)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/reqwest.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | / error_chain! { [INFO] [stderr] 8 | | foreign_links { [INFO] [stderr] 9 | | Reqwest(super::reqw::Error); [INFO] [stderr] 10 | | Io(::std::io::Error); [INFO] [stderr] ... | [INFO] [stderr] 26 | | } [INFO] [stderr] 27 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/event.rs:51:21 [INFO] [stderr] | [INFO] [stderr] 51 | let line = line.trim_right_matches(|c| c == '\r' || c == '\n'); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/reqwest.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | / error_chain! { [INFO] [stderr] 8 | | foreign_links { [INFO] [stderr] 9 | | Reqwest(super::reqw::Error); [INFO] [stderr] 10 | | Io(::std::io::Error); [INFO] [stderr] ... | [INFO] [stderr] 26 | | } [INFO] [stderr] 27 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 15.08s [INFO] running `"docker" "inspect" "b0a9b87ed54400d980e91b097e031ac06ac983bcc491b253be598173dd5ab97d"` [INFO] running `"docker" "rm" "-f" "b0a9b87ed54400d980e91b097e031ac06ac983bcc491b253be598173dd5ab97d"` [INFO] [stdout] b0a9b87ed54400d980e91b097e031ac06ac983bcc491b253be598173dd5ab97d [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=forbid" "-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" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8c6a11e15bea2f5497a49af90932127b37be4ba5408220a54ae4101b93643767 [INFO] running `"docker" "start" "-a" "8c6a11e15bea2f5497a49af90932127b37be4ba5408220a54ae4101b93643767"` [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/event.rs:109:13 [INFO] [stderr] | [INFO] [stderr] 109 | try!(write!(f, "id: {}\n", id)); [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/event.rs:112:13 [INFO] [stderr] | [INFO] [stderr] 112 | try!(write!(f, "event: {}\n", event_type)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/event.rs:115:13 [INFO] [stderr] | [INFO] [stderr] 115 | try!(write!(f, "data: {}\n", line)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/event.rs:109:13 [INFO] [stderr] | [INFO] [stderr] 109 | try!(write!(f, "id: {}\n", id)); [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/event.rs:112:13 [INFO] [stderr] | [INFO] [stderr] 112 | try!(write!(f, "event: {}\n", event_type)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/event.rs:115:13 [INFO] [stderr] | [INFO] [stderr] 115 | try!(write!(f, "data: {}\n", line)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/reqwest.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | / error_chain! { [INFO] [stderr] 8 | | foreign_links { [INFO] [stderr] 9 | | Reqwest(super::reqw::Error); [INFO] [stderr] 10 | | Io(::std::io::Error); [INFO] [stderr] ... | [INFO] [stderr] 26 | | } [INFO] [stderr] 27 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/reqwest.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | / error_chain! { [INFO] [stderr] 8 | | foreign_links { [INFO] [stderr] 9 | | Reqwest(super::reqw::Error); [INFO] [stderr] 10 | | Io(::std::io::Error); [INFO] [stderr] ... | [INFO] [stderr] 26 | | } [INFO] [stderr] 27 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/event.rs:51:21 [INFO] [stderr] | [INFO] [stderr] 51 | let line = line.trim_right_matches(|c| c == '\r' || c == '\n'); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/event.rs:51:21 [INFO] [stderr] | [INFO] [stderr] 51 | let line = line.trim_right_matches(|c| c == '\r' || c == '\n'); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/reqwest.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | / error_chain! { [INFO] [stderr] 8 | | foreign_links { [INFO] [stderr] 9 | | Reqwest(super::reqw::Error); [INFO] [stderr] 10 | | Io(::std::io::Error); [INFO] [stderr] ... | [INFO] [stderr] 26 | | } [INFO] [stderr] 27 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/reqwest.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | / error_chain! { [INFO] [stderr] 8 | | foreign_links { [INFO] [stderr] 9 | | Reqwest(super::reqw::Error); [INFO] [stderr] 10 | | Io(::std::io::Error); [INFO] [stderr] ... | [INFO] [stderr] 26 | | } [INFO] [stderr] 27 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.51s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/eventsource-d5fa5464f64c9650 [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test event::tests::basic_event_display ... ok [INFO] [stdout] test event::tests::multiline_event_display ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/reqwest-b5db9a2384ed6203 [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test retry ... ok [INFO] [stdout] test simple_events ... ok [INFO] [stdout] test content_type_with_mime_parameter ... ok [INFO] [stdout] test missing_content_type ... ok [INFO] [stdout] test invalid_content_type ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests eventsource [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 9) ... ok [INFO] [stdout] test src/event.rs - event::parse_event_line (line 37) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "8c6a11e15bea2f5497a49af90932127b37be4ba5408220a54ae4101b93643767"` [INFO] running `"docker" "rm" "-f" "8c6a11e15bea2f5497a49af90932127b37be4ba5408220a54ae4101b93643767"` [INFO] [stdout] 8c6a11e15bea2f5497a49af90932127b37be4ba5408220a54ae4101b93643767