[INFO] fetching crate pikchr-sys 0.1.1... [INFO] testing pikchr-sys-0.1.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate pikchr-sys 0.1.1 into /workspace/builds/worker-4-tc1/source [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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pikchr-sys 0.1.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 29 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.53.3 (available: v0.72.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cfg-if v0.1.10 [INFO] [stderr] Downloaded rustc-hash v1.1.0 [INFO] [stderr] Downloaded shlex v0.1.1 [INFO] [stderr] Downloaded libloading v0.5.2 [INFO] [stderr] Downloaded cexpr v0.4.0 [INFO] [stderr] Downloaded lazycell v1.3.0 [INFO] [stderr] Downloaded bindgen v0.53.3 [INFO] [stderr] Downloaded nom v5.1.3 [INFO] [stderr] Downloaded clang-sys v0.29.3 [INFO] [stderr] Downloaded peeking_take_while v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a5ae11b1e306cb8c20115541fc1e67660d1a2225b1d2dda9ea1ea00d661fad9 [INFO] running `Command { std: "docker" "start" "-a" "9a5ae11b1e306cb8c20115541fc1e67660d1a2225b1d2dda9ea1ea00d661fad9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a5ae11b1e306cb8c20115541fc1e67660d1a2225b1d2dda9ea1ea00d661fad9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a5ae11b1e306cb8c20115541fc1e67660d1a2225b1d2dda9ea1ea00d661fad9", kill_on_drop: false }` [INFO] [stdout] 9a5ae11b1e306cb8c20115541fc1e67660d1a2225b1d2dda9ea1ea00d661fad9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 208fd2d07eb1291ac6e297187e5c8ec4d4b9aa0c8deb1b4e9782e33d7f404036 [INFO] running `Command { std: "docker" "start" "-a" "208fd2d07eb1291ac6e297187e5c8ec4d4b9aa0c8deb1b4e9782e33d7f404036", kill_on_drop: false }` [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling bindgen v0.53.3 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling lazycell v1.3.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 bitflags v1.3.2 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling pikchr-sys v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: pikchr-sys@0.1.1: pikchr.y: In function 'pik_error_context': [INFO] [stderr] warning: pikchr-sys@0.1.1: pikchr.y:2478:40: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] [INFO] [stderr] warning: pikchr-sys@0.1.1: pikchr.y:2478:5: note: 'snprintf' output between 13 and 20 bytes into a destination of size 19 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.33s [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" "208fd2d07eb1291ac6e297187e5c8ec4d4b9aa0c8deb1b4e9782e33d7f404036", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "208fd2d07eb1291ac6e297187e5c8ec4d4b9aa0c8deb1b4e9782e33d7f404036", kill_on_drop: false }` [INFO] [stdout] 208fd2d07eb1291ac6e297187e5c8ec4d4b9aa0c8deb1b4e9782e33d7f404036 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f549fa6d0a6cdb3d2e98dd483c37d529c37392c8a85a1af73199635c188cfbf [INFO] running `Command { std: "docker" "start" "-a" "0f549fa6d0a6cdb3d2e98dd483c37d529c37392c8a85a1af73199635c188cfbf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [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] warning: pikchr-sys@0.1.1: pikchr.y: In function 'pik_error_context': [INFO] [stderr] warning: pikchr-sys@0.1.1: pikchr.y:2478:40: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] [INFO] [stderr] warning: pikchr-sys@0.1.1: pikchr.y:2478:5: note: 'snprintf' output between 13 and 20 bytes into a destination of size 19 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9.58s [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" "0f549fa6d0a6cdb3d2e98dd483c37d529c37392c8a85a1af73199635c188cfbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f549fa6d0a6cdb3d2e98dd483c37d529c37392c8a85a1af73199635c188cfbf", kill_on_drop: false }` [INFO] [stdout] 0f549fa6d0a6cdb3d2e98dd483c37d529c37392c8a85a1af73199635c188cfbf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0cc255cab2703f4fb96b0387a052f09581094890b8d7f3a838d209b54becde8c [INFO] running `Command { std: "docker" "start" "-a" "0cc255cab2703f4fb96b0387a052f09581094890b8d7f3a838d209b54becde8c", kill_on_drop: false }` [INFO] [stderr] warning: pikchr-sys@0.1.1: pikchr.y: In function 'pik_error_context': [INFO] [stderr] warning: pikchr-sys@0.1.1: pikchr.y:2478:40: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] [INFO] [stderr] warning: pikchr-sys@0.1.1: pikchr.y:2478:5: note: 'snprintf' output between 13 and 20 bytes into a destination of size 19 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [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-114cee40fb9307b8) [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.00s [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 = CString::new(input)?; [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 c_char = unsafe { [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 c_char, [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.19s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "0cc255cab2703f4fb96b0387a052f09581094890b8d7f3a838d209b54becde8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cc255cab2703f4fb96b0387a052f09581094890b8d7f3a838d209b54becde8c", kill_on_drop: false }` [INFO] [stdout] 0cc255cab2703f4fb96b0387a052f09581094890b8d7f3a838d209b54becde8c