[INFO] fetching crate gnurx-sys 0.3.12... [INFO] testing gnurx-sys-0.3.12 against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940-2 [INFO] extracting crate gnurx-sys 0.3.12 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate gnurx-sys 0.3.12 on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate gnurx-sys 0.3.12 [INFO] finished tweaking crates.io crate gnurx-sys 0.3.12 [INFO] tweaked toml for crates.io crate gnurx-sys 0.3.12 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate gnurx-sys 0.3.12 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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ffef5fc27910963c2aae62fa095e929a94396766f53b253a2b278044cf58db64 [INFO] running `Command { std: "docker" "start" "-a" "ffef5fc27910963c2aae62fa095e929a94396766f53b253a2b278044cf58db64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffef5fc27910963c2aae62fa095e929a94396766f53b253a2b278044cf58db64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffef5fc27910963c2aae62fa095e929a94396766f53b253a2b278044cf58db64", kill_on_drop: false }` [INFO] [stdout] ffef5fc27910963c2aae62fa095e929a94396766f53b253a2b278044cf58db64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53f2dfed94eadadcd71756383dea8be1a02dfc6b42eb320876a542a7ce41b8c1 [INFO] running `Command { std: "docker" "start" "-a" "53f2dfed94eadadcd71756383dea8be1a02dfc6b42eb320876a542a7ce41b8c1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling prettyplease v0.2.29 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling cc v1.2.15 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [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.12 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.40s [INFO] running `Command { std: "docker" "inspect" "53f2dfed94eadadcd71756383dea8be1a02dfc6b42eb320876a542a7ce41b8c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53f2dfed94eadadcd71756383dea8be1a02dfc6b42eb320876a542a7ce41b8c1", kill_on_drop: false }` [INFO] [stdout] 53f2dfed94eadadcd71756383dea8be1a02dfc6b42eb320876a542a7ce41b8c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 063fe57a51321f228118febe7b5e401f62d9f5b3066ea25798c7f52030558e31 [INFO] running `Command { std: "docker" "start" "-a" "063fe57a51321f228118febe7b5e401f62d9f5b3066ea25798c7f52030558e31", kill_on_drop: false }` [INFO] [stderr] Compiling gnurx-sys v0.3.12 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "063fe57a51321f228118febe7b5e401f62d9f5b3066ea25798c7f52030558e31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "063fe57a51321f228118febe7b5e401f62d9f5b3066ea25798c7f52030558e31", kill_on_drop: false }` [INFO] [stdout] 063fe57a51321f228118febe7b5e401f62d9f5b3066ea25798c7f52030558e31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 719784382ea10ebbe58e72ee01867ebcb55c80727250cdbdca7f1440ed534bee [INFO] running `Command { std: "docker" "start" "-a" "719784382ea10ebbe58e72ee01867ebcb55c80727250cdbdca7f1440ed534bee", kill_on_drop: false }` [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-213e80b68aa63262) [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)]` 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] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "719784382ea10ebbe58e72ee01867ebcb55c80727250cdbdca7f1440ed534bee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "719784382ea10ebbe58e72ee01867ebcb55c80727250cdbdca7f1440ed534bee", kill_on_drop: false }` [INFO] [stdout] 719784382ea10ebbe58e72ee01867ebcb55c80727250cdbdca7f1440ed534bee