[INFO] fetching crate dart-bindgen 0.1.8... [INFO] testing dart-bindgen-0.1.8 against 1.49.0 for beta-1.50-1 [INFO] extracting crate dart-bindgen 0.1.8 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate dart-bindgen 0.1.8 on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate dart-bindgen 0.1.8 [INFO] finished tweaking crates.io crate dart-bindgen 0.1.8 [INFO] tweaked toml for crates.io crate dart-bindgen 0.1.8 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate crates.io crate dart-bindgen 0.1.8 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2b78ec1a7eedf518026c298043e9927cafe1e0333c2b7560627ed9654fe3f728 [INFO] running `Command { std: "docker" "start" "-a" "2b78ec1a7eedf518026c298043e9927cafe1e0333c2b7560627ed9654fe3f728", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b78ec1a7eedf518026c298043e9927cafe1e0333c2b7560627ed9654fe3f728", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b78ec1a7eedf518026c298043e9927cafe1e0333c2b7560627ed9654fe3f728", kill_on_drop: false }` [INFO] [stdout] 2b78ec1a7eedf518026c298043e9927cafe1e0333c2b7560627ed9654fe3f728 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d876c6acf03205498da28f191d1d9f0f5bbae768bfa80638cceedf30b8a8bed7 [INFO] running `Command { std: "docker" "start" "-a" "d876c6acf03205498da28f191d1d9f0f5bbae768bfa80638cceedf30b8a8bed7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling syn v1.0.37 [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling clang v0.24.0 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling dart-bindgen v0.1.8 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.59s [INFO] running `Command { std: "docker" "inspect" "d876c6acf03205498da28f191d1d9f0f5bbae768bfa80638cceedf30b8a8bed7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d876c6acf03205498da28f191d1d9f0f5bbae768bfa80638cceedf30b8a8bed7", kill_on_drop: false }` [INFO] [stdout] d876c6acf03205498da28f191d1d9f0f5bbae768bfa80638cceedf30b8a8bed7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4d6f68366c404e12f57fff054b84aeb0fdc950af32358085ec27693e63cf941b [INFO] running `Command { std: "docker" "start" "-a" "4d6f68366c404e12f57fff054b84aeb0fdc950af32358085ec27693e63cf941b", kill_on_drop: false }` [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling termios v0.3.2 [INFO] [stderr] Compiling terminal_size v0.1.13 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling console v0.11.3 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling simplelog v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling serde_yaml v0.8.13 [INFO] [stderr] Compiling insta v0.16.1 [INFO] [stderr] Compiling dart-bindgen v0.1.8 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 50.11s [INFO] running `Command { std: "docker" "inspect" "4d6f68366c404e12f57fff054b84aeb0fdc950af32358085ec27693e63cf941b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d6f68366c404e12f57fff054b84aeb0fdc950af32358085ec27693e63cf941b", kill_on_drop: false }` [INFO] [stdout] 4d6f68366c404e12f57fff054b84aeb0fdc950af32358085ec27693e63cf941b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 45afe2389b68cc7a00e810155e2b9e70f71862837466d40053d9b2318e8ed20d [INFO] running `Command { std: "docker" "start" "-a" "45afe2389b68cc7a00e810155e2b9e70f71862837466d40053d9b2318e8ed20d", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/dart_bindgen-8e2b26ecc664afbb [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test func::tests::test_func_void_with_no_params ... ok [INFO] [stdout] test func::tests::test_func_void_with_params ... ok [INFO] [stdout] test structure::tests::test_simple_struct ... ok [INFO] [stdout] test func::tests::test_func_with_unnamed_args ... ok [INFO] [stdout] test func::tests::test_func_with_docs ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/allo_isolate-ef858e5cd21ce52f [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Starting Codegen! [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Building dsw [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: dsw is ready [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Generating Code for opening DynamicLibrary [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Generating _open Code for Windows [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Generating _open Code for Android [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Generating _open Code for iOS [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Generating Code for opening DynamicLibrary done. [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: start parsing the C header file at "tests/headers/keystore.h". [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Done Parsed the header file [INFO] [stdout] 18:37:17 [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: 92 }) } [INFO] [stdout] 18:37:17 [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: 92 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function: account_destroy [INFO] [stdout] 18:37:17 [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: 114 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("account") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("account"), ty: "void *" }] [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Return Type: void [INFO] [stdout] 18:37:17 [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: 135 }) } [INFO] [stdout] 18:37:17 [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: 135 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function: error_message_utf8 [INFO] [stdout] 18:37:17 [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: 160 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("buf") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "char *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: char * [INFO] [stdout] 18:37:17 [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: 173 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("length") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Int, display_name: "int" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: int [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("buf"), ty: "char *" }, Param { name: Some("length"), ty: "int" }] [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 18:37:17 [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: 191 }) } [INFO] [stdout] 18:37:17 [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: 191 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function: keystore_account [INFO] [stdout] 18:37:17 [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: 214 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }] [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Return Type: void * [INFO] [stdout] 18:37:17 [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: 233 }) } [INFO] [stdout] 18:37:17 [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: 233 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function: keystore_destroy [INFO] [stdout] 18:37:17 [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: 256 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }] [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Return Type: void [INFO] [stdout] 18:37:17 [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: 276 }) } [INFO] [stdout] 18:37:17 [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: 276 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function: keystore_from_keyfile [INFO] [stdout] 18:37:17 [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: 310 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("path") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("path"), ty: "const char *" }] [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Return Type: void * [INFO] [stdout] 18:37:17 [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: 328 }) } [INFO] [stdout] 18:37:17 [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: 328 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function: keystore_generate [INFO] [stdout] 18:37:17 [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: 352 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 18:37:17 [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: 374 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("password") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }, Param { name: Some("password"), ty: "const char *" }] [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 18:37:17 [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: 396 }) } [INFO] [stdout] 18:37:17 [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: 396 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function: keystore_import [INFO] [stdout] 18:37:17 [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: 418 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 18:37:17 [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: 440 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("phrase") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 18:37:17 [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: 460 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("password") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 18:37:17 [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] 18:37:17 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 18:37:17 [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: 482 }) } [INFO] [stdout] 18:37:17 [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: 482 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function: keystore_lock [INFO] [stdout] 18:37:17 [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: 502 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }] [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 18:37:17 [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: 522 }) } [INFO] [stdout] 18:37:17 [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: 522 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function: keystore_new [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Params: [] [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Return Type: void * [INFO] [stdout] 18:37:17 [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: 553 }) } [INFO] [stdout] 18:37:17 [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: 553 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function: keystore_paper_backup [INFO] [stdout] 18:37:17 [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: 581 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }] [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 18:37:17 [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: 607 }) } [INFO] [stdout] 18:37:17 [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: 607 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function: keystore_phrase [INFO] [stdout] 18:37:17 [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: 629 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 18:37:17 [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: 651 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("password") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }, Param { name: Some("password"), ty: "const char *" }] [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Return Type: const char * [INFO] [stdout] 18:37:17 [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: 673 }) } [INFO] [stdout] 18:37:17 [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: 673 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function: keystore_set_paper_backup [INFO] [stdout] 18:37:17 [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: 705 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }] [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 18:37:17 [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: 727 }) } [INFO] [stdout] 18:37:17 [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: 727 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function: keystore_status [INFO] [stdout] 18:37:17 [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: 755 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const void *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: const void * [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "const void *" }] [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 18:37:17 [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: 777 }) } [INFO] [stdout] 18:37:17 [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: 777 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function: keystore_unlock [INFO] [stdout] 18:37:17 [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: 799 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 18:37:17 [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: 821 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("password") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }, Param { name: Some("password"), ty: "const char *" }] [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 18:37:17 [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: 843 }) } [INFO] [stdout] 18:37:17 [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: 843 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function: last_error_length [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Params: [] [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 18:37:17 [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: 876 }) } [INFO] [stdout] 18:37:17 [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: 876 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function: phrase_destroy [INFO] [stdout] 18:37:17 [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: 897 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("phrase") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "char *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: char * [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("phrase"), ty: "char *" }] [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Return Type: void [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Generating Dart Source... [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Done. [INFO] [stdout] 18:37:17 [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 [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/enum-1702a1e36bbbdc6f [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Starting Codegen! [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Building dsw [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: dsw is ready [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Generating Code for opening DynamicLibrary [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Generating _open Code for Windows [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Generating _open Code for Android [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Generating _open Code for iOS [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Generating Code for opening DynamicLibrary done. [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: start parsing the C header file at "tests/headers/enum.h". [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Done Parsed the header file [INFO] [stdout] 18:37:17 [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: 92 }) } [INFO] [stdout] 18:37:17 [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: 92 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Enum: NormalEnum [INFO] [stdout] 18:37:17 [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: 110 }) } [INFO] [stdout] 18:37:17 [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: 129 }) } [INFO] [stdout] 18:37:17 [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: 148 }) } [INFO] [stdout] 18:37:17 [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: 171 }) } [INFO] [stdout] 18:37:17 [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: 199 }) } [INFO] [stdout] 18:37:17 [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: 199 }) } [INFO] [stdout] 18:37:17 [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: 245 }) } [INFO] [stdout] 18:37:17 [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: 245 }) } [INFO] [stdout] 18:37:17 [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: 199 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Enum: DefaultEnum [INFO] [stdout] 18:37:17 [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: 209 }) } [INFO] [stdout] 18:37:17 [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: 215 }) } [INFO] [stdout] 18:37:17 [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: 221 }) } [INFO] [stdout] 18:37:17 [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: 227 }) } [INFO] [stdout] 18:37:17 [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: 233 }) } [INFO] [stdout] 18:37:17 [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: 239 }) } [INFO] [stdout] 18:37:17 [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: 269 }) } [INFO] [stdout] 18:37:17 [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: 269 }) } [INFO] [stdout] 18:37:17 [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: 325 }) } [INFO] [stdout] 18:37:17 [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: 325 }) } [INFO] [stdout] 18:37:17 [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: 269 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Enum: ValuedEnum [INFO] [stdout] 18:37:17 [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: 279 }) } [INFO] [stdout] 18:37:17 [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: 285 }) } [INFO] [stdout] 18:37:17 [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: 296 }) } [INFO] [stdout] 18:37:17 [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: 307 }) } [INFO] [stdout] 18:37:17 [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: 313 }) } [INFO] [stdout] 18:37:17 [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: 319 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Generating Dart Source... [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Done. [INFO] [stdout] 18:37:17 [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 [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/keystore-fe95aae2e2cf38de [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Starting Codegen! [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Building dsw [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: dsw is ready [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Generating Code for opening DynamicLibrary [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Generating _open Code for Windows [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Generating _open Code for Android [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Generating _open Code for iOS [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Generating Code for opening DynamicLibrary done. [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: start parsing the C header file at "tests/headers/keystore.h". [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Done Parsed the header file [INFO] [stdout] 18:37:17 [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: 92 }) } [INFO] [stdout] 18:37:17 [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: 92 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function: account_destroy [INFO] [stdout] 18:37:17 [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: 114 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("account") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("account"), ty: "void *" }] [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Return Type: void [INFO] [stdout] 18:37:17 [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: 135 }) } [INFO] [stdout] 18:37:17 [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: 135 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function: error_message_utf8 [INFO] [stdout] 18:37:17 [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: 160 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("buf") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "char *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: char * [INFO] [stdout] 18:37:17 [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: 173 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("length") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Int, display_name: "int" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: int [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("buf"), ty: "char *" }, Param { name: Some("length"), ty: "int" }] [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 18:37:17 [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: 191 }) } [INFO] [stdout] 18:37:17 [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: 191 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function: keystore_account [INFO] [stdout] 18:37:17 [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: 214 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }] [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Return Type: void * [INFO] [stdout] 18:37:17 [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: 233 }) } [INFO] [stdout] 18:37:17 [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: 233 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function: keystore_destroy [INFO] [stdout] 18:37:17 [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: 256 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }] [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Return Type: void [INFO] [stdout] 18:37:17 [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: 276 }) } [INFO] [stdout] 18:37:17 [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: 276 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function: keystore_from_keyfile [INFO] [stdout] 18:37:17 [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: 310 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("path") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("path"), ty: "const char *" }] [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Return Type: void * [INFO] [stdout] 18:37:17 [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: 328 }) } [INFO] [stdout] 18:37:17 [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: 328 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function: keystore_generate [INFO] [stdout] 18:37:17 [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: 352 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 18:37:17 [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: 374 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("password") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }, Param { name: Some("password"), ty: "const char *" }] [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 18:37:17 [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: 396 }) } [INFO] [stdout] 18:37:17 [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: 396 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function: keystore_import [INFO] [stdout] 18:37:17 [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: 418 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 18:37:17 [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: 440 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("phrase") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 18:37:17 [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: 460 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("password") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 18:37:17 [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] 18:37:17 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 18:37:17 [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: 482 }) } [INFO] [stdout] 18:37:17 [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: 482 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function: keystore_lock [INFO] [stdout] 18:37:17 [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: 502 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }] [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 18:37:17 [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: 522 }) } [INFO] [stdout] 18:37:17 [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: 522 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function: keystore_new [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Params: [] [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Return Type: void * [INFO] [stdout] 18:37:17 [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: 553 }) } [INFO] [stdout] 18:37:17 [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: 553 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function: keystore_paper_backup [INFO] [stdout] 18:37:17 [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: 581 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }] [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 18:37:17 [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: 607 }) } [INFO] [stdout] 18:37:17 [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: 607 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function: keystore_phrase [INFO] [stdout] 18:37:17 [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: 629 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 18:37:17 [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: 651 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("password") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }, Param { name: Some("password"), ty: "const char *" }] [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Return Type: const char * [INFO] [stdout] 18:37:17 [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: 673 }) } [INFO] [stdout] 18:37:17 [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: 673 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function: keystore_set_paper_backup [INFO] [stdout] 18:37:17 [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: 705 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }] [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 18:37:17 [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: 727 }) } [INFO] [stdout] 18:37:17 [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: 727 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function: keystore_status [INFO] [stdout] 18:37:17 [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: 755 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const void *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: const void * [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "const void *" }] [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 18:37:17 [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: 777 }) } [INFO] [stdout] 18:37:17 [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: 777 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function: keystore_unlock [INFO] [stdout] 18:37:17 [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: 799 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("keystore") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "void *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: void * [INFO] [stdout] 18:37:17 [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: 821 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("password") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "const char *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: const char * [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("keystore"), ty: "void *" }, Param { name: Some("password"), ty: "const char *" }] [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 18:37:17 [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: 843 }) } [INFO] [stdout] 18:37:17 [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: 843 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function: last_error_length [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Params: [] [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Return Type: int [INFO] [stdout] 18:37:17 [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: 876 }) } [INFO] [stdout] 18:37:17 [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: 876 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function: phrase_destroy [INFO] [stdout] 18:37:17 [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: 897 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Name: Some("phrase") [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type: Type { kind: Pointer, display_name: "char *" } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Param Type Display Name: char * [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Params: [Param { name: Some("phrase"), ty: "char *" }] [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Docs: None [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Function Return Type: void [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Generating Dart Source... [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Done. [INFO] [stdout] 18:37:17 [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 [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/struct-9e9701b3496beafd [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Starting Codegen! [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Building dsw [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: dsw is ready [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Generating Code for opening DynamicLibrary [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Generating _open Code for Windows [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Generating _open Code for Android [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Generating _open Code for iOS [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Generating Code for opening DynamicLibrary done. [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: start parsing the C header file at "tests/headers/struct.h". [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Done Parsed the header file [INFO] [stdout] 18:37:17 [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: 94 }) } [INFO] [stdout] 18:37:17 [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: 94 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Struct: NormalStruct [INFO] [stdout] 18:37:17 [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: 149 }) } [INFO] [stdout] 18:37:17 [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: 149 }) } [INFO] [stdout] 18:37:17 [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: 217 }) } [INFO] [stdout] 18:37:17 [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: 217 }) } [INFO] [stdout] 18:37:17 [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: 149 }) } [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Struct: TypedStruct [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Generating Dart Source... [INFO] [stdout] 18:37:17 [DEBUG] (2) dart_bindgen: Done. [INFO] [stdout] 18:37:17 [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 [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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "45afe2389b68cc7a00e810155e2b9e70f71862837466d40053d9b2318e8ed20d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45afe2389b68cc7a00e810155e2b9e70f71862837466d40053d9b2318e8ed20d", kill_on_drop: false }` [INFO] [stdout] 45afe2389b68cc7a00e810155e2b9e70f71862837466d40053d9b2318e8ed20d