[INFO] updating cached repository gfreezy/APNS-in-Rust
[INFO] running `"git" "fetch" "--all"`
[INFO] [stdout] Fetching origin
[INFO] [stderr] From git://github.com/gfreezy/APNS-in-Rust
[INFO] [stderr]  * branch            HEAD       -> FETCH_HEAD
[INFO] running `"git" "clone" "work/cache/sources/gh/gfreezy/APNS-in-Rust" "work/ex/beta-1.37-6/sources/1.36.0/gh/gfreezy/APNS-in-Rust"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/gfreezy/APNS-in-Rust'...
[INFO] [stderr] done.
[INFO] running `"git" "clone" "work/cache/sources/gh/gfreezy/APNS-in-Rust" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/gfreezy/APNS-in-Rust"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/gfreezy/APNS-in-Rust'...
[INFO] [stderr] done.
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] ae1aec24ff1757e5bdcc09486902a3483ccb52a4
[INFO] sha for GitHub repo gfreezy/APNS-in-Rust: ae1aec24ff1757e5bdcc09486902a3483ccb52a4
[INFO] validating manifest of gfreezy/APNS-in-Rust on toolchain 1.36.0
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] validating manifest of gfreezy/APNS-in-Rust on toolchain beta-2019-07-23
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started frobbing gfreezy/APNS-in-Rust
[INFO] finished frobbing gfreezy/APNS-in-Rust
[INFO] frobbed toml for gfreezy/APNS-in-Rust written to work/ex/beta-1.37-6/sources/1.36.0/gh/gfreezy/APNS-in-Rust/Cargo.toml
[INFO] started frobbing gfreezy/APNS-in-Rust
[INFO] finished frobbing gfreezy/APNS-in-Rust
[INFO] frobbed toml for gfreezy/APNS-in-Rust written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/gfreezy/APNS-in-Rust/Cargo.toml
[INFO] crate gfreezy/APNS-in-Rust already has a lockfile, it will not be regenerated
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/gh/gfreezy/APNS-in-Rust/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] testing gfreezy/APNS-in-Rust against 1.36.0 for beta-1.37-6
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-3/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/gh/gfreezy/APNS-in-Rust:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.36.0" "build" "--frozen"`
[INFO] [stdout] 160564c6e86e4a24b0904c257f373796c754df6c986957d16aa1e89bb1bd1c53
[INFO] running `"docker" "start" "-a" "160564c6e86e4a24b0904c257f373796c754df6c986957d16aa1e89bb1bd1c53"`
[INFO] [stderr]    Compiling toml v0.5.1
[INFO] [stderr]    Compiling num v0.2.0
[INFO] [stderr]    Compiling apns v0.1.0 (/opt/crater/workdir)
[INFO] [stderr] error[E0432]: unresolved import `openssl::ssl::error::SslError`
[INFO] [stderr]  --> src/connection.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use openssl::ssl::error::SslError;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^--------
[INFO] [stderr]   |     |                    |
[INFO] [stderr]   |     |                    help: a similar name exists in the module: `StdError`
[INFO] [stderr]   |     no `SslError` in `ssl::error`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `X509FileType` in `x509`
[INFO] [stderr]   --> src/config.rs:35:35
[INFO] [stderr]    |
[INFO] [stderr] 35 |           "pem" => openssl::x509::X509FileType::PEM,
[INFO] [stderr]    |                                   ^^^^^^^^^^^^ could not find `X509FileType` in `x509`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `X509FileType` in `x509`
[INFO] [stderr]   --> src/config.rs:36:31
[INFO] [stderr]    |
[INFO] [stderr] 36 |           _ => openssl::x509::X509FileType::PEM
[INFO] [stderr]    |                               ^^^^^^^^^^^^ could not find `X509FileType` in `x509`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `X509FileType` in `x509`
[INFO] [stderr]   --> src/config.rs:41:20
[INFO] [stderr]    |
[INFO] [stderr] 41 |     openssl::x509::X509FileType::PEM
[INFO] [stderr]    |                    ^^^^^^^^^^^^ could not find `X509FileType` in `x509`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `Parser` in `toml`
[INFO] [stderr]   --> src/config.rs:70:28
[INFO] [stderr]    |
[INFO] [stderr] 70 |     let mut parser = toml::Parser::new(&config_content);
[INFO] [stderr]    |                            ^^^^^^ could not find `Parser` in `toml`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Table` in module `toml`
[INFO] [stderr]   --> src/config.rs:10:17
[INFO] [stderr]    |
[INFO] [stderr] 10 |   config: toml::Table,
[INFO] [stderr]    |                 ^^^^^ not found in `toml`
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use toml::value::Table;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `X509FileType` in module `openssl::x509`
[INFO] [stderr]   --> src/config.rs:31:49
[INFO] [stderr]    |
[INFO] [stderr] 31 |   pub fn get_cert_type(&self) -> openssl::x509::X509FileType {
[INFO] [stderr]    |                                                 ^^^^^^^^^^^^ not found in `openssl::x509`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Table` in module `toml`
[INFO] [stderr]   --> src/config.rs:63:51
[INFO] [stderr]    |
[INFO] [stderr] 63 |   fn read_config(path: &std::path::Path) -> toml::Table {
[INFO] [stderr]    |                                                   ^^^^^ not found in `toml`
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use toml::value::Table;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `X509FileType` in module `openssl::x509`
[INFO] [stderr]   --> src/connection.rs:15:29
[INFO] [stderr]    |
[INFO] [stderr] 15 |   cert_type: openssl::x509::X509FileType,
[INFO] [stderr]    |                             ^^^^^^^^^^^^ not found in `openssl::x509`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `X509FileType` in module `openssl::x509`
[INFO] [stderr]   --> src/connection.rs:28:84
[INFO] [stderr]    |
[INFO] [stderr] 28 |     pub fn new(host: String, cert_path: std::path::PathBuf, cert_type: openssl::x509::X509FileType) -> Connection {
[INFO] [stderr]    |                                                                                       ^^^^^^^^^^^^ not found in `openssl::x509`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `X509FileType` in module `openssl::x509`
[INFO] [stderr]   --> src/connection.rs:58:80
[INFO] [stderr]    |
[INFO] [stderr] 58 |     fn connect(host: &str, cert_path: &std::path::Path, cert_type: openssl::x509::X509FileType) -> Result<SslStream<TcpStream>, SslError> {
[INFO] [stderr]    |                                                                                   ^^^^^^^^^^^^ not found in `openssl::x509`
[INFO] [stderr] 
[INFO] [stderr] error[E0603]: module `error` is private
[INFO] [stderr]  --> src/connection.rs:7:19
[INFO] [stderr]   |
[INFO] [stderr] 7 | use openssl::ssl::error::SslError;
[INFO] [stderr]   |                   ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Encodable`
[INFO] [stderr]  --> src/notification.rs:3:23
[INFO] [stderr]   |
[INFO] [stderr] 3 | use rustc_serialize::{Encodable, json};
[INFO] [stderr]   |                       ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: #[warn(unused_imports)] on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `new` found for type `openssl::ssl::SslContext` in the current scope
[INFO] [stderr]   --> src/connection.rs:59:38
[INFO] [stderr]    |
[INFO] [stderr] 59 |         let mut context = ssl::SslContext::new(ssl::SslMethod::Tlsv1).ok().expect("create ssl conext");
[INFO] [stderr]    |                                            ^^^ function or associated item not found in `openssl::ssl::SslContext`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no associated item named `Tlsv1` found for type `openssl::ssl::SslMethod` in the current scope
[INFO] [stderr]   --> src/connection.rs:59:58
[INFO] [stderr]    |
[INFO] [stderr] 59 |         let mut context = ssl::SslContext::new(ssl::SslMethod::Tlsv1).ok().expect("create ssl conext");
[INFO] [stderr]    |                                                                ^^^^^ associated item not found in `openssl::ssl::SslMethod`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `new` found for type `openssl::ssl::SslStream<_>` in the current scope
[INFO] [stderr]   --> src/connection.rs:69:21
[INFO] [stderr]    |
[INFO] [stderr] 69 |         return SslStream::new(&context, tcp_conn);
[INFO] [stderr]    |                           ^^^ function or associated item not found in `openssl::ssl::SslStream<_>`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 15 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433, E0599, E0603.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: Could not compile `apns`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "160564c6e86e4a24b0904c257f373796c754df6c986957d16aa1e89bb1bd1c53"`
[INFO] running `"docker" "rm" "-f" "160564c6e86e4a24b0904c257f373796c754df6c986957d16aa1e89bb1bd1c53"`
[INFO] [stdout] 160564c6e86e4a24b0904c257f373796c754df6c986957d16aa1e89bb1bd1c53
