[INFO] fetching crate pikchr-sys 0.1.1...
[INFO] testing pikchr-sys-0.1.1 against nightly-2025-01-18 for randomize-layout-2
[INFO] extracting crate pikchr-sys 0.1.1 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate pikchr-sys 0.1.1 on toolchain nightly-2025-01-18
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate pikchr-sys 0.1.1
[INFO] finished tweaking crates.io crate pikchr-sys 0.1.1
[INFO] tweaked toml for crates.io crate pikchr-sys 0.1.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 28 packages to latest compatible versions
[INFO] [stderr]       Adding bindgen v0.53.3 (available: v0.71.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1776b8f7281af43a99519fd38ea42a2dc2f461ec9ff0487f9a4e4f158f8b9c0b
[INFO] running `Command { std: "docker" "start" "-a" "1776b8f7281af43a99519fd38ea42a2dc2f461ec9ff0487f9a4e4f158f8b9c0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1776b8f7281af43a99519fd38ea42a2dc2f461ec9ff0487f9a4e4f158f8b9c0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1776b8f7281af43a99519fd38ea42a2dc2f461ec9ff0487f9a4e4f158f8b9c0b", kill_on_drop: false }`
[INFO] [stdout] 1776b8f7281af43a99519fd38ea42a2dc2f461ec9ff0487f9a4e4f158f8b9c0b
[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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2077a37281cf985e392ef339197b4181b4087b226a824cd4235d0eda4f1df9b3
[INFO] running `Command { std: "docker" "start" "-a" "2077a37281cf985e392ef339197b4181b4087b226a824cd4235d0eda4f1df9b3", kill_on_drop: false }`
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling glob v0.3.2
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling bindgen v0.53.3
[INFO] [stderr]    Compiling cc v1.2.10
[INFO] [stderr]    Compiling nom v5.1.3
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling clang-sys v0.29.3
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling shlex v0.1.1
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling cexpr v0.4.0
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling pikchr-sys v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.75s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bindgen v0.53.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "2077a37281cf985e392ef339197b4181b4087b226a824cd4235d0eda4f1df9b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2077a37281cf985e392ef339197b4181b4087b226a824cd4235d0eda4f1df9b3", kill_on_drop: false }`
[INFO] [stdout] 2077a37281cf985e392ef339197b4181b4087b226a824cd4235d0eda4f1df9b3
[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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] da00bc1dcb900d7a7f736bb08040ca7ffa54bf4d780de2423093a0c336cf7221
[INFO] running `Command { std: "docker" "start" "-a" "da00bc1dcb900d7a7f736bb08040ca7ffa54bf4d780de2423093a0c336cf7221", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling clang-sys v0.29.3
[INFO] [stderr]    Compiling bindgen v0.53.3
[INFO] [stderr]    Compiling pikchr-sys v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 12.28s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bindgen v0.53.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "da00bc1dcb900d7a7f736bb08040ca7ffa54bf4d780de2423093a0c336cf7221", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "da00bc1dcb900d7a7f736bb08040ca7ffa54bf4d780de2423093a0c336cf7221", kill_on_drop: false }`
[INFO] [stdout] da00bc1dcb900d7a7f736bb08040ca7ffa54bf4d780de2423093a0c336cf7221
[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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 909e9d6d53ff7a38a8768945321b4abb02414c2866b43ad603cdefb870bab645
[INFO] running `Command { std: "docker" "start" "-a" "909e9d6d53ff7a38a8768945321b4abb02414c2866b43ad603cdefb870bab645", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bindgen v0.53.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pikchr_sys-ab6551f6067bddd1)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test tests::simple_raw_box ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests pikchr_sys
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/lib.rs - (line 21) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 21) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stdout]  --> src/lib.rs:23:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut width: c_int = 0;
[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] 2 + use libc::c_int;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stdout]  --> src/lib.rs:24:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | let mut height: c_int = 0;
[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] 2 + use libc::c_int;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CString`
[INFO] [stdout]  --> src/lib.rs:25:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | let input = CString::new(input)?;
[INFO] [stdout]   |             ^^^^^^^ use of undeclared type `CString`
[INFO] [stdout]   |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]   |
[INFO] [stdout] 6 | let input = String::new(input)?;
[INFO] [stdout]   |             ~~~~~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::ffi::CString;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_char` in this scope
[INFO] [stdout]  --> src/lib.rs:27:15
[INFO] [stdout]   |
[INFO] [stdout] 8 | let res: *mut c_char = unsafe {
[INFO] [stdout]   |               ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]   |
[INFO] [stdout] 8 | let res: *mut char = unsafe {
[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] 2 + use libc::c_char;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `pikchr` in this scope
[INFO] [stdout]  --> src/lib.rs:28:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pikchr(
[INFO] [stdout]   |     ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pikchr_sys::pikchr;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_char` in this scope
[INFO] [stdout]   --> src/lib.rs:29:34
[INFO] [stdout]    |
[INFO] [stdout] 10 |         input.as_ptr() as *const c_char,
[INFO] [stdout]    |                                  ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 10 |         input.as_ptr() as *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] 2  + use libc::c_char;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PIKCHR_PLAINTEXT_ERRORS` in this scope
[INFO] [stdout]   --> src/lib.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         PIKCHR_PLAINTEXT_ERRORS,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout] 2  + use pikchr_sys::PIKCHR_PLAINTEXT_ERRORS;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stdout]   --> src/lib.rs:32:28
[INFO] [stdout]    |
[INFO] [stdout] 13 |         &mut width as *mut 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] 2  + use libc::c_int;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stdout]   --> src/lib.rs:33:29
[INFO] [stdout]    |
[INFO] [stdout] 14 |         &mut height as *mut 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] 2  + use libc::c_int;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CStr`
[INFO] [stdout]   --> src/lib.rs:37:21
[INFO] [stdout]    |
[INFO] [stdout] 18 | let cstr = unsafe { CStr::from_ptr(res) };
[INFO] [stdout]    |                     ^^^^ use of undeclared type `CStr`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::ffi::CStr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `free` in this scope
[INFO] [stdout]   --> src/lib.rs:40:10
[INFO] [stdout]    |
[INFO] [stdout] 21 | unsafe { free(res as *mut c_void) };
[INFO] [stdout]    |          ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use libc::free;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stdout]   --> src/lib.rs:40:27
[INFO] [stdout]    |
[INFO] [stdout] 21 | unsafe { free(res as *mut c_void) };
[INFO] [stdout]    |                           ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::ffi::c_void;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::os::raw::c_void;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use core::ffi::c_void;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use libc::c_void;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 21)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "909e9d6d53ff7a38a8768945321b4abb02414c2866b43ad603cdefb870bab645", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "909e9d6d53ff7a38a8768945321b4abb02414c2866b43ad603cdefb870bab645", kill_on_drop: false }`
[INFO] [stdout] 909e9d6d53ff7a38a8768945321b4abb02414c2866b43ad603cdefb870bab645
