[INFO] fetching crate dlib 0.5.0... [INFO] testing dlib-0.5.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate dlib 0.5.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate dlib 0.5.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ee5495a427ecca8fe67d7d845cbe023b9283cde0737a3219546b73e2528c5bb [INFO] running `Command { std: "docker" "start" "-a" "8ee5495a427ecca8fe67d7d845cbe023b9283cde0737a3219546b73e2528c5bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ee5495a427ecca8fe67d7d845cbe023b9283cde0737a3219546b73e2528c5bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ee5495a427ecca8fe67d7d845cbe023b9283cde0737a3219546b73e2528c5bb", kill_on_drop: false }` [INFO] [stdout] 8ee5495a427ecca8fe67d7d845cbe023b9283cde0737a3219546b73e2528c5bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bfe88872aa2afec597479684785c056302c44e0862c9ffd5b3efd099fda9955 [INFO] running `Command { std: "docker" "start" "-a" "7bfe88872aa2afec597479684785c056302c44e0862c9ffd5b3efd099fda9955", kill_on_drop: false }` [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling dlib v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.03s [INFO] running `Command { std: "docker" "inspect" "7bfe88872aa2afec597479684785c056302c44e0862c9ffd5b3efd099fda9955", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bfe88872aa2afec597479684785c056302c44e0862c9ffd5b3efd099fda9955", kill_on_drop: false }` [INFO] [stdout] 7bfe88872aa2afec597479684785c056302c44e0862c9ffd5b3efd099fda9955 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85a34b9571c3fd7f207c3536e76875acda32c4e7dceff2aae4add4e2c2dce27c [INFO] running `Command { std: "docker" "start" "-a" "85a34b9571c3fd7f207c3536e76875acda32c4e7dceff2aae4add4e2c2dce27c", kill_on_drop: false }` [INFO] [stderr] Compiling dlib v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/dlib-4844fcfa4e91b4b3) [INFO] running `Command { std: "docker" "inspect" "85a34b9571c3fd7f207c3536e76875acda32c4e7dceff2aae4add4e2c2dce27c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85a34b9571c3fd7f207c3536e76875acda32c4e7dceff2aae4add4e2c2dce27c", kill_on_drop: false }` [INFO] [stdout] 85a34b9571c3fd7f207c3536e76875acda32c4e7dceff2aae4add4e2c2dce27c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d716687f181c747f71467eef777140ec11fe0c29e2d6bb27fc89de73511ec003 [INFO] running `Command { std: "docker" "start" "-a" "d716687f181c747f71467eef777140ec11fe0c29e2d6bb27fc89de73511ec003", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.00s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dlib-4844fcfa4e91b4b3) [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 102) ... 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 93) ... FAILED [INFO] [stdout] test src/lib.rs - (line 49) ... FAILED [INFO] [stdout] test src/lib.rs - (line 8) ... FAILED [INFO] [stdout] test src/lib.rs - (line 114) ... ok [INFO] [stderr] error: test failed, to rerun pass '--doc' [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 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 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 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 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] 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] ---- 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] [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.20s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d716687f181c747f71467eef777140ec11fe0c29e2d6bb27fc89de73511ec003", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d716687f181c747f71467eef777140ec11fe0c29e2d6bb27fc89de73511ec003", kill_on_drop: false }` [INFO] [stdout] d716687f181c747f71467eef777140ec11fe0c29e2d6bb27fc89de73511ec003