INFO:bindgen: Clang Version: clang version 4.0.1 (tags/RELEASE_401/final) WARN:bindgen: Using clang (4, 0), expected (3, 9) DEBUG:bindgen::ir::context: BindgenContext::add_item(Item { id: ItemId(0), local_id: Cell { value: None }, next_child_local_id: Cell { value: 1 }, canonical_name_cache: RefCell { value: None }, comment: None, annotations: Annotations { opaque: false, hide: false, use_instead_of: None, disallow_copy: false, private_fields: None, accessor_kind: None, constify_enum_variant: false }, parent_id: ItemId(0), kind: Module(Module { name: Some("root"), kind: Normal, children: {} }) }, declaration: None, loc: None DEBUG:bindgen::ir::context: BindgenContext::add_item(Item { id: ItemId(1), local_id: Cell { value: None }, next_child_local_id: Cell { value: 1 }, canonical_name_cache: RefCell { value: None }, comment: None, annotations: Annotations { opaque: false, hide: false, use_instead_of: None, disallow_copy: false, private_fields: None, accessor_kind: None, constify_enum_variant: false }, parent_id: ItemId(0), kind: Type(Type { name: None, layout: None, kind: Int(UInt), is_const: true }) }, declaration: None, loc: None DEBUG:bindgen::ir::context: add_item_to_module: adding ItemId(1) as child of parent module ItemId(0) DEBUG:bindgen::ir::context: BindgenContext::add_item(Item { id: ItemId(2), local_id: Cell { value: None }, next_child_local_id: Cell { value: 1 }, canonical_name_cache: RefCell { value: None }, comment: None, annotations: Annotations { opaque: false, hide: false, use_instead_of: None, disallow_copy: false, private_fields: None, accessor_kind: None, constify_enum_variant: false }, parent_id: ItemId(0), kind: Var(Var { name: "CK_INVALID_HANDLE", mangled_name: None, ty: ItemId(1), val: Some(Int(0)), is_const: true }) }, declaration: Some(Cursor(CK_INVALID_HANDLE kind: macro definition, loc: input.h:1:9, usr: Some("c:input.h@8@macro@CK_INVALID_HANDLE"))), loc: Some(Cursor(CK_INVALID_HANDLE kind: macro definition, loc: input.h:1:9, usr: Some("c:input.h@8@macro@CK_INVALID_HANDLE"))) DEBUG:bindgen::ir::context: add_item_to_module: adding ItemId(2) as child of parent module ItemId(0) DEBUG:bindgen::ir::context: No replacements to process TRACE:bindgen::ir::analysis::template_params: constrain ItemId(1) TRACE:bindgen::ir::analysis::template_params: initially, used set is {} TRACE:bindgen::ir::analysis::template_params: other item: join with successors' usage TRACE:bindgen::ir::analysis::template_params: finally, used set is {} TRACE:bindgen::ir::analysis::template_params: constrain ItemId(2) TRACE:bindgen::ir::analysis::template_params: initially, used set is {} TRACE:bindgen::ir::analysis::template_params: other item: join with successors' usage TRACE:bindgen::ir::analysis::template_params: union with ItemId(1)'s usage: [] TRACE:bindgen::ir::analysis::template_params: finally, used set is {} TRACE:bindgen::ir::analysis::template_params: constrain ItemId(1) TRACE:bindgen::ir::analysis::template_params: initially, used set is {} TRACE:bindgen::ir::analysis::template_params: other item: join with successors' usage TRACE:bindgen::ir::analysis::template_params: finally, used set is {} TRACE:bindgen::ir::analysis::template_params: constrain ItemId(0) TRACE:bindgen::ir::analysis::template_params: initially, used set is {} TRACE:bindgen::ir::analysis::template_params: other item: join with successors' usage TRACE:bindgen::ir::analysis::template_params: finally, used set is {} TRACE:bindgen::ir::analysis::derive_debug: constrain: ItemId(2) TRACE:bindgen::ir::analysis::derive_debug: not a type; ignoring TRACE:bindgen::ir::analysis::derive_debug: constrain: ItemId(1) TRACE:bindgen::ir::analysis::derive_debug: simple type that can always derive Debug TRACE:bindgen::ir::analysis::derive_debug: constrain: ItemId(0) TRACE:bindgen::ir::analysis::derive_debug: not a type; ignoring TRACE:bindgen::ir::analysis::derive_copy: constrain: ItemId(2) TRACE:bindgen::ir::analysis::derive_copy: not a type; ignoring TRACE:bindgen::ir::analysis::derive_copy: constrain: ItemId(1) TRACE:bindgen::ir::analysis::derive_copy: simple type that can always derive Copy TRACE:bindgen::ir::analysis::derive_copy: constrain: ItemId(0) TRACE:bindgen::ir::analysis::derive_copy: not a type; ignoring TRACE:bindgen::ir::analysis::has_type_param_in_array: constrain: ItemId(2) TRACE:bindgen::ir::analysis::has_type_param_in_array: not a type; ignoring TRACE:bindgen::ir::analysis::has_type_param_in_array: constrain: ItemId(1) TRACE:bindgen::ir::analysis::has_type_param_in_array: simple type that do not have array TRACE:bindgen::ir::analysis::has_type_param_in_array: constrain: ItemId(0) TRACE:bindgen::ir::analysis::has_type_param_in_array: not a type; ignoring DEBUG:bindgen::codegen: codegen: BindgenOptions { hidden_types: RegexSet { items: [], set: Some(RegexSet([])) }, opaque_types: RegexSet { items: [], set: Some(RegexSet([])) }, whitelisted_types: RegexSet { items: [], set: Some(RegexSet([])) }, whitelisted_functions: RegexSet { items: [], set: Some(RegexSet([])) }, whitelisted_vars: RegexSet { items: [], set: Some(RegexSet([])) }, bitfield_enums: RegexSet { items: [], set: Some(RegexSet([])) }, constified_enums: RegexSet { items: [], set: Some(RegexSet([])) }, constified_enum_modules: RegexSet { items: [], set: Some(RegexSet([])) }, builtins: false, links: [], emit_ast: false, emit_ir: false, emit_ir_graphviz: None, enable_cxx_namespaces: false, disable_name_namespacing: false, layout_tests: true, derive_debug: true, impl_debug: false, derive_default: false, derive_hash: false, derive_partialeq: false, use_core: false, ctypes_prefix: None, namespaced_constants: true, msvc_mangling: false, convert_floats: true, raw_lines: [], clang_args: ["-isystem", "/usr/host/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../include/c++/6.4.0", "-isystem", "/usr/host/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../include/c++/6.4.0/x86_64-pc-linux-gnu", "-isystem", "/usr/host/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../include/c++/6.4.0/backward", "-isystem", "/usr/local/include", "-isystem", "/usr/x86_64-pc-linux-gnu/bin/../lib/clang/4.0.1/include", "-isystem", "/usr/include", "input.h"], input_header: Some("input.h"), input_unsaved_files: [], parse_callbacks: None, codegen_config: CodegenConfig { functions: true, types: true, vars: true, methods: true, constructors: true, destructors: true }, conservative_inline_namespaces: false, generate_comments: true, generate_inline_functions: false, whitelist_recursively: true, objc_extern_crate: false, enable_mangling: true, prepend_enum_name: true, rust_target: Stable_1_19, rust_features: RustFeatures { untagged_union: true, const_fn: false }, rustfmt_bindings: false, rustfmt_configuration_file: None } DEBUG:bindgen::codegen: ::codegen: self = Item { id: ItemId(0), local_id: Cell { value: None }, next_child_local_id: Cell { value: 1 }, canonical_name_cache: RefCell { value: None }, comment: None, annotations: Annotations { opaque: false, hide: false, use_instead_of: None, disallow_copy: false, private_fields: None, accessor_kind: None, constify_enum_variant: false }, parent_id: ItemId(0), kind: Module(Module { name: Some("root"), kind: Normal, children: {ItemId(1), ItemId(2)} }) } DEBUG:bindgen::codegen: ::codegen: item = Item { id: ItemId(0), local_id: Cell { value: None }, next_child_local_id: Cell { value: 1 }, canonical_name_cache: RefCell { value: None }, comment: None, annotations: Annotations { opaque: false, hide: false, use_instead_of: None, disallow_copy: false, private_fields: None, accessor_kind: None, constify_enum_variant: false }, parent_id: ItemId(0), kind: Module(Module { name: Some("root"), kind: Normal, children: {ItemId(1), ItemId(2)} }) } DEBUG:bindgen::codegen: ::codegen: self = Item { id: ItemId(1), local_id: Cell { value: None }, next_child_local_id: Cell { value: 1 }, canonical_name_cache: RefCell { value: None }, comment: None, annotations: Annotations { opaque: false, hide: false, use_instead_of: None, disallow_copy: false, private_fields: None, accessor_kind: None, constify_enum_variant: false }, parent_id: ItemId(0), kind: Type(Type { name: None, layout: None, kind: Int(UInt), is_const: true }) } DEBUG:bindgen::codegen: ::codegen: item = Item { id: ItemId(1), local_id: Cell { value: None }, next_child_local_id: Cell { value: 1 }, canonical_name_cache: RefCell { value: None }, comment: None, annotations: Annotations { opaque: false, hide: false, use_instead_of: None, disallow_copy: false, private_fields: None, accessor_kind: None, constify_enum_variant: false }, parent_id: ItemId(0), kind: Type(Type { name: None, layout: None, kind: Int(UInt), is_const: true }) } DEBUG:bindgen::codegen: ::codegen: self = Item { id: ItemId(2), local_id: Cell { value: None }, next_child_local_id: Cell { value: 1 }, canonical_name_cache: RefCell { value: None }, comment: None, annotations: Annotations { opaque: false, hide: false, use_instead_of: None, disallow_copy: false, private_fields: None, accessor_kind: None, constify_enum_variant: false }, parent_id: ItemId(0), kind: Var(Var { name: "CK_INVALID_HANDLE", mangled_name: None, ty: ItemId(1), val: Some(Int(0)), is_const: true }) } DEBUG:bindgen::codegen: ::codegen: item = Item { id: ItemId(2), local_id: Cell { value: None }, next_child_local_id: Cell { value: 1 }, canonical_name_cache: RefCell { value: None }, comment: None, annotations: Annotations { opaque: false, hide: false, use_instead_of: None, disallow_copy: false, private_fields: None, accessor_kind: None, constify_enum_variant: false }, parent_id: ItemId(0), kind: Var(Var { name: "CK_INVALID_HANDLE", mangled_name: None, ty: ItemId(1), val: Some(Int(0)), is_const: true }) } /* automatically generated by rust-bindgen */ pub const CK_INVALID_HANDLE: ::std::os::raw::c_uint = 0;