[INFO] fetching crate dlib 0.5.0...
[INFO] testing dlib-0.5.0 against 1.69.0 for beta-1.70-1
[INFO] extracting crate dlib 0.5.0 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate dlib 0.5.0 on toolchain 1.69.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate dlib 0.5.0
[INFO] finished tweaking crates.io crate dlib 0.5.0
[INFO] tweaked toml for crates.io crate dlib 0.5.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+1.69.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9f0f1bfefe40a60f57e42d9ef2ed6f54cad716869350851627c8e4ed39212988
[INFO] running `Command { std: "docker" "start" "-a" "9f0f1bfefe40a60f57e42d9ef2ed6f54cad716869350851627c8e4ed39212988", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9f0f1bfefe40a60f57e42d9ef2ed6f54cad716869350851627c8e4ed39212988", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9f0f1bfefe40a60f57e42d9ef2ed6f54cad716869350851627c8e4ed39212988", kill_on_drop: false }`
[INFO] [stdout] 9f0f1bfefe40a60f57e42d9ef2ed6f54cad716869350851627c8e4ed39212988
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 29abef145458364508afbb3dce687683cd5bb7c9b6cfae60d13c352be5198e23
[INFO] running `Command { std: "docker" "start" "-a" "29abef145458364508afbb3dce687683cd5bb7c9b6cfae60d13c352be5198e23", kill_on_drop: false }`
[INFO] [stderr]    Compiling dlib v0.5.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.19s
[INFO] running `Command { std: "docker" "inspect" "29abef145458364508afbb3dce687683cd5bb7c9b6cfae60d13c352be5198e23", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "29abef145458364508afbb3dce687683cd5bb7c9b6cfae60d13c352be5198e23", kill_on_drop: false }`
[INFO] [stdout] 29abef145458364508afbb3dce687683cd5bb7c9b6cfae60d13c352be5198e23
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ff3575fbdb92dd1551959e623aa0e13289b8462426adb536f6ffa8069d25af3e
[INFO] running `Command { std: "docker" "start" "-a" "ff3575fbdb92dd1551959e623aa0e13289b8462426adb536f6ffa8069d25af3e", kill_on_drop: false }`
[INFO] [stderr]    Compiling dlib v0.5.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.55s
[INFO] running `Command { std: "docker" "inspect" "ff3575fbdb92dd1551959e623aa0e13289b8462426adb536f6ffa8069d25af3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ff3575fbdb92dd1551959e623aa0e13289b8462426adb536f6ffa8069d25af3e", kill_on_drop: false }`
[INFO] [stdout] ff3575fbdb92dd1551959e623aa0e13289b8462426adb536f6ffa8069d25af3e
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 58b491007e3dfff5b3398b0fdd3fb4294dfdffd0e755bf565733db12d66f1262
[INFO] running `Command { std: "docker" "start" "-a" "58b491007e3dfff5b3398b0fdd3fb4294dfdffd0e755bf565733db12d66f1262", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dlib-d8b0a47363cc4c46)
[INFO] [stderr]    Doc-tests dlib
[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] [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 93) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 31) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 102) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 49) ... FAILED
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[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] error: aborting due to previous error
[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 previous error
[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 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 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 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.30s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "58b491007e3dfff5b3398b0fdd3fb4294dfdffd0e755bf565733db12d66f1262", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "58b491007e3dfff5b3398b0fdd3fb4294dfdffd0e755bf565733db12d66f1262", kill_on_drop: false }`
[INFO] [stdout] 58b491007e3dfff5b3398b0fdd3fb4294dfdffd0e755bf565733db12d66f1262
