[INFO] cloning repository https://github.com/gfreezy/APNS-in-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gfreezy/APNS-in-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgfreezy%2FAPNS-in-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgfreezy%2FAPNS-in-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae1aec24ff1757e5bdcc09486902a3483ccb52a4 [INFO] checking gfreezy/APNS-in-Rust against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgfreezy%2FAPNS-in-Rust" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gfreezy/APNS-in-Rust 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/gfreezy/APNS-in-Rust [INFO] finished tweaking git repo https://github.com/gfreezy/APNS-in-Rust [INFO] tweaked toml for git repo https://github.com/gfreezy/APNS-in-Rust written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/gfreezy/APNS-in-Rust 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] error: the lock file /workspace/builds/worker-5/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] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] 13ad7fc82cbafd640ace7c5ee58e66faa82c5f619d13dff2e1992c5c48b36996 [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" "13ad7fc82cbafd640ace7c5ee58e66faa82c5f619d13dff2e1992c5c48b36996", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13ad7fc82cbafd640ace7c5ee58e66faa82c5f619d13dff2e1992c5c48b36996", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13ad7fc82cbafd640ace7c5ee58e66faa82c5f619d13dff2e1992c5c48b36996", kill_on_drop: false }` [INFO] [stdout] 13ad7fc82cbafd640ace7c5ee58e66faa82c5f619d13dff2e1992c5c48b36996 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ece4390cd2da03afdf8042b71389736188df20c1f7063859bf25d27da74a6574 [INFO] running `Command { std: "docker" "start" "-a" "ece4390cd2da03afdf8042b71389736188df20c1f7063859bf25d27da74a6574", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking apns v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `openssl::ssl::error::SslError` [INFO] [stdout] --> src/connection.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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/connection.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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/config.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | "pem" => 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/config.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | _ => 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/config.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | openssl::x509::X509FileType::PEM [INFO] [stdout] | ^^^^^^^^^^^^ could not find `X509FileType` in `x509` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Table` in crate `toml` [INFO] [stdout] --> src/config.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | config: toml::Table, [INFO] [stdout] | ^^^^^ not found in `toml` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use toml::value::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `X509FileType` in module `openssl::x509` [INFO] [stdout] --> src/config.rs:31:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_cert_type(&self) -> openssl::x509::X509FileType { [INFO] [stdout] | ^^^^^^^^^^^^ not found in `openssl::x509` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Table` in crate `toml` [INFO] [stdout] --> src/config.rs:63:51 [INFO] [stdout] | [INFO] [stdout] 63 | fn read_config(path: &std::path::Path) -> toml::Table { [INFO] [stdout] | ^^^^^ not found in `toml` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use toml::value::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Parser` in `toml` [INFO] [stdout] --> src/config.rs:70:28 [INFO] [stdout] | [INFO] [stdout] 70 | let mut parser = toml::Parser::new(&config_content); [INFO] [stdout] | ^^^^^^ not found in `toml` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use notification::json::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `X509FileType` in module `openssl::x509` [INFO] [stdout] --> src/connection.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | cert_type: openssl::x509::X509FileType, [INFO] [stdout] | ^^^^^^^^^^^^ not found in `openssl::x509` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `X509FileType` in module `openssl::x509` [INFO] [stdout] --> src/connection.rs:28:84 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(host: String, cert_path: std::path::PathBuf, cert_type: openssl::x509::X509FileType) -> Connection { [INFO] [stdout] | ^^^^^^^^^^^^ not found in `openssl::x509` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `X509FileType` in module `openssl::x509` [INFO] [stdout] --> src/connection.rs:58:80 [INFO] [stdout] | [INFO] [stdout] 58 | fn connect(host: &str, cert_path: &std::path::Path, cert_type: openssl::x509::X509FileType) -> Result, SslError> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in `openssl::x509` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `error` is private [INFO] [stdout] --> src/connection.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | 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/github.com-1ecc6299db9ec823/openssl-0.10.33/src/ssl/mod.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | mod error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Encodable` [INFO] [stdout] --> src/notification.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_serialize::{Encodable, json}; [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/payload.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | ... 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/payload.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | ... 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/payload.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | 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/payload.rs:77:6 [INFO] [stdout] | [INFO] [stdout] 77 | 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/payload.rs:80:7 [INFO] [stdout] | [INFO] [stdout] 80 | 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/payload.rs:84:7 [INFO] [stdout] | [INFO] [stdout] 84 | try!(encoder.emit_struct_field( "sound", index, |encoder| sound.as_ref().unwrap().encode(encoder))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/payload.rs:88:7 [INFO] [stdout] | [INFO] [stdout] 88 | 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/payload.rs:138:4 [INFO] [stdout] | [INFO] [stdout] 138 | try!(encoder.emit_struct_field("title", 0, |encoder| title.encode(encoder))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/payload.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | try!(encoder.emit_struct_field("body", 1, |encoder| body.encode(encoder))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/payload.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | try!(encoder.emit_struct_field("loc-key", 2, |encoder| loc_key.encode(encoder))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/payload.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | try!(encoder.emit_struct_field("loc-args", 3, |encoder| loc_args.encode(encoder))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/payload.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | try!(encoder.emit_struct_field("launch-image", 4, |encoder| launch_image.encode(encoder))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/payload.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | try!(encoder.emit_struct_field("title-loc-key", index, |encoder| title_loc_key.encode(encoder))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/payload.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | try!(encoder.emit_struct_field("title-loc-args", index, |encoder| title_loc_args.encode(encoder))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/payload.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | try!(encoder.emit_struct_field("action-loc-key", index, |encoder| action_loc_key.encode(encoder))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `X509FileType` in `x509` [INFO] [stdout] --> src/config.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | "pem" => 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/config.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | _ => 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/config.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | openssl::x509::X509FileType::PEM [INFO] [stdout] | ^^^^^^^^^^^^ could not find `X509FileType` in `x509` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Table` in crate `toml` [INFO] [stdout] --> src/config.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | config: toml::Table, [INFO] [stdout] | ^^^^^ not found in `toml` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use toml::value::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `X509FileType` in module `openssl::x509` [INFO] [stdout] --> src/config.rs:31:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_cert_type(&self) -> openssl::x509::X509FileType { [INFO] [stdout] | ^^^^^^^^^^^^ not found in `openssl::x509` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Table` in crate `toml` [INFO] [stdout] --> src/config.rs:63:51 [INFO] [stdout] | [INFO] [stdout] 63 | fn read_config(path: &std::path::Path) -> toml::Table { [INFO] [stdout] | ^^^^^ not found in `toml` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use toml::value::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Parser` in `toml` [INFO] [stdout] --> src/config.rs:70:28 [INFO] [stdout] | [INFO] [stdout] 70 | let mut parser = toml::Parser::new(&config_content); [INFO] [stdout] | ^^^^^^ not found in `toml` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use notification::json::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `X509FileType` in module `openssl::x509` [INFO] [stdout] --> src/connection.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | cert_type: openssl::x509::X509FileType, [INFO] [stdout] | ^^^^^^^^^^^^ not found in `openssl::x509` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `X509FileType` in module `openssl::x509` [INFO] [stdout] --> src/connection.rs:28:84 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(host: String, cert_path: std::path::PathBuf, cert_type: openssl::x509::X509FileType) -> Connection { [INFO] [stdout] | ^^^^^^^^^^^^ not found in `openssl::x509` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `X509FileType` in module `openssl::x509` [INFO] [stdout] --> src/connection.rs:58:80 [INFO] [stdout] | [INFO] [stdout] 58 | fn connect(host: &str, cert_path: &std::path::Path, cert_type: openssl::x509::X509FileType) -> Result, SslError> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in `openssl::x509` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `error` is private [INFO] [stdout] --> src/connection.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | 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/github.com-1ecc6299db9ec823/openssl-0.10.33/src/ssl/mod.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | mod error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Encodable` [INFO] [stdout] --> src/notification.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_serialize::{Encodable, json}; [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/payload.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | ... 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/payload.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | ... 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/payload.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | 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/payload.rs:77:6 [INFO] [stdout] | [INFO] [stdout] 77 | 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/payload.rs:80:7 [INFO] [stdout] | [INFO] [stdout] 80 | 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/payload.rs:84:7 [INFO] [stdout] | [INFO] [stdout] 84 | try!(encoder.emit_struct_field( "sound", index, |encoder| sound.as_ref().unwrap().encode(encoder))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/payload.rs:88:7 [INFO] [stdout] | [INFO] [stdout] 88 | 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/payload.rs:138:4 [INFO] [stdout] | [INFO] [stdout] 138 | try!(encoder.emit_struct_field("title", 0, |encoder| title.encode(encoder))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/payload.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | try!(encoder.emit_struct_field("body", 1, |encoder| body.encode(encoder))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/payload.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | try!(encoder.emit_struct_field("loc-key", 2, |encoder| loc_key.encode(encoder))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/payload.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | try!(encoder.emit_struct_field("loc-args", 3, |encoder| loc_args.encode(encoder))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/payload.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | try!(encoder.emit_struct_field("launch-image", 4, |encoder| launch_image.encode(encoder))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/payload.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | try!(encoder.emit_struct_field("title-loc-key", index, |encoder| title_loc_key.encode(encoder))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/payload.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | try!(encoder.emit_struct_field("title-loc-args", index, |encoder| title_loc_args.encode(encoder))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/payload.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | try!(encoder.emit_struct_field("action-loc-key", index, |encoder| action_loc_key.encode(encoder))); [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/connection.rs:59:38 [INFO] [stdout] | [INFO] [stdout] 59 | let mut context = ssl::SslContext::new(ssl::SslMethod::Tlsv1).ok().expect("create ssl conext"); [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/connection.rs:59:38 [INFO] [stdout] | [INFO] [stdout] 59 | let mut context = ssl::SslContext::new(ssl::SslMethod::Tlsv1).ok().expect("create ssl conext"); [INFO] [stdout] | ^^^ function or associated item not found in `SslContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Tlsv1` found for struct `SslMethod` in the current scope [INFO] [stdout] --> src/connection.rs:59:58 [INFO] [stdout] | [INFO] [stdout] 59 | let mut context = ssl::SslContext::new(ssl::SslMethod::Tlsv1).ok().expect("create ssl conext"); [INFO] [stdout] | ^^^^^ associated item not found in `SslMethod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `apns` [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 associated item named `Tlsv1` found for struct `SslMethod` in the current scope [INFO] [stdout] --> src/connection.rs:59:58 [INFO] [stdout] | [INFO] [stdout] 59 | let mut context = ssl::SslContext::new(ssl::SslMethod::Tlsv1).ok().expect("create ssl conext"); [INFO] [stdout] | ^^^^^ associated item not found in `SslMethod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ece4390cd2da03afdf8042b71389736188df20c1f7063859bf25d27da74a6574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ece4390cd2da03afdf8042b71389736188df20c1f7063859bf25d27da74a6574", kill_on_drop: false }` [INFO] [stdout] ece4390cd2da03afdf8042b71389736188df20c1f7063859bf25d27da74a6574