[INFO] fetching crate gempress 0.1.1... [INFO] testing gempress-0.1.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate gempress 0.1.1 into /workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gempress 0.1.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded openssl-sys v0.9.66 [INFO] [stderr] Downloaded thiserror-impl v1.0.28 [INFO] [stderr] Downloaded tinyvec v1.3.1 [INFO] [stderr] Downloaded thiserror v1.0.28 [INFO] [stderr] Downloaded unicode-bidi v0.3.6 [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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e56aaabbf56d4ef0571ecec711f4b34b94743cd1c82e15e72e5d5b84cb9c2929 [INFO] running `Command { std: "docker" "start" "-a" "e56aaabbf56d4ef0571ecec711f4b34b94743cd1c82e15e72e5d5b84cb9c2929", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e56aaabbf56d4ef0571ecec711f4b34b94743cd1c82e15e72e5d5b84cb9c2929", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e56aaabbf56d4ef0571ecec711f4b34b94743cd1c82e15e72e5d5b84cb9c2929", kill_on_drop: false }` [INFO] [stdout] e56aaabbf56d4ef0571ecec711f4b34b94743cd1c82e15e72e5d5b84cb9c2929 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8128498d6b77ac049878a0fbbf0c461dfbcf5ce9727e4e244abe8a2ce564a64b [INFO] running `Command { std: "docker" "start" "-a" "8128498d6b77ac049878a0fbbf0c461dfbcf5ce9727e4e244abe8a2ce564a64b", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.70 [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 tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) 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 13.06s [INFO] running `Command { std: "docker" "inspect" "8128498d6b77ac049878a0fbbf0c461dfbcf5ce9727e4e244abe8a2ce564a64b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8128498d6b77ac049878a0fbbf0c461dfbcf5ce9727e4e244abe8a2ce564a64b", kill_on_drop: false }` [INFO] [stdout] 8128498d6b77ac049878a0fbbf0c461dfbcf5ce9727e4e244abe8a2ce564a64b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53b7c3cf9c5853891e734f0a6e08ea0a96f2f672a40dcf327f307e2d36b24850 [INFO] running `Command { std: "docker" "start" "-a" "53b7c3cf9c5853891e734f0a6e08ea0a96f2f672a40dcf327f307e2d36b24850", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) 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)]` (part of `#[warn(nonstandard_style)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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.86s [INFO] running `Command { std: "docker" "inspect" "53b7c3cf9c5853891e734f0a6e08ea0a96f2f672a40dcf327f307e2d36b24850", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53b7c3cf9c5853891e734f0a6e08ea0a96f2f672a40dcf327f307e2d36b24850", kill_on_drop: false }` [INFO] [stdout] 53b7c3cf9c5853891e734f0a6e08ea0a96f2f672a40dcf327f307e2d36b24850 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 09c6fb7b2b45e3cac58ae965271d9f7d5b435790ac9d5d4f92cc1012c9964620 [INFO] running `Command { std: "docker" "start" "-a" "09c6fb7b2b45e3cac58ae965271d9f7d5b435790ac9d5d4f92cc1012c9964620", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 (run `cargo fix --example "simple_server" -p gempress` to apply 1 suggestion) [INFO] [stderr] warning: `gempress` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gempress-ddc20d7cb31516d8) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test gemini::tests::parse_malformed_request ... ok [INFO] [stderr] Doc-tests gempress [INFO] [stdout] test gemini::tests::parse_request ... ok [INFO] [stdout] test gemini::tests::parse_without_scheme ... ok [INFO] [stdout] test io::tests::resolve_path_dir ... ok [INFO] [stdout] test gemini::tests::parse_without_scheme_double_slash ... 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.00s [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 - Config::from_identity (line 41) ... FAILED [INFO] [stdout] test src/lib.rs - Gempress::on (line 118) ... 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] 32 | 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]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> src/lib.rs:105:46 [INFO] [stdout] | [INFO] [stdout] 105 | 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] 102 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Gempress` in this scope [INFO] [stdout] --> src/lib.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | 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] 102 + 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]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> src/lib.rs:43:46 [INFO] [stdout] | [INFO] [stdout] 43 | 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] 40 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Gempress` in this scope [INFO] [stdout] --> src/lib.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | 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] 40 + 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]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> src/lib.rs:122:50 [INFO] [stdout] | [INFO] [stdout] 122 | 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] 117 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Gempress` in this scope [INFO] [stdout] --> src/lib.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 123 | 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] 117 + 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' (64) 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: 0x5d0c7cfc1e6a - std[31e582c13f4e914f]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d0c7cfc1e6a - std[31e582c13f4e914f]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d0c7cfc1e6a - std[31e582c13f4e914f]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x5d0c7cfc1e6a - <::print::DisplayBacktrace as core[fa0eadad68403074]::fmt::Display>::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x5d0c7cfd45aa - ::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x5d0c7cfd45aa - core[fa0eadad68403074]::fmt::write [INFO] [stdout] 6: 0x5d0c7cfc6422 - std[31e582c13f4e914f]::io::default_write_fmt:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d0c7cfc6422 - ::write_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x5d0c7cfac78f - ::print [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x5d0c7cfac78f - std[31e582c13f4e914f]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x5d0c7cfbd451 - std[31e582c13f4e914f]::panicking::default_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:319:9 [INFO] [stdout] 11: 0x5d0c7cfbd6cb - std[31e582c13f4e914f]::panicking::panic_with_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:825:13 [INFO] [stdout] 12: 0x5d0c7cfac848 - std[31e582c13f4e914f]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:698:13 [INFO] [stdout] 13: 0x5d0c7cfa1cd9 - std[31e582c13f4e914f]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 14: 0x5d0c7cfad26d - __rustc[fc8e3a9f23f26cb]::rust_begin_unwind [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:689:5 [INFO] [stdout] 15: 0x5d0c7cfd4d3c - core[fa0eadad68403074]::panicking::panic_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panicking.rs:80:14 [INFO] [stdout] 16: 0x5d0c7cfd4ab2 - core[fa0eadad68403074]::result::unwrap_failed [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/result.rs:1867:5 [INFO] [stdout] 17: 0x5d0c7cf3f8e4 - rust_out[6ca516bbe19c3985]::main::_doctest_main_src_lib_rs_57_0 [INFO] [stdout] 18: 0x5d0c7cf3ead6 - rust_out[6ca516bbe19c3985]::main [INFO] [stdout] 19: 0x5d0c7cf41233 - >::call_once [INFO] [stdout] 20: 0x5d0c7cf3d926 - std[31e582c13f4e914f]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 21: 0x5d0c7cf3e9b9 - std[31e582c13f4e914f]::rt::lang_start::<()>::{closure#0} [INFO] [stdout] 22: 0x5d0c7cfbcbc4 - <&dyn core[fa0eadad68403074]::ops::function::Fn<(), Output = i32> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::panic::unwind_safe::RefUnwindSafe as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 23: 0x5d0c7cfbcbc4 - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::<&dyn core[fa0eadad68403074]::ops::function::Fn<(), Output = i32> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::panic::unwind_safe::RefUnwindSafe, i32> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 24: 0x5d0c7cfbcbc4 - std[31e582c13f4e914f]::panicking::catch_unwind:: + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::panic::unwind_safe::RefUnwindSafe> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 25: 0x5d0c7cfbcbc4 - std[31e582c13f4e914f]::panic::catch_unwind::<&dyn core[fa0eadad68403074]::ops::function::Fn<(), Output = i32> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::panic::unwind_safe::RefUnwindSafe, i32> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x5d0c7cfbcbc4 - std[31e582c13f4e914f]::rt::lang_start_internal::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x5d0c7cfbcbc4 - std[31e582c13f4e914f]::panicking::catch_unwind::do_call:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 28: 0x5d0c7cfbcbc4 - std[31e582c13f4e914f]::panicking::catch_unwind:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 29: 0x5d0c7cfbcbc4 - std[31e582c13f4e914f]::panic::catch_unwind:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5d0c7cfbcbc4 - std[31e582c13f4e914f]::rt::lang_start_internal [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x5d0c7cf3cf71 - std[31e582c13f4e914f]::rt::lang_start::<()> [INFO] [stdout] 32: 0x5d0c7cf414b5 - main [INFO] [stdout] 33: 0x7766f5cfc1ca - [INFO] [stdout] 34: 0x7766f5cfc28b - __libc_start_main [INFO] [stdout] 35: 0x5d0c7cf3b6a5 - _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.56s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "09c6fb7b2b45e3cac58ae965271d9f7d5b435790ac9d5d4f92cc1012c9964620", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09c6fb7b2b45e3cac58ae965271d9f7d5b435790ac9d5d4f92cc1012c9964620", kill_on_drop: false }` [INFO] [stdout] 09c6fb7b2b45e3cac58ae965271d9f7d5b435790ac9d5d4f92cc1012c9964620