[INFO] crate xmpp-proto 0.1.2 is already in cache [INFO] extracting crate xmpp-proto 0.1.2 into work/ex/beta-1.38-1/sources/1.37.0/reg/xmpp-proto/0.1.2 [INFO] extracting crate xmpp-proto 0.1.2 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/xmpp-proto/0.1.2 [INFO] validating manifest of xmpp-proto-0.1.2 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 xmpp-proto-0.1.2 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 xmpp-proto-0.1.2 [INFO] finished frobbing xmpp-proto-0.1.2 [INFO] frobbed toml for xmpp-proto-0.1.2 written to work/ex/beta-1.38-1/sources/1.37.0/reg/xmpp-proto/0.1.2/Cargo.toml [INFO] started frobbing xmpp-proto-0.1.2 [INFO] finished frobbing xmpp-proto-0.1.2 [INFO] frobbed toml for xmpp-proto-0.1.2 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/xmpp-proto/0.1.2/Cargo.toml [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] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing xmpp-proto-0.1.2 against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-4/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/xmpp-proto/0.1.2:/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" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 2a235ee3ad7d21794e369a4579c6b8bc2980ad9344ee38a2bf66e24cff6f59f3 [INFO] running `"docker" "start" "-a" "2a235ee3ad7d21794e369a4579c6b8bc2980ad9344ee38a2bf66e24cff6f59f3"` [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling string_cache_codegen v0.4.2 [INFO] [stderr] Compiling string_cache v0.7.3 [INFO] [stderr] Compiling elementtree v0.2.0 [INFO] [stderr] Compiling xmpp-proto v0.1.2 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/connection.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Mutex` [INFO] [stderr] --> src/connection.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use std::sync::Mutex; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::str` [INFO] [stderr] --> src/transport.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use std::str; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/transport.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Mutex` [INFO] [stderr] --> src/transport.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use std::sync::Mutex; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/transport.rs:26:73 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn connect(upstream: XMPPStream, connection: Connection) -> Box> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/transport.rs:145:51 [INFO] [stderr] | [INFO] [stderr] 145 | pub fn send_frame(&mut self, s: Event) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser.rs:50:57 [INFO] [stderr] | [INFO] [stderr] 50 | static ref HASHMAP_R: Vec<(&'static str, Regex, Box Event + Sync>)> = { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> Event + Sync` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser.rs:58:24 [INFO] [stderr] | [INFO] [stderr] 58 | as Box Event + Sync> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> Event + Sync` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser.rs:66:24 [INFO] [stderr] | [INFO] [stderr] 66 | as Box Event + Sync> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> Event + Sync` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser.rs:74:24 [INFO] [stderr] | [INFO] [stderr] 74 | as Box Event + Sync> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> Event + Sync` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser.rs:82:24 [INFO] [stderr] | [INFO] [stderr] 82 | as Box Event + Sync> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> Event + Sync` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser.rs:90:24 [INFO] [stderr] | [INFO] [stderr] 90 | as Box Event + Sync> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> Event + Sync` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser.rs:98:24 [INFO] [stderr] | [INFO] [stderr] 98 | as Box Event + Sync> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> Event + Sync` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser.rs:106:24 [INFO] [stderr] | [INFO] [stderr] 106 | as Box Event + Sync> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> Event + Sync` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser.rs:114:24 [INFO] [stderr] | [INFO] [stderr] 114 | as Box Event + Sync> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> Event + Sync` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_io::codec::Framed': Moved to tokio-codec [INFO] [stderr] --> src/stream.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use tokio_io::codec::Framed; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_io::codec::Framed': Moved to tokio-codec [INFO] [stderr] --> src/stream.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | Tcp(Framed), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_io::codec::Framed': Moved to tokio-codec [INFO] [stderr] --> src/stream.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | Tls(Framed, XMPPCodec>) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/parser.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / lazy_static! { [INFO] [stderr] 41 | | static ref XML_R: &'static str = r"(<\?xm[^<]*>)"; [INFO] [stderr] 42 | | static ref STREAM_STREAM: &'static str = r"((.*?)(?:))"; [INFO] [stderr] ... | [INFO] [stderr] 120 | | static ref SET: RegexSet = RegexSet::new({ let mut v = Vec::new(); let z = &*HASHMAP_R; for i in z { v.push(i.0); } v}).unwrap(); [INFO] [stderr] 121 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/parser.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / lazy_static! { [INFO] [stderr] 41 | | static ref XML_R: &'static str = r"(<\?xm[^<]*>)"; [INFO] [stderr] 42 | | static ref STREAM_STREAM: &'static str = r"((.*?)(?:))"; [INFO] [stderr] ... | [INFO] [stderr] 120 | | static ref SET: RegexSet = RegexSet::new({ let mut v = Vec::new(); let z = &*HASHMAP_R; for i in z { v.push(i.0); } v}).unwrap(); [INFO] [stderr] 121 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/parser.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / lazy_static! { [INFO] [stderr] 41 | | static ref XML_R: &'static str = r"(<\?xm[^<]*>)"; [INFO] [stderr] 42 | | static ref STREAM_STREAM: &'static str = r"((.*?)(?:))"; [INFO] [stderr] ... | [INFO] [stderr] 120 | | static ref SET: RegexSet = RegexSet::new({ let mut v = Vec::new(); let z = &*HASHMAP_R; for i in z { v.push(i.0); } v}).unwrap(); [INFO] [stderr] 121 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/parser.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / lazy_static! { [INFO] [stderr] 41 | | static ref XML_R: &'static str = r"(<\?xm[^<]*>)"; [INFO] [stderr] 42 | | static ref STREAM_STREAM: &'static str = r"((.*?)(?:))"; [INFO] [stderr] ... | [INFO] [stderr] 120 | | static ref SET: RegexSet = RegexSet::new({ let mut v = Vec::new(); let z = &*HASHMAP_R; for i in z { v.push(i.0); } v}).unwrap(); [INFO] [stderr] 121 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/parser.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / lazy_static! { [INFO] [stderr] 41 | | static ref XML_R: &'static str = r"(<\?xm[^<]*>)"; [INFO] [stderr] 42 | | static ref STREAM_STREAM: &'static str = r"((.*?)(?:))"; [INFO] [stderr] ... | [INFO] [stderr] 120 | | static ref SET: RegexSet = RegexSet::new({ let mut v = Vec::new(); let z = &*HASHMAP_R; for i in z { v.push(i.0); } v}).unwrap(); [INFO] [stderr] 121 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/parser.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / lazy_static! { [INFO] [stderr] 41 | | static ref XML_R: &'static str = r"(<\?xm[^<]*>)"; [INFO] [stderr] 42 | | static ref STREAM_STREAM: &'static str = r"((.*?)(?:))"; [INFO] [stderr] ... | [INFO] [stderr] 120 | | static ref SET: RegexSet = RegexSet::new({ let mut v = Vec::new(); let z = &*HASHMAP_R; for i in z { v.push(i.0); } v}).unwrap(); [INFO] [stderr] 121 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/parser.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / lazy_static! { [INFO] [stderr] 41 | | static ref XML_R: &'static str = r"(<\?xm[^<]*>)"; [INFO] [stderr] 42 | | static ref STREAM_STREAM: &'static str = r"((.*?)(?:))"; [INFO] [stderr] ... | [INFO] [stderr] 120 | | static ref SET: RegexSet = RegexSet::new({ let mut v = Vec::new(); let z = &*HASHMAP_R; for i in z { v.push(i.0); } v}).unwrap(); [INFO] [stderr] 121 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/parser.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / lazy_static! { [INFO] [stderr] 41 | | static ref XML_R: &'static str = r"(<\?xm[^<]*>)"; [INFO] [stderr] 42 | | static ref STREAM_STREAM: &'static str = r"((.*?)(?:))"; [INFO] [stderr] ... | [INFO] [stderr] 120 | | static ref SET: RegexSet = RegexSet::new({ let mut v = Vec::new(); let z = &*HASHMAP_R; for i in z { v.push(i.0); } v}).unwrap(); [INFO] [stderr] 121 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/parser.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / lazy_static! { [INFO] [stderr] 41 | | static ref XML_R: &'static str = r"(<\?xm[^<]*>)"; [INFO] [stderr] 42 | | static ref STREAM_STREAM: &'static str = r"((.*?)(?:))"; [INFO] [stderr] ... | [INFO] [stderr] 120 | | static ref SET: RegexSet = RegexSet::new({ let mut v = Vec::new(); let z = &*HASHMAP_R; for i in z { v.push(i.0); } v}).unwrap(); [INFO] [stderr] 121 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/parser.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / lazy_static! { [INFO] [stderr] 41 | | static ref XML_R: &'static str = r"(<\?xm[^<]*>)"; [INFO] [stderr] 42 | | static ref STREAM_STREAM: &'static str = r"((.*?)(?:))"; [INFO] [stderr] ... | [INFO] [stderr] 120 | | static ref SET: RegexSet = RegexSet::new({ let mut v = Vec::new(); let z = &*HASHMAP_R; for i in z { v.push(i.0); } v}).unwrap(); [INFO] [stderr] 121 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/transport.rs:69:13 [INFO] [stderr] | [INFO] [stderr] 69 | let e = event.clone(); [INFO] [stderr] | ^ help: consider prefixing with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/connection.rs:221:17 [INFO] [stderr] | [INFO] [stderr] 221 | tx.send(event); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.14s [INFO] running `"docker" "inspect" "2a235ee3ad7d21794e369a4579c6b8bc2980ad9344ee38a2bf66e24cff6f59f3"` [INFO] running `"docker" "rm" "-f" "2a235ee3ad7d21794e369a4579c6b8bc2980ad9344ee38a2bf66e24cff6f59f3"` [INFO] [stdout] 2a235ee3ad7d21794e369a4579c6b8bc2980ad9344ee38a2bf66e24cff6f59f3 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-4/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/xmpp-proto/0.1.2:/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" "+beta-2019-08-13" "test" "--frozen" "--no-run"` [INFO] [stdout] c7ca35d522614c6e66e1ee02e859d1381b94bc7b212ac51071c7b00802b565ec [INFO] running `"docker" "start" "-a" "c7ca35d522614c6e66e1ee02e859d1381b94bc7b212ac51071c7b00802b565ec"` [INFO] [stderr] Compiling xmpp-proto v0.1.2 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/connection.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Mutex` [INFO] [stderr] --> src/connection.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use std::sync::Mutex; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::str` [INFO] [stderr] --> src/transport.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use std::str; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/transport.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Mutex` [INFO] [stderr] --> src/transport.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use std::sync::Mutex; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/transport.rs:26:73 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn connect(upstream: XMPPStream, connection: Connection) -> Box> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/transport.rs:145:51 [INFO] [stderr] | [INFO] [stderr] 145 | pub fn send_frame(&mut self, s: Event) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser.rs:50:57 [INFO] [stderr] | [INFO] [stderr] 50 | static ref HASHMAP_R: Vec<(&'static str, Regex, Box Event + Sync>)> = { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> Event + Sync` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser.rs:58:24 [INFO] [stderr] | [INFO] [stderr] 58 | as Box Event + Sync> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> Event + Sync` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser.rs:66:24 [INFO] [stderr] | [INFO] [stderr] 66 | as Box Event + Sync> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> Event + Sync` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser.rs:74:24 [INFO] [stderr] | [INFO] [stderr] 74 | as Box Event + Sync> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> Event + Sync` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser.rs:82:24 [INFO] [stderr] | [INFO] [stderr] 82 | as Box Event + Sync> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> Event + Sync` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser.rs:90:24 [INFO] [stderr] | [INFO] [stderr] 90 | as Box Event + Sync> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> Event + Sync` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser.rs:98:24 [INFO] [stderr] | [INFO] [stderr] 98 | as Box Event + Sync> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> Event + Sync` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser.rs:106:24 [INFO] [stderr] | [INFO] [stderr] 106 | as Box Event + Sync> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> Event + Sync` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser.rs:114:24 [INFO] [stderr] | [INFO] [stderr] 114 | as Box Event + Sync> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> Event + Sync` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_io::codec::Framed': Moved to tokio-codec [INFO] [stderr] --> src/stream.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use tokio_io::codec::Framed; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_io::codec::Framed': Moved to tokio-codec [INFO] [stderr] --> src/stream.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | Tcp(Framed), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_io::codec::Framed': Moved to tokio-codec [INFO] [stderr] --> src/stream.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | Tls(Framed, XMPPCodec>) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/parser.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / lazy_static! { [INFO] [stderr] 41 | | static ref XML_R: &'static str = r"(<\?xm[^<]*>)"; [INFO] [stderr] 42 | | static ref STREAM_STREAM: &'static str = r"((.*?)(?:))"; [INFO] [stderr] ... | [INFO] [stderr] 120 | | static ref SET: RegexSet = RegexSet::new({ let mut v = Vec::new(); let z = &*HASHMAP_R; for i in z { v.push(i.0); } v}).unwrap(); [INFO] [stderr] 121 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/parser.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / lazy_static! { [INFO] [stderr] 41 | | static ref XML_R: &'static str = r"(<\?xm[^<]*>)"; [INFO] [stderr] 42 | | static ref STREAM_STREAM: &'static str = r"((.*?)(?:))"; [INFO] [stderr] ... | [INFO] [stderr] 120 | | static ref SET: RegexSet = RegexSet::new({ let mut v = Vec::new(); let z = &*HASHMAP_R; for i in z { v.push(i.0); } v}).unwrap(); [INFO] [stderr] 121 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/parser.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / lazy_static! { [INFO] [stderr] 41 | | static ref XML_R: &'static str = r"(<\?xm[^<]*>)"; [INFO] [stderr] 42 | | static ref STREAM_STREAM: &'static str = r"((.*?)(?:))"; [INFO] [stderr] ... | [INFO] [stderr] 120 | | static ref SET: RegexSet = RegexSet::new({ let mut v = Vec::new(); let z = &*HASHMAP_R; for i in z { v.push(i.0); } v}).unwrap(); [INFO] [stderr] 121 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/parser.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / lazy_static! { [INFO] [stderr] 41 | | static ref XML_R: &'static str = r"(<\?xm[^<]*>)"; [INFO] [stderr] 42 | | static ref STREAM_STREAM: &'static str = r"((.*?)(?:))"; [INFO] [stderr] ... | [INFO] [stderr] 120 | | static ref SET: RegexSet = RegexSet::new({ let mut v = Vec::new(); let z = &*HASHMAP_R; for i in z { v.push(i.0); } v}).unwrap(); [INFO] [stderr] 121 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/parser.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / lazy_static! { [INFO] [stderr] 41 | | static ref XML_R: &'static str = r"(<\?xm[^<]*>)"; [INFO] [stderr] 42 | | static ref STREAM_STREAM: &'static str = r"((.*?)(?:))"; [INFO] [stderr] ... | [INFO] [stderr] 120 | | static ref SET: RegexSet = RegexSet::new({ let mut v = Vec::new(); let z = &*HASHMAP_R; for i in z { v.push(i.0); } v}).unwrap(); [INFO] [stderr] 121 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/parser.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / lazy_static! { [INFO] [stderr] 41 | | static ref XML_R: &'static str = r"(<\?xm[^<]*>)"; [INFO] [stderr] 42 | | static ref STREAM_STREAM: &'static str = r"((.*?)(?:))"; [INFO] [stderr] ... | [INFO] [stderr] 120 | | static ref SET: RegexSet = RegexSet::new({ let mut v = Vec::new(); let z = &*HASHMAP_R; for i in z { v.push(i.0); } v}).unwrap(); [INFO] [stderr] 121 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/parser.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / lazy_static! { [INFO] [stderr] 41 | | static ref XML_R: &'static str = r"(<\?xm[^<]*>)"; [INFO] [stderr] 42 | | static ref STREAM_STREAM: &'static str = r"((.*?)(?:))"; [INFO] [stderr] ... | [INFO] [stderr] 120 | | static ref SET: RegexSet = RegexSet::new({ let mut v = Vec::new(); let z = &*HASHMAP_R; for i in z { v.push(i.0); } v}).unwrap(); [INFO] [stderr] 121 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/parser.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / lazy_static! { [INFO] [stderr] 41 | | static ref XML_R: &'static str = r"(<\?xm[^<]*>)"; [INFO] [stderr] 42 | | static ref STREAM_STREAM: &'static str = r"((.*?)(?:))"; [INFO] [stderr] ... | [INFO] [stderr] 120 | | static ref SET: RegexSet = RegexSet::new({ let mut v = Vec::new(); let z = &*HASHMAP_R; for i in z { v.push(i.0); } v}).unwrap(); [INFO] [stderr] 121 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/parser.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / lazy_static! { [INFO] [stderr] 41 | | static ref XML_R: &'static str = r"(<\?xm[^<]*>)"; [INFO] [stderr] 42 | | static ref STREAM_STREAM: &'static str = r"((.*?)(?:))"; [INFO] [stderr] ... | [INFO] [stderr] 120 | | static ref SET: RegexSet = RegexSet::new({ let mut v = Vec::new(); let z = &*HASHMAP_R; for i in z { v.push(i.0); } v}).unwrap(); [INFO] [stderr] 121 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/parser.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / lazy_static! { [INFO] [stderr] 41 | | static ref XML_R: &'static str = r"(<\?xm[^<]*>)"; [INFO] [stderr] 42 | | static ref STREAM_STREAM: &'static str = r"((.*?)(?:))"; [INFO] [stderr] ... | [INFO] [stderr] 120 | | static ref SET: RegexSet = RegexSet::new({ let mut v = Vec::new(); let z = &*HASHMAP_R; for i in z { v.push(i.0); } v}).unwrap(); [INFO] [stderr] 121 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/transport.rs:69:13 [INFO] [stderr] | [INFO] [stderr] 69 | let e = event.clone(); [INFO] [stderr] | ^ help: consider prefixing with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/connection.rs:221:17 [INFO] [stderr] | [INFO] [stderr] 221 | tx.send(event); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.45s [INFO] running `"docker" "inspect" "c7ca35d522614c6e66e1ee02e859d1381b94bc7b212ac51071c7b00802b565ec"` [INFO] running `"docker" "rm" "-f" "c7ca35d522614c6e66e1ee02e859d1381b94bc7b212ac51071c7b00802b565ec"` [INFO] [stdout] c7ca35d522614c6e66e1ee02e859d1381b94bc7b212ac51071c7b00802b565ec [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-4/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/xmpp-proto/0.1.2:/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" "+beta-2019-08-13" "test" "--frozen"` [INFO] [stdout] dc1140e5a9b88a694d8945b7c2643cf85d3f5e800d7150e8212f49f9a969b99f [INFO] running `"docker" "start" "-a" "dc1140e5a9b88a694d8945b7c2643cf85d3f5e800d7150e8212f49f9a969b99f"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running /opt/crater/target/debug/deps/xmpp_proto-f1f2154b6e930a2e [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test events::tests::test_event ... ok [INFO] [stdout] test events::open_stream::tests::check_compilation ... ok [INFO] [stdout] test jid::tests::jid_from_full ... ok [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] test events::tests::test_parse ... ok [INFO] [stdout] test jid::tests::jid_no_node ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests xmpp-proto [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "dc1140e5a9b88a694d8945b7c2643cf85d3f5e800d7150e8212f49f9a969b99f"` [INFO] running `"docker" "rm" "-f" "dc1140e5a9b88a694d8945b7c2643cf85d3f5e800d7150e8212f49f9a969b99f"` [INFO] [stdout] dc1140e5a9b88a694d8945b7c2643cf85d3f5e800d7150e8212f49f9a969b99f