[INFO] fetching crate dlib 0.5.0... [INFO] testing dlib-0.5.0 against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] extracting crate dlib 0.5.0 into /workspace/builds/worker-86/source [INFO] validating manifest of crates.io crate dlib 0.5.0 on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "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-86/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3aa2726b9d91576fdea410b91bf2cc6a093b729e6f7792cb951b18e9cb477942 [INFO] running `Command { std: "docker" "start" "-a" "3aa2726b9d91576fdea410b91bf2cc6a093b729e6f7792cb951b18e9cb477942", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3aa2726b9d91576fdea410b91bf2cc6a093b729e6f7792cb951b18e9cb477942", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3aa2726b9d91576fdea410b91bf2cc6a093b729e6f7792cb951b18e9cb477942", kill_on_drop: false }` [INFO] [stdout] 3aa2726b9d91576fdea410b91bf2cc6a093b729e6f7792cb951b18e9cb477942 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fdbd4b35108a68fb1ba2a1ebb5d8b4999fa6cbd1c70d0f7947d8159b0e1952f0 [INFO] running `Command { std: "docker" "start" "-a" "fdbd4b35108a68fb1ba2a1ebb5d8b4999fa6cbd1c70d0f7947d8159b0e1952f0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libloading v0.7.2 [INFO] [stderr] Compiling dlib v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.94s [INFO] running `Command { std: "docker" "inspect" "fdbd4b35108a68fb1ba2a1ebb5d8b4999fa6cbd1c70d0f7947d8159b0e1952f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdbd4b35108a68fb1ba2a1ebb5d8b4999fa6cbd1c70d0f7947d8159b0e1952f0", kill_on_drop: false }` [INFO] [stdout] fdbd4b35108a68fb1ba2a1ebb5d8b4999fa6cbd1c70d0f7947d8159b0e1952f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75b477d867e0234aa263855b085af0aca09ae7fbb82e60cef52526a49867bd8c [INFO] running `Command { std: "docker" "start" "-a" "75b477d867e0234aa263855b085af0aca09ae7fbb82e60cef52526a49867bd8c", kill_on_drop: false }` [INFO] [stderr] Compiling dlib v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.57s [INFO] running `Command { std: "docker" "inspect" "75b477d867e0234aa263855b085af0aca09ae7fbb82e60cef52526a49867bd8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75b477d867e0234aa263855b085af0aca09ae7fbb82e60cef52526a49867bd8c", kill_on_drop: false }` [INFO] [stdout] 75b477d867e0234aa263855b085af0aca09ae7fbb82e60cef52526a49867bd8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2c76d005444cc7f1432d7900b05629d265caceea9528f9565b4454427e901ab7 [INFO] running `Command { std: "docker" "start" "-a" "2c76d005444cc7f1432d7900b05629d265caceea9528f9565b4454427e901ab7", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/dlib-6baa8c474d33cde3) [INFO] [stdout] [INFO] [stderr] Doc-tests dlib [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 102) ... 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 124) ... 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 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 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 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 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 this type alias [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 this type alias [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 this type alias [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 this type alias [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 this type alias [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 this type alias [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 this type alias [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 this type alias [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 this type alias [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 this enum [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 this type alias [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 this type alias [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 this type alias [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 this type alias [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 this type alias [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 this type alias [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 this type alias [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 this type alias [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 this type alias [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 this type alias [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 this enum [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 this type alias [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] 14 | impl Foo { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 15 | pub unsafe fn open(name: &str) -> Result { /* ... */ } [INFO] [stdout] | ^^^^^^^ not found in this scope [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.18s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "2c76d005444cc7f1432d7900b05629d265caceea9528f9565b4454427e901ab7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c76d005444cc7f1432d7900b05629d265caceea9528f9565b4454427e901ab7", kill_on_drop: false }` [INFO] [stdout] 2c76d005444cc7f1432d7900b05629d265caceea9528f9565b4454427e901ab7