[INFO] fetching crate trivialdb 0.1.7... [INFO] checking trivialdb-0.1.7 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate trivialdb 0.1.7 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate trivialdb 0.1.7 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate trivialdb 0.1.7 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate trivialdb 0.1.7 [INFO] tweaked toml for crates.io crate trivialdb 0.1.7 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate trivialdb 0.1.7 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5cd61900d68ab3d65ecddeef5712986b15747bc5a5237a03f7476e8e7dde5fd3 [INFO] running `Command { std: "docker" "start" "-a" "5cd61900d68ab3d65ecddeef5712986b15747bc5a5237a03f7476e8e7dde5fd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cd61900d68ab3d65ecddeef5712986b15747bc5a5237a03f7476e8e7dde5fd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cd61900d68ab3d65ecddeef5712986b15747bc5a5237a03f7476e8e7dde5fd3", kill_on_drop: false }` [INFO] [stdout] 5cd61900d68ab3d65ecddeef5712986b15747bc5a5237a03f7476e8e7dde5fd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53e221ff5d19218859f3830810fd32d9ba2cda5a38bf9538e00ab6dc200b739d [INFO] running `Command { std: "docker" "start" "-a" "53e221ff5d19218859f3830810fd32d9ba2cda5a38bf9538e00ab6dc200b739d", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling libc v0.2.156 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling version-compare v0.2.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling system-deps v7.0.1 [INFO] [stderr] Compiling trivialdb v0.1.7 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/lib.rs (1 fix) [INFO] [stderr] Fixed /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs (114 fixes) [INFO] [stderr] Migrating examples/memory.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/simple.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.32s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling trivialdb v0.1.7 (/tmp/fixit) [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:17224 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn stat (__file : * const :: std :: os :: raw :: c_char , __buf : * mut stat) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:17355 [INFO] [stdout] | [INFO] [stdout] 3 | ...nt ; } extern "C" { pub fn fstat (__fd : :: std :: os :: raw :: c_int , __buf : * mut stat) -> :: std :: os :: raw :: c_int ; } extern... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:17476 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn fstatat (__fd : :: std :: os :: raw :: c_int , __file : * const :: std :: os :: raw :: c_char , __buf : * mut stat , __flag : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:17688 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn lstat (__file : * const :: std :: os :: raw :: c_char , __buf : * mut stat) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:17820 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn chmod (__file : * const :: std :: os :: raw :: c_char , __mode : __mode_t) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:17951 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn lchmod (__file : * const :: std :: os :: raw :: c_char , __mode : __mode_t) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:18083 [INFO] [stdout] | [INFO] [stdout] 3 | ...nt ; } extern "C" { pub fn fchmod (__fd : :: std :: os :: raw :: c_int , __mode : __mode_t) -> :: std :: os :: raw :: c_int ; } extern... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:18204 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn fchmodat (__fd : :: std :: os :: raw :: c_int , __file : * const :: std :: os :: raw :: c_char , __mode : __mode_t , __flag : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:18416 [INFO] [stdout] | [INFO] [stdout] 3 | ...-> :: std :: os :: raw :: c_int ; } extern "C" { pub fn umask (__mask : __mode_t) -> __mode_t ; } extern "C" { pub fn mkdir (__path : ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:18478 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn mkdir (__path : * const :: std :: os :: raw :: c_char , __mode : __mode_t) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:18609 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn mkdirat (__fd : :: std :: os :: raw :: c_int , __path : * const :: std :: os :: raw :: c_char , __mode : __mode_t) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:18780 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn mknod (__path : * const :: std :: os :: raw :: c_char , __mode : __mode_t , __dev : __dev_t) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:18929 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn mknodat (__fd : :: std :: os :: raw :: c_int , __path : * const :: std :: os :: raw :: c_char , __mode : __mode_t , __dev : __dev_t) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:19118 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn mkfifo (__path : * const :: std :: os :: raw :: c_char , __mode : __mode_t) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:19250 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn mkfifoat (__fd : :: std :: os :: raw :: c_int , __path : * const :: std :: os :: raw :: c_char , __mode : __mode_t) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:19422 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn utimensat (__fd : :: std :: os :: raw :: c_int , __path : * const :: std :: os :: raw :: c_char , __times : * const timespec , __flags : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:19645 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn futimens (__fd : :: std :: os :: raw :: c_int , __times : * const timespec) -> :: std :: os :: raw :: c_int ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:46659 [INFO] [stdout] | [INFO] [stdout] 3 | ... > ; extern "C" { pub fn __sysv_signal (__sig : :: std :: os :: raw :: c_int , __handler : __sighandler_t) -> __sighandler_t ; } exter... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:46783 [INFO] [stdout] | [INFO] [stdout] 3 | ...er_t ; } extern "C" { pub fn signal (__sig : :: std :: os :: raw :: c_int , __handler : __sighandler_t) -> __sighandler_t ; } extern "... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:46900 [INFO] [stdout] | [INFO] [stdout] 3 | ...r_t ; } extern "C" { pub fn kill (__pid : __pid_t , __sig : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:17224 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn stat (__file : * const :: std :: os :: raw :: c_char , __buf : * mut stat) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:17355 [INFO] [stdout] | [INFO] [stdout] 3 | ...nt ; } extern "C" { pub fn fstat (__fd : :: std :: os :: raw :: c_int , __buf : * mut stat) -> :: std :: os :: raw :: c_int ; } extern... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:47018 [INFO] [stdout] | [INFO] [stdout] 3 | ...nt ; } extern "C" { pub fn killpg (__pgrp : __pid_t , __sig : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:17476 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn fstatat (__fd : :: std :: os :: raw :: c_int , __file : * const :: std :: os :: raw :: c_char , __buf : * mut stat , __flag : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:47139 [INFO] [stdout] | [INFO] [stdout] 3 | ...raw :: c_int ; } extern "C" { pub fn raise (__sig : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:17688 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn lstat (__file : * const :: std :: os :: raw :: c_char , __buf : * mut stat) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:17820 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn chmod (__file : * const :: std :: os :: raw :: c_char , __mode : __mode_t) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:47240 [INFO] [stdout] | [INFO] [stdout] 3 | ...int ; } extern "C" { pub fn ssignal (__sig : :: std :: os :: raw :: c_int , __handler : __sighandler_t) -> __sighandler_t ; } extern "... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:17951 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn lchmod (__file : * const :: std :: os :: raw :: c_char , __mode : __mode_t) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:47358 [INFO] [stdout] | [INFO] [stdout] 3 | ...ighandler_t ; } extern "C" { pub fn gsignal (__sig : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:18083 [INFO] [stdout] | [INFO] [stdout] 3 | ...nt ; } extern "C" { pub fn fchmod (__fd : :: std :: os :: raw :: c_int , __mode : __mode_t) -> :: std :: os :: raw :: c_int ; } extern... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:47461 [INFO] [stdout] | [INFO] [stdout] 3 | ..._int ; } extern "C" { pub fn psignal (__sig : :: std :: os :: raw :: c_int , __s : * const :: std :: os :: raw :: c_char) ; } extern "... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:18204 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn fchmodat (__fd : :: std :: os :: raw :: c_int , __file : * const :: std :: os :: raw :: c_char , __mode : __mode_t , __flag : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:18416 [INFO] [stdout] | [INFO] [stdout] 3 | ...-> :: std :: os :: raw :: c_int ; } extern "C" { pub fn umask (__mask : __mode_t) -> __mode_t ; } extern "C" { pub fn mkdir (__path : ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:47578 [INFO] [stdout] | [INFO] [stdout] 3 | ... c_char) ; } extern "C" { pub fn psiginfo (__pinfo : * const siginfo_t , __s : * const :: std :: os :: raw :: c_char) ; } extern "C" {... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:18478 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn mkdir (__path : * const :: std :: os :: raw :: c_char , __mode : __mode_t) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:47687 [INFO] [stdout] | [INFO] [stdout] 3 | ...:: c_char) ; } extern "C" { pub fn sigblock (__mask : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { p... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:18609 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn mkdirat (__fd : :: std :: os :: raw :: c_int , __path : * const :: std :: os :: raw :: c_char , __mode : __mode_t) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:18780 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn mknod (__path : * const :: std :: os :: raw :: c_char , __mode : __mode_t , __dev : __dev_t) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:47792 [INFO] [stdout] | [INFO] [stdout] 3 | ... :: c_int ; } extern "C" { pub fn sigsetmask (__mask : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:18929 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn mknodat (__fd : :: std :: os :: raw :: c_int , __path : * const :: std :: os :: raw :: c_char , __mode : __mode_t , __dev : __dev_t) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:19118 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn mkfifo (__path : * const :: std :: os :: raw :: c_char , __mode : __mode_t) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:47899 [INFO] [stdout] | [INFO] [stdout] 3 | ...: std :: os :: raw :: c_int ; } extern "C" { pub fn siggetmask () -> :: std :: os :: raw :: c_int ; } pub type sig_t = __sighandler_t ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:19250 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn mkfifoat (__fd : :: std :: os :: raw :: c_int , __path : * const :: std :: os :: raw :: c_char , __mode : __mode_t) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:48003 [INFO] [stdout] | [INFO] [stdout] 3 | ...t = __sighandler_t ; extern "C" { pub fn sigemptyset (__set : * mut sigset_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:19422 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn utimensat (__fd : :: std :: os :: raw :: c_int , __path : * const :: std :: os :: raw :: c_char , __times : * const timespec , __flags : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:48096 [INFO] [stdout] | [INFO] [stdout] 3 | ... :: raw :: c_int ; } extern "C" { pub fn sigfillset (__set : * mut sigset_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn s... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:19645 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn futimens (__fd : :: std :: os :: raw :: c_int , __times : * const timespec) -> :: std :: os :: raw :: c_int ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:48188 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn sigaddset (__set : * mut sigset_t , __signo : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:46659 [INFO] [stdout] | [INFO] [stdout] 3 | ... > ; extern "C" { pub fn __sysv_signal (__sig : :: std :: os :: raw :: c_int , __handler : __sighandler_t) -> __sighandler_t ; } exter... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:48320 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn sigdelset (__set : * mut sigset_t , __signo : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:46783 [INFO] [stdout] | [INFO] [stdout] 3 | ...er_t ; } extern "C" { pub fn signal (__sig : :: std :: os :: raw :: c_int , __handler : __sighandler_t) -> __sighandler_t ; } extern "... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:48452 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn sigismember (__set : * const sigset_t , __signo : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:46900 [INFO] [stdout] | [INFO] [stdout] 3 | ...r_t ; } extern "C" { pub fn kill (__pid : __pid_t , __sig : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:51356 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn sigprocmask (__how : :: std :: os :: raw :: c_int , __set : * const sigset_t , __oset : * mut sigset_t) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:47018 [INFO] [stdout] | [INFO] [stdout] 3 | ...nt ; } extern "C" { pub fn killpg (__pgrp : __pid_t , __sig : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:47139 [INFO] [stdout] | [INFO] [stdout] 3 | ...raw :: c_int ; } extern "C" { pub fn raise (__sig : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:51516 [INFO] [stdout] | [INFO] [stdout] 3 | ...:: raw :: c_int ; } extern "C" { pub fn sigsuspend (__set : * const sigset_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:47240 [INFO] [stdout] | [INFO] [stdout] 3 | ...int ; } extern "C" { pub fn ssignal (__sig : :: std :: os :: raw :: c_int , __handler : __sighandler_t) -> __sighandler_t ; } extern "... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:51610 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn sigaction (__sig : :: std :: os :: raw :: c_int , __act : * const sigaction , __oact : * mut sigaction) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:51770 [INFO] [stdout] | [INFO] [stdout] 3 | ... :: raw :: c_int ; } extern "C" { pub fn sigpending (__set : * mut sigset_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn s... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:47358 [INFO] [stdout] | [INFO] [stdout] 3 | ...ighandler_t ; } extern "C" { pub fn gsignal (__sig : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:51862 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn sigwait (__set : * const sigset_t , __sig : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:47461 [INFO] [stdout] | [INFO] [stdout] 3 | ..._int ; } extern "C" { pub fn psignal (__sig : :: std :: os :: raw :: c_int , __s : * const :: std :: os :: raw :: c_char) ; } extern "... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:51998 [INFO] [stdout] | [INFO] [stdout] 3 | ...t ; } extern "C" { pub fn sigwaitinfo (__set : * const sigset_t , __info : * mut siginfo_t) -> :: std :: os :: raw :: c_int ; } extern... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:47578 [INFO] [stdout] | [INFO] [stdout] 3 | ... c_char) ; } extern "C" { pub fn psiginfo (__pinfo : * const siginfo_t , __s : * const :: std :: os :: raw :: c_char) ; } extern "C" {... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:52120 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn sigtimedwait (__set : * const sigset_t , __info : * mut siginfo_t , __timeout : * const timespec) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:47687 [INFO] [stdout] | [INFO] [stdout] 3 | ...:: c_char) ; } extern "C" { pub fn sigblock (__mask : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { p... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:52274 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn sigqueue (__pid : __pid_t , __sig : :: std :: os :: raw :: c_int , __val : sigval) -> :: std :: os :: raw :: c_int ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:47792 [INFO] [stdout] | [INFO] [stdout] 3 | ... :: c_int ; } extern "C" { pub fn sigsetmask (__mask : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:70879 [INFO] [stdout] | [INFO] [stdout] 3 | ...ngify ! (ymmh))) ; } extern "C" { pub fn sigreturn (__scp : * mut sigcontext) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [deri... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:47899 [INFO] [stdout] | [INFO] [stdout] 3 | ...: std :: os :: raw :: c_int ; } extern "C" { pub fn siggetmask () -> :: std :: os :: raw :: c_int ; } pub type sig_t = __sighandler_t ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:80847 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn siginterrupt (__sig : :: std :: os :: raw :: c_int , __interrupt : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:48003 [INFO] [stdout] | [INFO] [stdout] 3 | ...t = __sighandler_t ; extern "C" { pub fn sigemptyset (__set : * mut sigset_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:81143 [INFO] [stdout] | [INFO] [stdout] 3 | ...c_uint ; extern "C" { pub fn sigaltstack (__ss : * const stack_t , __oss : * mut stack_t) -> :: std :: os :: raw :: c_int ; } # [repr ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:48096 [INFO] [stdout] | [INFO] [stdout] 3 | ... :: raw :: c_int ; } extern "C" { pub fn sigfillset (__set : * mut sigset_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn s... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:82249 [INFO] [stdout] | [INFO] [stdout] 3 | ...ck))) ; } extern "C" { pub fn sigstack (__ss : * mut sigstack , __oss : * mut sigstack) -> :: std :: os :: raw :: c_int ; } # [repr (C... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:48188 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn sigaddset (__set : * mut sigset_t , __signo : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:106836 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn pthread_sigmask (__how : :: std :: os :: raw :: c_int , __newmask : * const __sigset_t , __oldmask : * mut __sigset_t) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:48320 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn sigdelset (__set : * mut sigset_t , __signo : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:107011 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn pthread_kill (__threadid : pthread_t , __signo : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:48452 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn sigismember (__set : * const sigset_t , __signo : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:107146 [INFO] [stdout] | [INFO] [stdout] 3 | ...:: os :: raw :: c_int ; } extern "C" { pub fn __libc_current_sigrtmin () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __lib... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:51356 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn sigprocmask (__how : :: std :: os :: raw :: c_int , __set : * const sigset_t , __oset : * mut sigset_t) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:107229 [INFO] [stdout] | [INFO] [stdout] 3 | ...:: os :: raw :: c_int ; } extern "C" { pub fn __libc_current_sigrtmax () -> :: std :: os :: raw :: c_int ; } pub const TDB_ERROR_TDB_S... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:51516 [INFO] [stdout] | [INFO] [stdout] 3 | ...:: raw :: c_int ; } extern "C" { pub fn sigsuspend (__set : * const sigset_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:110241 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Open the database and creating it if necessary.\n\n @param[in] name The name of the db to open.\n\n @param[in] hash_size The hash size is advisory, use zero for a default\n value.\n\n @param[in] tdb_flags The flags to use to open the db:\\n\\n\n TDB_CLEAR_IF_FIRST - Clear database if we are the\n only one with it open\\n\n TDB_INTERNAL - Don't use a file, instead store the\n data in memory. The filename is\n ignored in this case.\\n\n TDB_NOLOCK - Don't do any locking\\n\n TDB_NOMMAP - Don't use mmap\\n\n TDB_NOSYNC - Don't synchronise transactions to disk\\n\n TDB_SEQNUM - Maintain a sequence number\\n\n TDB_VOLATILE - activate the per-hashchain freelist,\n default 5.\\n\n TDB_ALLOW_NESTING - Allow transactions to nest.\\n\n TDB_DISALLOW_NESTING - Disallow transactions to nest.\\n\n TDB_INCOMPATIBLE_HASH - Better hashing: can't be opened by tdb < 1.2.6.\\n\n TDB_MUTEX_LOCKING - Optimized locking using robust mutexes if supported,\n can't be opened by tdb < 1.3.0.\n Only valid in combination with TDB_CLEAR_IF_FIRST\n after checking tdb_runtime_check_for_robust_mutexes()\\n\n\n @param[in] open_flags Flags for the open(2) function.\n\n @param[in] mode The mode for the open(2) function.\n\n @return A tdb context structure, NULL on error."] pub fn tdb_open (name : * const :: std :: os :: raw :: c_char , hash_size : :: std :: os :: raw :: c_int , tdb_flags : :: std :: os :: raw :: c_int , open_flags : :: std :: os :: raw :: c_int , mode : mode_t) -> * mut tdb_context ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:51610 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn sigaction (__sig : :: std :: os :: raw :: c_int , __act : * const sigaction , __oact : * mut sigaction) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:112369 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Open the database and creating it if necessary.\n\n This is like tdb_open(), but allows you to pass an initial logging and\n hash function. Be careful when passing a hash function - all users of the\n database must use the same hash function or you will get data corruption.\n\n @param[in] name The name of the db to open.\n\n @param[in] hash_size The hash size is advisory, use zero for a default\n value.\n\n @param[in] tdb_flags The flags to use to open the db:\\n\\n\n TDB_CLEAR_IF_FIRST - Clear database if we are the\n only one with it open\\n\n TDB_INTERNAL - Don't use a file, instead store the\n data in memory. The filename is\n ignored in this case.\\n\n TDB_NOLOCK - Don't do any locking\\n\n TDB_NOMMAP - Don't use mmap\\n\n TDB_NOSYNC - Don't synchronise transactions to disk\\n\n TDB_SEQNUM - Maintain a sequence number\\n\n TDB_VOLATILE - activate the per-hashchain freelist,\n default 5.\\n\n TDB_ALLOW_NESTING - Allow transactions to nest.\\n\n TDB_DISALLOW_NESTING - Disallow transactions to nest.\\n\n TDB_INCOMPATIBLE_HASH - Better hashing: can't be opened by tdb < 1.2.6.\\n\n TDB_MUTEX_LOCKING - Optimized locking using robust mutexes if supported,\n can't be opened by tdb < 1.3.0.\n Only valid in combination with TDB_CLEAR_IF_FIRST\n after checking tdb_runtime_check_for_robust_mutexes()\\n\n\n @param[in] open_flags Flags for the open(2) function.\n\n @param[in] mode The mode for the open(2) function.\n\n @param[in] log_ctx The logging function to use.\n\n @param[in] hash_fn The hash function you want to use.\n\n @return A tdb context structure, NULL on error.\n\n @see tdb_open()"] pub fn tdb_open_ex (name : * const :: std :: os :: raw :: c_char , hash_size : :: std :: os :: raw :: c_int , tdb_flags : :: std :: os :: raw :: c_int , open_flags : :: std :: os :: raw :: c_int , mode : mode_t , log_ctx : * const tdb_logging_context , hash_fn : tdb_hash_func) -> * mut tdb_context ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:51770 [INFO] [stdout] | [INFO] [stdout] 3 | ... :: raw :: c_int ; } extern "C" { pub fn sigpending (__set : * mut sigset_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn s... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:114927 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set the maximum number of dead records per hash chain.\n\n @param[in] tdb The database handle to set the maximum.\n\n @param[in] max_dead The maximum number of dead records per hash chain."] pub fn tdb_set_max_dead (tdb : * mut tdb_context , max_dead : :: std :: os :: raw :: c_int) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:51862 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn sigwait (__set : * const sigset_t , __sig : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:115252 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Reopen a tdb.\n\n This can be used after a fork to ensure that we have an independent seek\n pointer from our parent and to re-establish locks.\n\n @param[in] tdb The database to reopen. It will be free'd on error!\n\n @return 0 on success, -1 on error.\n\n @note Don't call tdb_error() after this function cause the tdb context will\n be freed on error."] pub fn tdb_reopen (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:51998 [INFO] [stdout] | [INFO] [stdout] 3 | ...t ; } extern "C" { pub fn sigwaitinfo (__set : * const sigset_t , __info : * mut siginfo_t) -> :: std :: os :: raw :: c_int ; } extern... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:115745 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Reopen all tdb's\n\n If the parent is longlived (ie. a parent daemon architecture), we know it\n will keep it's active lock on a tdb opened with CLEAR_IF_FIRST. Thus for\n child processes we don't have to add an active lock. This is essential to\n improve performance on systems that keep POSIX locks as a non-scalable data\n structure in the kernel.\n\n @param[in] parent_longlived Whether the parent is longlived or not.\n\n @return 0 on success, -1 on error."] pub fn tdb_reopen_all (parent_longlived : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:52120 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn sigtimedwait (__set : * const sigset_t , __info : * mut siginfo_t , __timeout : * const timespec) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:116362 [INFO] [stdout] | [INFO] [stdout] 3 | ... :: raw :: c_int ; } extern "C" { pub fn tdb_logging_function (tdb : * mut tdb_context , arg1 : tdb_log_func) ; } extern "C" { # [doc ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:52274 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn sigqueue (__pid : __pid_t , __sig : :: std :: os :: raw :: c_int , __val : sigval) -> :: std :: os :: raw :: c_int ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:116455 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set a different tdb logging function.\n\n @param[in] tdb The tdb to set the logging function.\n\n @param[in] log_ctx The logging function to set."] pub fn tdb_set_logging_function (tdb : * mut tdb_context , log_ctx : * const tdb_logging_context) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:70879 [INFO] [stdout] | [INFO] [stdout] 3 | ...ngify ! (ymmh))) ; } extern "C" { pub fn sigreturn (__scp : * mut sigcontext) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [deri... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:116744 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the tdb last error code.\n\n @param[in] tdb The tdb to get the error code from.\n\n @return A TDB_ERROR code.\n\n @see TDB_ERROR"] pub fn tdb_error (tdb : * mut tdb_context) -> TDB_ERROR ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:80847 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn siginterrupt (__sig : :: std :: os :: raw :: c_int , __interrupt : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:116989 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get a error string for the last tdb error\n\n @param[in] tdb The tdb to get the error code from.\n\n @return An error string."] pub fn tdb_errorstr (tdb : * mut tdb_context) -> * const :: std :: os :: raw :: c_char ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:81143 [INFO] [stdout] | [INFO] [stdout] 3 | ...c_uint ; extern "C" { pub fn sigaltstack (__ss : * const stack_t , __oss : * mut stack_t) -> :: std :: os :: raw :: c_int ; } # [repr ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:117258 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Hand a record to a parser function without allocating it.\n\n This function is meant as a fast tdb_fetch alternative for large records\n that are frequently read. The \"key\" and \"data\" arguments point directly\n into the tdb shared memory, they are not aligned at any boundary.\n\n @warning The parser is called while tdb holds a lock on the record. DO NOT\n call other tdb routines from within the parser. Also, for good performance\n you should make the parser fast to allow parallel operations.\n\n @param[in] tdb The tdb to parse the record.\n\n @param[in] key The key to parse.\n\n @param[in] parser The parser to use to parse the data.\n\n @param[in] private_data A private data pointer which is passed to the parser\n function.\n\n @return -1 if the record was not found. If the record was found,\n the return value of \"parser\" is passed up to the caller."] pub fn tdb_parse_record (tdb : * mut tdb_context , key : TDB_DATA , parser : :: std :: option :: Option < unsafe extern "C" fn (key : TDB_DATA , data : TDB_DATA , private_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , private_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:82249 [INFO] [stdout] | [INFO] [stdout] 3 | ...ck))) ; } extern "C" { pub fn sigstack (__ss : * mut sigstack , __oss : * mut sigstack) -> :: std :: os :: raw :: c_int ; } # [repr (C... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:118573 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Store an element in the database.\n\n This replaces any existing element with the same key.\n\n @param[in] tdb The tdb to store the entry.\n\n @param[in] key The key to use to store the entry.\n\n @param[in] dbufs A vector of memory chunks to write\n\n @param[in] num_dbufs Length of the dbufs vector\n\n @param[in] flag The flags to store the key:\\n\\n\n TDB_INSERT: Don't overwrite an existing entry.\\n\n TDB_MODIFY: Don't create a new entry\\n\n\n @return 0 on success, -1 on error with error code set.\n\n @see tdb_error()\n @see tdb_errorstr()"] pub fn tdb_storev (tdb : * mut tdb_context , key : TDB_DATA , dbufs : * const TDB_DATA , num_dbufs : :: std :: os :: raw :: c_int , flag : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:106836 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn pthread_sigmask (__how : :: std :: os :: raw :: c_int , __newmask : * const __sigset_t , __oldmask : * mut __sigset_t) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:119439 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Close a database.\n\n @param[in] tdb The database to close. The context will be free'd.\n\n @return 0 for success, -1 on error.\n\n @note Don't call tdb_error() after this function cause the tdb context will\n be freed on error."] pub fn tdb_close (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:107011 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn pthread_kill (__threadid : pthread_t , __signo : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:119805 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Find the first entry in the database and return its key.\n\n The caller must free the returned data.\n\n @param[in] tdb The database to use.\n\n @return The first entry of the database, an empty TDB_DATA entry\n if the database is empty."] pub fn tdb_firstkey (tdb : * mut tdb_context) -> TDB_DATA ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:107146 [INFO] [stdout] | [INFO] [stdout] 3 | ...:: os :: raw :: c_int ; } extern "C" { pub fn __libc_current_sigrtmin () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __lib... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:120178 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Traverse the entire database.\n\n While traversing the function fn(tdb, key, data, state) is called on each\n element. If fn is NULL then it is not called. A non-zero return value from\n fn() indicates that the traversal should stop. Traversal callbacks may not\n start transactions.\n\n @warning The data buffer given to the callback fn does NOT meet the alignment\n restrictions malloc gives you.\n\n @param[in] tdb The database to traverse.\n\n @param[in] fn The function to call on each entry.\n\n @param[in] private_data The private data which should be passed to the\n traversing function.\n\n @return The record count traversed, -1 on error."] pub fn tdb_traverse (tdb : * mut tdb_context , fn_ : tdb_traverse_func , private_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:121073 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Traverse the entire database.\n\n While traversing the database the function fn(tdb, key, data, state) is\n called on each element, but marking the database read only during the\n traversal, so any write operations will fail. This allows tdb to use read\n locks, which increases the parallelism possible during the traversal.\n\n @param[in] tdb The database to traverse.\n\n @param[in] fn The function to call on each entry.\n\n @param[in] private_data The private data which should be passed to the\n traversing function.\n\n @return The record count traversed, -1 on error."] pub fn tdb_traverse_read (tdb : * mut tdb_context , fn_ : tdb_traverse_func , private_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:107229 [INFO] [stdout] | [INFO] [stdout] 3 | ...:: os :: raw :: c_int ; } extern "C" { pub fn __libc_current_sigrtmax () -> :: std :: os :: raw :: c_int ; } pub const TDB_ERROR_TDB_S... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:110241 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Open the database and creating it if necessary.\n\n @param[in] name The name of the db to open.\n\n @param[in] hash_size The hash size is advisory, use zero for a default\n value.\n\n @param[in] tdb_flags The flags to use to open the db:\\n\\n\n TDB_CLEAR_IF_FIRST - Clear database if we are the\n only one with it open\\n\n TDB_INTERNAL - Don't use a file, instead store the\n data in memory. The filename is\n ignored in this case.\\n\n TDB_NOLOCK - Don't do any locking\\n\n TDB_NOMMAP - Don't use mmap\\n\n TDB_NOSYNC - Don't synchronise transactions to disk\\n\n TDB_SEQNUM - Maintain a sequence number\\n\n TDB_VOLATILE - activate the per-hashchain freelist,\n default 5.\\n\n TDB_ALLOW_NESTING - Allow transactions to nest.\\n\n TDB_DISALLOW_NESTING - Disallow transactions to nest.\\n\n TDB_INCOMPATIBLE_HASH - Better hashing: can't be opened by tdb < 1.2.6.\\n\n TDB_MUTEX_LOCKING - Optimized locking using robust mutexes if supported,\n can't be opened by tdb < 1.3.0.\n Only valid in combination with TDB_CLEAR_IF_FIRST\n after checking tdb_runtime_check_for_robust_mutexes()\\n\n\n @param[in] open_flags Flags for the open(2) function.\n\n @param[in] mode The mode for the open(2) function.\n\n @return A tdb context structure, NULL on error."] pub fn tdb_open (name : * const :: std :: os :: raw :: c_char , hash_size : :: std :: os :: raw :: c_int , tdb_flags : :: std :: os :: raw :: c_int , open_flags : :: std :: os :: raw :: c_int , mode : mode_t) -> * mut tdb_context ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:121900 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Traverse a single hash chain\n\n Traverse a single hash chain under a single lock operation. No\n database modification is possible in the callback.\n\n This exists for background cleanup of databases. In normal\n operations, traversing a complete database can be much too\n expensive. Databases can have many chains, which will all have to\n be looked at before tdb_traverse finishes. Also tdb_traverse does a\n lot of fcntl activity to protect against concurrent record deletes.\n\n With this you can walk a fraction of the whole tdb, collect the\n entries you want to prune, leave the traverse, and then modify or\n delete the records in a subsequent step.\n\n To walk the entire database, call this function tdb_hash_size()\n times, with 0<=chain :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:112369 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Open the database and creating it if necessary.\n\n This is like tdb_open(), but allows you to pass an initial logging and\n hash function. Be careful when passing a hash function - all users of the\n database must use the same hash function or you will get data corruption.\n\n @param[in] name The name of the db to open.\n\n @param[in] hash_size The hash size is advisory, use zero for a default\n value.\n\n @param[in] tdb_flags The flags to use to open the db:\\n\\n\n TDB_CLEAR_IF_FIRST - Clear database if we are the\n only one with it open\\n\n TDB_INTERNAL - Don't use a file, instead store the\n data in memory. The filename is\n ignored in this case.\\n\n TDB_NOLOCK - Don't do any locking\\n\n TDB_NOMMAP - Don't use mmap\\n\n TDB_NOSYNC - Don't synchronise transactions to disk\\n\n TDB_SEQNUM - Maintain a sequence number\\n\n TDB_VOLATILE - activate the per-hashchain freelist,\n default 5.\\n\n TDB_ALLOW_NESTING - Allow transactions to nest.\\n\n TDB_DISALLOW_NESTING - Disallow transactions to nest.\\n\n TDB_INCOMPATIBLE_HASH - Better hashing: can't be opened by tdb < 1.2.6.\\n\n TDB_MUTEX_LOCKING - Optimized locking using robust mutexes if supported,\n can't be opened by tdb < 1.3.0.\n Only valid in combination with TDB_CLEAR_IF_FIRST\n after checking tdb_runtime_check_for_robust_mutexes()\\n\n\n @param[in] open_flags Flags for the open(2) function.\n\n @param[in] mode The mode for the open(2) function.\n\n @param[in] log_ctx The logging function to use.\n\n @param[in] hash_fn The hash function you want to use.\n\n @return A tdb context structure, NULL on error.\n\n @see tdb_open()"] pub fn tdb_open_ex (name : * const :: std :: os :: raw :: c_char , hash_size : :: std :: os :: raw :: c_int , tdb_flags : :: std :: os :: raw :: c_int , open_flags : :: std :: os :: raw :: c_int , mode : mode_t , log_ctx : * const tdb_logging_context , hash_fn : tdb_hash_func) -> * mut tdb_context ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:123273 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Traverse a single hash chain\n\n This is like tdb_traverse_chain(), but for all records that are in\n the same chain as the record corresponding to the key parameter.\n\n Use it for ongoing database maintenance under a lock. Whenever you\n are about to modify a database, you know which record you are going\n to write to. For that tdb_store(), an exclusive chainlock is taken\n behind the scenes. To utilize this exclusive lock for incremental\n database cleanup as well, tdb_chainlock() the key you are about to\n modify, then tdb_traverse_key_chain() to do the incremental\n maintenance, modify your record and tdb_chainunlock() the key\n again.\n\n @param[in] tdb The database to traverse.\n\n @param[in] key The record key to walk the chain for.\n\n @param[in] fn The function to call on each entry.\n\n @param[in] private_data The private data which should be passed to the\n traversing function.\n\n @return The record count traversed, -1 on error."] pub fn tdb_traverse_key_chain (tdb : * mut tdb_context , key : TDB_DATA , fn_ : tdb_traverse_func , private_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:114927 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set the maximum number of dead records per hash chain.\n\n @param[in] tdb The database handle to set the maximum.\n\n @param[in] max_dead The maximum number of dead records per hash chain."] pub fn tdb_set_max_dead (tdb : * mut tdb_context , max_dead : :: std :: os :: raw :: c_int) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:124508 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Lock entire database with a write lock.\n\n @param[in] tdb The database to lock.\n\n @return 0 on success, -1 on error with error code set.\n\n @see tdb_error()\n @see tdb_errorstr()"] pub fn tdb_lockall (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:115252 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Reopen a tdb.\n\n This can be used after a fork to ensure that we have an independent seek\n pointer from our parent and to re-establish locks.\n\n @param[in] tdb The database to reopen. It will be free'd on error!\n\n @return 0 on success, -1 on error.\n\n @note Don't call tdb_error() after this function cause the tdb context will\n be freed on error."] pub fn tdb_reopen (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:124824 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Lock entire database with a write lock.\n\n This is the non-blocking call.\n\n @param[in] tdb The database to lock.\n\n @return 0 on success, -1 on error with error code set.\n\n @see tdb_lockall()\n @see tdb_error()\n @see tdb_errorstr()"] pub fn tdb_lockall_nonblock (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:115745 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Reopen all tdb's\n\n If the parent is longlived (ie. a parent daemon architecture), we know it\n will keep it's active lock on a tdb opened with CLEAR_IF_FIRST. Thus for\n child processes we don't have to add an active lock. This is essential to\n improve performance on systems that keep POSIX locks as a non-scalable data\n structure in the kernel.\n\n @param[in] parent_longlived Whether the parent is longlived or not.\n\n @return 0 on success, -1 on error."] pub fn tdb_reopen_all (parent_longlived : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:125205 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Unlock entire database with write lock.\n\n @param[in] tdb The database to unlock.\n\n @return 0 on success, -1 on error with error code set.\n\n @see tdb_lockall()\n @see tdb_error()\n @see tdb_errorstr()"] pub fn tdb_unlockall (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:125546 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Lock entire database with a read lock.\n\n @param[in] tdb The database to lock.\n\n @return 0 on success, -1 on error with error code set.\n\n @see tdb_error()\n @see tdb_errorstr()"] pub fn tdb_lockall_read (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:116362 [INFO] [stdout] | [INFO] [stdout] 3 | ... :: raw :: c_int ; } extern "C" { pub fn tdb_logging_function (tdb : * mut tdb_context , arg1 : tdb_log_func) ; } extern "C" { # [doc ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:125866 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Lock entire database with a read lock.\n\n This is the non-blocking call.\n\n @param[in] tdb The database to lock.\n\n @return 0 on success, -1 on error with error code set.\n\n @see tdb_lockall_read()\n @see tdb_error()\n @see tdb_errorstr()"] pub fn tdb_lockall_read_nonblock (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:116455 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set a different tdb logging function.\n\n @param[in] tdb The tdb to set the logging function.\n\n @param[in] log_ctx The logging function to set."] pub fn tdb_set_logging_function (tdb : * mut tdb_context , log_ctx : * const tdb_logging_context) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:126256 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Unlock entire database with read lock.\n\n @param[in] tdb The database to unlock.\n\n @return 0 on success, -1 on error with error code set.\n\n @see tdb_lockall_read()\n @see tdb_error()\n @see tdb_errorstr()"] pub fn tdb_unlockall_read (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:116744 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the tdb last error code.\n\n @param[in] tdb The tdb to get the error code from.\n\n @return A TDB_ERROR code.\n\n @see TDB_ERROR"] pub fn tdb_error (tdb : * mut tdb_context) -> TDB_ERROR ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:126606 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Lock entire database with write lock - mark only.\n\n @todo Add more details.\n\n @param[in] tdb The database to mark.\n\n @return 0 on success, -1 on error with error code set.\n\n @see tdb_error()\n @see tdb_errorstr()"] pub fn tdb_lockall_mark (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:116989 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get a error string for the last tdb error\n\n @param[in] tdb The tdb to get the error code from.\n\n @return An error string."] pub fn tdb_errorstr (tdb : * mut tdb_context) -> * const :: std :: os :: raw :: c_char ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:126965 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Lock entire database with write lock - unmark only.\n\n @todo Add more details.\n\n @param[in] tdb The database to mark.\n\n @return 0 on success, -1 on error with error code set.\n\n @see tdb_error()\n @see tdb_errorstr()"] pub fn tdb_lockall_unmark (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:127328 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the name of the current tdb file.\n\n This is useful for external logging functions.\n\n @param[in] tdb The database to get the name from.\n\n @return The name of the database."] pub fn tdb_name (tdb : * mut tdb_context) -> * const :: std :: os :: raw :: c_char ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:117258 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Hand a record to a parser function without allocating it.\n\n This function is meant as a fast tdb_fetch alternative for large records\n that are frequently read. The \"key\" and \"data\" arguments point directly\n into the tdb shared memory, they are not aligned at any boundary.\n\n @warning The parser is called while tdb holds a lock on the record. DO NOT\n call other tdb routines from within the parser. Also, for good performance\n you should make the parser fast to allow parallel operations.\n\n @param[in] tdb The tdb to parse the record.\n\n @param[in] key The key to parse.\n\n @param[in] parser The parser to use to parse the data.\n\n @param[in] private_data A private data pointer which is passed to the parser\n function.\n\n @return -1 if the record was not found. If the record was found,\n the return value of \"parser\" is passed up to the caller."] pub fn tdb_parse_record (tdb : * mut tdb_context , key : TDB_DATA , parser : :: std :: option :: Option < unsafe extern "C" fn (key : TDB_DATA , data : TDB_DATA , private_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , private_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:127648 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the underlying file descriptor being used by tdb.\n\n This is useful for external routines that want to check the device/inode\n of the fd.\n\n @param[in] tdb The database to get the fd from.\n\n @return The file descriptor or -1."] pub fn tdb_fd (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:118573 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Store an element in the database.\n\n This replaces any existing element with the same key.\n\n @param[in] tdb The tdb to store the entry.\n\n @param[in] key The key to use to store the entry.\n\n @param[in] dbufs A vector of memory chunks to write\n\n @param[in] num_dbufs Length of the dbufs vector\n\n @param[in] flag The flags to store the key:\\n\\n\n TDB_INSERT: Don't overwrite an existing entry.\\n\n TDB_MODIFY: Don't create a new entry\\n\n\n @return 0 on success, -1 on error with error code set.\n\n @see tdb_error()\n @see tdb_errorstr()"] pub fn tdb_storev (tdb : * mut tdb_context , key : TDB_DATA , dbufs : * const TDB_DATA , num_dbufs : :: std :: os :: raw :: c_int , flag : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:128011 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the current logging function.\n\n This is useful for external tdb routines that wish to log tdb errors.\n\n @param[in] tdb The database to get the logging function from.\n\n @return The logging function of the database.\n\n @see tdb_get_logging_private()"] pub fn tdb_log_fn (tdb : * mut tdb_context) -> tdb_log_func ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:119439 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Close a database.\n\n @param[in] tdb The database to close. The context will be free'd.\n\n @return 0 for success, -1 on error.\n\n @note Don't call tdb_error() after this function cause the tdb context will\n be freed on error."] pub fn tdb_close (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:128386 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the private data of the logging function.\n\n @param[in] tdb The database to get the data from.\n\n @return The private data pointer of the logging function.\n\n @see tdb_log_fn()"] pub fn tdb_get_logging_private (tdb : * mut tdb_context) -> * mut :: std :: os :: raw :: c_void ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:119805 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Find the first entry in the database and return its key.\n\n The caller must free the returned data.\n\n @param[in] tdb The database to use.\n\n @return The first entry of the database, an empty TDB_DATA entry\n if the database is empty."] pub fn tdb_firstkey (tdb : * mut tdb_context) -> TDB_DATA ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:128722 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Is a transaction active?\n\n It is helpful for the application to know if a transaction is\n active, rather than needing to maintain an application-level reference\n count.\n\n @param[in] tdb The database to start the transaction.\n\n @return true if there is a transaction active, false otherwise\n\n @see tdb_transaction_start()\n @see tdb_transaction_prepare_commit()\n @see tdb_transaction_commit()\n @see tdb_transaction_cancel()"] pub fn tdb_transaction_active (tdb : * mut tdb_context) -> bool ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:120178 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Traverse the entire database.\n\n While traversing the function fn(tdb, key, data, state) is called on each\n element. If fn is NULL then it is not called. A non-zero return value from\n fn() indicates that the traversal should stop. Traversal callbacks may not\n start transactions.\n\n @warning The data buffer given to the callback fn does NOT meet the alignment\n restrictions malloc gives you.\n\n @param[in] tdb The database to traverse.\n\n @param[in] fn The function to call on each entry.\n\n @param[in] private_data The private data which should be passed to the\n traversing function.\n\n @return The record count traversed, -1 on error."] pub fn tdb_traverse (tdb : * mut tdb_context , fn_ : tdb_traverse_func , private_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:129277 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Start a transaction.\n\n All operations after the transaction start can either be committed with\n tdb_transaction_commit() or cancelled with tdb_transaction_cancel().\n\n If (the default) TDB_ALLOW_NESTING was specified or\n TDB_DISALLOW_NESTING was not specified as a flag via tdb_open() or\n tdb_open_ex(), you call tdb_transaction_start() again on the same\n tdb context while a transaction is in progress, then the same\n transaction buffer is re-used. The number of\n tdb_transaction_{commit,cancel} operations must match the number of\n successful tdb_transaction_start() calls.\n\n Note that transactions are by default disk synchronous, and use a recover\n area in the database to automatically recover the database on the next open\n if the system crashes during a transaction. You can disable the synchronous\n transaction recovery setup using the TDB_NOSYNC flag, which will greatly\n speed up operations at the risk of corrupting your database if the system\n crashes.\n\n Operations made within a transaction are not visible to other users of the\n database until a successful commit.\n\n @param[in] tdb The database to start the transaction.\n\n @return 0 on success, -1 on error with error code set.\n\n @see tdb_error()\n @see tdb_errorstr()"] pub fn tdb_transaction_start (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:130679 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Start a transaction, non-blocking.\n\n @param[in] tdb The database to start the transaction.\n\n @return 0 on success, -1 on error with error code set.\n\n @see tdb_error()\n @see tdb_errorstr()\n @see tdb_transaction_start()"] pub fn tdb_transaction_start_nonblock (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:121073 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Traverse the entire database.\n\n While traversing the database the function fn(tdb, key, data, state) is\n called on each element, but marking the database read only during the\n traversal, so any write operations will fail. This allows tdb to use read\n locks, which increases the parallelism possible during the traversal.\n\n @param[in] tdb The database to traverse.\n\n @param[in] fn The function to call on each entry.\n\n @param[in] private_data The private data which should be passed to the\n traversing function.\n\n @return The record count traversed, -1 on error."] pub fn tdb_traverse_read (tdb : * mut tdb_context , fn_ : tdb_traverse_func , private_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:131057 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Prepare to commit a current transaction, for two-phase commits.\n\n Once prepared for commit, the only allowed calls are tdb_transaction_commit()\n or tdb_transaction_cancel(). Preparing allocates disk space for the pending\n updates, so a subsequent commit should succeed (barring any hardware\n failures).\n\n @param[in] tdb The database to prepare the commit.\n\n @return 0 on success, -1 on error with error code set.\n\n @see tdb_error()\n @see tdb_errorstr()"] pub fn tdb_transaction_prepare_commit (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:121900 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Traverse a single hash chain\n\n Traverse a single hash chain under a single lock operation. No\n database modification is possible in the callback.\n\n This exists for background cleanup of databases. In normal\n operations, traversing a complete database can be much too\n expensive. Databases can have many chains, which will all have to\n be looked at before tdb_traverse finishes. Also tdb_traverse does a\n lot of fcntl activity to protect against concurrent record deletes.\n\n With this you can walk a fraction of the whole tdb, collect the\n entries you want to prune, leave the traverse, and then modify or\n delete the records in a subsequent step.\n\n To walk the entire database, call this function tdb_hash_size()\n times, with 0<=chain :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:131674 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Commit a current transaction.\n\n This updates the database and releases the current transaction locks.\n\n @param[in] tdb The database to commit the transaction.\n\n @return 0 on success, -1 on error with error code set.\n\n @see tdb_error()\n @see tdb_errorstr()"] pub fn tdb_transaction_commit (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:123273 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Traverse a single hash chain\n\n This is like tdb_traverse_chain(), but for all records that are in\n the same chain as the record corresponding to the key parameter.\n\n Use it for ongoing database maintenance under a lock. Whenever you\n are about to modify a database, you know which record you are going\n to write to. For that tdb_store(), an exclusive chainlock is taken\n behind the scenes. To utilize this exclusive lock for incremental\n database cleanup as well, tdb_chainlock() the key you are about to\n modify, then tdb_traverse_key_chain() to do the incremental\n maintenance, modify your record and tdb_chainunlock() the key\n again.\n\n @param[in] tdb The database to traverse.\n\n @param[in] key The record key to walk the chain for.\n\n @param[in] fn The function to call on each entry.\n\n @param[in] private_data The private data which should be passed to the\n traversing function.\n\n @return The record count traversed, -1 on error."] pub fn tdb_traverse_key_chain (tdb : * mut tdb_context , key : TDB_DATA , fn_ : tdb_traverse_func , private_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:132083 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Cancel a current transaction.\n\n This discards all write and lock operations that have been made since the\n transaction started.\n\n @param[in] tdb The tdb to cancel the transaction on.\n\n @return 0 on success, -1 on error with error code set.\n\n @see tdb_error()\n @see tdb_errorstr()"] pub fn tdb_transaction_cancel (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:124508 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Lock entire database with a write lock.\n\n @param[in] tdb The database to lock.\n\n @return 0 on success, -1 on error with error code set.\n\n @see tdb_error()\n @see tdb_errorstr()"] pub fn tdb_lockall (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:124824 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Lock entire database with a write lock.\n\n This is the non-blocking call.\n\n @param[in] tdb The database to lock.\n\n @return 0 on success, -1 on error with error code set.\n\n @see tdb_lockall()\n @see tdb_error()\n @see tdb_errorstr()"] pub fn tdb_lockall_nonblock (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:132517 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the tdb sequence number.\n\n Only makes sense if the writers opened with TDB_SEQNUM set. Note that this\n sequence number will wrap quite quickly, so it should only be used for a\n 'has something changed' test, not for code that relies on the count of the\n number of changes made. If you want a counter then use a tdb record.\n\n The aim of this sequence number is to allow for a very lightweight test of a\n possible tdb change.\n\n @param[in] tdb The database to get the sequence number from.\n\n @return The sequence number or 0.\n\n @see tdb_open()\n @see tdb_enable_seqnum()"] pub fn tdb_get_seqnum (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:125205 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Unlock entire database with write lock.\n\n @param[in] tdb The database to unlock.\n\n @return 0 on success, -1 on error with error code set.\n\n @see tdb_lockall()\n @see tdb_error()\n @see tdb_errorstr()"] pub fn tdb_unlockall (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:133238 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the hash size.\n\n @param[in] tdb The database to get the hash size from.\n\n @return The hash size."] pub fn tdb_hash_size (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:125546 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Lock entire database with a read lock.\n\n @param[in] tdb The database to lock.\n\n @return 0 on success, -1 on error with error code set.\n\n @see tdb_error()\n @see tdb_errorstr()"] pub fn tdb_lockall_read (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:133478 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the map size.\n\n @param[in] tdb The database to get the map size from.\n\n @return The map size."] pub fn tdb_map_size (tdb : * mut tdb_context) -> usize ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:125866 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Lock entire database with a read lock.\n\n This is the non-blocking call.\n\n @param[in] tdb The database to lock.\n\n @return 0 on success, -1 on error with error code set.\n\n @see tdb_lockall_read()\n @see tdb_error()\n @see tdb_errorstr()"] pub fn tdb_lockall_read_nonblock (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:133689 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the tdb flags set during open.\n\n @param[in] tdb The database to get the flags form.\n\n @return The flags set to on the database."] pub fn tdb_get_flags (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:126256 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Unlock entire database with read lock.\n\n @param[in] tdb The database to unlock.\n\n @return 0 on success, -1 on error with error code set.\n\n @see tdb_lockall_read()\n @see tdb_error()\n @see tdb_errorstr()"] pub fn tdb_unlockall_read (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:133960 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Add flags to the database.\n\n @param[in] tdb The database to add the flags.\n\n @param[in] flag The tdb flags to add."] pub fn tdb_add_flags (tdb : * mut tdb_context , flag : :: std :: os :: raw :: c_uint) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:126606 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Lock entire database with write lock - mark only.\n\n @todo Add more details.\n\n @param[in] tdb The database to mark.\n\n @return 0 on success, -1 on error with error code set.\n\n @see tdb_error()\n @see tdb_errorstr()"] pub fn tdb_lockall_mark (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:134213 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Remove flags from the database.\n\n @param[in] tdb The database to remove the flags.\n\n @param[in] flag The tdb flags to remove."] pub fn tdb_remove_flags (tdb : * mut tdb_context , flag : :: std :: os :: raw :: c_uint) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:126965 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Lock entire database with write lock - unmark only.\n\n @todo Add more details.\n\n @param[in] tdb The database to mark.\n\n @return 0 on success, -1 on error with error code set.\n\n @see tdb_error()\n @see tdb_errorstr()"] pub fn tdb_lockall_unmark (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:134480 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Enable sequence number handling on an open tdb.\n\n @param[in] tdb The database to enable sequence number handling.\n\n @see tdb_get_seqnum()"] pub fn tdb_enable_seqnum (tdb : * mut tdb_context) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:127328 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the name of the current tdb file.\n\n This is useful for external logging functions.\n\n @param[in] tdb The database to get the name from.\n\n @return The name of the database."] pub fn tdb_name (tdb : * mut tdb_context) -> * const :: std :: os :: raw :: c_char ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:134716 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Increment the tdb sequence number.\n\n This only works if the tdb has been opened using the TDB_SEQNUM flag or\n enabled using tdb_enable_seqnum().\n\n @param[in] tdb The database to increment the sequence number.\n\n @see tdb_enable_seqnum()\n @see tdb_get_seqnum()"] pub fn tdb_increment_seqnum_nonblock (tdb : * mut tdb_context) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:135089 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Create a hash of the key.\n\n @param[in] key The key to hash\n\n @return The hash."] pub fn tdb_jenkins_hash (key : * mut TDB_DATA) -> :: std :: os :: raw :: c_uint ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:127648 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the underlying file descriptor being used by tdb.\n\n This is useful for external routines that want to check the device/inode\n of the fd.\n\n @param[in] tdb The database to get the fd from.\n\n @return The file descriptor or -1."] pub fn tdb_fd (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:135308 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Check the consistency of the database.\n\n This check the consistency of the database calling back the check function\n (if non-NULL) on each record. If some consistency check fails, or the\n supplied check function returns -1, tdb_check returns -1, otherwise 0.\n\n @note The logging function (if set) will be called with additional\n information on the corruption found.\n\n @param[in] tdb The database to check.\n\n @param[in] check The check function to use.\n\n @param[in] private_data the private data to pass to the check function.\n\n @return 0 on success, -1 on error with error code set.\n\n @see tdb_error()\n @see tdb_errorstr()"] pub fn tdb_check (tdb : * mut tdb_context , check : :: std :: option :: Option < unsafe extern "C" fn (key : TDB_DATA , data : TDB_DATA , private_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , private_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:128011 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the current logging function.\n\n This is useful for external tdb routines that wish to log tdb errors.\n\n @param[in] tdb The database to get the logging function from.\n\n @return The logging function of the database.\n\n @see tdb_get_logging_private()"] pub fn tdb_log_fn (tdb : * mut tdb_context) -> tdb_log_func ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:136321 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Dump all possible records in a corrupt database.\n\n This is the only way to get data out of a database where tdb_check() fails.\n It will call walk() with anything which looks like a database record; this\n may well include invalid, incomplete or duplicate records.\n\n @param[in] tdb The database to check.\n\n @param[in] walk The walk function to use.\n\n @param[in] private_data the private data to pass to the walk function.\n\n @return 0 on success, -1 on error with error code set.\n\n @see tdb_error()\n @see tdb_errorstr()"] pub fn tdb_rescue (tdb : * mut tdb_context , walk : :: std :: option :: Option < unsafe extern "C" fn (key : TDB_DATA , data : TDB_DATA , private_data : * mut :: std :: os :: raw :: c_void) > , private_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:137193 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Check if support for TDB_MUTEX_LOCKING is available at runtime.\n\n On some systems the API for pthread_mutexattr_setrobust() is not available.\n On other systems there are some bugs in the interaction between glibc and\n the linux kernel.\n\n This function provides a runtime check if robust mutexes are really\n available.\n\n This needs to be called and return true before TDB_MUTEX_LOCKING\n can be used at runtime.\n\n @note This calls fork(), but the SIGCHILD handling should be transparent.\n\n @return true if supported, false otherwise.\n\n @see TDB_MUTEX_LOCKING"] pub fn tdb_runtime_check_for_robust_mutexes () -> bool ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:128386 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the private data of the logging function.\n\n @param[in] tdb The database to get the data from.\n\n @return The private data pointer of the logging function.\n\n @see tdb_log_fn()"] pub fn tdb_get_logging_private (tdb : * mut tdb_context) -> * mut :: std :: os :: raw :: c_void ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:137871 [INFO] [stdout] | [INFO] [stdout] 3 | ...> bool ; } extern "C" { pub fn tdb_chainlock (tdb : * mut tdb_context , key : TDB_DATA) -> :: std :: os :: raw :: c_int ; } extern "C"... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:128722 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Is a transaction active?\n\n It is helpful for the application to know if a transaction is\n active, rather than needing to maintain an application-level reference\n count.\n\n @param[in] tdb The database to start the transaction.\n\n @return true if there is a transaction active, false otherwise\n\n @see tdb_transaction_start()\n @see tdb_transaction_prepare_commit()\n @see tdb_transaction_commit()\n @see tdb_transaction_cancel()"] pub fn tdb_transaction_active (tdb : * mut tdb_context) -> bool ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:137984 [INFO] [stdout] | [INFO] [stdout] 3 | ...t ; } extern "C" { pub fn tdb_chainlock_nonblock (tdb : * mut tdb_context , key : TDB_DATA) -> :: std :: os :: raw :: c_int ; } extern... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:129277 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Start a transaction.\n\n All operations after the transaction start can either be committed with\n tdb_transaction_commit() or cancelled with tdb_transaction_cancel().\n\n If (the default) TDB_ALLOW_NESTING was specified or\n TDB_DISALLOW_NESTING was not specified as a flag via tdb_open() or\n tdb_open_ex(), you call tdb_transaction_start() again on the same\n tdb context while a transaction is in progress, then the same\n transaction buffer is re-used. The number of\n tdb_transaction_{commit,cancel} operations must match the number of\n successful tdb_transaction_start() calls.\n\n Note that transactions are by default disk synchronous, and use a recover\n area in the database to automatically recover the database on the next open\n if the system crashes during a transaction. You can disable the synchronous\n transaction recovery setup using the TDB_NOSYNC flag, which will greatly\n speed up operations at the risk of corrupting your database if the system\n crashes.\n\n Operations made within a transaction are not visible to other users of the\n database until a successful commit.\n\n @param[in] tdb The database to start the transaction.\n\n @return 0 on success, -1 on error with error code set.\n\n @see tdb_error()\n @see tdb_errorstr()"] pub fn tdb_transaction_start (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:138106 [INFO] [stdout] | [INFO] [stdout] 3 | ...c_int ; } extern "C" { pub fn tdb_chainunlock (tdb : * mut tdb_context , key : TDB_DATA) -> :: std :: os :: raw :: c_int ; } extern "C... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:138221 [INFO] [stdout] | [INFO] [stdout] 3 | ...int ; } extern "C" { pub fn tdb_chainlock_read (tdb : * mut tdb_context , key : TDB_DATA) -> :: std :: os :: raw :: c_int ; } extern "... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:130679 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Start a transaction, non-blocking.\n\n @param[in] tdb The database to start the transaction.\n\n @return 0 on success, -1 on error with error code set.\n\n @see tdb_error()\n @see tdb_errorstr()\n @see tdb_transaction_start()"] pub fn tdb_transaction_start_nonblock (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:138339 [INFO] [stdout] | [INFO] [stdout] 3 | ...; } extern "C" { pub fn tdb_chainlock_read_nonblock (tdb : * mut tdb_context , key : TDB_DATA) -> :: std :: os :: raw :: c_int ; } ext... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:131057 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Prepare to commit a current transaction, for two-phase commits.\n\n Once prepared for commit, the only allowed calls are tdb_transaction_commit()\n or tdb_transaction_cancel(). Preparing allocates disk space for the pending\n updates, so a subsequent commit should succeed (barring any hardware\n failures).\n\n @param[in] tdb The database to prepare the commit.\n\n @return 0 on success, -1 on error with error code set.\n\n @see tdb_error()\n @see tdb_errorstr()"] pub fn tdb_transaction_prepare_commit (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:138466 [INFO] [stdout] | [INFO] [stdout] 3 | ...nt ; } extern "C" { pub fn tdb_chainunlock_read (tdb : * mut tdb_context , key : TDB_DATA) -> :: std :: os :: raw :: c_int ; } extern ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:131674 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Commit a current transaction.\n\n This updates the database and releases the current transaction locks.\n\n @param[in] tdb The database to commit the transaction.\n\n @return 0 on success, -1 on error with error code set.\n\n @see tdb_error()\n @see tdb_errorstr()"] pub fn tdb_transaction_commit (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:138586 [INFO] [stdout] | [INFO] [stdout] 3 | ...int ; } extern "C" { pub fn tdb_chainlock_mark (tdb : * mut tdb_context , key : TDB_DATA) -> :: std :: os :: raw :: c_int ; } extern "... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:138704 [INFO] [stdout] | [INFO] [stdout] 3 | ...nt ; } extern "C" { pub fn tdb_chainlock_unmark (tdb : * mut tdb_context , key : TDB_DATA) -> :: std :: os :: raw :: c_int ; } extern ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:132083 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Cancel a current transaction.\n\n This discards all write and lock operations that have been made since the\n transaction started.\n\n @param[in] tdb The tdb to cancel the transaction on.\n\n @return 0 on success, -1 on error with error code set.\n\n @see tdb_error()\n @see tdb_errorstr()"] pub fn tdb_transaction_cancel (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:138824 [INFO] [stdout] | [INFO] [stdout] 3 | ...raw :: c_int ; } extern "C" { pub fn tdb_setalarm_sigptr (tdb : * mut tdb_context , sigptr : * mut sig_atomic_t) ; } extern "C" { pub ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:132517 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the tdb sequence number.\n\n Only makes sense if the writers opened with TDB_SEQNUM set. Note that this\n sequence number will wrap quite quickly, so it should only be used for a\n 'has something changed' test, not for code that relies on the count of the\n number of changes made. If you want a counter then use a tdb record.\n\n The aim of this sequence number is to allow for a very lightweight test of a\n possible tdb change.\n\n @param[in] tdb The database to get the sequence number from.\n\n @return The sequence number or 0.\n\n @see tdb_open()\n @see tdb_enable_seqnum()"] pub fn tdb_get_seqnum (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:138924 [INFO] [stdout] | [INFO] [stdout] 3 | ...t sig_atomic_t) ; } extern "C" { pub fn tdb_wipe_all (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:139019 [INFO] [stdout] | [INFO] [stdout] 3 | ... :: raw :: c_int ; } extern "C" { pub fn tdb_repack (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:133238 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the hash size.\n\n @param[in] tdb The database to get the hash size from.\n\n @return The hash size."] pub fn tdb_hash_size (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:139112 [INFO] [stdout] | [INFO] [stdout] 3 | ...-> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tdb_dump_all (tdb : * mut tdb_context) ; } extern "C" { pub fn tdb_printfreeli... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:133478 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the map size.\n\n @param[in] tdb The database to get the map size from.\n\n @return The map size."] pub fn tdb_map_size (tdb : * mut tdb_context) -> usize ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:139175 [INFO] [stdout] | [INFO] [stdout] 3 | ...tdb_context) ; } extern "C" { pub fn tdb_printfreelist (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } extern "C" { pub ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:133689 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the tdb flags set during open.\n\n @param[in] tdb The database to get the flags form.\n\n @return The flags set to on the database."] pub fn tdb_get_flags (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:139275 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn tdb_validate_freelist (tdb : * mut tdb_context , pnum_entries : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:133960 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Add flags to the database.\n\n @param[in] tdb The database to add the flags.\n\n @param[in] flag The tdb flags to add."] pub fn tdb_add_flags (tdb : * mut tdb_context , flag : :: std :: os :: raw :: c_uint) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:139431 [INFO] [stdout] | [INFO] [stdout] 3 | ...raw :: c_int ; } extern "C" { pub fn tdb_freelist_size (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } extern "C" { pub ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:134213 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Remove flags from the database.\n\n @param[in] tdb The database to remove the flags.\n\n @param[in] flag The tdb flags to remove."] pub fn tdb_remove_flags (tdb : * mut tdb_context , flag : :: std :: os :: raw :: c_uint) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:139531 [INFO] [stdout] | [INFO] [stdout] 3 | ...raw :: c_int ; } extern "C" { pub fn tdb_summary (tdb : * mut tdb_context) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:134480 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Enable sequence number handling on an open tdb.\n\n @param[in] tdb The database to enable sequence number handling.\n\n @see tdb_get_seqnum()"] pub fn tdb_enable_seqnum (tdb : * mut tdb_context) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:139632 [INFO] [stdout] | [INFO] [stdout] 3 | ... * mut :: std :: os :: raw :: c_char ; } extern "C" { pub static mut tdb_null : TDB_DATA ; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:134716 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Increment the tdb sequence number.\n\n This only works if the tdb has been opened using the TDB_SEQNUM flag or\n enabled using tdb_enable_seqnum().\n\n @param[in] tdb The database to increment the sequence number.\n\n @see tdb_enable_seqnum()\n @see tdb_get_seqnum()"] pub fn tdb_increment_seqnum_nonblock (tdb : * mut tdb_context) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:135089 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Create a hash of the key.\n\n @param[in] key The key to hash\n\n @return The hash."] pub fn tdb_jenkins_hash (key : * mut TDB_DATA) -> :: std :: os :: raw :: c_uint ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:135308 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Check the consistency of the database.\n\n This check the consistency of the database calling back the check function\n (if non-NULL) on each record. If some consistency check fails, or the\n supplied check function returns -1, tdb_check returns -1, otherwise 0.\n\n @note The logging function (if set) will be called with additional\n information on the corruption found.\n\n @param[in] tdb The database to check.\n\n @param[in] check The check function to use.\n\n @param[in] private_data the private data to pass to the check function.\n\n @return 0 on success, -1 on error with error code set.\n\n @see tdb_error()\n @see tdb_errorstr()"] pub fn tdb_check (tdb : * mut tdb_context , check : :: std :: option :: Option < unsafe extern "C" fn (key : TDB_DATA , data : TDB_DATA , private_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , private_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:136321 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Dump all possible records in a corrupt database.\n\n This is the only way to get data out of a database where tdb_check() fails.\n It will call walk() with anything which looks like a database record; this\n may well include invalid, incomplete or duplicate records.\n\n @param[in] tdb The database to check.\n\n @param[in] walk The walk function to use.\n\n @param[in] private_data the private data to pass to the walk function.\n\n @return 0 on success, -1 on error with error code set.\n\n @see tdb_error()\n @see tdb_errorstr()"] pub fn tdb_rescue (tdb : * mut tdb_context , walk : :: std :: option :: Option < unsafe extern "C" fn (key : TDB_DATA , data : TDB_DATA , private_data : * mut :: std :: os :: raw :: c_void) > , private_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:137193 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Check if support for TDB_MUTEX_LOCKING is available at runtime.\n\n On some systems the API for pthread_mutexattr_setrobust() is not available.\n On other systems there are some bugs in the interaction between glibc and\n the linux kernel.\n\n This function provides a runtime check if robust mutexes are really\n available.\n\n This needs to be called and return true before TDB_MUTEX_LOCKING\n can be used at runtime.\n\n @note This calls fork(), but the SIGCHILD handling should be transparent.\n\n @return true if supported, false otherwise.\n\n @see TDB_MUTEX_LOCKING"] pub fn tdb_runtime_check_for_robust_mutexes () -> bool ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:137871 [INFO] [stdout] | [INFO] [stdout] 3 | ...> bool ; } extern "C" { pub fn tdb_chainlock (tdb : * mut tdb_context , key : TDB_DATA) -> :: std :: os :: raw :: c_int ; } extern "C"... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:137984 [INFO] [stdout] | [INFO] [stdout] 3 | ...t ; } extern "C" { pub fn tdb_chainlock_nonblock (tdb : * mut tdb_context , key : TDB_DATA) -> :: std :: os :: raw :: c_int ; } extern... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:138106 [INFO] [stdout] | [INFO] [stdout] 3 | ...c_int ; } extern "C" { pub fn tdb_chainunlock (tdb : * mut tdb_context , key : TDB_DATA) -> :: std :: os :: raw :: c_int ; } extern "C... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:138221 [INFO] [stdout] | [INFO] [stdout] 3 | ...int ; } extern "C" { pub fn tdb_chainlock_read (tdb : * mut tdb_context , key : TDB_DATA) -> :: std :: os :: raw :: c_int ; } extern "... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:138339 [INFO] [stdout] | [INFO] [stdout] 3 | ...; } extern "C" { pub fn tdb_chainlock_read_nonblock (tdb : * mut tdb_context , key : TDB_DATA) -> :: std :: os :: raw :: c_int ; } ext... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:138466 [INFO] [stdout] | [INFO] [stdout] 3 | ...nt ; } extern "C" { pub fn tdb_chainunlock_read (tdb : * mut tdb_context , key : TDB_DATA) -> :: std :: os :: raw :: c_int ; } extern ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:138586 [INFO] [stdout] | [INFO] [stdout] 3 | ...int ; } extern "C" { pub fn tdb_chainlock_mark (tdb : * mut tdb_context , key : TDB_DATA) -> :: std :: os :: raw :: c_int ; } extern "... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:138704 [INFO] [stdout] | [INFO] [stdout] 3 | ...nt ; } extern "C" { pub fn tdb_chainlock_unmark (tdb : * mut tdb_context , key : TDB_DATA) -> :: std :: os :: raw :: c_int ; } extern ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:138824 [INFO] [stdout] | [INFO] [stdout] 3 | ...raw :: c_int ; } extern "C" { pub fn tdb_setalarm_sigptr (tdb : * mut tdb_context , sigptr : * mut sig_atomic_t) ; } extern "C" { pub ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:138924 [INFO] [stdout] | [INFO] [stdout] 3 | ...t sig_atomic_t) ; } extern "C" { pub fn tdb_wipe_all (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:139019 [INFO] [stdout] | [INFO] [stdout] 3 | ... :: raw :: c_int ; } extern "C" { pub fn tdb_repack (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:139112 [INFO] [stdout] | [INFO] [stdout] 3 | ...-> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tdb_dump_all (tdb : * mut tdb_context) ; } extern "C" { pub fn tdb_printfreeli... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:139175 [INFO] [stdout] | [INFO] [stdout] 3 | ...tdb_context) ; } extern "C" { pub fn tdb_printfreelist (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } extern "C" { pub ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:139275 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn tdb_validate_freelist (tdb : * mut tdb_context , pnum_entries : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:139431 [INFO] [stdout] | [INFO] [stdout] 3 | ...raw :: c_int ; } extern "C" { pub fn tdb_freelist_size (tdb : * mut tdb_context) -> :: std :: os :: raw :: c_int ; } extern "C" { pub ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:139531 [INFO] [stdout] | [INFO] [stdout] 3 | ...raw :: c_int ; } extern "C" { pub fn tdb_summary (tdb : * mut tdb_context) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/trivialdb-ef8604059664a61b/out/tdb_sys.rs:3:139632 [INFO] [stdout] | [INFO] [stdout] 3 | ... * mut :: std :: os :: raw :: c_char ; } extern "C" { pub static mut tdb_null : TDB_DATA ; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 114 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trivialdb` (lib) due to 115 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 114 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trivialdb` (lib test) due to 115 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "53e221ff5d19218859f3830810fd32d9ba2cda5a38bf9538e00ab6dc200b739d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53e221ff5d19218859f3830810fd32d9ba2cda5a38bf9538e00ab6dc200b739d", kill_on_drop: false }` [INFO] [stdout] 53e221ff5d19218859f3830810fd32d9ba2cda5a38bf9538e00ab6dc200b739d