[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] documenting gfreezy/APNS-in-Rust against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgfreezy%2FAPNS-in-Rust" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gfreezy/APNS-in-Rust on toolchain 394e1b40d264aa6928811919c1124fa248e7d802 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "read-manifest" "--manifest-path" "Cargo.toml", 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-3/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" "+394e1b40d264aa6928811919c1124fa248e7d802" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-3/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" "+394e1b40d264aa6928811919c1124fa248e7d802" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98332a9c32083935676902f4a9f454676eb4ea87c80a8c24d021bec6cffb2137 [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" "98332a9c32083935676902f4a9f454676eb4ea87c80a8c24d021bec6cffb2137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98332a9c32083935676902f4a9f454676eb4ea87c80a8c24d021bec6cffb2137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98332a9c32083935676902f4a9f454676eb4ea87c80a8c24d021bec6cffb2137", kill_on_drop: false }` [INFO] [stdout] 98332a9c32083935676902f4a9f454676eb4ea87c80a8c24d021bec6cffb2137 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "doc" "--frozen" "--no-deps" "--document-private-items" "--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] eb66baa23eae8ceebfa22482753f3fbdecb3eb4931c7d9566e201fdb7debc36e [INFO] running `Command { std: "docker" "start" "-a" "eb66baa23eae8ceebfa22482753f3fbdecb3eb4931c7d9566e201fdb7debc36e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cc v1.0.57 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-bigint v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Checking num-complex v0.3.0 [INFO] [stderr] Checking num v0.3.0 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Documenting 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[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[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.30/src/ssl/mod.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | mod error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: Could not document `apns`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type bin --crate-name apns src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern byteorder=/opt/rustwide/target/debug/deps/libbyteorder-75816ef8ceecf9ec.rmeta --extern num=/opt/rustwide/target/debug/deps/libnum-b8931320c0180170.rmeta --extern openssl=/opt/rustwide/target/debug/deps/libopenssl-5dc42df8add5de9f.rmeta --extern rustc_serialize=/opt/rustwide/target/debug/deps/librustc_serialize-7ddf6b4d13e0395e.rmeta --extern toml=/opt/rustwide/target/debug/deps/libtoml-757c3f4c2b5dde9c.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "eb66baa23eae8ceebfa22482753f3fbdecb3eb4931c7d9566e201fdb7debc36e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb66baa23eae8ceebfa22482753f3fbdecb3eb4931c7d9566e201fdb7debc36e", kill_on_drop: false }` [INFO] [stdout] eb66baa23eae8ceebfa22482753f3fbdecb3eb4931c7d9566e201fdb7debc36e