[INFO] cloning repository https://github.com/Florob/rust-xmpp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Florob/rust-xmpp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFlorob%2Frust-xmpp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFlorob%2Frust-xmpp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dd6b62627b61b001d72d2f5747499051ec1fbb37 [INFO] checking Florob/rust-xmpp against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFlorob%2Frust-xmpp" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Florob/rust-xmpp on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Florob/rust-xmpp [INFO] finished tweaking git repo https://github.com/Florob/rust-xmpp [INFO] tweaked toml for git repo https://github.com/Florob/rust-xmpp written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/Florob/rust-xmpp already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/Florob/RustyXML` [INFO] [stderr] Updating git repository `https://github.com/sfackler/rust-openssl` [INFO] [stderr] Updating git repository `https://github.com/rust-lang-nursery/rustc-serialize` [INFO] [stderr] error: the lock file /workspace/builds/worker-11/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/Florob/RustyXML` [INFO] [stderr] Updating git repository `https://github.com/sfackler/rust-openssl` [INFO] [stderr] Updating git repository `https://github.com/rust-lang-nursery/rustc-serialize` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47270db3f464792627b17f347fd513384509a10af7e60066c2d1efaf213e9e5f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "47270db3f464792627b17f347fd513384509a10af7e60066c2d1efaf213e9e5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47270db3f464792627b17f347fd513384509a10af7e60066c2d1efaf213e9e5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47270db3f464792627b17f347fd513384509a10af7e60066c2d1efaf213e9e5f", kill_on_drop: false }` [INFO] [stdout] 47270db3f464792627b17f347fd513384509a10af7e60066c2d1efaf213e9e5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 303f5fa623b6920e7622e11afcb8f19124fe6f734549e5851915399a260b9d77 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "303f5fa623b6920e7622e11afcb8f19124fe6f734549e5851915399a260b9d77", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling openssl v0.10.30 (https://github.com/sfackler/rust-openssl#d9d805f3) [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking RustyXML v0.2.0 (https://github.com/Florob/RustyXML#9e88e2f4) [INFO] [stderr] Checking rustc-serialize v0.3.24 (https://github.com/rust-lang-nursery/rustc-serialize#71b8d6ef) [INFO] [stderr] Compiling openssl-sys v0.9.58 (https://github.com/sfackler/rust-openssl#d9d805f3) [INFO] [stderr] Checking rust-xmpp v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stdout] --> src/auth/scram.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use openssl::crypto::rand::rand_bytes; [INFO] [stdout] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stdout] --> src/auth/scram.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use openssl::crypto::hash::Type::SHA1; [INFO] [stdout] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stdout] --> src/auth/scram.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use openssl::crypto::hash::hash; [INFO] [stdout] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stdout] --> src/auth/scram.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use openssl::crypto::hmac::hmac; [INFO] [stdout] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stdout] --> src/auth/scram.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use openssl::crypto::pkcs5::pbkdf2_hmac_sha1; [INFO] [stdout] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stdout] --> src/auth/scram.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use openssl::crypto::rand::rand_bytes; [INFO] [stdout] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stdout] --> src/auth/scram.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use openssl::crypto::hash::Type::SHA1; [INFO] [stdout] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stdout] --> src/auth/scram.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use openssl::crypto::hash::hash; [INFO] [stdout] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stdout] --> src/auth/scram.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use openssl::crypto::hmac::hmac; [INFO] [stdout] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stdout] --> src/auth/scram.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use openssl::crypto::pkcs5::pbkdf2_hmac_sha1; [INFO] [stdout] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `rand_bytes` in this scope [INFO] [stdout] --> src/auth/scram.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let mut nonce = rand_bytes(64); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 | use openssl::rand::rand_bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pbkdf2_hmac_sha1` in this scope [INFO] [stdout] --> src/auth/scram.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | let salted_passwd = pbkdf2_hmac_sha1(&self.passwd, &salt, iter as usize, 20); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hmac` in this scope [INFO] [stdout] --> src/auth/scram.rs:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | let client_key = hmac(SHA1, &salted_passwd, b"Client Key"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SHA1` in this scope [INFO] [stdout] --> src/auth/scram.rs:138:31 [INFO] [stdout] | [INFO] [stdout] 138 | let client_key = hmac(SHA1, &salted_passwd, b"Client Key"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hash` in this scope [INFO] [stdout] --> src/auth/scram.rs:141:26 [INFO] [stdout] | [INFO] [stdout] 141 | let stored_key = hash(SHA1, &client_key); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 | use openssl::hash::hash; [INFO] [stdout] | [INFO] [stdout] 7 | use std::ptr::hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SHA1` in this scope [INFO] [stdout] --> src/auth/scram.rs:141:31 [INFO] [stdout] | [INFO] [stdout] 141 | let stored_key = hash(SHA1, &client_key); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hmac` in this scope [INFO] [stdout] --> src/auth/scram.rs:144:32 [INFO] [stdout] | [INFO] [stdout] 144 | let client_signature = hmac(SHA1, &stored_key, &auth_message); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SHA1` in this scope [INFO] [stdout] --> src/auth/scram.rs:144:37 [INFO] [stdout] | [INFO] [stdout] 144 | let client_signature = hmac(SHA1, &stored_key, &auth_message); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hmac` in this scope [INFO] [stdout] --> src/auth/scram.rs:146:26 [INFO] [stdout] | [INFO] [stdout] 146 | let server_key = hmac(SHA1, &salted_passwd, b"Server Key"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SHA1` in this scope [INFO] [stdout] --> src/auth/scram.rs:146:31 [INFO] [stdout] | [INFO] [stdout] 146 | let server_key = hmac(SHA1, &salted_passwd, b"Server Key"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hmac` in this scope [INFO] [stdout] --> src/auth/scram.rs:148:32 [INFO] [stdout] | [INFO] [stdout] 148 | let server_signature = hmac(SHA1, &server_key, &auth_message); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SHA1` in this scope [INFO] [stdout] --> src/auth/scram.rs:148:37 [INFO] [stdout] | [INFO] [stdout] 148 | let server_signature = hmac(SHA1, &server_key, &auth_message); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/auth/scram.rs:89:35 [INFO] [stdout] | [INFO] [stdout] 89 | let (nonce, salt, iter) = try!(parse_server_first(data)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/non_stanzas.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | try!(write!(f, "{}", self.cond)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/non_stanzas.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | try!(write!(f, "{}", ns::STREAM_ERRORS, text)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read_str.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | let available = try!(self.fill_buf()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xmpp_socket.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | let ssl_read = try!(ssl.try_clone()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | try!(TcpStream::connect(&(address, 5222))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:120:27 [INFO] [stdout] | [INFO] [stdout] 120 | let stream_read = try!(stream.try_clone()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | try!(stream_start.xmpp_send(&mut self.socket)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | try!(data.xmpp_send(&mut self.socket)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | try!(self.socket.starttls()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:88:31 [INFO] [stdout] | [INFO] [stdout] 88 | authenticator: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Authenticator + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:292:31 [INFO] [stdout] | [INFO] [stdout] 292 | let mut auth: Box = match &mech[..] { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Authenticator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `rand_bytes` in this scope [INFO] [stdout] --> src/auth/scram.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let mut nonce = rand_bytes(64); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 | use openssl::rand::rand_bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pbkdf2_hmac_sha1` in this scope [INFO] [stdout] --> src/auth/scram.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | let salted_passwd = pbkdf2_hmac_sha1(&self.passwd, &salt, iter as usize, 20); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hmac` in this scope [INFO] [stdout] --> src/auth/scram.rs:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | let client_key = hmac(SHA1, &salted_passwd, b"Client Key"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SHA1` in this scope [INFO] [stdout] --> src/auth/scram.rs:138:31 [INFO] [stdout] | [INFO] [stdout] 138 | let client_key = hmac(SHA1, &salted_passwd, b"Client Key"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hash` in this scope [INFO] [stdout] --> src/auth/scram.rs:141:26 [INFO] [stdout] | [INFO] [stdout] 141 | let stored_key = hash(SHA1, &client_key); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 | use openssl::hash::hash; [INFO] [stdout] | [INFO] [stdout] 7 | use std::ptr::hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SHA1` in this scope [INFO] [stdout] --> src/auth/scram.rs:141:31 [INFO] [stdout] | [INFO] [stdout] 141 | let stored_key = hash(SHA1, &client_key); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hmac` in this scope [INFO] [stdout] --> src/auth/scram.rs:144:32 [INFO] [stdout] | [INFO] [stdout] 144 | let client_signature = hmac(SHA1, &stored_key, &auth_message); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SHA1` in this scope [INFO] [stdout] --> src/auth/scram.rs:144:37 [INFO] [stdout] | [INFO] [stdout] 144 | let client_signature = hmac(SHA1, &stored_key, &auth_message); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hmac` in this scope [INFO] [stdout] --> src/auth/scram.rs:146:26 [INFO] [stdout] | [INFO] [stdout] 146 | let server_key = hmac(SHA1, &salted_passwd, b"Server Key"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SHA1` in this scope [INFO] [stdout] --> src/auth/scram.rs:146:31 [INFO] [stdout] | [INFO] [stdout] 146 | let server_key = hmac(SHA1, &salted_passwd, b"Server Key"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hmac` in this scope [INFO] [stdout] --> src/auth/scram.rs:148:32 [INFO] [stdout] | [INFO] [stdout] 148 | let server_signature = hmac(SHA1, &server_key, &auth_message); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SHA1` in this scope [INFO] [stdout] --> src/auth/scram.rs:148:37 [INFO] [stdout] | [INFO] [stdout] 148 | let server_signature = hmac(SHA1, &server_key, &auth_message); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/auth/scram.rs:89:35 [INFO] [stdout] | [INFO] [stdout] 89 | let (nonce, salt, iter) = try!(parse_server_first(data)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/non_stanzas.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | try!(write!(f, "{}", self.cond)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/non_stanzas.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | try!(write!(f, "{}", ns::STREAM_ERRORS, text)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read_str.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | let available = try!(self.fill_buf()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xmpp_socket.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | let ssl_read = try!(ssl.try_clone()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | try!(TcpStream::connect(&(address, 5222))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:120:27 [INFO] [stdout] | [INFO] [stdout] 120 | let stream_read = try!(stream.try_clone()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | try!(stream_start.xmpp_send(&mut self.socket)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | try!(data.xmpp_send(&mut self.socket)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | try!(self.socket.starttls()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:88:31 [INFO] [stdout] | [INFO] [stdout] 88 | authenticator: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Authenticator + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:292:31 [INFO] [stdout] | [INFO] [stdout] 292 | let mut auth: Box = match &mech[..] { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Authenticator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `SslContext` in the current scope [INFO] [stdout] --> src/xmpp_socket.rs:25:41 [INFO] [stdout] | [INFO] [stdout] 25 | let ctx = match SslContext::new(SslMethod::Sslv23) { [INFO] [stdout] | ^^^ function or associated item not found in `SslContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Sslv23` found for struct `SslMethod` in the current scope [INFO] [stdout] --> src/xmpp_socket.rs:25:56 [INFO] [stdout] | [INFO] [stdout] 25 | let ctx = match SslContext::new(SslMethod::Sslv23) { [INFO] [stdout] | ^^^^^^ associated item not found in `SslMethod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `connect` found for struct `SslStream<_>` in the current scope [INFO] [stdout] --> src/xmpp_socket.rs:30:40 [INFO] [stdout] | [INFO] [stdout] 30 | let ssl = match SslStream::connect(&ctx, sock) { [INFO] [stdout] | ^^^^^^^ function or associated item not found in `SslStream<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-xmpp` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `SslContext` in the current scope [INFO] [stdout] --> src/xmpp_socket.rs:25:41 [INFO] [stdout] | [INFO] [stdout] 25 | let ctx = match SslContext::new(SslMethod::Sslv23) { [INFO] [stdout] | ^^^ function or associated item not found in `SslContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Sslv23` found for struct `SslMethod` in the current scope [INFO] [stdout] --> src/xmpp_socket.rs:25:56 [INFO] [stdout] | [INFO] [stdout] 25 | let ctx = match SslContext::new(SslMethod::Sslv23) { [INFO] [stdout] | ^^^^^^ associated item not found in `SslMethod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `connect` found for struct `SslStream<_>` in the current scope [INFO] [stdout] --> src/xmpp_socket.rs:30:40 [INFO] [stdout] | [INFO] [stdout] 30 | let ssl = match SslStream::connect(&ctx, sock) { [INFO] [stdout] | ^^^^^^^ function or associated item not found in `SslStream<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "303f5fa623b6920e7622e11afcb8f19124fe6f734549e5851915399a260b9d77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "303f5fa623b6920e7622e11afcb8f19124fe6f734549e5851915399a260b9d77", kill_on_drop: false }` [INFO] [stdout] 303f5fa623b6920e7622e11afcb8f19124fe6f734549e5851915399a260b9d77