[INFO] fetching crate dart-bindgen 0.1.9-deprecated... [INFO] testing dart-bindgen-0.1.9-deprecated against 1.60.0 for beta-1.61-1 [INFO] extracting crate dart-bindgen 0.1.9-deprecated into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate dart-bindgen 0.1.9-deprecated on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.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-3/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.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clang v1.0.3 [INFO] [stderr] Downloaded insta v0.16.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6615f09b70040742ec199b6dcce5cfc07f9654622fe0f94ce72af4e8505abfca [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6615f09b70040742ec199b6dcce5cfc07f9654622fe0f94ce72af4e8505abfca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6615f09b70040742ec199b6dcce5cfc07f9654622fe0f94ce72af4e8505abfca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6615f09b70040742ec199b6dcce5cfc07f9654622fe0f94ce72af4e8505abfca", kill_on_drop: false }` [INFO] [stdout] 6615f09b70040742ec199b6dcce5cfc07f9654622fe0f94ce72af4e8505abfca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb0230e7d9ced1cb8819d0a0af835853c6adbc32013fff982bb9e871407abb40 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bb0230e7d9ced1cb8819d0a0af835853c6adbc32013fff982bb9e871407abb40", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling clang-sys v1.2.0 [INFO] [stderr] Compiling quote v1.0.9 [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 23.26s [INFO] running `Command { std: "docker" "inspect" "bb0230e7d9ced1cb8819d0a0af835853c6adbc32013fff982bb9e871407abb40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb0230e7d9ced1cb8819d0a0af835853c6adbc32013fff982bb9e871407abb40", kill_on_drop: false }` [INFO] [stdout] bb0230e7d9ced1cb8819d0a0af835853c6adbc32013fff982bb9e871407abb40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e21a80073548bd3ee22406b355ae280a7cbeb28a6fd5fd2c01a6237d29871d52 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e21a80073548bd3ee22406b355ae280a7cbeb28a6fd5fd2c01a6237d29871d52", kill_on_drop: false }` [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling terminal_size v0.1.16 [INFO] [stderr] Compiling termios v0.3.3 [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 v1.0.125 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling serde_yaml v0.8.17 [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 40.66s [INFO] running `Command { std: "docker" "inspect" "e21a80073548bd3ee22406b355ae280a7cbeb28a6fd5fd2c01a6237d29871d52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e21a80073548bd3ee22406b355ae280a7cbeb28a6fd5fd2c01a6237d29871d52", kill_on_drop: false }` [INFO] [stdout] e21a80073548bd3ee22406b355ae280a7cbeb28a6fd5fd2c01a6237d29871d52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f482e4795d933ea6b4764552041b03be195847cbbf2c8aad6c3f84412e829580 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f482e4795d933ea6b4764552041b03be195847cbbf2c8aad6c3f84412e829580", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/dart_bindgen-9363e20f25d4eadb) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test func::tests::test_func_void_with_no_params ... ok [INFO] [stdout] test structure::tests::test_simple_struct ... ok [INFO] [stdout] test func::tests::test_func_void_with_params ... ok [INFO] [stdout] test func::tests::test_func_with_docs ... ok [INFO] [stdout] test func::tests::test_func_with_unnamed_args ... 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] [stderr] Running tests/allo_isolate.rs (/opt/rustwide/target/debug/deps/allo_isolate-10ad97ff5c2d3b26) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Starting Codegen! [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Building dsw [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: dsw is ready [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Generating Code for opening DynamicLibrary [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Generating _open Code for Windows [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Generating _open Code for Android [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Generating _open Code for iOS [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Generating Code for opening DynamicLibrary done. [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: start parsing the C header file at "tests/headers/keystore.h". [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Done Parsed the header file [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Function: account_destroy [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("account") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("account"), ty: "void *" }] [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Return Type: void [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Function: error_message_utf8 [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("buf") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "char *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: char * [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("length") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Int, display_name: "int" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: int [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("buf"), ty: "char *" }, Param { name: Some("length"), ty: "int" }] [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Function: keystore_account [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }] [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Return Type: void * [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Function: keystore_destroy [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }] [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Return Type: void [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Function: keystore_from_keyfile [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("path") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("path"), ty: "const char *" }] [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Return Type: void * [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Function: keystore_generate [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("password") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }, Param { name: Some("password"), ty: "const char *" }] [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Function: keystore_import [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("phrase") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("password") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Function: keystore_lock [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }] [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Function: keystore_new [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Params: [] [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Return Type: void * [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Function: keystore_paper_backup [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }] [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Function: keystore_phrase [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("password") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }, Param { name: Some("password"), ty: "const char *" }] [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Return Type: const char * [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Function: keystore_set_paper_backup [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }] [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Function: keystore_status [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const void *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: const void * [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "const void *" }] [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Function: keystore_unlock [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("password") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }, Param { name: Some("password"), ty: "const char *" }] [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Function: last_error_length [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Params: [] [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Function: phrase_destroy [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("phrase") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "char *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: char * [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("phrase"), ty: "char *" }] [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Return Type: void [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Generating Dart Source... [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Done. [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Writing Dart Source File... [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.17s [INFO] [stdout] [INFO] [stderr] Running tests/enum.rs (/opt/rustwide/target/debug/deps/enum-09eb99885d902b41) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Starting Codegen! [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Building dsw [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: dsw is ready [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Generating Code for opening DynamicLibrary [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Generating _open Code for Windows [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Generating _open Code for Android [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Generating _open Code for iOS [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Generating Code for opening DynamicLibrary done. [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: start parsing the C header file at "tests/headers/enum.h". [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Done Parsed the header file [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Enum: NormalEnum [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [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] 13:37:20 [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] 13:37:20 [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] 13:37:20 [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] 13:37:20 [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] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Enum: DefaultEnum [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [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] 13:37:20 [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] 13:37:20 [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] 13:37:20 [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] 13:37:20 [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] 13:37:20 [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] 13:37:20 [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] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Enum: ValuedEnum [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [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] 13:37:20 [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] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Generating Dart Source... [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Done. [INFO] [stdout] 13:37:20 [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.10s [INFO] [stdout] [INFO] [stderr] Running tests/keystore.rs (/opt/rustwide/target/debug/deps/keystore-b99e37140b6dc12f) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Starting Codegen! [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Building dsw [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: dsw is ready [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Generating Code for opening DynamicLibrary [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Generating _open Code for Windows [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Generating _open Code for Android [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Generating _open Code for iOS [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Generating Code for opening DynamicLibrary done. [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: start parsing the C header file at "tests/headers/keystore.h". [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Done Parsed the header file [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Function: account_destroy [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("account") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("account"), ty: "void *" }] [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Return Type: void [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Function: error_message_utf8 [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("buf") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "char *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: char * [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("length") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Int, display_name: "int" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: int [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("buf"), ty: "char *" }, Param { name: Some("length"), ty: "int" }] [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Function: keystore_account [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }] [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Return Type: void * [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Function: keystore_destroy [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }] [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Return Type: void [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Function: keystore_from_keyfile [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("path") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("path"), ty: "const char *" }] [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Return Type: void * [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Function: keystore_generate [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("password") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }, Param { name: Some("password"), ty: "const char *" }] [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Function: keystore_import [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("phrase") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("password") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Function: keystore_lock [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }] [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Function: keystore_new [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Params: [] [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Return Type: void * [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Function: keystore_paper_backup [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }] [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Function: keystore_phrase [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("password") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }, Param { name: Some("password"), ty: "const char *" }] [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Return Type: const char * [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Function: keystore_set_paper_backup [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }] [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Function: keystore_status [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const void *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: const void * [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "const void *" }] [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Function: keystore_unlock [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("password") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }, Param { name: Some("password"), ty: "const char *" }] [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Function: last_error_length [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Params: [] [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 13:37:20 [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] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Function: phrase_destroy [INFO] [stdout] 13:37:20 [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] 13:37:20 [DEBUG] (2) dart_bindgen: Param Name: Some("phrase") [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "char *" } [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Param Type Display Name: char * [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("phrase"), ty: "char *" }] [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Function Return Type: void [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Generating Dart Source... [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Done. [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Writing Dart Source File... [INFO] [stderr] Running tests/struct.rs (/opt/rustwide/target/debug/deps/struct-eb2ccbc59ab20f7c) [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.10s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Starting Codegen! [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Building dsw [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: dsw is ready [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Generating Code for opening DynamicLibrary [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Generating _open Code for Windows [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Generating _open Code for Android [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Generating _open Code for iOS [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: Generating Code for opening DynamicLibrary done. [INFO] [stdout] 13:37:20 [DEBUG] (2) dart_bindgen: start parsing the C header file at "tests/headers/struct.h". [INFO] [stdout] 13:37:21 [DEBUG] (2) dart_bindgen: Done Parsed the header file [INFO] [stdout] 13:37:21 [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] 13:37:21 [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] 13:37:21 [DEBUG] (2) dart_bindgen: Struct: NormalStruct [INFO] [stdout] 13:37:21 [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] 13:37:21 [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] 13:37:21 [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] 13:37:21 [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] 13:37:21 [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] 13:37:21 [DEBUG] (2) dart_bindgen: Struct: TypedStruct [INFO] [stdout] 13:37:21 [DEBUG] (2) dart_bindgen: Generating Dart Source... [INFO] [stdout] 13:37:21 [DEBUG] (2) dart_bindgen: Done. [INFO] [stdout] 13:37:21 [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.08s [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" "f482e4795d933ea6b4764552041b03be195847cbbf2c8aad6c3f84412e829580", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f482e4795d933ea6b4764552041b03be195847cbbf2c8aad6c3f84412e829580", kill_on_drop: false }` [INFO] [stdout] f482e4795d933ea6b4764552041b03be195847cbbf2c8aad6c3f84412e829580