[INFO] fetching crate dart-bindgen 0.1.9-deprecated... [INFO] testing dart-bindgen-0.1.9-deprecated against 1.59.0 for beta-1.60-1 [INFO] extracting crate dart-bindgen 0.1.9-deprecated into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate dart-bindgen 0.1.9-deprecated on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dart-bindgen 0.1.9-deprecated [INFO] finished tweaking crates.io crate dart-bindgen 0.1.9-deprecated [INFO] tweaked toml for crates.io crate dart-bindgen 0.1.9-deprecated written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate crates.io crate dart-bindgen 0.1.9-deprecated already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b80ef5ecb1c32260d7c27e61e45ceacadbb2b3a57497f728a9bcfe4b80ff5a90 [INFO] running `Command { std: "docker" "start" "-a" "b80ef5ecb1c32260d7c27e61e45ceacadbb2b3a57497f728a9bcfe4b80ff5a90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b80ef5ecb1c32260d7c27e61e45ceacadbb2b3a57497f728a9bcfe4b80ff5a90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b80ef5ecb1c32260d7c27e61e45ceacadbb2b3a57497f728a9bcfe4b80ff5a90", kill_on_drop: false }` [INFO] [stdout] b80ef5ecb1c32260d7c27e61e45ceacadbb2b3a57497f728a9bcfe4b80ff5a90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec61d3ad742b9f4889450b6a0cced8016697e2b397875e6669e55379a9bf7e1d [INFO] running `Command { std: "docker" "start" "-a" "ec61d3ad742b9f4889450b6a0cced8016697e2b397875e6669e55379a9bf7e1d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling clang-sys v1.2.0 [INFO] [stderr] Compiling clang v1.0.3 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling dart-bindgen v0.1.9-deprecated (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.05s [INFO] running `Command { std: "docker" "inspect" "ec61d3ad742b9f4889450b6a0cced8016697e2b397875e6669e55379a9bf7e1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec61d3ad742b9f4889450b6a0cced8016697e2b397875e6669e55379a9bf7e1d", kill_on_drop: false }` [INFO] [stdout] ec61d3ad742b9f4889450b6a0cced8016697e2b397875e6669e55379a9bf7e1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fc0c391315b1ec5fd1a8513a6f2b3e020a166b85e668379ee93b5c584fbc59d [INFO] running `Command { std: "docker" "start" "-a" "8fc0c391315b1ec5fd1a8513a6f2b3e020a166b85e668379ee93b5c584fbc59d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling terminal_size v0.1.16 [INFO] [stderr] Compiling termios v0.3.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling console v0.11.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling simplelog v0.8.0 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling insta v0.16.1 [INFO] [stderr] Compiling dart-bindgen v0.1.9-deprecated (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 12.99s [INFO] running `Command { std: "docker" "inspect" "8fc0c391315b1ec5fd1a8513a6f2b3e020a166b85e668379ee93b5c584fbc59d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fc0c391315b1ec5fd1a8513a6f2b3e020a166b85e668379ee93b5c584fbc59d", kill_on_drop: false }` [INFO] [stdout] 8fc0c391315b1ec5fd1a8513a6f2b3e020a166b85e668379ee93b5c584fbc59d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 69f8dcb6cff8f8e1a1bc87cc49bb8254b8461ae27eff1469b758f5f3352c1592 [INFO] running `Command { std: "docker" "start" "-a" "69f8dcb6cff8f8e1a1bc87cc49bb8254b8461ae27eff1469b758f5f3352c1592", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/dart_bindgen-40cc34ec07e8468f) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stderr] Running tests/allo_isolate.rs (/opt/rustwide/target/debug/deps/allo_isolate-cde2013faf539437) [INFO] [stdout] test func::tests::test_func_with_unnamed_args ... ok [INFO] [stdout] test func::tests::test_func_void_with_no_params ... ok [INFO] [stdout] test func::tests::test_func_with_docs ... ok [INFO] [stdout] test structure::tests::test_simple_struct ... ok [INFO] [stdout] test func::tests::test_func_void_with_params ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Starting Codegen! [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Building dsw [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: dsw is ready [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Generating Code for opening DynamicLibrary [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Generating _open Code for Windows [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Generating _open Code for Android [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Generating _open Code for iOS [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Generating Code for opening DynamicLibrary done. [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: start parsing the C header file at "tests/headers/keystore.h". [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Done Parsed the header file [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: FunctionDecl, display_name: Some("account_destroy(void *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 6, column: 6, offset: 87 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Function: Entity { kind: FunctionDecl, display_name: Some("account_destroy(void *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 6, column: 6, offset: 87 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function: account_destroy [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("account"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 6, column: 28, offset: 109 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("account") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("account"), ty: "void *" }] [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Return Type: void [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: FunctionDecl, display_name: Some("error_message_utf8(char *, int32_t)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 8, column: 9, offset: 128 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Function: Entity { kind: FunctionDecl, display_name: Some("error_message_utf8(char *, int32_t)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 8, column: 9, offset: 128 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function: error_message_utf8 [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("buf"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 8, column: 34, offset: 153 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("buf") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "char *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: char * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("length"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 8, column: 47, offset: 166 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("length") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Int, display_name: "int" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: int [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("buf"), ty: "char *" }, Param { name: Some("length"), ty: "int" }] [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: FunctionDecl, display_name: Some("keystore_account(void *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 10, column: 7, offset: 182 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Function: Entity { kind: FunctionDecl, display_name: Some("keystore_account(void *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 10, column: 7, offset: 182 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function: keystore_account [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("keystore"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 10, column: 30, offset: 205 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }] [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Return Type: void * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: FunctionDecl, display_name: Some("keystore_destroy(void *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 12, column: 6, offset: 222 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Function: Entity { kind: FunctionDecl, display_name: Some("keystore_destroy(void *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 12, column: 6, offset: 222 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function: keystore_destroy [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("keystore"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 12, column: 29, offset: 245 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }] [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Return Type: void [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: FunctionDecl, display_name: Some("keystore_from_keyfile(const char *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 14, column: 7, offset: 263 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Function: Entity { kind: FunctionDecl, display_name: Some("keystore_from_keyfile(const char *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 14, column: 7, offset: 263 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function: keystore_from_keyfile [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("path"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 14, column: 41, offset: 297 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("path") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("path"), ty: "const char *" }] [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Return Type: void * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: FunctionDecl, display_name: Some("keystore_generate(void *, const char *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 16, column: 9, offset: 313 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Function: Entity { kind: FunctionDecl, display_name: Some("keystore_generate(void *, const char *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 16, column: 9, offset: 313 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function: keystore_generate [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("keystore"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 16, column: 33, offset: 337 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("password"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 16, column: 55, offset: 359 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("password") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }, Param { name: Some("password"), ty: "const char *" }] [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: FunctionDecl, display_name: Some("keystore_import(void *, const char *, const char *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 18, column: 9, offset: 379 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Function: Entity { kind: FunctionDecl, display_name: Some("keystore_import(void *, const char *, const char *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 18, column: 9, offset: 379 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function: keystore_import [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("keystore"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 18, column: 31, offset: 401 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("phrase"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 18, column: 53, offset: 423 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("phrase") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("password"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 18, column: 73, offset: 443 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("password") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }, Param { name: Some("phrase"), ty: "const char *" }, Param { name: Some("password"), ty: "const char *" }] [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: FunctionDecl, display_name: Some("keystore_lock(void *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 20, column: 9, offset: 463 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Function: Entity { kind: FunctionDecl, display_name: Some("keystore_lock(void *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 20, column: 9, offset: 463 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function: keystore_lock [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("keystore"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 20, column: 29, offset: 483 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }] [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: FunctionDecl, display_name: Some("keystore_new()"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 22, column: 7, offset: 501 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Function: Entity { kind: FunctionDecl, display_name: Some("keystore_new()"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 22, column: 7, offset: 501 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function: keystore_new [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Params: [] [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Return Type: void * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: FunctionDecl, display_name: Some("keystore_paper_backup(void *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 24, column: 9, offset: 530 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Function: Entity { kind: FunctionDecl, display_name: Some("keystore_paper_backup(void *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 24, column: 9, offset: 530 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function: keystore_paper_backup [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("keystore"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 24, column: 37, offset: 558 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }] [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: FunctionDecl, display_name: Some("keystore_phrase(void *, const char *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 26, column: 13, offset: 582 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Function: Entity { kind: FunctionDecl, display_name: Some("keystore_phrase(void *, const char *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 26, column: 13, offset: 582 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function: keystore_phrase [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("keystore"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 26, column: 35, offset: 604 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("password"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 26, column: 57, offset: 626 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("password") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }, Param { name: Some("password"), ty: "const char *" }] [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Return Type: const char * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: FunctionDecl, display_name: Some("keystore_set_paper_backup(void *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 28, column: 9, offset: 646 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Function: Entity { kind: FunctionDecl, display_name: Some("keystore_set_paper_backup(void *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 28, column: 9, offset: 646 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function: keystore_set_paper_backup [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("keystore"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 28, column: 41, offset: 678 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }] [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: FunctionDecl, display_name: Some("keystore_status(const void *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 30, column: 9, offset: 698 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Function: Entity { kind: FunctionDecl, display_name: Some("keystore_status(const void *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 30, column: 9, offset: 698 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function: keystore_status [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("keystore"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 30, column: 37, offset: 726 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const void *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: const void * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "const void *" }] [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: FunctionDecl, display_name: Some("keystore_unlock(void *, const char *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 32, column: 9, offset: 746 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Function: Entity { kind: FunctionDecl, display_name: Some("keystore_unlock(void *, const char *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 32, column: 9, offset: 746 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function: keystore_unlock [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("keystore"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 32, column: 31, offset: 768 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("password"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 32, column: 53, offset: 790 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("password") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }, Param { name: Some("password"), ty: "const char *" }] [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: FunctionDecl, display_name: Some("last_error_length()"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 34, column: 9, offset: 810 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Function: Entity { kind: FunctionDecl, display_name: Some("last_error_length()"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 34, column: 9, offset: 810 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function: last_error_length [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Params: [] [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: FunctionDecl, display_name: Some("phrase_destroy(char *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 36, column: 6, offset: 841 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Function: Entity { kind: FunctionDecl, display_name: Some("phrase_destroy(char *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 36, column: 6, offset: 841 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function: phrase_destroy [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("phrase"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 36, column: 27, offset: 862 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("phrase") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "char *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: char * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("phrase"), ty: "char *" }] [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Return Type: void [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Generating Dart Source... [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Done. [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Writing Dart Source File... [INFO] [stderr] Running tests/enum.rs (/opt/rustwide/target/debug/deps/enum-968c8b25db175bb3) [INFO] [stdout] test test_allo_isolate ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Starting Codegen! [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Building dsw [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: dsw is ready [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Generating Code for opening DynamicLibrary [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Generating _open Code for Windows [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Generating _open Code for Android [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Generating _open Code for iOS [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Generating Code for opening DynamicLibrary done. [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: start parsing the C header file at "tests/headers/enum.h". [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Done Parsed the header file [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: EnumDecl, display_name: Some("NormalEnum"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/enum.h" }), line: 6, column: 6, offset: 87 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Enum: Entity { kind: EnumDecl, display_name: Some("NormalEnum"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/enum.h" }), line: 6, column: 6, offset: 87 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Enum: NormalEnum [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Enum field: Entity { kind: EnumConstantDecl, display_name: Some("NormalValueA"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/enum.h" }), line: 7, column: 5, offset: 104 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Enum field: Entity { kind: EnumConstantDecl, display_name: Some("NormalValueB"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/enum.h" }), line: 8, column: 5, offset: 122 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Enum field: Entity { kind: EnumConstantDecl, display_name: Some("NormalValueC"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/enum.h" }), line: 9, column: 5, offset: 140 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Enum field: Entity { kind: EnumConstantDecl, display_name: Some("NormalValueD"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/enum.h" }), line: 10, column: 5, offset: 162 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: EnumDecl, display_name: None, location: Some(SourceLocation { file: Some(File { path: "tests/headers/enum.h" }), line: 13, column: 9, offset: 187 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Enum: Entity { kind: EnumDecl, display_name: None, location: Some(SourceLocation { file: Some(File { path: "tests/headers/enum.h" }), line: 13, column: 9, offset: 187 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: TypedefDecl, display_name: Some("DefaultEnum"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/enum.h" }), line: 20, column: 3, offset: 226 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Typedef: Entity { kind: TypedefDecl, display_name: Some("DefaultEnum"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/enum.h" }), line: 20, column: 3, offset: 226 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got enum in Typedef: Entity { kind: EnumDecl, display_name: None, location: Some(SourceLocation { file: Some(File { path: "tests/headers/enum.h" }), line: 13, column: 9, offset: 187 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Enum: DefaultEnum [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Enum field: Entity { kind: EnumConstantDecl, display_name: Some("A"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/enum.h" }), line: 14, column: 3, offset: 196 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Enum field: Entity { kind: EnumConstantDecl, display_name: Some("B"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/enum.h" }), line: 15, column: 3, offset: 201 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Enum field: Entity { kind: EnumConstantDecl, display_name: Some("C"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/enum.h" }), line: 16, column: 3, offset: 206 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Enum field: Entity { kind: EnumConstantDecl, display_name: Some("D"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/enum.h" }), line: 17, column: 3, offset: 211 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Enum field: Entity { kind: EnumConstantDecl, display_name: Some("E"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/enum.h" }), line: 18, column: 3, offset: 216 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Enum field: Entity { kind: EnumConstantDecl, display_name: Some("F"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/enum.h" }), line: 19, column: 3, offset: 221 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: EnumDecl, display_name: None, location: Some(SourceLocation { file: Some(File { path: "tests/headers/enum.h" }), line: 22, column: 9, offset: 248 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Enum: Entity { kind: EnumDecl, display_name: None, location: Some(SourceLocation { file: Some(File { path: "tests/headers/enum.h" }), line: 22, column: 9, offset: 248 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: TypedefDecl, display_name: Some("ValuedEnum"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/enum.h" }), line: 29, column: 3, offset: 297 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Typedef: Entity { kind: TypedefDecl, display_name: Some("ValuedEnum"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/enum.h" }), line: 29, column: 3, offset: 297 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got enum in Typedef: Entity { kind: EnumDecl, display_name: None, location: Some(SourceLocation { file: Some(File { path: "tests/headers/enum.h" }), line: 22, column: 9, offset: 248 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Enum: ValuedEnum [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Enum field: Entity { kind: EnumConstantDecl, display_name: Some("G"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/enum.h" }), line: 23, column: 3, offset: 257 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Enum field: Entity { kind: EnumConstantDecl, display_name: Some("H"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/enum.h" }), line: 24, column: 3, offset: 262 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Enum field: Entity { kind: EnumConstantDecl, display_name: Some("J"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/enum.h" }), line: 25, column: 3, offset: 272 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Enum field: Entity { kind: EnumConstantDecl, display_name: Some("K"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/enum.h" }), line: 26, column: 3, offset: 282 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Enum field: Entity { kind: EnumConstantDecl, display_name: Some("L"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/enum.h" }), line: 27, column: 3, offset: 287 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Enum field: Entity { kind: EnumConstantDecl, display_name: Some("M"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/enum.h" }), line: 28, column: 3, offset: 292 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Generating Dart Source... [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Done. [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Writing Dart Source File... [INFO] [stdout] test test_enum ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running tests/keystore.rs (/opt/rustwide/target/debug/deps/keystore-9ea6b13693d2bc83) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Starting Codegen! [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Building dsw [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: dsw is ready [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Generating Code for opening DynamicLibrary [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Generating _open Code for Windows [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Generating _open Code for Android [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Generating _open Code for iOS [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Generating Code for opening DynamicLibrary done. [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: start parsing the C header file at "tests/headers/keystore.h". [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Done Parsed the header file [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: FunctionDecl, display_name: Some("account_destroy(void *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 6, column: 6, offset: 87 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Function: Entity { kind: FunctionDecl, display_name: Some("account_destroy(void *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 6, column: 6, offset: 87 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function: account_destroy [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("account"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 6, column: 28, offset: 109 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("account") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("account"), ty: "void *" }] [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Return Type: void [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: FunctionDecl, display_name: Some("error_message_utf8(char *, int32_t)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 8, column: 9, offset: 128 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Function: Entity { kind: FunctionDecl, display_name: Some("error_message_utf8(char *, int32_t)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 8, column: 9, offset: 128 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function: error_message_utf8 [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("buf"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 8, column: 34, offset: 153 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("buf") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "char *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: char * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("length"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 8, column: 47, offset: 166 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("length") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Int, display_name: "int" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: int [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("buf"), ty: "char *" }, Param { name: Some("length"), ty: "int" }] [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: FunctionDecl, display_name: Some("keystore_account(void *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 10, column: 7, offset: 182 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Function: Entity { kind: FunctionDecl, display_name: Some("keystore_account(void *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 10, column: 7, offset: 182 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function: keystore_account [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("keystore"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 10, column: 30, offset: 205 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }] [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Return Type: void * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: FunctionDecl, display_name: Some("keystore_destroy(void *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 12, column: 6, offset: 222 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Function: Entity { kind: FunctionDecl, display_name: Some("keystore_destroy(void *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 12, column: 6, offset: 222 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function: keystore_destroy [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("keystore"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 12, column: 29, offset: 245 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }] [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Return Type: void [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: FunctionDecl, display_name: Some("keystore_from_keyfile(const char *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 14, column: 7, offset: 263 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Function: Entity { kind: FunctionDecl, display_name: Some("keystore_from_keyfile(const char *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 14, column: 7, offset: 263 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function: keystore_from_keyfile [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("path"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 14, column: 41, offset: 297 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("path") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("path"), ty: "const char *" }] [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Return Type: void * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: FunctionDecl, display_name: Some("keystore_generate(void *, const char *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 16, column: 9, offset: 313 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Function: Entity { kind: FunctionDecl, display_name: Some("keystore_generate(void *, const char *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 16, column: 9, offset: 313 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function: keystore_generate [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("keystore"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 16, column: 33, offset: 337 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("password"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 16, column: 55, offset: 359 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("password") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }, Param { name: Some("password"), ty: "const char *" }] [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: FunctionDecl, display_name: Some("keystore_import(void *, const char *, const char *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 18, column: 9, offset: 379 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Function: Entity { kind: FunctionDecl, display_name: Some("keystore_import(void *, const char *, const char *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 18, column: 9, offset: 379 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function: keystore_import [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("keystore"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 18, column: 31, offset: 401 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("phrase"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 18, column: 53, offset: 423 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("phrase") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("password"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 18, column: 73, offset: 443 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("password") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }, Param { name: Some("phrase"), ty: "const char *" }, Param { name: Some("password"), ty: "const char *" }] [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: FunctionDecl, display_name: Some("keystore_lock(void *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 20, column: 9, offset: 463 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Function: Entity { kind: FunctionDecl, display_name: Some("keystore_lock(void *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 20, column: 9, offset: 463 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function: keystore_lock [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("keystore"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 20, column: 29, offset: 483 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }] [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: FunctionDecl, display_name: Some("keystore_new()"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 22, column: 7, offset: 501 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Function: Entity { kind: FunctionDecl, display_name: Some("keystore_new()"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 22, column: 7, offset: 501 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function: keystore_new [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Params: [] [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Return Type: void * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: FunctionDecl, display_name: Some("keystore_paper_backup(void *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 24, column: 9, offset: 530 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Function: Entity { kind: FunctionDecl, display_name: Some("keystore_paper_backup(void *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 24, column: 9, offset: 530 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function: keystore_paper_backup [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("keystore"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 24, column: 37, offset: 558 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }] [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: FunctionDecl, display_name: Some("keystore_phrase(void *, const char *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 26, column: 13, offset: 582 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Function: Entity { kind: FunctionDecl, display_name: Some("keystore_phrase(void *, const char *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 26, column: 13, offset: 582 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function: keystore_phrase [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("keystore"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 26, column: 35, offset: 604 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("password"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 26, column: 57, offset: 626 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("password") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }, Param { name: Some("password"), ty: "const char *" }] [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Return Type: const char * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: FunctionDecl, display_name: Some("keystore_set_paper_backup(void *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 28, column: 9, offset: 646 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Function: Entity { kind: FunctionDecl, display_name: Some("keystore_set_paper_backup(void *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 28, column: 9, offset: 646 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function: keystore_set_paper_backup [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("keystore"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 28, column: 41, offset: 678 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }] [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: FunctionDecl, display_name: Some("keystore_status(const void *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 30, column: 9, offset: 698 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Function: Entity { kind: FunctionDecl, display_name: Some("keystore_status(const void *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 30, column: 9, offset: 698 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function: keystore_status [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("keystore"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 30, column: 37, offset: 726 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const void *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: const void * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "const void *" }] [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: FunctionDecl, display_name: Some("keystore_unlock(void *, const char *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 32, column: 9, offset: 746 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Function: Entity { kind: FunctionDecl, display_name: Some("keystore_unlock(void *, const char *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 32, column: 9, offset: 746 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function: keystore_unlock [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("keystore"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 32, column: 31, offset: 768 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("password"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 32, column: 53, offset: 790 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("password") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }, Param { name: Some("password"), ty: "const char *" }] [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: FunctionDecl, display_name: Some("last_error_length()"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 34, column: 9, offset: 810 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Function: Entity { kind: FunctionDecl, display_name: Some("last_error_length()"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 34, column: 9, offset: 810 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function: last_error_length [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Params: [] [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: FunctionDecl, display_name: Some("phrase_destroy(char *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 36, column: 6, offset: 841 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Function: Entity { kind: FunctionDecl, display_name: Some("phrase_destroy(char *)"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 36, column: 6, offset: 841 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function: phrase_destroy [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param: Entity { kind: ParmDecl, display_name: Some("phrase"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/keystore.h" }), line: 36, column: 27, offset: 862 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Name: Some("phrase") [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "char *" } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Param Type Display Name: char * [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("phrase"), ty: "char *" }] [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Function Return Type: void [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Generating Dart Source... [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Done. [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Writing Dart Source File... [INFO] [stdout] test test_keystore ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running tests/struct.rs (/opt/rustwide/target/debug/deps/struct-ce240e9ebf723361) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Starting Codegen! [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Building dsw [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: dsw is ready [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Generating Code for opening DynamicLibrary [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Generating _open Code for Windows [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Generating _open Code for Android [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Generating _open Code for iOS [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Generating Code for opening DynamicLibrary done. [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: start parsing the C header file at "tests/headers/struct.h". [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Done Parsed the header file [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: StructDecl, display_name: Some("NormalStruct"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/struct.h" }), line: 6, column: 8, offset: 89 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Struct: Entity { kind: StructDecl, display_name: Some("NormalStruct"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/struct.h" }), line: 6, column: 8, offset: 89 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Struct: NormalStruct [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: StructDecl, display_name: None, location: Some(SourceLocation { file: Some(File { path: "tests/headers/struct.h" }), line: 11, column: 9, offset: 139 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Struct: Entity { kind: StructDecl, display_name: None, location: Some(SourceLocation { file: Some(File { path: "tests/headers/struct.h" }), line: 11, column: 9, offset: 139 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Entity: Entity { kind: TypedefDecl, display_name: Some("TypedStruct"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/struct.h" }), line: 16, column: 3, offset: 202 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got Typedef: Entity { kind: TypedefDecl, display_name: Some("TypedStruct"), location: Some(SourceLocation { file: Some(File { path: "tests/headers/struct.h" }), line: 16, column: 3, offset: 202 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Got struct in Typedef: Entity { kind: StructDecl, display_name: None, location: Some(SourceLocation { file: Some(File { path: "tests/headers/struct.h" }), line: 11, column: 9, offset: 139 }) } [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Struct: TypedStruct [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Generating Dart Source... [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Done. [INFO] [stdout] 16:34:47 [DEBUG] (2) dart_bindgen: Writing Dart Source File... [INFO] [stdout] test test_enum ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests dart-bindgen [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 22) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "69f8dcb6cff8f8e1a1bc87cc49bb8254b8461ae27eff1469b758f5f3352c1592", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69f8dcb6cff8f8e1a1bc87cc49bb8254b8461ae27eff1469b758f5f3352c1592", kill_on_drop: false }` [INFO] [stdout] 69f8dcb6cff8f8e1a1bc87cc49bb8254b8461ae27eff1469b758f5f3352c1592