[INFO] fetching crate apns 0.1.1...
[INFO] checking apns-0.1.1 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate apns 0.1.1 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate apns 0.1.1 on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate apns 0.1.1
[INFO] finished tweaking crates.io crate apns 0.1.1
[INFO] tweaked toml for crates.io crate apns 0.1.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 40 packages to latest compatible versions
[INFO] [stderr]       Adding foreign-types v0.3.2 (latest: v0.5.0)
[INFO] [stderr]       Adding foreign-types-shared v0.1.1 (latest: v0.3.1)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num-bigint v0.4.4
[INFO] [stderr]   Downloaded num v0.4.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0c7026f8e3b1e89debcd7c4e06868564a3f9b7410c2cc395e87e67b763250f64
[INFO] running `Command { std: "docker" "start" "-a" "0c7026f8e3b1e89debcd7c4e06868564a3f9b7410c2cc395e87e67b763250f64", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0c7026f8e3b1e89debcd7c4e06868564a3f9b7410c2cc395e87e67b763250f64", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0c7026f8e3b1e89debcd7c4e06868564a3f9b7410c2cc395e87e67b763250f64", kill_on_drop: false }`
[INFO] [stdout] 0c7026f8e3b1e89debcd7c4e06868564a3f9b7410c2cc395e87e67b763250f64
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cc08b7331dc43486ebf38c6797d6c60d6e4b4798ab79ec1d1d933a98931a9ab4
[INFO] running `Command { std: "docker" "start" "-a" "cc08b7331dc43486ebf38c6797d6c60d6e4b4798ab79ec1d1d933a98931a9ab4", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling cc v1.0.96
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]     Checking num-conv v0.1.0
[INFO] [stderr]     Checking bitflags v2.5.0
[INFO] [stderr]     Checking time-core v0.1.2
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]     Checking rustc-serialize v0.3.25
[INFO] [stderr]     Checking getrandom v0.2.14
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking deranged v0.3.11
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]     Checking time v0.3.36
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking num-complex v0.4.5
[INFO] [stderr]     Checking num-iter v0.1.44
[INFO] [stderr]     Checking num v0.4.2
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking apns v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `openssl::ssl::error::SslError`
[INFO] [stdout]   --> src/apns/mod.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use openssl::ssl::error::SslError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^--------
[INFO] [stdout]    |     |                    |
[INFO] [stdout]    |     |                    help: a similar name exists in the module: `StdError`
[INFO] [stdout]    |     no `SslError` in `ssl::error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `openssl::ssl::error::SslError`
[INFO] [stdout]   --> src/apns/mod.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use openssl::ssl::error::SslError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^--------
[INFO] [stdout]    |     |                    |
[INFO] [stdout]    |     |                    help: a similar name exists in the module: `StdError`
[INFO] [stdout]    |     no `SslError` in `ssl::error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `X509FileType` in `x509`
[INFO] [stdout]    --> src/apns/mod.rs:373:80
[INFO] [stdout]     |
[INFO] [stdout] 373 |     if let Err(error) = context.set_certificate_file(cert_file, openssl::x509::X509FileType::PEM) {
[INFO] [stdout]     |                                                                                ^^^^^^^^^^^^ could not find `X509FileType` in `x509`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `X509FileType` in `x509`
[INFO] [stdout]    --> src/apns/mod.rs:373:80
[INFO] [stdout]     |
[INFO] [stdout] 373 |     if let Err(error) = context.set_certificate_file(cert_file, openssl::x509::X509FileType::PEM) {
[INFO] [stdout]     |                                                                                ^^^^^^^^^^^^ could not find `X509FileType` in `x509`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `X509FileType` in `x509`
[INFO] [stdout]    --> src/apns/mod.rs:376:87
[INFO] [stdout]     |
[INFO] [stdout] 376 |     if let Err(error) = context.set_private_key_file(private_key_file, openssl::x509::X509FileType::PEM) {
[INFO] [stdout]     |                                                                                       ^^^^^^^^^^^^ could not find `X509FileType` in `x509`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `now` in crate `time`
[INFO] [stdout]    --> src/apns/mod.rs:327:22
[INFO] [stdout]     |
[INFO] [stdout] 327 |     let time = time::now().to_timespec().sec + 86400;    // expired after one day
[INFO] [stdout]     |                      ^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `X509FileType` in `x509`
[INFO] [stdout]    --> src/apns/mod.rs:376:87
[INFO] [stdout]     |
[INFO] [stdout] 376 |     if let Err(error) = context.set_private_key_file(private_key_file, openssl::x509::X509FileType::PEM) {
[INFO] [stdout]     |                                                                                       ^^^^^^^^^^^^ could not find `X509FileType` in `x509`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `now` in crate `time`
[INFO] [stdout]    --> src/apns/mod.rs:327:22
[INFO] [stdout]     |
[INFO] [stdout] 327 |     let time = time::now().to_timespec().sec + 86400;    // expired after one day
[INFO] [stdout]     |                      ^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `error` is private
[INFO] [stdout]    --> src/apns/mod.rs:10:19
[INFO] [stdout]     |
[INFO] [stdout] 10  | use openssl::ssl::error::SslError;
[INFO] [stdout]     |                   ^^^^^ private module
[INFO] [stdout]     |
[INFO] [stdout] note: the module `error` is defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.64/src/ssl/mod.rs:116:1
[INFO] [stdout]     |
[INFO] [stdout] 116 | mod error;
[INFO] [stdout]     | ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]   --> src/apns/mod.rs:14:23
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::io::{Cursor, Read};
[INFO] [stdout]    |                       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `error` is private
[INFO] [stdout]    --> src/apns/mod.rs:10:19
[INFO] [stdout]     |
[INFO] [stdout] 10  | use openssl::ssl::error::SslError;
[INFO] [stdout]     |                   ^^^^^ private module
[INFO] [stdout]     |
[INFO] [stdout] note: the module `error` is defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.64/src/ssl/mod.rs:116:1
[INFO] [stdout]     |
[INFO] [stdout] 116 | mod error;
[INFO] [stdout]     | ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/apns/mod.rs:49:6
[INFO] [stdout]    |
[INFO] [stdout] 49 |                     try!(encoder.emit_struct_field( "aps", 0usize, |encoder| aps.encode(encoder)));
[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/apns/mod.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 52 |                         try!(encoder.emit_struct_field(key, index, |encoder| val.encode(encoder)));
[INFO] [stdout]    |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/apns/mod.rs:60:6
[INFO] [stdout]    |
[INFO] [stdout] 60 |                     try!(encoder.emit_struct_field( "aps", 0usize, |encoder| aps.encode(encoder)));
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/apns/mod.rs:80:6
[INFO] [stdout]    |
[INFO] [stdout] 80 |                     try!(encoder.emit_struct_field( "alert", index, |encoder| alert.encode(encoder)));
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/apns/mod.rs:83:7
[INFO] [stdout]    |
[INFO] [stdout] 83 |                         try!(encoder.emit_struct_field( "badge", index, |encoder| badge.unwrap().encode(encoder)));
[INFO] [stdout]    |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/apns/mod.rs:87:7
[INFO] [stdout]    |
[INFO] [stdout] 87 |                         try!(encoder.emit_struct_field( "sound", index, |encoder| sound.unwrap().encode(encoder)));
[INFO] [stdout]    |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]   --> src/apns/mod.rs:14:23
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::io::{Cursor, Read};
[INFO] [stdout]    |                       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/apns/mod.rs:91:7
[INFO] [stdout]    |
[INFO] [stdout] 91 |                         try!(encoder.emit_struct_field( "content-available", index, |encoder| content_available.unwrap().encode(encoder)));
[INFO] [stdout]    |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/apns/mod.rs:49:6
[INFO] [stdout]    |
[INFO] [stdout] 49 |                     try!(encoder.emit_struct_field( "aps", 0usize, |encoder| aps.encode(encoder)));
[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/apns/mod.rs:109:6
[INFO] [stdout]     |
[INFO] [stdout] 109 |                     try!(encoder.emit_struct_field( "loc-key", 0usize, |encoder| key.encode(encoder)));
[INFO] [stdout]     |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/apns/mod.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 52 |                         try!(encoder.emit_struct_field(key, index, |encoder| val.encode(encoder)));
[INFO] [stdout]    |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/apns/mod.rs:110:6
[INFO] [stdout]     |
[INFO] [stdout] 110 |                     try!(encoder.emit_struct_field( "loc-args", 1usize, |encoder| args.encode(encoder)));
[INFO] [stdout]     |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/apns/mod.rs:60:6
[INFO] [stdout]    |
[INFO] [stdout] 60 |                     try!(encoder.emit_struct_field( "aps", 0usize, |encoder| aps.encode(encoder)));
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/apns/mod.rs:126:10
[INFO] [stdout]     |
[INFO] [stdout] 126 |             '0'...'9' => {
[INFO] [stdout]     |                ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/apns/mod.rs:80:6
[INFO] [stdout]    |
[INFO] [stdout] 80 |                     try!(encoder.emit_struct_field( "alert", index, |encoder| alert.encode(encoder)));
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/apns/mod.rs:83:7
[INFO] [stdout]    |
[INFO] [stdout] 83 |                         try!(encoder.emit_struct_field( "badge", index, |encoder| badge.unwrap().encode(encoder)));
[INFO] [stdout]    |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/apns/mod.rs:129:10
[INFO] [stdout]     |
[INFO] [stdout] 129 |             'a'...'f' => {
[INFO] [stdout]     |                ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/apns/mod.rs:87:7
[INFO] [stdout]    |
[INFO] [stdout] 87 |                         try!(encoder.emit_struct_field( "sound", index, |encoder| sound.unwrap().encode(encoder)));
[INFO] [stdout]    |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/apns/mod.rs:202:20
[INFO] [stdout]     |
[INFO] [stdout] 202 |         let mut stream = try!(get_ssl_stream(apns_feedback_url, self.certificate, self.private_key, self.ca_certificate));
[INFO] [stdout]     |                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/apns/mod.rs:91:7
[INFO] [stdout]    |
[INFO] [stdout] 91 |                         try!(encoder.emit_struct_field( "content-available", index, |encoder| content_available.unwrap().encode(encoder)));
[INFO] [stdout]    |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/apns/mod.rs:109:6
[INFO] [stdout]     |
[INFO] [stdout] 109 |                     try!(encoder.emit_struct_field( "loc-key", 0usize, |encoder| key.encode(encoder)));
[INFO] [stdout]     |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/apns/mod.rs:368:23
[INFO] [stdout]     |
[INFO] [stdout] 368 |     let mut context = try!(ssl::SslContext::new(ssl::SslMethod::Sslv23));
[INFO] [stdout]     |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/apns/mod.rs:110:6
[INFO] [stdout]     |
[INFO] [stdout] 110 |                     try!(encoder.emit_struct_field( "loc-args", 1usize, |encoder| args.encode(encoder)));
[INFO] [stdout]     |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/apns/mod.rs:126:10
[INFO] [stdout]     |
[INFO] [stdout] 126 |             '0'...'9' => {
[INFO] [stdout]     |                ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/apns/mod.rs:129:10
[INFO] [stdout]     |
[INFO] [stdout] 129 |             'a'...'f' => {
[INFO] [stdout]     |                ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/apns/mod.rs:202:20
[INFO] [stdout]     |
[INFO] [stdout] 202 |         let mut stream = try!(get_ssl_stream(apns_feedback_url, self.certificate, self.private_key, self.ca_certificate));
[INFO] [stdout]     |                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/apns/mod.rs:368:23
[INFO] [stdout]     |
[INFO] [stdout] 368 |     let mut context = try!(ssl::SslContext::new(ssl::SslMethod::Sslv23));
[INFO] [stdout]     |                       ^^^
[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/apns/mod.rs:368:45
[INFO] [stdout]     |
[INFO] [stdout] 368 |     let mut context = try!(ssl::SslContext::new(ssl::SslMethod::Sslv23));
[INFO] [stdout]     |                                             ^^^ function or associated item not found in `SslContext`
[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/apns/mod.rs:368:45
[INFO] [stdout]     |
[INFO] [stdout] 368 |     let mut context = try!(ssl::SslContext::new(ssl::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/apns/mod.rs:368:65
[INFO] [stdout]     |
[INFO] [stdout] 368 |     let mut context = try!(ssl::SslContext::new(ssl::SslMethod::Sslv23));
[INFO] [stdout]     |                                                                 ^^^^^^ associated item not found in `SslMethod`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `SslMethod` consider using one of the following associated functions:
[INFO] [stdout]       SslMethod::tls
[INFO] [stdout]       SslMethod::dtls
[INFO] [stdout]       SslMethod::tls_client
[INFO] [stdout]       SslMethod::tls_server
[INFO] [stdout]       SslMethod::from_ptr
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.64/src/ssl/mod.rs:345:5
[INFO] [stdout]     |
[INFO] [stdout] 345 |     pub fn tls() -> SslMethod {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 351 |     pub fn dtls() -> SslMethod {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 357 |     pub fn tls_client() -> SslMethod {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 363 |     pub fn tls_server() -> SslMethod {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 372 |     pub unsafe fn from_ptr(ptr: *const ffi::SSL_METHOD) -> SslMethod {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated item named `Sslv23` found for struct `SslMethod` in the current scope
[INFO] [stdout]    --> src/apns/mod.rs:368:65
[INFO] [stdout]     |
[INFO] [stdout] 368 |     let mut context = try!(ssl::SslContext::new(ssl::SslMethod::Sslv23));
[INFO] [stdout]     |                                                                 ^^^^^^ associated item not found in `SslMethod`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `SslMethod` consider using one of the following associated functions:
[INFO] [stdout]       SslMethod::tls
[INFO] [stdout]       SslMethod::dtls
[INFO] [stdout]       SslMethod::tls_client
[INFO] [stdout]       SslMethod::tls_server
[INFO] [stdout]       SslMethod::from_ptr
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.64/src/ssl/mod.rs:345:5
[INFO] [stdout]     |
[INFO] [stdout] 345 |     pub fn tls() -> SslMethod {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 351 |     pub fn dtls() -> SslMethod {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 357 |     pub fn tls_client() -> SslMethod {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 363 |     pub fn tls_server() -> SslMethod {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 372 |     pub unsafe fn from_ptr(ptr: *const ffi::SSL_METHOD) -> SslMethod {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [stdout]     --> src/apns/mod.rs:390:9
[INFO] [stdout]      |
[INFO] [stdout] 390  |     return SslStream::connect(&context, tcp_conn);
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^         ----------
[INFO] [stdout]      |                                       | |
[INFO] [stdout]      |                                       | unexpected argument of type `TcpStream`
[INFO] [stdout]      |                                       help: remove the extra argument
[INFO] [stdout]      |
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.64/src/ssl/mod.rs:3675:12
[INFO] [stdout]      |
[INFO] [stdout] 3675 |     pub fn connect(&mut self) -> Result<(), Error> {
[INFO] [stdout]      |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [stdout]     --> src/apns/mod.rs:390:9
[INFO] [stdout]      |
[INFO] [stdout] 390  |     return SslStream::connect(&context, tcp_conn);
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^         ----------
[INFO] [stdout]      |                                       | |
[INFO] [stdout]      |                                       | unexpected argument of type `TcpStream`
[INFO] [stdout]      |                                       help: remove the extra argument
[INFO] [stdout]      |
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.64/src/ssl/mod.rs:3675:12
[INFO] [stdout]      |
[INFO] [stdout] 3675 |     pub fn connect(&mut self) -> Result<(), Error> {
[INFO] [stdout]      |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0432, E0433, E0599, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0432, E0433, E0599, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `apns` (lib) due to 9 previous errors; 14 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `apns` (lib test) due to 9 previous errors; 14 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "cc08b7331dc43486ebf38c6797d6c60d6e4b4798ab79ec1d1d933a98931a9ab4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cc08b7331dc43486ebf38c6797d6c60d6e4b4798ab79ec1d1d933a98931a9ab4", kill_on_drop: false }`
[INFO] [stdout] cc08b7331dc43486ebf38c6797d6c60d6e4b4798ab79ec1d1d933a98931a9ab4
[INFO] checking apns-0.1.1 against try#9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88 for pr-124157
[INFO] extracting crate apns 0.1.1 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate apns 0.1.1 on toolchain 9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate apns 0.1.1
[INFO] finished tweaking crates.io crate apns 0.1.1
[INFO] tweaked toml for crates.io crate apns 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 40 packages to latest compatible versions
[INFO] [stderr]       Adding foreign-types v0.3.2 (latest: v0.5.0)
[INFO] [stderr]       Adding foreign-types-shared v0.1.1 (latest: v0.3.1)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 12bff08aab27825aa412d0db887f5f423027d94e44229b4dd978afd4c61cd9dd
[INFO] running `Command { std: "docker" "start" "-a" "12bff08aab27825aa412d0db887f5f423027d94e44229b4dd978afd4c61cd9dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "12bff08aab27825aa412d0db887f5f423027d94e44229b4dd978afd4c61cd9dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "12bff08aab27825aa412d0db887f5f423027d94e44229b4dd978afd4c61cd9dd", kill_on_drop: false }`
[INFO] [stdout] 12bff08aab27825aa412d0db887f5f423027d94e44229b4dd978afd4c61cd9dd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d5ba8d349e2a5bb31923cdb3488815e022b81c651585a29cc08c0bb8356c5f14
[INFO] running `Command { std: "docker" "start" "-a" "d5ba8d349e2a5bb31923cdb3488815e022b81c651585a29cc08c0bb8356c5f14", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling cc v1.0.96
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]     Checking num-conv v0.1.0
[INFO] [stderr]     Checking bitflags v2.5.0
[INFO] [stderr]     Checking time-core v0.1.2
[INFO] [stderr]     Checking rustc-serialize v0.3.25
[INFO] [stderr]     Checking getrandom v0.2.14
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking deranged v0.3.11
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking time v0.3.36
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking num-complex v0.4.5
[INFO] [stderr]     Checking num-iter v0.1.44
[INFO] [stderr]     Checking num v0.4.2
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking apns v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `openssl::ssl::error::SslError`
[INFO] [stdout]   --> src/apns/mod.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use openssl::ssl::error::SslError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^--------
[INFO] [stdout]    |     |                    |
[INFO] [stdout]    |     |                    help: a similar name exists in the module: `StdError`
[INFO] [stdout]    |     no `SslError` in `ssl::error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `openssl::ssl::error::SslError`
[INFO] [stdout]   --> src/apns/mod.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use openssl::ssl::error::SslError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^--------
[INFO] [stdout]    |     |                    |
[INFO] [stdout]    |     |                    help: a similar name exists in the module: `StdError`
[INFO] [stdout]    |     no `SslError` in `ssl::error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `X509FileType` in `x509`
[INFO] [stdout]    --> src/apns/mod.rs:373:80
[INFO] [stdout]     |
[INFO] [stdout] 373 |     if let Err(error) = context.set_certificate_file(cert_file, openssl::x509::X509FileType::PEM) {
[INFO] [stdout]     |                                                                                ^^^^^^^^^^^^ could not find `X509FileType` in `x509`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `X509FileType` in `x509`
[INFO] [stdout]    --> src/apns/mod.rs:373:80
[INFO] [stdout]     |
[INFO] [stdout] 373 |     if let Err(error) = context.set_certificate_file(cert_file, openssl::x509::X509FileType::PEM) {
[INFO] [stdout]     |                                                                                ^^^^^^^^^^^^ could not find `X509FileType` in `x509`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `X509FileType` in `x509`
[INFO] [stdout]    --> src/apns/mod.rs:376:87
[INFO] [stdout]     |
[INFO] [stdout] 376 |     if let Err(error) = context.set_private_key_file(private_key_file, openssl::x509::X509FileType::PEM) {
[INFO] [stdout]     |                                                                                       ^^^^^^^^^^^^ could not find `X509FileType` in `x509`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `now` in crate `time`
[INFO] [stdout]    --> src/apns/mod.rs:327:22
[INFO] [stdout]     |
[INFO] [stdout] 327 |     let time = time::now().to_timespec().sec + 86400;    // expired after one day
[INFO] [stdout]     |                      ^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `X509FileType` in `x509`
[INFO] [stdout]    --> src/apns/mod.rs:376:87
[INFO] [stdout]     |
[INFO] [stdout] 376 |     if let Err(error) = context.set_private_key_file(private_key_file, openssl::x509::X509FileType::PEM) {
[INFO] [stdout]     |                                                                                       ^^^^^^^^^^^^ could not find `X509FileType` in `x509`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `now` in crate `time`
[INFO] [stdout]    --> src/apns/mod.rs:327:22
[INFO] [stdout]     |
[INFO] [stdout] 327 |     let time = time::now().to_timespec().sec + 86400;    // expired after one day
[INFO] [stdout]     |                      ^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `error` is private
[INFO] [stdout]    --> src/apns/mod.rs:10:19
[INFO] [stdout]     |
[INFO] [stdout] 10  | use openssl::ssl::error::SslError;
[INFO] [stdout]     |                   ^^^^^ private module
[INFO] [stdout]     |
[INFO] [stdout] note: the module `error` is defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.64/src/ssl/mod.rs:116:1
[INFO] [stdout]     |
[INFO] [stdout] 116 | mod error;
[INFO] [stdout]     | ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]   --> src/apns/mod.rs:14:23
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::io::{Cursor, Read};
[INFO] [stdout]    |                       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/apns/mod.rs:49:6
[INFO] [stdout]    |
[INFO] [stdout] 49 |                     try!(encoder.emit_struct_field( "aps", 0usize, |encoder| aps.encode(encoder)));
[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/apns/mod.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 52 |                         try!(encoder.emit_struct_field(key, index, |encoder| val.encode(encoder)));
[INFO] [stdout]    |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/apns/mod.rs:60:6
[INFO] [stdout]    |
[INFO] [stdout] 60 |                     try!(encoder.emit_struct_field( "aps", 0usize, |encoder| aps.encode(encoder)));
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/apns/mod.rs:80:6
[INFO] [stdout]    |
[INFO] [stdout] 80 |                     try!(encoder.emit_struct_field( "alert", index, |encoder| alert.encode(encoder)));
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/apns/mod.rs:83:7
[INFO] [stdout]    |
[INFO] [stdout] 83 |                         try!(encoder.emit_struct_field( "badge", index, |encoder| badge.unwrap().encode(encoder)));
[INFO] [stdout]    |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/apns/mod.rs:87:7
[INFO] [stdout]    |
[INFO] [stdout] 87 |                         try!(encoder.emit_struct_field( "sound", index, |encoder| sound.unwrap().encode(encoder)));
[INFO] [stdout]    |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/apns/mod.rs:91:7
[INFO] [stdout]    |
[INFO] [stdout] 91 |                         try!(encoder.emit_struct_field( "content-available", index, |encoder| content_available.unwrap().encode(encoder)));
[INFO] [stdout]    |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `error` is private
[INFO] [stdout]    --> src/apns/mod.rs:10:19
[INFO] [stdout]     |
[INFO] [stdout] 10  | use openssl::ssl::error::SslError;
[INFO] [stdout]     |                   ^^^^^ private module
[INFO] [stdout]     |
[INFO] [stdout] note: the module `error` is defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.64/src/ssl/mod.rs:116:1
[INFO] [stdout]     |
[INFO] [stdout] 116 | mod error;
[INFO] [stdout]     | ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/apns/mod.rs:109:6
[INFO] [stdout]     |
[INFO] [stdout] 109 |                     try!(encoder.emit_struct_field( "loc-key", 0usize, |encoder| key.encode(encoder)));
[INFO] [stdout]     |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/apns/mod.rs:110:6
[INFO] [stdout]     |
[INFO] [stdout] 110 |                     try!(encoder.emit_struct_field( "loc-args", 1usize, |encoder| args.encode(encoder)));
[INFO] [stdout]     |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/apns/mod.rs:126:10
[INFO] [stdout]     |
[INFO] [stdout] 126 |             '0'...'9' => {
[INFO] [stdout]     |                ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/apns/mod.rs:129:10
[INFO] [stdout]     |
[INFO] [stdout] 129 |             'a'...'f' => {
[INFO] [stdout]     |                ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/apns/mod.rs:202:20
[INFO] [stdout]     |
[INFO] [stdout] 202 |         let mut stream = try!(get_ssl_stream(apns_feedback_url, self.certificate, self.private_key, self.ca_certificate));
[INFO] [stdout]     |                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/apns/mod.rs:368:23
[INFO] [stdout]     |
[INFO] [stdout] 368 |     let mut context = try!(ssl::SslContext::new(ssl::SslMethod::Sslv23));
[INFO] [stdout]     |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]   --> src/apns/mod.rs:14:23
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::io::{Cursor, Read};
[INFO] [stdout]    |                       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/apns/mod.rs:49:6
[INFO] [stdout]    |
[INFO] [stdout] 49 |                     try!(encoder.emit_struct_field( "aps", 0usize, |encoder| aps.encode(encoder)));
[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/apns/mod.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 52 |                         try!(encoder.emit_struct_field(key, index, |encoder| val.encode(encoder)));
[INFO] [stdout]    |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/apns/mod.rs:60:6
[INFO] [stdout]    |
[INFO] [stdout] 60 |                     try!(encoder.emit_struct_field( "aps", 0usize, |encoder| aps.encode(encoder)));
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/apns/mod.rs:80:6
[INFO] [stdout]    |
[INFO] [stdout] 80 |                     try!(encoder.emit_struct_field( "alert", index, |encoder| alert.encode(encoder)));
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/apns/mod.rs:83:7
[INFO] [stdout]    |
[INFO] [stdout] 83 |                         try!(encoder.emit_struct_field( "badge", index, |encoder| badge.unwrap().encode(encoder)));
[INFO] [stdout]    |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/apns/mod.rs:87:7
[INFO] [stdout]    |
[INFO] [stdout] 87 |                         try!(encoder.emit_struct_field( "sound", index, |encoder| sound.unwrap().encode(encoder)));
[INFO] [stdout]    |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/apns/mod.rs:91:7
[INFO] [stdout]    |
[INFO] [stdout] 91 |                         try!(encoder.emit_struct_field( "content-available", index, |encoder| content_available.unwrap().encode(encoder)));
[INFO] [stdout]    |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/apns/mod.rs:109:6
[INFO] [stdout]     |
[INFO] [stdout] 109 |                     try!(encoder.emit_struct_field( "loc-key", 0usize, |encoder| key.encode(encoder)));
[INFO] [stdout]     |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/apns/mod.rs:110:6
[INFO] [stdout]     |
[INFO] [stdout] 110 |                     try!(encoder.emit_struct_field( "loc-args", 1usize, |encoder| args.encode(encoder)));
[INFO] [stdout]     |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/apns/mod.rs:126:10
[INFO] [stdout]     |
[INFO] [stdout] 126 |             '0'...'9' => {
[INFO] [stdout]     |                ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/apns/mod.rs:129:10
[INFO] [stdout]     |
[INFO] [stdout] 129 |             'a'...'f' => {
[INFO] [stdout]     |                ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/apns/mod.rs:202:20
[INFO] [stdout]     |
[INFO] [stdout] 202 |         let mut stream = try!(get_ssl_stream(apns_feedback_url, self.certificate, self.private_key, self.ca_certificate));
[INFO] [stdout]     |                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/apns/mod.rs:368:23
[INFO] [stdout]     |
[INFO] [stdout] 368 |     let mut context = try!(ssl::SslContext::new(ssl::SslMethod::Sslv23));
[INFO] [stdout]     |                       ^^^
[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/apns/mod.rs:368:45
[INFO] [stdout]     |
[INFO] [stdout] 368 |     let mut context = try!(ssl::SslContext::new(ssl::SslMethod::Sslv23));
[INFO] [stdout]     |                                             ^^^ function or associated item not found in `SslContext`
[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/apns/mod.rs:368:45
[INFO] [stdout]     |
[INFO] [stdout] 368 |     let mut context = try!(ssl::SslContext::new(ssl::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/apns/mod.rs:368:65
[INFO] [stdout]     |
[INFO] [stdout] 368 |     let mut context = try!(ssl::SslContext::new(ssl::SslMethod::Sslv23));
[INFO] [stdout]     |                                                                 ^^^^^^ associated item not found in `SslMethod`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `SslMethod` consider using one of the following associated functions:
[INFO] [stdout]       SslMethod::tls
[INFO] [stdout]       SslMethod::dtls
[INFO] [stdout]       SslMethod::tls_client
[INFO] [stdout]       SslMethod::tls_server
[INFO] [stdout]       SslMethod::from_ptr
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.64/src/ssl/mod.rs:345:5
[INFO] [stdout]     |
[INFO] [stdout] 345 |     pub fn tls() -> SslMethod {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 351 |     pub fn dtls() -> SslMethod {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 357 |     pub fn tls_client() -> SslMethod {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 363 |     pub fn tls_server() -> SslMethod {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 372 |     pub unsafe fn from_ptr(ptr: *const ffi::SSL_METHOD) -> SslMethod {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated item named `Sslv23` found for struct `SslMethod` in the current scope
[INFO] [stdout]    --> src/apns/mod.rs:368:65
[INFO] [stdout]     |
[INFO] [stdout] 368 |     let mut context = try!(ssl::SslContext::new(ssl::SslMethod::Sslv23));
[INFO] [stdout]     |                                                                 ^^^^^^ associated item not found in `SslMethod`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `SslMethod` consider using one of the following associated functions:
[INFO] [stdout]       SslMethod::tls
[INFO] [stdout]       SslMethod::dtls
[INFO] [stdout]       SslMethod::tls_client
[INFO] [stdout]       SslMethod::tls_server
[INFO] [stdout]       SslMethod::from_ptr
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.64/src/ssl/mod.rs:345:5
[INFO] [stdout]     |
[INFO] [stdout] 345 |     pub fn tls() -> SslMethod {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 351 |     pub fn dtls() -> SslMethod {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 357 |     pub fn tls_client() -> SslMethod {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 363 |     pub fn tls_server() -> SslMethod {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 372 |     pub unsafe fn from_ptr(ptr: *const ffi::SSL_METHOD) -> SslMethod {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [stdout]     --> src/apns/mod.rs:390:9
[INFO] [stdout]      |
[INFO] [stdout] 390  |     return SslStream::connect(&context, tcp_conn);
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^         ----------
[INFO] [stdout]      |                                       | |
[INFO] [stdout]      |                                       | unexpected argument of type `TcpStream`
[INFO] [stdout]      |                                       help: remove the extra argument
[INFO] [stdout]      |
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.64/src/ssl/mod.rs:3675:12
[INFO] [stdout]      |
[INFO] [stdout] 3675 |     pub fn connect(&mut self) -> Result<(), Error> {
[INFO] [stdout]      |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [stdout]     --> src/apns/mod.rs:390:9
[INFO] [stdout]      |
[INFO] [stdout] 390  |     return SslStream::connect(&context, tcp_conn);
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^         ----------
[INFO] [stdout]      |                                       | |
[INFO] [stdout]      |                                       | unexpected argument of type `TcpStream`
[INFO] [stdout]      |                                       help: remove the extra argument
[INFO] [stdout]      |
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.64/src/ssl/mod.rs:3675:12
[INFO] [stdout]      |
[INFO] [stdout] 3675 |     pub fn connect(&mut self) -> Result<(), Error> {
[INFO] [stdout]      |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0432, E0433, E0599, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0432, E0433, E0599, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `apns` (lib) due to 9 previous errors; 14 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `apns` (lib test) due to 9 previous errors; 14 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "d5ba8d349e2a5bb31923cdb3488815e022b81c651585a29cc08c0bb8356c5f14", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d5ba8d349e2a5bb31923cdb3488815e022b81c651585a29cc08c0bb8356c5f14", kill_on_drop: false }`
[INFO] [stdout] d5ba8d349e2a5bb31923cdb3488815e022b81c651585a29cc08c0bb8356c5f14
