[INFO] fetching crate gempress 0.1.1... [INFO] testing gempress-0.1.1 against 1.90.0 for beta-1.91-3 [INFO] extracting crate gempress 0.1.1 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gempress 0.1.1 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tinyvec v1.3.1 [INFO] [stderr] Downloaded thiserror-impl v1.0.28 [INFO] [stderr] Downloaded openssl-probe v0.1.4 [INFO] [stderr] Downloaded security-framework-sys v2.4.2 [INFO] [stderr] Downloaded thiserror v1.0.28 [INFO] [stderr] Downloaded once_cell v1.8.0 [INFO] [stderr] Downloaded cc v1.0.70 [INFO] [stderr] Downloaded openssl-sys v0.9.66 [INFO] [stderr] Downloaded security-framework v2.4.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.29 [INFO] [stderr] Downloaded unicode-bidi v0.3.6 [INFO] [stderr] Downloaded openssl v0.10.36 [INFO] [stderr] Downloaded syn v1.0.76 [INFO] [stderr] Downloaded libc v0.2.101 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20fb0953bb8a16cf03bcffb95aef1bc98739986a468b2706c41a7479c76b1258 [INFO] running `Command { std: "docker" "start" "-a" "20fb0953bb8a16cf03bcffb95aef1bc98739986a468b2706c41a7479c76b1258", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20fb0953bb8a16cf03bcffb95aef1bc98739986a468b2706c41a7479c76b1258", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20fb0953bb8a16cf03bcffb95aef1bc98739986a468b2706c41a7479c76b1258", kill_on_drop: false }` [INFO] [stdout] 20fb0953bb8a16cf03bcffb95aef1bc98739986a468b2706c41a7479c76b1258 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a450e590aa724383d7a7f2a974e3aa007bdaa24d9352b16875507a16157a72d3 [INFO] running `Command { std: "docker" "start" "-a" "a450e590aa724383d7a7f2a974e3aa007bdaa24d9352b16875507a16157a72d3", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling native-tls v0.2.8 [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 6.07s [INFO] running `Command { std: "docker" "inspect" "a450e590aa724383d7a7f2a974e3aa007bdaa24d9352b16875507a16157a72d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a450e590aa724383d7a7f2a974e3aa007bdaa24d9352b16875507a16157a72d3", kill_on_drop: false }` [INFO] [stdout] a450e590aa724383d7a7f2a974e3aa007bdaa24d9352b16875507a16157a72d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05a94f41a910edb115cd4e230e2a65c8c61a97960dbada8c40a29a0b19c0b1aa [INFO] running `Command { std: "docker" "start" "-a" "05a94f41a910edb115cd4e230e2a65c8c61a97960dbada8c40a29a0b19c0b1aa", 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] [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] 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s [INFO] running `Command { std: "docker" "inspect" "05a94f41a910edb115cd4e230e2a65c8c61a97960dbada8c40a29a0b19c0b1aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05a94f41a910edb115cd4e230e2a65c8c61a97960dbada8c40a29a0b19c0b1aa", kill_on_drop: false }` [INFO] [stdout] 05a94f41a910edb115cd4e230e2a65c8c61a97960dbada8c40a29a0b19c0b1aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5c9e0eabc718e07aee980588064c42e7115941c68175c85838053668550ecfe2 [INFO] running `Command { std: "docker" "start" "-a" "5c9e0eabc718e07aee980588064c42e7115941c68175c85838053668550ecfe2", 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: `gempress` (lib test) generated 2 warnings (2 duplicates) [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] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gempress-ca82779c4febe454) [INFO] [stdout] [INFO] [stdout] running 6 tests [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] test gemini::tests::parse_request ... ok [INFO] [stdout] test gemini::tests::parse_malformed_request ... ok [INFO] [stderr] Doc-tests gempress [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] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - Config::from_identity (line 31) ... FAILED [INFO] [stdout] test src/lib.rs - Gempress::new (line 103) ... FAILED [INFO] [stdout] test src/lib.rs - Gempress::on (line 118) ... FAILED [INFO] [stdout] test src/lib.rs - Config::from_identity (line 41) ... FAILED [INFO] [stdout] test src/lib.rs - Handler (line 57) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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 - 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 - 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 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 - Handler (line 57) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' 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: 0x57c0496155b2 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x57c0496155b2 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x57c0496155b2 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x57c0496155b2 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x57c049633283 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x57c049633283 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x57c049612a53 - std::io::default_write_fmt::ha27fbccbc65eb6fa [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x57c049612a53 - std::io::Write::write_fmt::h6556609fca33d0b1 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x57c049615402 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x57c0496164a3 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x57c049616285 - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:327:9 [INFO] [stdout] 11: 0x57c049616eb5 - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:833:13 [INFO] [stdout] 12: 0x57c049616c4a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 13: 0x57c049615ab9 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x57c0496168dd - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 15: 0x57c049632380 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 16: 0x57c0496327e6 - core::result::unwrap_failed::h95bc3f5a607b2c95 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:1765:5 [INFO] [stdout] 17: 0x57c049597eca - rust_out::main::_doctest_main_src_lib_rs_57_0::h00835eba29490940 [INFO] [stdout] 18: 0x57c049597ca6 - rust_out::main::h2d10ba762d3f8adf [INFO] [stdout] 19: 0x57c0495934a3 - core::ops::function::FnOnce::call_once::h89333dd4ac8e03fc [INFO] [stdout] 20: 0x57c049592f46 - std::sys::backtrace::__rust_begin_short_backtrace::h8a10de1e92516da1 [INFO] [stdout] 21: 0x57c049592b89 - std::rt::lang_start::{{closure}}::h0af3a8cb06b34c3e [INFO] [stdout] 22: 0x57c04960f490 - core::ops::function::impls:: for &F>::call_once::h638295a043b40957 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:290:21 [INFO] [stdout] 23: 0x57c04960f490 - std::panicking::catch_unwind::do_call::hbd68098bdea1ca50 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 24: 0x57c04960f490 - std::panicking::catch_unwind::h50591d85bf847c7c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 25: 0x57c04960f490 - std::panic::catch_unwind::h2487b4c4f2ae22c6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x57c04960f490 - std::rt::lang_start_internal::{{closure}}::h61f0945cc6c9a811 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x57c04960f490 - std::panicking::catch_unwind::do_call::h34b9c3722acd6bd1 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 28: 0x57c04960f490 - std::panicking::catch_unwind::hf9a822ea043fb0d6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 29: 0x57c04960f490 - std::panic::catch_unwind::h5b3cac802237ed89 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x57c04960f490 - std::rt::lang_start_internal::h34f9328d113fd60a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x57c049592b71 - std::rt::lang_start::h8f736fe0a226e45f [INFO] [stdout] 32: 0x57c0495980d5 - main [INFO] [stdout] 33: 0x76b366cb21ca - [INFO] [stdout] 34: 0x76b366cb228b - __libc_start_main [INFO] [stdout] 35: 0x57c0495921f5 - _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.37s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "5c9e0eabc718e07aee980588064c42e7115941c68175c85838053668550ecfe2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c9e0eabc718e07aee980588064c42e7115941c68175c85838053668550ecfe2", kill_on_drop: false }` [INFO] [stdout] 5c9e0eabc718e07aee980588064c42e7115941c68175c85838053668550ecfe2