[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFlorob%2Frust-xmpp" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Florob/rust-xmpp on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-0/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-0/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-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" "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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b88733a29384bb0718f140685468f7096392acf5712f5a7fce7c524b7f44ecd4 [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" "b88733a29384bb0718f140685468f7096392acf5712f5a7fce7c524b7f44ecd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b88733a29384bb0718f140685468f7096392acf5712f5a7fce7c524b7f44ecd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b88733a29384bb0718f140685468f7096392acf5712f5a7fce7c524b7f44ecd4", kill_on_drop: false }` [INFO] [stdout] b88733a29384bb0718f140685468f7096392acf5712f5a7fce7c524b7f44ecd4 [INFO] running `Command { std: "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" "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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0cdf583cecaecbdd4a981c1242a9fbbffe71080a01c23d048bc709433c843ccf [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" "0cdf583cecaecbdd4a981c1242a9fbbffe71080a01c23d048bc709433c843ccf", kill_on_drop: false }` [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.33 (https://github.com/sfackler/rust-openssl#7993bebe) [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking rustc-serialize v0.3.24 (https://github.com/rust-lang-nursery/rustc-serialize#71b8d6ef) [INFO] [stderr] Checking RustyXML v0.2.0 (https://github.com/Florob/RustyXML#9e88e2f4) [INFO] [stderr] Compiling openssl-sys v0.9.61 (https://github.com/sfackler/rust-openssl#7993bebe) [INFO] [stderr] Checking foreign-types v0.3.2 [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 `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 `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] 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/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: 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: 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: 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: 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: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: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: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: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: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] 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: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[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/xmpp_socket.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | let ssl = match SslStream::connect(&ctx, sock) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ---- ---- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-openssl-41da9d20ce19f5aa/7993beb/openssl/src/ssl/mod.rs:3591:12 [INFO] [stdout] | [INFO] [stdout] 3591 | pub fn connect(&mut self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_clone` found for unit type `()` in the current scope [INFO] [stdout] --> src/xmpp_socket.rs:35:37 [INFO] [stdout] | [INFO] [stdout] 35 | let ssl_read = try!(ssl.try_clone()); [INFO] [stdout] | ^^^^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/xmpp_socket.rs:36:63 [INFO] [stdout] | [INFO] [stdout] 36 | *self = XmppSocket::Tls(BufReader::new(ssl_read), ssl); [INFO] [stdout] | ^^^ expected struct `SslStream`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `SslStream` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [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[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/xmpp_socket.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | let ssl = match SslStream::connect(&ctx, sock) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ---- ---- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-openssl-41da9d20ce19f5aa/7993beb/openssl/src/ssl/mod.rs:3591:12 [INFO] [stdout] | [INFO] [stdout] 3591 | pub fn connect(&mut self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_clone` found for unit type `()` in the current scope [INFO] [stdout] --> src/xmpp_socket.rs:35:37 [INFO] [stdout] | [INFO] [stdout] 35 | let ssl_read = try!(ssl.try_clone()); [INFO] [stdout] | ^^^^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/xmpp_socket.rs:36:63 [INFO] [stdout] | [INFO] [stdout] 36 | *self = XmppSocket::Tls(BufReader::new(ssl_read), ssl); [INFO] [stdout] | ^^^ expected struct `SslStream`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `SslStream` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0cdf583cecaecbdd4a981c1242a9fbbffe71080a01c23d048bc709433c843ccf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cdf583cecaecbdd4a981c1242a9fbbffe71080a01c23d048bc709433c843ccf", kill_on_drop: false }` [INFO] [stdout] 0cdf583cecaecbdd4a981c1242a9fbbffe71080a01c23d048bc709433c843ccf