[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/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/gfreezy/APNS-in-Rust"` [INFO] [stderr] Cloning into 'work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/gfreezy/APNS-in-Rust'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/gfreezy/APNS-in-Rust" "work/ex/pr-59199/sources/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b/gh/gfreezy/APNS-in-Rust"` [INFO] [stderr] Cloning into 'work/ex/pr-59199/sources/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b/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 master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of gfreezy/APNS-in-Rust on toolchain try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "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/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/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/pr-59199/sources/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b/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/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/crater-raid/crater/work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/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/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking gfreezy/APNS-in-Rust against try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b for pr-59199 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-59199/worker-5/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-59199/sources/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b/gh/gfreezy/APNS-in-Rust:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/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=forbid" "-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" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 3264a17410b1a924b4288cb063d654c065f19efdd7dabf26ee823518921656e9 [INFO] running `"docker" "start" "-a" "3264a17410b1a924b4288cb063d654c065f19efdd7dabf26ee823518921656e9"` [INFO] [stderr] Checking 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[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 `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, 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[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, 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] | -----------------^^^ [INFO] [stderr] | | [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] | ----------------^^^^^ [INFO] [stderr] | | [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] | -----------^^^ [INFO] [stderr] | | [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 occurred: 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] warning: build failed, waiting for other jobs to finish... [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] | -----------------^^^ [INFO] [stderr] | | [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] | ----------------^^^^^ [INFO] [stderr] | | [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] | -----------^^^ [INFO] [stderr] | | [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 occurred: 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" "3264a17410b1a924b4288cb063d654c065f19efdd7dabf26ee823518921656e9"` [INFO] running `"docker" "rm" "-f" "3264a17410b1a924b4288cb063d654c065f19efdd7dabf26ee823518921656e9"` [INFO] [stdout] 3264a17410b1a924b4288cb063d654c065f19efdd7dabf26ee823518921656e9