[INFO] fetching crate gempress 0.1.1... [INFO] testing gempress-0.1.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate gempress 0.1.1 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gempress 0.1.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb9b3650f2f34f7d7080416ef4261efe30cbb032aa2cd31be3d75985ad64f461 [INFO] running `Command { std: "docker" "start" "-a" "eb9b3650f2f34f7d7080416ef4261efe30cbb032aa2cd31be3d75985ad64f461", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb9b3650f2f34f7d7080416ef4261efe30cbb032aa2cd31be3d75985ad64f461", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb9b3650f2f34f7d7080416ef4261efe30cbb032aa2cd31be3d75985ad64f461", kill_on_drop: false }` [INFO] [stdout] eb9b3650f2f34f7d7080416ef4261efe30cbb032aa2cd31be3d75985ad64f461 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 243b298004c24cd31093ffb2c6d4df42987b2ddf400f62e1a0b41d31c9e8297d [INFO] running `Command { std: "docker" "start" "-a" "243b298004c24cd31093ffb2c6d4df42987b2ddf400f62e1a0b41d31c9e8297d", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling autocfg v1.0.1 [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 foreign-types-shared v0.1.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [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 8.59s [INFO] running `Command { std: "docker" "inspect" "243b298004c24cd31093ffb2c6d4df42987b2ddf400f62e1a0b41d31c9e8297d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "243b298004c24cd31093ffb2c6d4df42987b2ddf400f62e1a0b41d31c9e8297d", kill_on_drop: false }` [INFO] [stdout] 243b298004c24cd31093ffb2c6d4df42987b2ddf400f62e1a0b41d31c9e8297d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 702f873f31d44d22fdcf639e5262e817e5e10f57f532270be80122251258b1db [INFO] running `Command { std: "docker" "start" "-a" "702f873f31d44d22fdcf639e5262e817e5e10f57f532270be80122251258b1db", 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: 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] [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 `test` profile [unoptimized + debuginfo] target(s) in 0.56s [INFO] running `Command { std: "docker" "inspect" "702f873f31d44d22fdcf639e5262e817e5e10f57f532270be80122251258b1db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "702f873f31d44d22fdcf639e5262e817e5e10f57f532270be80122251258b1db", kill_on_drop: false }` [INFO] [stdout] 702f873f31d44d22fdcf639e5262e817e5e10f57f532270be80122251258b1db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 00d8ab043770df47c3a1bb23f1c2b1d5d4137a8ce5130ef3fd6313a493a07462 [INFO] running `Command { std: "docker" "start" "-a" "00d8ab043770df47c3a1bb23f1c2b1d5d4137a8ce5130ef3fd6313a493a07462", 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: `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)]` (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] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [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 io::tests::resolve_path_dir ... ok [INFO] [stdout] test io::tests::resolve_path_file ... ok [INFO] [stdout] test gemini::tests::parse_without_scheme_double_slash ... ok [INFO] [stdout] test gemini::tests::parse_without_scheme ... 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 - 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]: failed to resolve: use of undeclared type `PathBuf` [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]: failed to resolve: use of undeclared type `Gempress` [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]: failed to resolve: use of undeclared type `PathBuf` [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]: failed to resolve: use of undeclared type `Gempress` [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]: failed to resolve: use of undeclared type `PathBuf` [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]: failed to resolve: use of undeclared type `Gempress` [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' (80) 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: 0x57953baafbb2 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x57953baafbb2 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x57953baafbb2 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x57953baafbb2 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x57953babf3bf - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x57953babf3bf - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x57953ba8bff3 - std::io::default_write_fmt::hb29d13affe7e9cd0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x57953ba8bff3 - std::io::Write::write_fmt::hec441b8c6eca32b9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x57953ba92442 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x57953ba9415f - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x57953ba93fb9 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x57953ba947e5 - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x57953ba945ca - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x57953ba92579 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x57953ba8085d - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x57953bac3a60 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 16: 0x57953bac30a6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 17: 0x57953ba26dda - rust_out::main::_doctest_main_src_lib_rs_57_0::h73dfa8909a38db21 [INFO] [stdout] 18: 0x57953ba26ac6 - rust_out::main::h583ff58340d718d9 [INFO] [stdout] 19: 0x57953ba222e3 - core::ops::function::FnOnce::call_once::h14c180921ac1da5e [INFO] [stdout] 20: 0x57953ba21e16 - std::sys::backtrace::__rust_begin_short_backtrace::h6b98eb9b1ad88857 [INFO] [stdout] 21: 0x57953ba21a39 - std::rt::lang_start::{{closure}}::h2fc95fa84f0c83a2 [INFO] [stdout] 22: 0x57953ba8d6b0 - core::ops::function::impls:: for &F>::call_once::h9095abc9db71b07e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 23: 0x57953ba8d6b0 - std::panicking::catch_unwind::do_call::h6cf5dc461761418c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 24: 0x57953ba8d6b0 - std::panicking::catch_unwind::h60074fd2327f40bd [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 25: 0x57953ba8d6b0 - std::panic::catch_unwind::heb14fa8e39d051cf [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x57953ba8d6b0 - std::rt::lang_start_internal::{{closure}}::hfb550bec36306a19 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x57953ba8d6b0 - std::panicking::catch_unwind::do_call::hc805f36f35b6d647 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x57953ba8d6b0 - std::panicking::catch_unwind::hb8d32f0195463ad2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x57953ba8d6b0 - std::panic::catch_unwind::hcebe3b1d5adfc5a2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x57953ba8d6b0 - std::rt::lang_start_internal::h27f55ed238aa26df [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x57953ba21a21 - std::rt::lang_start::h762c340aaede70f7 [INFO] [stdout] 32: 0x57953ba26ef5 - main [INFO] [stdout] 33: 0x732181da81ca - [INFO] [stdout] 34: 0x732181da828b - __libc_start_main [INFO] [stdout] 35: 0x57953ba21115 - _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.30s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "00d8ab043770df47c3a1bb23f1c2b1d5d4137a8ce5130ef3fd6313a493a07462", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00d8ab043770df47c3a1bb23f1c2b1d5d4137a8ce5130ef3fd6313a493a07462", kill_on_drop: false }` [INFO] [stdout] 00d8ab043770df47c3a1bb23f1c2b1d5d4137a8ce5130ef3fd6313a493a07462