[INFO] fetching crate gempress 0.1.1... [INFO] testing gempress-0.1.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate gempress 0.1.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate gempress 0.1.1 [INFO] finished tweaking crates.io crate gempress 0.1.1 [INFO] tweaked toml for crates.io crate gempress 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gempress 0.1.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate gempress 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d1b202e89d2b339f2afc842303434dfa045a28924cfaf53729a54c7757b2a1d [INFO] running `Command { std: "docker" "start" "-a" "3d1b202e89d2b339f2afc842303434dfa045a28924cfaf53729a54c7757b2a1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d1b202e89d2b339f2afc842303434dfa045a28924cfaf53729a54c7757b2a1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d1b202e89d2b339f2afc842303434dfa045a28924cfaf53729a54c7757b2a1d", kill_on_drop: false }` [INFO] [stdout] 3d1b202e89d2b339f2afc842303434dfa045a28924cfaf53729a54c7757b2a1d [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a28876e358a7dc5b5fe00cd9eac38ab1d618ded631bb1686b9742ded603a35b0 [INFO] running `Command { std: "docker" "start" "-a" "a28876e358a7dc5b5fe00cd9eac38ab1d618ded631bb1686b9742ded603a35b0", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.28 [INFO] [stderr] Compiling thiserror v1.0.28 [INFO] [stderr] Compiling gempress v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `resolve_path` is never used [INFO] [stdout] --> src/io.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn resolve_path(path: &Path) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `identityPath` should have a snake case name [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | identityPath: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `identity_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `identityPath` should have a snake case name [INFO] [stdout] --> src/lib.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn from_identity(identityPath: PathBuf, password: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `identity_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.50s [INFO] running `Command { std: "docker" "inspect" "a28876e358a7dc5b5fe00cd9eac38ab1d618ded631bb1686b9742ded603a35b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a28876e358a7dc5b5fe00cd9eac38ab1d618ded631bb1686b9742ded603a35b0", kill_on_drop: false }` [INFO] [stdout] a28876e358a7dc5b5fe00cd9eac38ab1d618ded631bb1686b9742ded603a35b0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80f6b63c5635d6004e6892563bd48b21bbd87f2ad1a8572b9d642f641e3a506b [INFO] running `Command { std: "docker" "start" "-a" "80f6b63c5635d6004e6892563bd48b21bbd87f2ad1a8572b9d642f641e3a506b", kill_on_drop: false }` [INFO] [stdout] warning: function `resolve_path` is never used [INFO] [stdout] --> src/io.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn resolve_path(path: &Path) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gempress v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: structure field `identityPath` should have a snake case name [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | identityPath: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `identity_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `identityPath` should have a snake case name [INFO] [stdout] --> src/lib.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn from_identity(identityPath: PathBuf, password: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `identity_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> examples/simple_server.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | fn index_handler(req: Box, mut res: Box) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/simple_server.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | res.send("Hello from index route!".as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 8 | let _ = res.send("Hello from index route!".as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `identityPath` should have a snake case name [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | identityPath: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `identity_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `identityPath` should have a snake case name [INFO] [stdout] --> src/lib.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn from_identity(identityPath: PathBuf, password: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `identity_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `Command { std: "docker" "inspect" "80f6b63c5635d6004e6892563bd48b21bbd87f2ad1a8572b9d642f641e3a506b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80f6b63c5635d6004e6892563bd48b21bbd87f2ad1a8572b9d642f641e3a506b", kill_on_drop: false }` [INFO] [stdout] 80f6b63c5635d6004e6892563bd48b21bbd87f2ad1a8572b9d642f641e3a506b [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e6aed607c0e9562c674d9dd88a2dd2e332f2c0ed5e23318a0824ea7039540d2a [INFO] running `Command { std: "docker" "start" "-a" "e6aed607c0e9562c674d9dd88a2dd2e332f2c0ed5e23318a0824ea7039540d2a", kill_on_drop: false }` [INFO] [stderr] warning: function `resolve_path` is never used [INFO] [stderr] --> src/io.rs:29:8 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn resolve_path(path: &Path) -> String { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `identityPath` should have a snake case name [INFO] [stderr] --> src/lib.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | identityPath: PathBuf, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `identity_path` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `identityPath` should have a snake case name [INFO] [stderr] --> src/lib.rs:45:26 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn from_identity(identityPath: PathBuf, password: String) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `identity_path` [INFO] [stderr] [INFO] [stderr] warning: `gempress` (lib) generated 3 warnings [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> examples/simple_server.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | fn index_handler(req: Box, mut res: Box) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> examples/simple_server.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | res.send("Hello from index route!".as_bytes()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 8 | let _ = res.send("Hello from index route!".as_bytes()); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `gempress` (example "simple_server") generated 2 warnings [INFO] [stderr] warning: `gempress` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gempress-dbc407e98d1a2002) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test gemini::tests::parse_malformed_request ... ok [INFO] [stdout] test gemini::tests::parse_request ... ok [INFO] [stdout] test gemini::tests::parse_without_scheme_double_slash ... ok [INFO] [stdout] test gemini::tests::parse_without_scheme ... ok [INFO] [stdout] test io::tests::resolve_path_dir ... ok [INFO] [stdout] test io::tests::resolve_path_file ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests gempress [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - Gempress::on (line 118) ... FAILED [INFO] [stdout] test src/lib.rs - Config::from_identity (line 31) ... FAILED [INFO] [stdout] test src/lib.rs - Config::from_identity (line 41) ... FAILED [INFO] [stdout] test src/lib.rs - Gempress::new (line 103) ... FAILED [INFO] [stdout] test src/lib.rs - Handler (line 57) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Gempress::on (line 118) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathBuf` [INFO] [stdout] --> src/lib.rs:122:50 [INFO] [stdout] | [INFO] [stdout] 7 | let config = gempress::Config::from_identity(PathBuf::from("identity.pfx"), "password".into()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PathBuf` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Gempress` [INFO] [stdout] --> src/lib.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 8 | let mut app = Gempress::new(config); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Gempress` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use gempress::Gempress; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Config::from_identity (line 31) stdout ---- [INFO] [stdout] error[E0762]: unterminated character literal [INFO] [stdout] --> src/lib.rs:32:89 [INFO] [stdout] | [INFO] [stdout] 1 | openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -nodes -subj '/CN=localhost' [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0762`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Config::from_identity (line 41) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathBuf` [INFO] [stdout] --> src/lib.rs:43:46 [INFO] [stdout] | [INFO] [stdout] 5 | let config = gempress::Config::from_identity(PathBuf::from("identity.pfx"), "password".into()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PathBuf` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Gempress` [INFO] [stdout] --> src/lib.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 6 | let mut app = Gempress::new(config); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Gempress` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use gempress::Gempress; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Gempress::new (line 103) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathBuf` [INFO] [stdout] --> src/lib.rs:105:46 [INFO] [stdout] | [INFO] [stdout] 5 | let config = gempress::Config::from_identity(PathBuf::from("identity.pfx"), "password".into()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PathBuf` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Gempress` [INFO] [stdout] --> src/lib.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 6 | let mut app = Gempress::new(config); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Gempress` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use gempress::Gempress; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Handler (line 57) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (65) panicked at src/lib.rs:23:2: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: NoIdentity(Os { code: 2, kind: NotFound, message: "No such file or directory" }) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5b3abbb00272 - std::backtrace_rs::backtrace::libunwind::trace::hc4a5f428cfb78751 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5b3abbb00272 - std::backtrace_rs::backtrace::trace_unsynchronized::h20e1095684b4c296 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5b3abbb00272 - std::sys::backtrace::_print_fmt::h461f2e3a8f6b29e2 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5b3abbb00272 - ::fmt::h4ee3a75aa71a2c45 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5b3abbb1d89f - core::fmt::rt::Argument::fmt::h6f1564705cd089af [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5b3abbb1d89f - core::fmt::write::h21ca93b65a7c281a [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5b3abbaf2023 - std::io::default_write_fmt::h745a1edf2999cb3b [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5b3abbaf2023 - std::io::Write::write_fmt::hfc56e66d6e189682 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5b3abbb008c2 - std::sys::backtrace::BacktraceLock::print::h58d5d73f9e953cf1 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5b3abbaef00c - std::panicking::default_hook::{{closure}}::h1457fbe47c9457d1 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5b3abbaeee46 - std::panicking::default_hook::hccb5e73b206c0830 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x5b3abbaefd1a - std::panicking::panic_with_hook::h3190ecc6229cdd29 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x5b3abbb006ca - std::panicking::panic_handler::{{closure}}::ha1f1b769bc2bb40c [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x5b3abbb00629 - std::sys::backtrace::__rust_end_short_backtrace::h5f9cf66f19c2a172 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x5b3abbaefa3d - __rustc[a93bd50104b99ad4]::rust_begin_unwind [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x5b3abbb214b0 - core::panicking::panic_fmt::hc70c3c83f13c1375 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/panicking.rs:75:14 [INFO] [stdout] 16: 0x5b3abbb21f76 - core::result::unwrap_failed::ha809bf80017a514a [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/result.rs:1852:5 [INFO] [stdout] 17: 0x5b3abba8174a - rust_out::main::_doctest_main_src_lib_rs_57_0::h3e6fd2b5dbeb941b [INFO] [stdout] 18: 0x5b3abba814f6 - rust_out::main::h61a73a86de211918 [INFO] [stdout] 19: 0x5b3abba805d3 - core::ops::function::FnOnce::call_once::h6c9c00fd6ee79245 [INFO] [stdout] 20: 0x5b3abba82ce6 - std::sys::backtrace::__rust_begin_short_backtrace::h916f7d6bfb06988c [INFO] [stdout] 21: 0x5b3abba82a29 - std::rt::lang_start::{{closure}}::h8b630493ef2474c7 [INFO] [stdout] 22: 0x5b3abbb01040 - core::ops::function::impls:: for &F>::call_once::hae16bf8966719858 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/ops/function.rs:290:21 [INFO] [stdout] 23: 0x5b3abbb01040 - std::panicking::catch_unwind::do_call::hd4eb7cf01d0f66cd [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 24: 0x5b3abbb01040 - std::panicking::catch_unwind::h35b4afc45093edf5 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 25: 0x5b3abbb01040 - std::panic::catch_unwind::h5a7ef11ac2fa7980 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x5b3abbb01040 - std::rt::lang_start_internal::{{closure}}::h18f8e059e8eb5f5a [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x5b3abbb01040 - std::panicking::catch_unwind::do_call::hb4f94f34ea41283f [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x5b3abbb01040 - std::panicking::catch_unwind::hfbb31091ea806204 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x5b3abbb01040 - std::panic::catch_unwind::hc88f452387620cfb [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5b3abbb01040 - std::rt::lang_start_internal::h23cfb6dcbf9c9010 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x5b3abba82a11 - std::rt::lang_start::h2676fe224d780b30 [INFO] [stdout] 32: 0x5b3abba82d85 - main [INFO] [stdout] 33: 0x77629aae01ca - [INFO] [stdout] 34: 0x77629aae028b - __libc_start_main [INFO] [stdout] 35: 0x5b3abba7cea5 - _start [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - Config::from_identity (line 31) [INFO] [stdout] src/lib.rs - Config::from_identity (line 41) [INFO] [stdout] src/lib.rs - Gempress::new (line 103) [INFO] [stdout] src/lib.rs - Gempress::on (line 118) [INFO] [stdout] src/lib.rs - Handler (line 57) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.89s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "e6aed607c0e9562c674d9dd88a2dd2e332f2c0ed5e23318a0824ea7039540d2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6aed607c0e9562c674d9dd88a2dd2e332f2c0ed5e23318a0824ea7039540d2a", kill_on_drop: false }` [INFO] [stdout] e6aed607c0e9562c674d9dd88a2dd2e332f2c0ed5e23318a0824ea7039540d2a