[INFO] fetching crate dlib 0.5.2...
[INFO] testing dlib-0.5.2 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate dlib 0.5.2 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate dlib 0.5.2 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate dlib 0.5.2
[INFO] finished tweaking crates.io crate dlib 0.5.2
[INFO] tweaked toml for crates.io crate dlib 0.5.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 12 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2d3c99f2a80e2b9840a5d0e53e48ba607725ba4a89abe9c2963d56c324ce8d29
[INFO] running `Command { std: "docker" "start" "-a" "2d3c99f2a80e2b9840a5d0e53e48ba607725ba4a89abe9c2963d56c324ce8d29", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2d3c99f2a80e2b9840a5d0e53e48ba607725ba4a89abe9c2963d56c324ce8d29", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2d3c99f2a80e2b9840a5d0e53e48ba607725ba4a89abe9c2963d56c324ce8d29", kill_on_drop: false }`
[INFO] [stdout] 2d3c99f2a80e2b9840a5d0e53e48ba607725ba4a89abe9c2963d56c324ce8d29
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7ec61be792fbf91751e6d5218e3b50e7b4d60ae1a7c6029bd277a672540a264e
[INFO] running `Command { std: "docker" "start" "-a" "7ec61be792fbf91751e6d5218e3b50e7b4d60ae1a7c6029bd277a672540a264e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libloading v0.8.3
[INFO] [stderr]    Compiling dlib v0.5.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] running `Command { std: "docker" "inspect" "7ec61be792fbf91751e6d5218e3b50e7b4d60ae1a7c6029bd277a672540a264e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7ec61be792fbf91751e6d5218e3b50e7b4d60ae1a7c6029bd277a672540a264e", kill_on_drop: false }`
[INFO] [stdout] 7ec61be792fbf91751e6d5218e3b50e7b4d60ae1a7c6029bd277a672540a264e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e5102172b3f1869bd8459ca0674c3cb7239a77738501b464ab45c6302ecf8f33
[INFO] running `Command { std: "docker" "start" "-a" "e5102172b3f1869bd8459ca0674c3cb7239a77738501b464ab45c6302ecf8f33", kill_on_drop: false }`
[INFO] [stderr]    Compiling dlib v0.5.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s
[INFO] running `Command { std: "docker" "inspect" "e5102172b3f1869bd8459ca0674c3cb7239a77738501b464ab45c6302ecf8f33", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e5102172b3f1869bd8459ca0674c3cb7239a77738501b464ab45c6302ecf8f33", kill_on_drop: false }`
[INFO] [stdout] e5102172b3f1869bd8459ca0674c3cb7239a77738501b464ab45c6302ecf8f33
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 91562c55d61771452b1bdf84ed7c6be8f99050eb35b015b9bea6b0c0e65074b8
[INFO] running `Command { std: "docker" "start" "-a" "91562c55d61771452b1bdf84ed7c6be8f99050eb35b015b9bea6b0c0e65074b8", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.00s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dlib-c8e385fa8a12ffc0)
[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 dlib
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] test src/lib.rs - ffi_dispatch (line 154) ... ignored
[INFO] [stdout] test src/lib.rs - ffi_dispatch_static (line 188) ... ignored
[INFO] [stdout] test src/lib.rs - (line 124) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 8) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 102) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 93) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 31) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 49) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 114) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 124) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ffi`
[INFO] [stdout]  --> src/lib.rs:128:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use ffi::*;
[INFO] [stdout]   |     ^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     unresolved import
[INFO] [stdout]   |     help: a similar path exists: `std::ffi`
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `dlopen-foo`
[INFO] [stdout]  --> src/lib.rs:125:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[cfg(feature = "dlopen-foo")]
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = help: consider adding `dlopen-foo` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `dlopen-foo`
[INFO] [stdout]  --> src/lib.rs:127:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[cfg(not(feature = "dlopen-foo"))]
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = help: consider adding `dlopen-foo` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 8) stdout ----
[INFO] [stdout] error: cannot find macro `external_library` in this scope
[INFO] [stdout]  --> src/lib.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | external_library!(feature="dlopen-foo", Foo, "foo",
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 102) stdout ----
[INFO] [stdout] error: cannot find macro `ffi_dispatch_static` in this scope
[INFO] [stdout]  --> src/lib.rs:104:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | ffi_dispatch_static!(feature="dlopen-foo", Foo, my_static_var);
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `ffi_dispatch` in this scope
[INFO] [stdout]  --> src/lib.rs:103:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | ffi_dispatch!(feature="dlopen-foo", Foo, function, arg1, arg2);
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 93) stdout ----
[INFO] [stdout] error: cannot find macro `external_library` in this scope
[INFO] [stdout]  --> src/lib.rs:94:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | external_library!(feature="dlopen-foo", Foo, "foo",
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 31) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stdout]  --> src/lib.rs:34:20
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pub static me: c_int;
[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_int;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::os::raw::c_int;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_float` in this scope
[INFO] [stdout]  --> src/lib.rs:35:21
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub static you: c_float;
[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_float;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::os::raw::c_float;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stdout]  --> src/lib.rs:36:21
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub fn foo() -> c_int;
[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_int;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::os::raw::c_int;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stdout]  --> src/lib.rs:37:19
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn bar(_: c_int, _: c_float) -> ();
[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_int;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::os::raw::c_int;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_float` in this scope
[INFO] [stdout]  --> src/lib.rs:37:29
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn bar(_: c_int, _: c_float) -> ();
[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_float;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::os::raw::c_float;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stdout]  --> src/lib.rs:38:26
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub fn baz(_: *const c_int) -> c_int;
[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_int;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::os::raw::c_int;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stdout]  --> src/lib.rs:38:36
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub fn baz(_: *const c_int) -> c_int;
[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_int;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::os::raw::c_int;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stdout]   --> src/lib.rs:39:20
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn blah(_: c_int, _: c_int, ...) -> *const 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_int;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::os::raw::c_int;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stdout]   --> src/lib.rs:39:30
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn blah(_: c_int, _: c_int, ...) -> *const 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_int;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::os::raw::c_int;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stdout]   --> src/lib.rs:39:52
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn blah(_: c_int, _: c_int, ...) -> *const 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] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stdout]   --> src/lib.rs:40:20
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn bleh(_: c_int, ...) -> ();
[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_int;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::os::raw::c_int;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 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] ---- src/lib.rs - (line 49) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stdout]  --> src/lib.rs:51:22
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub me: &'static c_int,
[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_int;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::os::raw::c_int;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_float` in this scope
[INFO] [stdout]  --> src/lib.rs:52:23
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pub you: &'static c_float,
[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_float;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::os::raw::c_float;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stdout]  --> src/lib.rs:53:40
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub foo: unsafe extern "C" fn() -> c_int,
[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_int;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::os::raw::c_int;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stdout]  --> src/lib.rs:54:35
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub bar: unsafe extern "C" fn(c_int, c_float) -> (),
[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_int;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::os::raw::c_int;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_float` in this scope
[INFO] [stdout]  --> src/lib.rs:54:42
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub bar: unsafe extern "C" fn(c_int, c_float) -> (),
[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_float;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::os::raw::c_float;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stdout]  --> src/lib.rs:55:42
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub baz: unsafe extern "C" fn(*const c_int) -> c_int,
[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_int;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::os::raw::c_int;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stdout]  --> src/lib.rs:55:52
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub baz: unsafe extern "C" fn(*const c_int) -> c_int,
[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_int;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::os::raw::c_int;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stdout]  --> src/lib.rs:56:36
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub blah: unsafe extern "C" fn(c_int, c_int, ...) -> *const 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_int;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::os::raw::c_int;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stdout]  --> src/lib.rs:56:43
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub blah: unsafe extern "C" fn(c_int, c_int, ...) -> *const 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_int;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::os::raw::c_int;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stdout]  --> src/lib.rs:56:65
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub blah: unsafe extern "C" fn(c_int, c_int, ...) -> *const 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] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stdout]   --> src/lib.rs:57:36
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub bleh: unsafe extern "C" fn(c_int, ...) -> (),
[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_int;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::os::raw::c_int;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DlError` in this scope
[INFO] [stdout]   --> src/lib.rs:62:51
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub unsafe fn open(name: &str) -> Result<Foo, DlError> { /* ... */ }
[INFO] [stdout]    |                                                   ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl<DlError> Foo {
[INFO] [stdout]    |     +++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 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/lib.rs - (line 102)
[INFO] [stdout]     src/lib.rs - (line 124)
[INFO] [stdout]     src/lib.rs - (line 31)
[INFO] [stdout]     src/lib.rs - (line 49)
[INFO] [stdout]     src/lib.rs - (line 8)
[INFO] [stdout]     src/lib.rs - (line 93)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 6 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.13s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "91562c55d61771452b1bdf84ed7c6be8f99050eb35b015b9bea6b0c0e65074b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "91562c55d61771452b1bdf84ed7c6be8f99050eb35b015b9bea6b0c0e65074b8", kill_on_drop: false }`
[INFO] [stdout] 91562c55d61771452b1bdf84ed7c6be8f99050eb35b015b9bea6b0c0e65074b8
