[INFO] fetching crate gnurx-sys 0.3.13... [INFO] testing gnurx-sys-0.3.13 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate gnurx-sys 0.3.13 into /workspace/builds/worker-5-tc1/source [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate gnurx-sys 0.3.13 [INFO] finished tweaking crates.io crate gnurx-sys 0.3.13 [INFO] tweaked toml for crates.io crate gnurx-sys 0.3.13 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gnurx-sys 0.3.13 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate gnurx-sys 0.3.13 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d8f29136a8aedd2bc1eb450d5bd1f7912f23cb96708bd9ba087f2dc14f807f6 [INFO] running `Command { std: "docker" "start" "-a" "6d8f29136a8aedd2bc1eb450d5bd1f7912f23cb96708bd9ba087f2dc14f807f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d8f29136a8aedd2bc1eb450d5bd1f7912f23cb96708bd9ba087f2dc14f807f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d8f29136a8aedd2bc1eb450d5bd1f7912f23cb96708bd9ba087f2dc14f807f6", kill_on_drop: false }` [INFO] [stdout] 6d8f29136a8aedd2bc1eb450d5bd1f7912f23cb96708bd9ba087f2dc14f807f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a9f1c2a79252a3912467bfeec0f84f67771b0b52952cbf6e3de0c9794c1aa4c [INFO] running `Command { std: "docker" "start" "-a" "3a9f1c2a79252a3912467bfeec0f84f67771b0b52952cbf6e3de0c9794c1aa4c", kill_on_drop: false }` [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling cc v1.2.22 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling gnurx-sys v0.3.13 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> build.rs:105:50 [INFO] [stdout] | [INFO] [stdout] 105 | fn translate_rustc_target_to_clang(rustc_target: &str) -> Cow { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 105 | fn translate_rustc_target_to_clang(rustc_target: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.14s [INFO] running `Command { std: "docker" "inspect" "3a9f1c2a79252a3912467bfeec0f84f67771b0b52952cbf6e3de0c9794c1aa4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a9f1c2a79252a3912467bfeec0f84f67771b0b52952cbf6e3de0c9794c1aa4c", kill_on_drop: false }` [INFO] [stdout] 3a9f1c2a79252a3912467bfeec0f84f67771b0b52952cbf6e3de0c9794c1aa4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a1c01b912ce0b3c545d2c660ba071a4cb912815868505bbcf44e0a069ccae23 [INFO] running `Command { std: "docker" "start" "-a" "2a1c01b912ce0b3c545d2c660ba071a4cb912815868505bbcf44e0a069ccae23", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> build.rs:105:50 [INFO] [stdout] | [INFO] [stdout] 105 | fn translate_rustc_target_to_clang(rustc_target: &str) -> Cow { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 105 | fn translate_rustc_target_to_clang(rustc_target: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gnurx-sys v0.3.13 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "2a1c01b912ce0b3c545d2c660ba071a4cb912815868505bbcf44e0a069ccae23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a1c01b912ce0b3c545d2c660ba071a4cb912815868505bbcf44e0a069ccae23", kill_on_drop: false }` [INFO] [stdout] 2a1c01b912ce0b3c545d2c660ba071a4cb912815868505bbcf44e0a069ccae23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 23ac037185b9a673a1db855f1060d4f02fa7bb4ae6974852a2e9056566dc6a7d [INFO] running `Command { std: "docker" "start" "-a" "23ac037185b9a673a1db855f1060d4f02fa7bb4ae6974852a2e9056566dc6a7d", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> build.rs:105:50 [INFO] [stderr] | [INFO] [stderr] 105 | fn translate_rustc_target_to_clang(rustc_target: &str) -> Cow { [INFO] [stderr] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 105 | fn translate_rustc_target_to_clang(rustc_target: &str) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `gnurx-sys` (build script) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gnurx_sys-0aba1062006dc7a1) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests gnurx_sys [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/../README.md - (line 124) ... FAILED [INFO] [stdout] test src/../README.md - (line 16) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/../README.md - (line 124) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `regoff_t` in this scope [INFO] [stdout] --> src/../README.md:126:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub rm_so: regoff_t, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `regoff_t` in this scope [INFO] [stdout] --> src/../README.md:127:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub rm_eo: regoff_t, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] warning: type `regmatch_t` should have an upper camel case name [INFO] [stdout] --> src/../README.md:125:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct regmatch_t { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `RegmatchT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 16) stdout ---- [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/../README.md:17:1 [INFO] [stdout] | [INFO] [stdout] 3 | / extern "C" { [INFO] [stdout] 4 | | pub fn regcomp( [INFO] [stdout] 5 | | preg: *mut regex_t, [INFO] [stdout] 6 | | pattern: *const c_char, [INFO] [stdout] ... | [INFO] [stdout] 25 | | pub fn regfree(preg: *mut regex_t); [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `regex_t` in this scope [INFO] [stdout] --> src/../README.md:19:20 [INFO] [stdout] | [INFO] [stdout] 5 | preg: *mut regex_t, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_char` in this scope [INFO] [stdout] --> src/../README.md:20:25 [INFO] [stdout] | [INFO] [stdout] 6 | pattern: *const c_char, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - pattern: *const c_char, [INFO] [stdout] 6 + pattern: *const char, [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 2 + use std::ffi::c_char; [INFO] [stdout] | [INFO] [stdout] 2 + use std::os::raw::c_char; [INFO] [stdout] | [INFO] [stdout] 2 + use core::ffi::c_char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope [INFO] [stdout] --> src/../README.md:21:17 [INFO] [stdout] | [INFO] [stdout] 7 | cflags: c_int, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 2 + use std::ffi::c_int; [INFO] [stdout] | [INFO] [stdout] 2 + use std::os::raw::c_int; [INFO] [stdout] | [INFO] [stdout] 2 + use core::ffi::c_int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope [INFO] [stdout] --> src/../README.md:22:10 [INFO] [stdout] | [INFO] [stdout] 8 | ) -> c_int; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 2 + use std::ffi::c_int; [INFO] [stdout] | [INFO] [stdout] 2 + use std::os::raw::c_int; [INFO] [stdout] | [INFO] [stdout] 2 + use core::ffi::c_int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `regex_t` in this scope [INFO] [stdout] --> src/../README.md:25:22 [INFO] [stdout] | [INFO] [stdout] 11 | preg: *const regex_t, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_char` in this scope [INFO] [stdout] --> src/../README.md:26:24 [INFO] [stdout] | [INFO] [stdout] 12 | string: *const c_char, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 12 - string: *const c_char, [INFO] [stdout] 12 + string: *const char, [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 2 + use std::ffi::c_char; [INFO] [stdout] | [INFO] [stdout] 2 + use std::os::raw::c_char; [INFO] [stdout] | [INFO] [stdout] 2 + use core::ffi::c_char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `regmatch_t` in this scope [INFO] [stdout] --> src/../README.md:28:22 [INFO] [stdout] | [INFO] [stdout] 14 | pmatch: *mut regmatch_t, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope [INFO] [stdout] --> src/../README.md:29:17 [INFO] [stdout] | [INFO] [stdout] 15 | eflags: c_int, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 2 + use std::ffi::c_int; [INFO] [stdout] | [INFO] [stdout] 2 + use std::os::raw::c_int; [INFO] [stdout] | [INFO] [stdout] 2 + use core::ffi::c_int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope [INFO] [stdout] --> src/../README.md:30:10 [INFO] [stdout] | [INFO] [stdout] 16 | ) -> c_int; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 2 + use std::ffi::c_int; [INFO] [stdout] | [INFO] [stdout] 2 + use std::os::raw::c_int; [INFO] [stdout] | [INFO] [stdout] 2 + use core::ffi::c_int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope [INFO] [stdout] --> src/../README.md:33:18 [INFO] [stdout] | [INFO] [stdout] 19 | errcode: c_int, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 2 + use std::ffi::c_int; [INFO] [stdout] | [INFO] [stdout] 2 + use std::os::raw::c_int; [INFO] [stdout] | [INFO] [stdout] 2 + use core::ffi::c_int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `regex_t` in this scope [INFO] [stdout] --> src/../README.md:34:22 [INFO] [stdout] | [INFO] [stdout] 20 | preg: *const regex_t, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_char` in this scope [INFO] [stdout] --> src/../README.md:35:22 [INFO] [stdout] | [INFO] [stdout] 21 | errbuf: *mut c_char, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 21 - errbuf: *mut c_char, [INFO] [stdout] 21 + errbuf: *mut char, [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 2 + use std::ffi::c_char; [INFO] [stdout] | [INFO] [stdout] 2 + use std::os::raw::c_char; [INFO] [stdout] | [INFO] [stdout] 2 + use core::ffi::c_char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `regex_t` in this scope [INFO] [stdout] --> src/../README.md:39:31 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn regfree(preg: *mut regex_t); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/../README.md - (line 124) [INFO] [stdout] src/../README.md - (line 16) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.33s; merged doctests compilation took 0.09s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "23ac037185b9a673a1db855f1060d4f02fa7bb4ae6974852a2e9056566dc6a7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23ac037185b9a673a1db855f1060d4f02fa7bb4ae6974852a2e9056566dc6a7d", kill_on_drop: false }` [INFO] [stdout] 23ac037185b9a673a1db855f1060d4f02fa7bb4ae6974852a2e9056566dc6a7d