[INFO] cloning repository https://github.com/gitee2github/libgdbm-rust
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gitee2github/libgdbm-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgitee2github%2Flibgdbm-rust"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgitee2github%2Flibgdbm-rust'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 0932f9f612b19879062818a165b73879188fed15
[INFO] testing gitee2github/libgdbm-rust against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgitee2github%2Flibgdbm-rust" "/workspace/builds/worker-2-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] removed dangling symlink "src/.libs/libgdbm.so"
[INFO] started tweaking git repo https://github.com/gitee2github/libgdbm-rust
[INFO] finished tweaking git repo https://github.com/gitee2github/libgdbm-rust
[INFO] tweaked toml for git repo https://github.com/gitee2github/libgdbm-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gitee2github/libgdbm-rust on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/gitee2github/libgdbm-rust already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `gdbm-for-rust` (manifest) generated 1 warning
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 83646a265f853e92d4ffdcde9964ddca6661416251919f199c4517bd61998364
[INFO] running `"docker" "start" "83646a265f853e92d4ffdcde9964ddca6661416251919f199c4517bd61998364"`
[INFO] running `"docker" "inspect" "83646a265f853e92d4ffdcde9964ddca6661416251919f199c4517bd61998364"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "83646a265f853e92d4ffdcde9964ddca6661416251919f199c4517bd61998364" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "83646a265f853e92d4ffdcde9964ddca6661416251919f199c4517bd61998364"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "83646a265f853e92d4ffdcde9964ddca6661416251919f199c4517bd61998364" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `gdbm-for-rust` (manifest) generated 1 warning
[INFO] [stderr]    Compiling proc-macro2 v1.0.49
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling c2rust-asm-casts v0.2.0
[INFO] [stderr]    Compiling dunce v0.1.1
[INFO] [stderr]    Compiling cc v1.0.78
[INFO] [stderr]    Compiling quote v1.0.23
[INFO] [stderr]    Compiling c2rust-bitfields-derive v0.2.1
[INFO] [stderr]    Compiling c2rust-bitfields v0.3.0
[INFO] [stderr]    Compiling gdbm-for-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub extern fn double_input(input: i32) -> i32 {
[INFO] [stdout]    |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub extern fn add(input: i32) -> i32 {
[INFO] [stdout]    |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]    --> src/lib.rs:508:1
[INFO] [stdout]     |
[INFO] [stdout] 508 | #[macro_use]
[INFO] [stdout]     | ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: formatting may not be suitable for sub-register argument
[INFO] [stdout]     --> src/lib.rs:1888:28
[INFO] [stdout]      |
[INFO] [stdout] 1888 |                     "bswap {0}", inlateout(reg)
[INFO] [stdout]      |                            ^^^
[INFO] [stdout] 1889 |                     c2rust_asm_casts::AsmCast::cast_in(fresh0, fresh2) => fresh1,
[INFO] [stdout]      |                     -------------------------------------------------- for this argument
[INFO] [stdout]      |
[INFO] [stdout]      = help: use `{0:e}` to have the register formatted as `eax` (for 4-byte values)
[INFO] [stdout]      = help: or use `{0:r}` to keep the default formatting of `rax` (for 8-byte values)
[INFO] [stdout]      = note: `#[warn(asm_sub_register)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: formatting may not be suitable for sub-register argument
[INFO] [stdout]     --> src/lib.rs:1943:40
[INFO] [stdout]      |
[INFO] [stdout] 1943 | ...                   "bswap {0}", inlateout(reg)
[INFO] [stdout]      |                              ^^^
[INFO] [stdout] 1944 | ...                   c2rust_asm_casts::AsmCast::cast_in(fresh3, fresh5) =>
[INFO] [stdout]      |                       -------------------------------------------------- for this argument
[INFO] [stdout]      |
[INFO] [stdout]      = help: use `{0:e}` to have the register formatted as `eax` (for 4-byte values)
[INFO] [stdout]      = help: or use `{0:r}` to keep the default formatting of `rax` (for 8-byte values)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: formatting may not be suitable for sub-register argument
[INFO] [stdout]     --> src/lib.rs:2107:44
[INFO] [stdout]      |
[INFO] [stdout] 2107 | ...                   "bswap {0}", inlateout(reg)
[INFO] [stdout]      |                              ^^^
[INFO] [stdout] 2108 | ...                   c2rust_asm_casts::AsmCast::cast_in(fresh0, fresh2) =>
[INFO] [stdout]      |                       -------------------------------------------------- for this argument
[INFO] [stdout]      |
[INFO] [stdout]      = help: use `{0:e}` to have the register formatted as `eax` (for 4-byte values)
[INFO] [stdout]      = help: or use `{0:r}` to keep the default formatting of `rax` (for 8-byte values)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: formatting may not be suitable for sub-register argument
[INFO] [stdout]     --> src/lib.rs:2152:44
[INFO] [stdout]      |
[INFO] [stdout] 2152 | ...                   "bswap {0}", inlateout(reg)
[INFO] [stdout]      |                              ^^^
[INFO] [stdout] 2153 | ...                   c2rust_asm_casts::AsmCast::cast_in(fresh3, fresh5) =>
[INFO] [stdout]      |                       -------------------------------------------------- for this argument
[INFO] [stdout]      |
[INFO] [stdout]      = help: use `{0:e}` to have the register formatted as `eax` (for 4-byte values)
[INFO] [stdout]      = help: or use `{0:r}` to keep the default formatting of `rax` (for 8-byte values)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/lib.rs:5781:55
[INFO] [stdout]      |
[INFO] [stdout] 5781 | static mut setopt_handler_tab: [setopt_handler; 22] = unsafe {
[INFO] [stdout]      |                                                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: suspicious definition of the runtime `malloc` symbol used by the standard library
[INFO] [stdout]   --> src/lib.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn malloc(_: libc::c_ulong) -> *mut libc::c_void;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected `unsafe extern "C" fn(usize) -> *mut c_void` (for the current target)
[INFO] [stdout]               found `unsafe extern "C" fn(u64) -> *mut c_void`
[INFO] [stdout]    = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "malloc")]`, or `#[link_name = "malloc"]`
[INFO] [stdout]    = help: allow this lint if the signature is compatible
[INFO] [stdout]    = note: `#[warn(suspicious_runtime_symbol_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: suspicious definition of the runtime `realloc` symbol used by the standard library
[INFO] [stdout]   --> src/lib.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 63 |     fn realloc(_: *mut libc::c_void, _: libc::c_ulong) -> *mut libc::c_void;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected `unsafe extern "C" fn(*mut c_void, usize) -> *mut c_void` (for the current target)
[INFO] [stdout]               found `unsafe extern "C" fn(*mut c_void, u64) -> *mut c_void`
[INFO] [stdout]    = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "realloc")]`, or `#[link_name = "realloc"]`
[INFO] [stdout]    = help: allow this lint if the signature is compatible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: suspicious definition of the runtime `strlen` symbol used by the standard library
[INFO] [stdout]   --> src/lib.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 71 |     fn strlen(_: *const libc::c_char) -> libc::c_ulong;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected `unsafe extern "C" fn(*const i8) -> usize` (for the current target)
[INFO] [stdout]               found `unsafe extern "C" fn(*const i8) -> u64`
[INFO] [stdout]    = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "strlen")]`, or `#[link_name = "strlen"]`
[INFO] [stdout]    = help: allow this lint if the signature is compatible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: suspicious definition of the runtime `read` symbol used by the standard library
[INFO] [stdout]   --> src/lib.rs:79:5
[INFO] [stdout]    |
[INFO] [stdout] 79 |     fn read(__fd: libc::c_int, __buf: *mut libc::c_void, __nbytes: size_t) -> ssize_t;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected `unsafe extern "C" fn(i32, *mut c_void, usize) -> isize` (for the current target)
[INFO] [stdout]               found `unsafe extern "C" fn(i32, *mut c_void, u64) -> i64`
[INFO] [stdout]    = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "read")]`, or `#[link_name = "read"]`
[INFO] [stdout]    = help: allow this lint if the signature is compatible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: suspicious definition of the runtime `write` symbol used by the standard library
[INFO] [stdout]   --> src/lib.rs:80:5
[INFO] [stdout]    |
[INFO] [stdout] 80 |     fn write(__fd: libc::c_int, __buf: *const libc::c_void, __n: size_t) -> ssize_t;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected `unsafe extern "C" fn(i32, *const c_void, usize) -> isize` (for the current target)
[INFO] [stdout]               found `unsafe extern "C" fn(i32, *const c_void, u64) -> i64`
[INFO] [stdout]    = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "write")]`, or `#[link_name = "write"]`
[INFO] [stdout]    = help: allow this lint if the signature is compatible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: suspicious definition of the runtime `memmove` symbol used by the standard library
[INFO] [stdout]    --> src/lib.rs:114:5
[INFO] [stdout]     |
[INFO] [stdout] 114 | /     fn memmove(
[INFO] [stdout] 115 | |         _: *mut libc::c_void,
[INFO] [stdout] 116 | |         _: *const libc::c_void,
[INFO] [stdout] 117 | |         _: libc::c_ulong,
[INFO] [stdout] 118 | |     ) -> *mut libc::c_void;
[INFO] [stdout]     | |___________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected `unsafe extern "C" fn(*mut c_void, *const c_void, usize) -> *mut c_void` (for the current target)
[INFO] [stdout]                found `unsafe extern "C" fn(*mut c_void, *const c_void, u64) -> *mut c_void`
[INFO] [stdout]     = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "memmove")]`, or `#[link_name = "memmove"]`
[INFO] [stdout]     = help: allow this lint if the signature is compatible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: suspicious definition of the runtime `memcpy` symbol used by the standard library
[INFO] [stdout]    --> src/lib.rs:120:5
[INFO] [stdout]     |
[INFO] [stdout] 120 | /     fn memcpy(
[INFO] [stdout] 121 | |         _: *mut libc::c_void,
[INFO] [stdout] 122 | |         _: *const libc::c_void,
[INFO] [stdout] 123 | |         _: libc::c_ulong,
[INFO] [stdout] 124 | |     ) -> *mut libc::c_void;
[INFO] [stdout]     | |___________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected `unsafe extern "C" fn(*mut c_void, *const c_void, usize) -> *mut c_void` (for the current target)
[INFO] [stdout]                found `unsafe extern "C" fn(*mut c_void, *const c_void, u64) -> *mut c_void`
[INFO] [stdout]     = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "memcpy")]`, or `#[link_name = "memcpy"]`
[INFO] [stdout]     = help: allow this lint if the signature is compatible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: suspicious definition of the runtime `memset` symbol used by the standard library
[INFO] [stdout]    --> src/lib.rs:152:5
[INFO] [stdout]     |
[INFO] [stdout] 152 | /     fn memset(
[INFO] [stdout] 153 | |         _: *mut libc::c_void,
[INFO] [stdout] 154 | |         _: libc::c_int,
[INFO] [stdout] 155 | |         _: libc::c_ulong,
[INFO] [stdout] 156 | |     ) -> *mut libc::c_void;
[INFO] [stdout]     | |___________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected `unsafe extern "C" fn(*mut c_void, i32, usize) -> *mut c_void` (for the current target)
[INFO] [stdout]                found `unsafe extern "C" fn(*mut c_void, i32, u64) -> *mut c_void`
[INFO] [stdout]     = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "memset")]`, or `#[link_name = "memset"]`
[INFO] [stdout]     = help: allow this lint if the signature is compatible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: suspicious definition of the runtime `memcmp` symbol used by the standard library
[INFO] [stdout]    --> src/lib.rs:160:5
[INFO] [stdout]     |
[INFO] [stdout] 160 | /     fn memcmp(
[INFO] [stdout] 161 | |         _: *const libc::c_void,
[INFO] [stdout] 162 | |         _: *const libc::c_void,
[INFO] [stdout] 163 | |         _: libc::c_ulong,
[INFO] [stdout] 164 | |     ) -> libc::c_int;
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected `unsafe extern "C" fn(*const c_void, *const c_void, usize) -> i32` (for the current target)
[INFO] [stdout]                found `unsafe extern "C" fn(*const c_void, *const c_void, u64) -> i32`
[INFO] [stdout]     = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "memcmp")]`, or `#[link_name = "memcmp"]`
[INFO] [stdout]     = help: allow this lint if the signature is compatible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:796:12
[INFO] [stdout]     |
[INFO] [stdout] 796 |     return &mut gdbm_errno_storage;
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 796 |     return &raw mut gdbm_errno_storage;
[INFO] [stdout]     |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:809:13
[INFO] [stdout]     |
[INFO] [stdout] 809 |         if *gdbm_syserr.as_ptr().offset(ec as isize) != 0 {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused unary operation that must be used
[INFO] [stdout]     --> src/lib.rs:1523:9
[INFO] [stdout]      |
[INFO] [stdout] 1523 |         !(return_val.dptr).is_null();
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the unary operation produces a value
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stdout]      |
[INFO] [stdout] 1523 |         let _ = !(return_val.dptr).is_null();
[INFO] [stdout]      |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused unary operation that must be used
[INFO] [stdout]     --> src/lib.rs:1554:5
[INFO] [stdout]      |
[INFO] [stdout] 1554 |     !(return_val.dptr).is_null();
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the unary operation produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stdout]      |
[INFO] [stdout] 1554 |     let _ = !(return_val.dptr).is_null();
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/lib.rs:4533:43
[INFO] [stdout]      |
[INFO] [stdout] 4533 |     let mut p: *mut libc::c_char = strchr(xdig.as_mut_ptr(), c);
[INFO] [stdout]      |                                           ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/lib.rs:4537:26
[INFO] [stdout]      |
[INFO] [stdout] 4537 |     return p.offset_from(xdig.as_mut_ptr()) as libc::c_long as libc::c_int;
[INFO] [stdout]      |                          ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: unused dependency `cc`
[INFO] [stderr]  --> Cargo.toml:4:1
[INFO] [stderr]   |
[INFO] [stderr] 4 | cc = "1.0"
[INFO] [stderr]   | ^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `cc`
[INFO] [stderr] warning: unused dependency `dunce`
[INFO] [stderr]  --> Cargo.toml:5:1
[INFO] [stderr]   |
[INFO] [stderr] 5 | dunce = "0.1.1"
[INFO] [stderr]   | ^^^^^
[INFO] [stderr]   |
[INFO] [stderr] help: consider removing the dependency on `dunce`
[INFO] [stderr] warning: `gdbm-for-rust` (manifest) generated 2 warnings
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 8.40s
[INFO] running `"docker" "inspect" "83646a265f853e92d4ffdcde9964ddca6661416251919f199c4517bd61998364"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "83646a265f853e92d4ffdcde9964ddca6661416251919f199c4517bd61998364" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `gdbm-for-rust` (manifest) generated 1 warning
[INFO] [stderr]    Compiling gdbm-for-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub extern fn double_input(input: i32) -> i32 {
[INFO] [stdout]    |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub extern fn add(input: i32) -> i32 {
[INFO] [stdout]    |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]    --> src/lib.rs:508:1
[INFO] [stdout]     |
[INFO] [stdout] 508 | #[macro_use]
[INFO] [stdout]     | ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: formatting may not be suitable for sub-register argument
[INFO] [stdout]     --> src/lib.rs:1888:28
[INFO] [stdout]      |
[INFO] [stdout] 1888 |                     "bswap {0}", inlateout(reg)
[INFO] [stdout]      |                            ^^^
[INFO] [stdout] 1889 |                     c2rust_asm_casts::AsmCast::cast_in(fresh0, fresh2) => fresh1,
[INFO] [stdout]      |                     -------------------------------------------------- for this argument
[INFO] [stdout]      |
[INFO] [stdout]      = help: use `{0:e}` to have the register formatted as `eax` (for 4-byte values)
[INFO] [stdout]      = help: or use `{0:r}` to keep the default formatting of `rax` (for 8-byte values)
[INFO] [stdout]      = note: `#[warn(asm_sub_register)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: formatting may not be suitable for sub-register argument
[INFO] [stdout]     --> src/lib.rs:1943:40
[INFO] [stdout]      |
[INFO] [stdout] 1943 | ...                   "bswap {0}", inlateout(reg)
[INFO] [stdout]      |                              ^^^
[INFO] [stdout] 1944 | ...                   c2rust_asm_casts::AsmCast::cast_in(fresh3, fresh5) =>
[INFO] [stdout]      |                       -------------------------------------------------- for this argument
[INFO] [stdout]      |
[INFO] [stdout]      = help: use `{0:e}` to have the register formatted as `eax` (for 4-byte values)
[INFO] [stdout]      = help: or use `{0:r}` to keep the default formatting of `rax` (for 8-byte values)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: formatting may not be suitable for sub-register argument
[INFO] [stdout]     --> src/lib.rs:2107:44
[INFO] [stdout]      |
[INFO] [stdout] 2107 | ...                   "bswap {0}", inlateout(reg)
[INFO] [stdout]      |                              ^^^
[INFO] [stdout] 2108 | ...                   c2rust_asm_casts::AsmCast::cast_in(fresh0, fresh2) =>
[INFO] [stdout]      |                       -------------------------------------------------- for this argument
[INFO] [stdout]      |
[INFO] [stdout]      = help: use `{0:e}` to have the register formatted as `eax` (for 4-byte values)
[INFO] [stdout]      = help: or use `{0:r}` to keep the default formatting of `rax` (for 8-byte values)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: formatting may not be suitable for sub-register argument
[INFO] [stdout]     --> src/lib.rs:2152:44
[INFO] [stdout]      |
[INFO] [stdout] 2152 | ...                   "bswap {0}", inlateout(reg)
[INFO] [stdout]      |                              ^^^
[INFO] [stdout] 2153 | ...                   c2rust_asm_casts::AsmCast::cast_in(fresh3, fresh5) =>
[INFO] [stdout]      |                       -------------------------------------------------- for this argument
[INFO] [stdout]      |
[INFO] [stdout]      = help: use `{0:e}` to have the register formatted as `eax` (for 4-byte values)
[INFO] [stdout]      = help: or use `{0:r}` to keep the default formatting of `rax` (for 8-byte values)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/lib.rs:5781:55
[INFO] [stdout]      |
[INFO] [stdout] 5781 | static mut setopt_handler_tab: [setopt_handler; 22] = unsafe {
[INFO] [stdout]      |                                                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: suspicious definition of the runtime `malloc` symbol used by the standard library
[INFO] [stdout]   --> src/lib.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn malloc(_: libc::c_ulong) -> *mut libc::c_void;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected `unsafe extern "C" fn(usize) -> *mut c_void` (for the current target)
[INFO] [stdout]               found `unsafe extern "C" fn(u64) -> *mut c_void`
[INFO] [stdout]    = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "malloc")]`, or `#[link_name = "malloc"]`
[INFO] [stdout]    = help: allow this lint if the signature is compatible
[INFO] [stdout]    = note: `#[warn(suspicious_runtime_symbol_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: suspicious definition of the runtime `realloc` symbol used by the standard library
[INFO] [stdout]   --> src/lib.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 63 |     fn realloc(_: *mut libc::c_void, _: libc::c_ulong) -> *mut libc::c_void;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected `unsafe extern "C" fn(*mut c_void, usize) -> *mut c_void` (for the current target)
[INFO] [stdout]               found `unsafe extern "C" fn(*mut c_void, u64) -> *mut c_void`
[INFO] [stdout]    = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "realloc")]`, or `#[link_name = "realloc"]`
[INFO] [stdout]    = help: allow this lint if the signature is compatible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: suspicious definition of the runtime `strlen` symbol used by the standard library
[INFO] [stdout]   --> src/lib.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 71 |     fn strlen(_: *const libc::c_char) -> libc::c_ulong;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected `unsafe extern "C" fn(*const i8) -> usize` (for the current target)
[INFO] [stdout]               found `unsafe extern "C" fn(*const i8) -> u64`
[INFO] [stdout]    = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "strlen")]`, or `#[link_name = "strlen"]`
[INFO] [stdout]    = help: allow this lint if the signature is compatible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: suspicious definition of the runtime `read` symbol used by the standard library
[INFO] [stdout]   --> src/lib.rs:79:5
[INFO] [stdout]    |
[INFO] [stdout] 79 |     fn read(__fd: libc::c_int, __buf: *mut libc::c_void, __nbytes: size_t) -> ssize_t;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected `unsafe extern "C" fn(i32, *mut c_void, usize) -> isize` (for the current target)
[INFO] [stdout]               found `unsafe extern "C" fn(i32, *mut c_void, u64) -> i64`
[INFO] [stdout]    = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "read")]`, or `#[link_name = "read"]`
[INFO] [stdout]    = help: allow this lint if the signature is compatible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: suspicious definition of the runtime `write` symbol used by the standard library
[INFO] [stdout]   --> src/lib.rs:80:5
[INFO] [stdout]    |
[INFO] [stdout] 80 |     fn write(__fd: libc::c_int, __buf: *const libc::c_void, __n: size_t) -> ssize_t;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected `unsafe extern "C" fn(i32, *const c_void, usize) -> isize` (for the current target)
[INFO] [stdout]               found `unsafe extern "C" fn(i32, *const c_void, u64) -> i64`
[INFO] [stdout]    = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "write")]`, or `#[link_name = "write"]`
[INFO] [stdout]    = help: allow this lint if the signature is compatible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: suspicious definition of the runtime `memmove` symbol used by the standard library
[INFO] [stdout]    --> src/lib.rs:114:5
[INFO] [stdout]     |
[INFO] [stdout] 114 | /     fn memmove(
[INFO] [stdout] 115 | |         _: *mut libc::c_void,
[INFO] [stdout] 116 | |         _: *const libc::c_void,
[INFO] [stdout] 117 | |         _: libc::c_ulong,
[INFO] [stdout] 118 | |     ) -> *mut libc::c_void;
[INFO] [stdout]     | |___________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected `unsafe extern "C" fn(*mut c_void, *const c_void, usize) -> *mut c_void` (for the current target)
[INFO] [stdout]                found `unsafe extern "C" fn(*mut c_void, *const c_void, u64) -> *mut c_void`
[INFO] [stdout]     = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "memmove")]`, or `#[link_name = "memmove"]`
[INFO] [stdout]     = help: allow this lint if the signature is compatible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: suspicious definition of the runtime `memcpy` symbol used by the standard library
[INFO] [stdout]    --> src/lib.rs:120:5
[INFO] [stdout]     |
[INFO] [stdout] 120 | /     fn memcpy(
[INFO] [stdout] 121 | |         _: *mut libc::c_void,
[INFO] [stdout] 122 | |         _: *const libc::c_void,
[INFO] [stdout] 123 | |         _: libc::c_ulong,
[INFO] [stdout] 124 | |     ) -> *mut libc::c_void;
[INFO] [stdout]     | |___________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected `unsafe extern "C" fn(*mut c_void, *const c_void, usize) -> *mut c_void` (for the current target)
[INFO] [stdout]                found `unsafe extern "C" fn(*mut c_void, *const c_void, u64) -> *mut c_void`
[INFO] [stdout]     = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "memcpy")]`, or `#[link_name = "memcpy"]`
[INFO] [stdout]     = help: allow this lint if the signature is compatible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: suspicious definition of the runtime `memset` symbol used by the standard library
[INFO] [stdout]    --> src/lib.rs:152:5
[INFO] [stdout]     |
[INFO] [stdout] 152 | /     fn memset(
[INFO] [stdout] 153 | |         _: *mut libc::c_void,
[INFO] [stdout] 154 | |         _: libc::c_int,
[INFO] [stdout] 155 | |         _: libc::c_ulong,
[INFO] [stdout] 156 | |     ) -> *mut libc::c_void;
[INFO] [stdout]     | |___________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected `unsafe extern "C" fn(*mut c_void, i32, usize) -> *mut c_void` (for the current target)
[INFO] [stdout]                found `unsafe extern "C" fn(*mut c_void, i32, u64) -> *mut c_void`
[INFO] [stdout]     = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "memset")]`, or `#[link_name = "memset"]`
[INFO] [stdout]     = help: allow this lint if the signature is compatible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: suspicious definition of the runtime `memcmp` symbol used by the standard library
[INFO] [stdout]    --> src/lib.rs:160:5
[INFO] [stdout]     |
[INFO] [stdout] 160 | /     fn memcmp(
[INFO] [stdout] 161 | |         _: *const libc::c_void,
[INFO] [stdout] 162 | |         _: *const libc::c_void,
[INFO] [stdout] 163 | |         _: libc::c_ulong,
[INFO] [stdout] 164 | |     ) -> libc::c_int;
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected `unsafe extern "C" fn(*const c_void, *const c_void, usize) -> i32` (for the current target)
[INFO] [stdout]                found `unsafe extern "C" fn(*const c_void, *const c_void, u64) -> i32`
[INFO] [stdout]     = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "memcmp")]`, or `#[link_name = "memcmp"]`
[INFO] [stdout]     = help: allow this lint if the signature is compatible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:796:12
[INFO] [stdout]     |
[INFO] [stdout] 796 |     return &mut gdbm_errno_storage;
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 796 |     return &raw mut gdbm_errno_storage;
[INFO] [stdout]     |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:809:13
[INFO] [stdout]     |
[INFO] [stdout] 809 |         if *gdbm_syserr.as_ptr().offset(ec as isize) != 0 {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused unary operation that must be used
[INFO] [stdout]     --> src/lib.rs:1523:9
[INFO] [stdout]      |
[INFO] [stdout] 1523 |         !(return_val.dptr).is_null();
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the unary operation produces a value
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stdout]      |
[INFO] [stdout] 1523 |         let _ = !(return_val.dptr).is_null();
[INFO] [stdout]      |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused unary operation that must be used
[INFO] [stdout]     --> src/lib.rs:1554:5
[INFO] [stdout]      |
[INFO] [stdout] 1554 |     !(return_val.dptr).is_null();
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the unary operation produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stdout]      |
[INFO] [stdout] 1554 |     let _ = !(return_val.dptr).is_null();
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/lib.rs:4533:43
[INFO] [stdout]      |
[INFO] [stdout] 4533 |     let mut p: *mut libc::c_char = strchr(xdig.as_mut_ptr(), c);
[INFO] [stdout]      |                                           ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/lib.rs:4537:26
[INFO] [stdout]      |
[INFO] [stdout] 4537 |     return p.offset_from(xdig.as_mut_ptr()) as libc::c_long as libc::c_int;
[INFO] [stdout]      |                          ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1.51s
[INFO] running `"docker" "inspect" "83646a265f853e92d4ffdcde9964ddca6661416251919f199c4517bd61998364"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "83646a265f853e92d4ffdcde9964ddca6661416251919f199c4517bd61998364" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--release"`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `gdbm-for-rust` (manifest) generated 1 warning
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]   --> src/lib.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr] 24 | pub extern fn double_input(input: i32) -> i32 {
[INFO] [stderr]    |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(missing_abi)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]   --> src/lib.rs:29:5
[INFO] [stderr]    |
[INFO] [stderr] 29 | pub extern fn add(input: i32) -> i32 {
[INFO] [stderr]    |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr] 
[INFO] [stderr] warning: unused `#[macro_use]` import
[INFO] [stderr]    --> src/lib.rs:508:1
[INFO] [stderr]     |
[INFO] [stderr] 508 | #[macro_use]
[INFO] [stderr]     | ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: formatting may not be suitable for sub-register argument
[INFO] [stderr]     --> src/lib.rs:1888:28
[INFO] [stderr]      |
[INFO] [stderr] 1888 |                     "bswap {0}", inlateout(reg)
[INFO] [stderr]      |                            ^^^
[INFO] [stderr] 1889 |                     c2rust_asm_casts::AsmCast::cast_in(fresh0, fresh2) => fresh1,
[INFO] [stderr]      |                     -------------------------------------------------- for this argument
[INFO] [stderr]      |
[INFO] [stderr]      = help: use `{0:e}` to have the register formatted as `eax` (for 4-byte values)
[INFO] [stderr]      = help: or use `{0:r}` to keep the default formatting of `rax` (for 8-byte values)
[INFO] [stderr]      = note: `#[warn(asm_sub_register)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: formatting may not be suitable for sub-register argument
[INFO] [stderr]     --> src/lib.rs:1943:40
[INFO] [stderr]      |
[INFO] [stderr] 1943 | ...                   "bswap {0}", inlateout(reg)
[INFO] [stderr]      |                              ^^^
[INFO] [stderr] 1944 | ...                   c2rust_asm_casts::AsmCast::cast_in(fresh3, fresh5) =>
[INFO] [stderr]      |                       -------------------------------------------------- for this argument
[INFO] [stderr]      |
[INFO] [stderr]      = help: use `{0:e}` to have the register formatted as `eax` (for 4-byte values)
[INFO] [stderr]      = help: or use `{0:r}` to keep the default formatting of `rax` (for 8-byte values)
[INFO] [stderr] 
[INFO] [stderr] warning: formatting may not be suitable for sub-register argument
[INFO] [stderr]     --> src/lib.rs:2107:44
[INFO] [stderr]      |
[INFO] [stderr] 2107 | ...                   "bswap {0}", inlateout(reg)
[INFO] [stderr]      |                              ^^^
[INFO] [stderr] 2108 | ...                   c2rust_asm_casts::AsmCast::cast_in(fresh0, fresh2) =>
[INFO] [stderr]      |                       -------------------------------------------------- for this argument
[INFO] [stderr]      |
[INFO] [stderr]      = help: use `{0:e}` to have the register formatted as `eax` (for 4-byte values)
[INFO] [stderr]      = help: or use `{0:r}` to keep the default formatting of `rax` (for 8-byte values)
[INFO] [stderr] 
[INFO] [stderr] warning: formatting may not be suitable for sub-register argument
[INFO] [stderr]     --> src/lib.rs:2152:44
[INFO] [stderr]      |
[INFO] [stderr] 2152 | ...                   "bswap {0}", inlateout(reg)
[INFO] [stderr]      |                              ^^^
[INFO] [stderr] 2153 | ...                   c2rust_asm_casts::AsmCast::cast_in(fresh3, fresh5) =>
[INFO] [stderr]      |                       -------------------------------------------------- for this argument
[INFO] [stderr]      |
[INFO] [stderr]      = help: use `{0:e}` to have the register formatted as `eax` (for 4-byte values)
[INFO] [stderr]      = help: or use `{0:r}` to keep the default formatting of `rax` (for 8-byte values)
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]     --> src/lib.rs:5781:55
[INFO] [stderr]      |
[INFO] [stderr] 5781 | static mut setopt_handler_tab: [setopt_handler; 22] = unsafe {
[INFO] [stderr]      |                                                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: suspicious definition of the runtime `malloc` symbol used by the standard library
[INFO] [stderr]   --> src/lib.rs:36:5
[INFO] [stderr]    |
[INFO] [stderr] 36 |     fn malloc(_: libc::c_ulong) -> *mut libc::c_void;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected `unsafe extern "C" fn(usize) -> *mut c_void` (for the current target)
[INFO] [stderr]               found `unsafe extern "C" fn(u64) -> *mut c_void`
[INFO] [stderr]    = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "malloc")]`, or `#[link_name = "malloc"]`
[INFO] [stderr]    = help: allow this lint if the signature is compatible
[INFO] [stderr]    = note: `#[warn(suspicious_runtime_symbol_definitions)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: suspicious definition of the runtime `realloc` symbol used by the standard library
[INFO] [stderr]   --> src/lib.rs:63:5
[INFO] [stderr]    |
[INFO] [stderr] 63 |     fn realloc(_: *mut libc::c_void, _: libc::c_ulong) -> *mut libc::c_void;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected `unsafe extern "C" fn(*mut c_void, usize) -> *mut c_void` (for the current target)
[INFO] [stderr]               found `unsafe extern "C" fn(*mut c_void, u64) -> *mut c_void`
[INFO] [stderr]    = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "realloc")]`, or `#[link_name = "realloc"]`
[INFO] [stderr]    = help: allow this lint if the signature is compatible
[INFO] [stderr] 
[INFO] [stderr] warning: suspicious definition of the runtime `strlen` symbol used by the standard library
[INFO] [stderr]   --> src/lib.rs:71:5
[INFO] [stderr]    |
[INFO] [stderr] 71 |     fn strlen(_: *const libc::c_char) -> libc::c_ulong;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected `unsafe extern "C" fn(*const i8) -> usize` (for the current target)
[INFO] [stderr]               found `unsafe extern "C" fn(*const i8) -> u64`
[INFO] [stderr]    = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "strlen")]`, or `#[link_name = "strlen"]`
[INFO] [stderr]    = help: allow this lint if the signature is compatible
[INFO] [stderr] 
[INFO] [stderr] warning: suspicious definition of the runtime `read` symbol used by the standard library
[INFO] [stderr]   --> src/lib.rs:79:5
[INFO] [stderr]    |
[INFO] [stderr] 79 |     fn read(__fd: libc::c_int, __buf: *mut libc::c_void, __nbytes: size_t) -> ssize_t;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected `unsafe extern "C" fn(i32, *mut c_void, usize) -> isize` (for the current target)
[INFO] [stderr]               found `unsafe extern "C" fn(i32, *mut c_void, u64) -> i64`
[INFO] [stderr]    = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "read")]`, or `#[link_name = "read"]`
[INFO] [stderr]    = help: allow this lint if the signature is compatible
[INFO] [stderr] 
[INFO] [stderr] warning: suspicious definition of the runtime `write` symbol used by the standard library
[INFO] [stderr]   --> src/lib.rs:80:5
[INFO] [stderr]    |
[INFO] [stderr] 80 |     fn write(__fd: libc::c_int, __buf: *const libc::c_void, __n: size_t) -> ssize_t;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected `unsafe extern "C" fn(i32, *const c_void, usize) -> isize` (for the current target)
[INFO] [stderr]               found `unsafe extern "C" fn(i32, *const c_void, u64) -> i64`
[INFO] [stderr]    = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "write")]`, or `#[link_name = "write"]`
[INFO] [stderr]    = help: allow this lint if the signature is compatible
[INFO] [stderr] 
[INFO] [stderr] warning: suspicious definition of the runtime `memmove` symbol used by the standard library
[INFO] [stderr]    --> src/lib.rs:114:5
[INFO] [stderr]     |
[INFO] [stderr] 114 | /     fn memmove(
[INFO] [stderr] 115 | |         _: *mut libc::c_void,
[INFO] [stderr] 116 | |         _: *const libc::c_void,
[INFO] [stderr] 117 | |         _: libc::c_ulong,
[INFO] [stderr] 118 | |     ) -> *mut libc::c_void;
[INFO] [stderr]     | |___________________________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected `unsafe extern "C" fn(*mut c_void, *const c_void, usize) -> *mut c_void` (for the current target)
[INFO] [stderr]                found `unsafe extern "C" fn(*mut c_void, *const c_void, u64) -> *mut c_void`
[INFO] [stderr]     = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "memmove")]`, or `#[link_name = "memmove"]`
[INFO] [stderr]     = help: allow this lint if the signature is compatible
[INFO] [stderr] 
[INFO] [stderr] warning: suspicious definition of the runtime `memcpy` symbol used by the standard library
[INFO] [stderr]    --> src/lib.rs:120:5
[INFO] [stderr]     |
[INFO] [stderr] 120 | /     fn memcpy(
[INFO] [stderr] 121 | |         _: *mut libc::c_void,
[INFO] [stderr] 122 | |         _: *const libc::c_void,
[INFO] [stderr] 123 | |         _: libc::c_ulong,
[INFO] [stderr] 124 | |     ) -> *mut libc::c_void;
[INFO] [stderr]     | |___________________________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected `unsafe extern "C" fn(*mut c_void, *const c_void, usize) -> *mut c_void` (for the current target)
[INFO] [stderr]                found `unsafe extern "C" fn(*mut c_void, *const c_void, u64) -> *mut c_void`
[INFO] [stderr]     = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "memcpy")]`, or `#[link_name = "memcpy"]`
[INFO] [stderr]     = help: allow this lint if the signature is compatible
[INFO] [stderr] 
[INFO] [stderr] warning: suspicious definition of the runtime `memset` symbol used by the standard library
[INFO] [stderr]    --> src/lib.rs:152:5
[INFO] [stderr]     |
[INFO] [stderr] 152 | /     fn memset(
[INFO] [stderr] 153 | |         _: *mut libc::c_void,
[INFO] [stderr] 154 | |         _: libc::c_int,
[INFO] [stderr] 155 | |         _: libc::c_ulong,
[INFO] [stderr] 156 | |     ) -> *mut libc::c_void;
[INFO] [stderr]     | |___________________________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected `unsafe extern "C" fn(*mut c_void, i32, usize) -> *mut c_void` (for the current target)
[INFO] [stderr]                found `unsafe extern "C" fn(*mut c_void, i32, u64) -> *mut c_void`
[INFO] [stderr]     = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "memset")]`, or `#[link_name = "memset"]`
[INFO] [stderr]     = help: allow this lint if the signature is compatible
[INFO] [stderr] 
[INFO] [stderr] warning: suspicious definition of the runtime `memcmp` symbol used by the standard library
[INFO] [stderr]    --> src/lib.rs:160:5
[INFO] [stderr]     |
[INFO] [stderr] 160 | /     fn memcmp(
[INFO] [stderr] 161 | |         _: *const libc::c_void,
[INFO] [stderr] 162 | |         _: *const libc::c_void,
[INFO] [stderr] 163 | |         _: libc::c_ulong,
[INFO] [stderr] 164 | |     ) -> libc::c_int;
[INFO] [stderr]     | |_____________________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected `unsafe extern "C" fn(*const c_void, *const c_void, usize) -> i32` (for the current target)
[INFO] [stderr]                found `unsafe extern "C" fn(*const c_void, *const c_void, u64) -> i32`
[INFO] [stderr]     = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "memcmp")]`, or `#[link_name = "memcmp"]`
[INFO] [stderr]     = help: allow this lint if the signature is compatible
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> src/lib.rs:796:12
[INFO] [stderr]     |
[INFO] [stderr] 796 |     return &mut gdbm_errno_storage;
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] help: use `&raw mut` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 796 |     return &raw mut gdbm_errno_storage;
[INFO] [stderr]     |             +++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/lib.rs:809:13
[INFO] [stderr]     |
[INFO] [stderr] 809 |         if *gdbm_syserr.as_ptr().offset(ec as isize) != 0 {
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: unused unary operation that must be used
[INFO] [stderr]     --> src/lib.rs:1523:9
[INFO] [stderr]      |
[INFO] [stderr] 1523 |         !(return_val.dptr).is_null();
[INFO] [stderr]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the unary operation produces a value
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stderr]      |
[INFO] [stderr] 1523 |         let _ = !(return_val.dptr).is_null();
[INFO] [stderr]      |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused unary operation that must be used
[INFO] [stderr]     --> src/lib.rs:1554:5
[INFO] [stderr]      |
[INFO] [stderr] 1554 |     !(return_val.dptr).is_null();
[INFO] [stderr]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the unary operation produces a value
[INFO] [stderr]      |
[INFO] [stderr] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stderr]      |
[INFO] [stderr] 1554 |     let _ = !(return_val.dptr).is_null();
[INFO] [stderr]      |     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]     --> src/lib.rs:4533:43
[INFO] [stderr]      |
[INFO] [stderr] 4533 |     let mut p: *mut libc::c_char = strchr(xdig.as_mut_ptr(), c);
[INFO] [stderr]      |                                           ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]      |
[INFO] [stderr]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]      = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]     --> src/lib.rs:4537:26
[INFO] [stderr]      |
[INFO] [stderr] 4537 |     return p.offset_from(xdig.as_mut_ptr()) as libc::c_long as libc::c_int;
[INFO] [stderr]      |                          ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]      |
[INFO] [stderr]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]      = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `gdbm-for-rust` (lib test) generated 23 warnings (run `cargo fix --lib -p gdbm-for-rust --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/gdbm-for-rust/14b3666554ad6e69/out/gdbm_rust-14b3666554ad6e69)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `"docker" "inspect" "83646a265f853e92d4ffdcde9964ddca6661416251919f199c4517bd61998364"`
[INFO] running `"docker" "rm" "-f" "83646a265f853e92d4ffdcde9964ddca6661416251919f199c4517bd61998364"`
[INFO] [stdout] 83646a265f853e92d4ffdcde9964ddca6661416251919f199c4517bd61998364
