[INFO] fetching crate annoy-rs 0.1.0...
[INFO] testing annoy-rs-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate annoy-rs 0.1.0 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate annoy-rs 0.1.0
[INFO] finished tweaking crates.io crate annoy-rs 0.1.0
[INFO] tweaked toml for crates.io crate annoy-rs 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate annoy-rs 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 22 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 63d689d39b866901aec3f23cb62830016fb2019d75639ede7be013f739da791c
[INFO] running `Command { std: "docker" "start" "-a" "63d689d39b866901aec3f23cb62830016fb2019d75639ede7be013f739da791c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "63d689d39b866901aec3f23cb62830016fb2019d75639ede7be013f739da791c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63d689d39b866901aec3f23cb62830016fb2019d75639ede7be013f739da791c", kill_on_drop: false }`
[INFO] [stdout] 63d689d39b866901aec3f23cb62830016fb2019d75639ede7be013f739da791c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4c877448cffe4bdd93e1364eb104f257a9be5fb2b17ab079cf43e9aa2cce2cbb
[INFO] running `Command { std: "docker" "start" "-a" "4c877448cffe4bdd93e1364eb104f257a9be5fb2b17ab079cf43e9aa2cce2cbb", kill_on_drop: false }`
[INFO] [stderr]    Compiling hashbrown v0.16.0
[INFO] [stderr]    Compiling memmap2 v0.9.9
[INFO] [stderr]    Compiling annoy-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `hashbrown::HashSet`
[INFO] [stdout]  --> src/types/serving/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use hashbrown::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/c_ffi/macros.rs:7:13
[INFO] [stdout]    |
[INFO] [stdout]  7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stdout]    |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/c_ffi/mod.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | / ffi_fn! {
[INFO] [stdout] 14 | |     fn load_annoy_index(path: *const c_char, dimension: i32, index_type: u8) -> *const AnnoyIndex {
[INFO] [stdout] 15 | |         let result = load_annoy_index_inner(path, dimension, index_type);
[INFO] [stdout] 16 | |         return match result {
[INFO] [stdout] ...  |
[INFO] [stdout] 21 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/c_ffi/macros.rs:7:13
[INFO] [stdout]    |
[INFO] [stdout]  7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stdout]    |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/c_ffi/mod.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | / ffi_fn! {
[INFO] [stdout] 36 | |     fn free_annoy_index(index: *const AnnoyIndex) {
[INFO] [stdout] 37 | |         unsafe { Box::from_raw(index as *mut AnnoyIndex); }
[INFO] [stdout] 38 | |     }
[INFO] [stdout] 39 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/c_ffi/macros.rs:7:13
[INFO] [stdout]    |
[INFO] [stdout]  7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stdout]    |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/c_ffi/mod.rs:41:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | / ffi_fn! {
[INFO] [stdout] 42 | |     fn get_dimension(index_ptr: *const AnnoyIndex) -> i32 {
[INFO] [stdout] 43 | |         let index = unsafe { &*index_ptr };
[INFO] [stdout] 44 | |         return index.dimension as i32;
[INFO] [stdout] 45 | |     }
[INFO] [stdout] 46 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/c_ffi/macros.rs:7:13
[INFO] [stdout]    |
[INFO] [stdout]  7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stdout]    |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/c_ffi/mod.rs:48:1
[INFO] [stdout]    |
[INFO] [stdout] 48 | / ffi_fn! {
[INFO] [stdout] 49 | |     fn get_size(index_ptr: *const AnnoyIndex) -> u64 {
[INFO] [stdout] 50 | |         let index = unsafe { &*index_ptr };
[INFO] [stdout] 51 | |         return index.size as u64;
[INFO] [stdout] 52 | |     }
[INFO] [stdout] 53 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/c_ffi/macros.rs:7:13
[INFO] [stdout]    |
[INFO] [stdout]  7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stdout]    |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/c_ffi/mod.rs:55:1
[INFO] [stdout]    |
[INFO] [stdout] 55 | / ffi_fn! {
[INFO] [stdout] 56 | |     fn get_item_vector(index_ptr: *const AnnoyIndex, item_index: u64, item_vector: *mut f32){
[INFO] [stdout] 57 | |         let index = unsafe{&*index_ptr};
[INFO] [stdout] 58 | |         let item_vec = index.get_item_vector(item_index);
[INFO] [stdout] ...  |
[INFO] [stdout] 62 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/c_ffi/macros.rs:7:13
[INFO] [stdout]    |
[INFO] [stdout]  7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stdout]    |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/c_ffi/mod.rs:64:1
[INFO] [stdout]    |
[INFO] [stdout] 64 | / ffi_fn! {
[INFO] [stdout] 65 | |     fn get_nearest(
[INFO] [stdout] 66 | |         index_ptr: *const AnnoyIndex,
[INFO] [stdout] 67 | |         query_vector_ptr: *const f32,
[INFO] [stdout] ...  |
[INFO] [stdout] 77 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/c_ffi/macros.rs:7:13
[INFO] [stdout]    |
[INFO] [stdout]  7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stdout]    |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/c_ffi/mod.rs:79:1
[INFO] [stdout]    |
[INFO] [stdout] 79 | / ffi_fn! {
[INFO] [stdout] 80 | |     fn get_nearest_to_item(
[INFO] [stdout] 81 | |         index_ptr: *const AnnoyIndex,
[INFO] [stdout] 82 | |         item_index: u64,
[INFO] [stdout] ...  |
[INFO] [stdout] 92 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/c_ffi/macros.rs:7:13
[INFO] [stdout]    |
[INFO] [stdout]  7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stdout]    |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/c_ffi/mod.rs:94:1
[INFO] [stdout]    |
[INFO] [stdout] 94 | / ffi_fn! {
[INFO] [stdout] 95 | |     fn free_search_result(search_result_ptr: *const AnnoyIndexSearchResult){
[INFO] [stdout] 96 | |         unsafe { Box::from_raw(search_result_ptr as *mut AnnoyIndexSearchResult); }
[INFO] [stdout] 97 | |     }
[INFO] [stdout] 98 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/c_ffi/macros.rs:7:13
[INFO] [stdout]     |
[INFO] [stdout]   7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stdout]     |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/c_ffi/mod.rs:100:1
[INFO] [stdout]     |
[INFO] [stdout] 100 | / ffi_fn! {
[INFO] [stdout] 101 | |     fn get_result_count(search_result_ptr: *const AnnoyIndexSearchResult) -> u64{
[INFO] [stdout] 102 | |         let search_result = unsafe{&*search_result_ptr};
[INFO] [stdout] 103 | |         return search_result.count as u64;
[INFO] [stdout] 104 | |     }
[INFO] [stdout] 105 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/c_ffi/macros.rs:7:13
[INFO] [stdout]     |
[INFO] [stdout]   7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stdout]     |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/c_ffi/mod.rs:107:1
[INFO] [stdout]     |
[INFO] [stdout] 107 | / ffi_fn! {
[INFO] [stdout] 108 | |     fn get_id_list(search_result_ptr: *const AnnoyIndexSearchResult)->*const u64{
[INFO] [stdout] 109 | |         let search_result = unsafe{&*search_result_ptr};
[INFO] [stdout] 110 | |         return search_result.id_list.as_ptr();
[INFO] [stdout] 111 | |     }
[INFO] [stdout] 112 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/c_ffi/macros.rs:7:13
[INFO] [stdout]     |
[INFO] [stdout]   7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stdout]     |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/c_ffi/mod.rs:114:1
[INFO] [stdout]     |
[INFO] [stdout] 114 | / ffi_fn! {
[INFO] [stdout] 115 | |     fn get_distance_list(search_result_ptr: *const AnnoyIndexSearchResult)->*const f32{
[INFO] [stdout] 116 | |         let search_result = unsafe{&*search_result_ptr};
[INFO] [stdout] 117 | |         return search_result.distance_list.as_ptr();
[INFO] [stdout] 118 | |     }
[INFO] [stdout] 119 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `mmap` and `id` are never read
[INFO] [stdout]  --> src/types/node.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Node {
[INFO] [stdout]   |            ---- fields in this struct
[INFO] [stdout] 7 |     pub mmap: Rc<Mmap>,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 8 |     pub id: usize,
[INFO] [stdout]   |         ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/c_ffi/mod.rs:37:18
[INFO] [stdout]    |
[INFO] [stdout] 37 |         unsafe { Box::from_raw(index as *mut AnnoyIndex); }
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 37 |         unsafe { let _ = Box::from_raw(index as *mut AnnoyIndex); }
[INFO] [stdout]    |                  +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/c_ffi/mod.rs:96:18
[INFO] [stdout]    |
[INFO] [stdout] 96 |         unsafe { Box::from_raw(search_result_ptr as *mut AnnoyIndexSearchResult); }
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 96 |         unsafe { let _ = Box::from_raw(search_result_ptr as *mut AnnoyIndexSearchResult); }
[INFO] [stdout]    |                  +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.20s
[INFO] running `Command { std: "docker" "inspect" "4c877448cffe4bdd93e1364eb104f257a9be5fb2b17ab079cf43e9aa2cce2cbb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4c877448cffe4bdd93e1364eb104f257a9be5fb2b17ab079cf43e9aa2cce2cbb", kill_on_drop: false }`
[INFO] [stdout] 4c877448cffe4bdd93e1364eb104f257a9be5fb2b17ab079cf43e9aa2cce2cbb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f6900d37082e9164ee86d1812b9e54cec49df3ff2177d62a150107040013033e
[INFO] running `Command { std: "docker" "start" "-a" "f6900d37082e9164ee86d1812b9e54cec49df3ff2177d62a150107040013033e", kill_on_drop: false }`
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stdout] warning: unused import: `hashbrown::HashSet`
[INFO] [stdout]  --> src/types/serving/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use hashbrown::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/c_ffi/macros.rs:7:13
[INFO] [stdout]    |
[INFO] [stdout]  7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stdout]    |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/c_ffi/mod.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | / ffi_fn! {
[INFO] [stdout] 14 | |     fn load_annoy_index(path: *const c_char, dimension: i32, index_type: u8) -> *const AnnoyIndex {
[INFO] [stdout] 15 | |         let result = load_annoy_index_inner(path, dimension, index_type);
[INFO] [stdout] 16 | |         return match result {
[INFO] [stdout] ...  |
[INFO] [stdout] 21 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/c_ffi/macros.rs:7:13
[INFO] [stdout]    |
[INFO] [stdout]  7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stdout]    |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/c_ffi/mod.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | / ffi_fn! {
[INFO] [stdout] 36 | |     fn free_annoy_index(index: *const AnnoyIndex) {
[INFO] [stdout] 37 | |         unsafe { Box::from_raw(index as *mut AnnoyIndex); }
[INFO] [stdout] 38 | |     }
[INFO] [stdout] 39 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/c_ffi/macros.rs:7:13
[INFO] [stdout]    |
[INFO] [stdout]  7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stdout]    |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/c_ffi/mod.rs:41:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | / ffi_fn! {
[INFO] [stdout] 42 | |     fn get_dimension(index_ptr: *const AnnoyIndex) -> i32 {
[INFO] [stdout] 43 | |         let index = unsafe { &*index_ptr };
[INFO] [stdout] 44 | |         return index.dimension as i32;
[INFO] [stdout] 45 | |     }
[INFO] [stdout] 46 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/c_ffi/macros.rs:7:13
[INFO] [stdout]    |
[INFO] [stdout]  7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stdout]    |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/c_ffi/mod.rs:48:1
[INFO] [stdout]    |
[INFO] [stdout] 48 | / ffi_fn! {
[INFO] [stdout] 49 | |     fn get_size(index_ptr: *const AnnoyIndex) -> u64 {
[INFO] [stdout] 50 | |         let index = unsafe { &*index_ptr };
[INFO] [stdout] 51 | |         return index.size as u64;
[INFO] [stdout] 52 | |     }
[INFO] [stdout] 53 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/c_ffi/macros.rs:7:13
[INFO] [stdout]    |
[INFO] [stdout]  7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stdout]    |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/c_ffi/mod.rs:55:1
[INFO] [stdout]    |
[INFO] [stdout] 55 | / ffi_fn! {
[INFO] [stdout] 56 | |     fn get_item_vector(index_ptr: *const AnnoyIndex, item_index: u64, item_vector: *mut f32){
[INFO] [stdout] 57 | |         let index = unsafe{&*index_ptr};
[INFO] [stdout] 58 | |         let item_vec = index.get_item_vector(item_index);
[INFO] [stdout] ...  |
[INFO] [stdout] 62 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/c_ffi/macros.rs:7:13
[INFO] [stdout]    |
[INFO] [stdout]  7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stdout]    |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/c_ffi/mod.rs:64:1
[INFO] [stdout]    |
[INFO] [stdout] 64 | / ffi_fn! {
[INFO] [stdout] 65 | |     fn get_nearest(
[INFO] [stdout] 66 | |         index_ptr: *const AnnoyIndex,
[INFO] [stdout] 67 | |         query_vector_ptr: *const f32,
[INFO] [stdout] ...  |
[INFO] [stdout] 77 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/c_ffi/macros.rs:7:13
[INFO] [stdout]    |
[INFO] [stdout]  7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stdout]    |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/c_ffi/mod.rs:79:1
[INFO] [stdout]    |
[INFO] [stdout] 79 | / ffi_fn! {
[INFO] [stdout] 80 | |     fn get_nearest_to_item(
[INFO] [stdout] 81 | |         index_ptr: *const AnnoyIndex,
[INFO] [stdout] 82 | |         item_index: u64,
[INFO] [stdout] ...  |
[INFO] [stdout] 92 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/c_ffi/macros.rs:7:13
[INFO] [stdout]    |
[INFO] [stdout]  7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stdout]    |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/c_ffi/mod.rs:94:1
[INFO] [stdout]    |
[INFO] [stdout] 94 | / ffi_fn! {
[INFO] [stdout] 95 | |     fn free_search_result(search_result_ptr: *const AnnoyIndexSearchResult){
[INFO] [stdout] 96 | |         unsafe { Box::from_raw(search_result_ptr as *mut AnnoyIndexSearchResult); }
[INFO] [stdout] 97 | |     }
[INFO] [stdout] 98 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/c_ffi/macros.rs:7:13
[INFO] [stdout]     |
[INFO] [stdout]   7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stdout]     |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/c_ffi/mod.rs:100:1
[INFO] [stdout]     |
[INFO] [stdout] 100 | / ffi_fn! {
[INFO] [stdout] 101 | |     fn get_result_count(search_result_ptr: *const AnnoyIndexSearchResult) -> u64{
[INFO] [stdout] 102 | |         let search_result = unsafe{&*search_result_ptr};
[INFO] [stdout] 103 | |         return search_result.count as u64;
[INFO] [stdout] 104 | |     }
[INFO] [stdout] 105 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/c_ffi/macros.rs:7:13
[INFO] [stdout]     |
[INFO] [stdout]   7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stdout]     |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/c_ffi/mod.rs:107:1
[INFO] [stdout]     |
[INFO] [stdout] 107 | / ffi_fn! {
[INFO] [stdout] 108 | |     fn get_id_list(search_result_ptr: *const AnnoyIndexSearchResult)->*const u64{
[INFO] [stdout] 109 | |         let search_result = unsafe{&*search_result_ptr};
[INFO] [stdout] 110 | |         return search_result.id_list.as_ptr();
[INFO] [stdout] 111 | |     }
[INFO] [stdout] 112 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/c_ffi/macros.rs:7:13
[INFO] [stdout]     |
[INFO] [stdout]   7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stdout]     |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/c_ffi/mod.rs:114:1
[INFO] [stdout]     |
[INFO] [stdout] 114 | / ffi_fn! {
[INFO] [stdout] 115 | |     fn get_distance_list(search_result_ptr: *const AnnoyIndexSearchResult)->*const f32{
[INFO] [stdout] 116 | |         let search_result = unsafe{&*search_result_ptr};
[INFO] [stdout] 117 | |         return search_result.distance_list.as_ptr();
[INFO] [stdout] 118 | |     }
[INFO] [stdout] 119 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `mmap` and `id` are never read
[INFO] [stdout]  --> src/types/node.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Node {
[INFO] [stdout]   |            ---- fields in this struct
[INFO] [stdout] 7 |     pub mmap: Rc<Mmap>,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 8 |     pub id: usize,
[INFO] [stdout]   |         ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/c_ffi/mod.rs:37:18
[INFO] [stdout]    |
[INFO] [stdout] 37 |         unsafe { Box::from_raw(index as *mut AnnoyIndex); }
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 37 |         unsafe { let _ = Box::from_raw(index as *mut AnnoyIndex); }
[INFO] [stdout]    |                  +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/c_ffi/mod.rs:96:18
[INFO] [stdout]    |
[INFO] [stdout] 96 |         unsafe { Box::from_raw(search_result_ptr as *mut AnnoyIndexSearchResult); }
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 96 |         unsafe { let _ = Box::from_raw(search_result_ptr as *mut AnnoyIndexSearchResult); }
[INFO] [stdout]    |                  +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling annoy-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::tests::*`
[INFO] [stdout]    --> src/types/utils.rs:228:9
[INFO] [stdout]     |
[INFO] [stdout] 228 |     use crate::tests::*;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hashbrown::HashSet`
[INFO] [stdout]  --> src/types/serving/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use hashbrown::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/c_ffi/macros.rs:7:13
[INFO] [stdout]    |
[INFO] [stdout]  7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stdout]    |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/c_ffi/mod.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | / ffi_fn! {
[INFO] [stdout] 14 | |     fn load_annoy_index(path: *const c_char, dimension: i32, index_type: u8) -> *const AnnoyIndex {
[INFO] [stdout] 15 | |         let result = load_annoy_index_inner(path, dimension, index_type);
[INFO] [stdout] 16 | |         return match result {
[INFO] [stdout] ...  |
[INFO] [stdout] 21 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/c_ffi/macros.rs:7:13
[INFO] [stdout]    |
[INFO] [stdout]  7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stdout]    |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/c_ffi/mod.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | / ffi_fn! {
[INFO] [stdout] 36 | |     fn free_annoy_index(index: *const AnnoyIndex) {
[INFO] [stdout] 37 | |         unsafe { Box::from_raw(index as *mut AnnoyIndex); }
[INFO] [stdout] 38 | |     }
[INFO] [stdout] 39 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/c_ffi/macros.rs:7:13
[INFO] [stdout]    |
[INFO] [stdout]  7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stdout]    |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/c_ffi/mod.rs:41:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | / ffi_fn! {
[INFO] [stdout] 42 | |     fn get_dimension(index_ptr: *const AnnoyIndex) -> i32 {
[INFO] [stdout] 43 | |         let index = unsafe { &*index_ptr };
[INFO] [stdout] 44 | |         return index.dimension as i32;
[INFO] [stdout] 45 | |     }
[INFO] [stdout] 46 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/c_ffi/macros.rs:7:13
[INFO] [stdout]    |
[INFO] [stdout]  7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stdout]    |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/c_ffi/mod.rs:48:1
[INFO] [stdout]    |
[INFO] [stdout] 48 | / ffi_fn! {
[INFO] [stdout] 49 | |     fn get_size(index_ptr: *const AnnoyIndex) -> u64 {
[INFO] [stdout] 50 | |         let index = unsafe { &*index_ptr };
[INFO] [stdout] 51 | |         return index.size as u64;
[INFO] [stdout] 52 | |     }
[INFO] [stdout] 53 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/c_ffi/macros.rs:7:13
[INFO] [stdout]    |
[INFO] [stdout]  7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stdout]    |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/c_ffi/mod.rs:55:1
[INFO] [stdout]    |
[INFO] [stdout] 55 | / ffi_fn! {
[INFO] [stdout] 56 | |     fn get_item_vector(index_ptr: *const AnnoyIndex, item_index: u64, item_vector: *mut f32){
[INFO] [stdout] 57 | |         let index = unsafe{&*index_ptr};
[INFO] [stdout] 58 | |         let item_vec = index.get_item_vector(item_index);
[INFO] [stdout] ...  |
[INFO] [stdout] 62 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/c_ffi/macros.rs:7:13
[INFO] [stdout]    |
[INFO] [stdout]  7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stdout]    |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/c_ffi/mod.rs:64:1
[INFO] [stdout]    |
[INFO] [stdout] 64 | / ffi_fn! {
[INFO] [stdout] 65 | |     fn get_nearest(
[INFO] [stdout] 66 | |         index_ptr: *const AnnoyIndex,
[INFO] [stdout] 67 | |         query_vector_ptr: *const f32,
[INFO] [stdout] ...  |
[INFO] [stdout] 77 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/c_ffi/macros.rs:7:13
[INFO] [stdout]    |
[INFO] [stdout]  7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stdout]    |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/c_ffi/mod.rs:79:1
[INFO] [stdout]    |
[INFO] [stdout] 79 | / ffi_fn! {
[INFO] [stdout] 80 | |     fn get_nearest_to_item(
[INFO] [stdout] 81 | |         index_ptr: *const AnnoyIndex,
[INFO] [stdout] 82 | |         item_index: u64,
[INFO] [stdout] ...  |
[INFO] [stdout] 92 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/c_ffi/macros.rs:7:13
[INFO] [stdout]    |
[INFO] [stdout]  7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stdout]    |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/c_ffi/mod.rs:94:1
[INFO] [stdout]    |
[INFO] [stdout] 94 | / ffi_fn! {
[INFO] [stdout] 95 | |     fn free_search_result(search_result_ptr: *const AnnoyIndexSearchResult){
[INFO] [stdout] 96 | |         unsafe { Box::from_raw(search_result_ptr as *mut AnnoyIndexSearchResult); }
[INFO] [stdout] 97 | |     }
[INFO] [stdout] 98 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/c_ffi/macros.rs:7:13
[INFO] [stdout]     |
[INFO] [stdout]   7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stdout]     |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/c_ffi/mod.rs:100:1
[INFO] [stdout]     |
[INFO] [stdout] 100 | / ffi_fn! {
[INFO] [stdout] 101 | |     fn get_result_count(search_result_ptr: *const AnnoyIndexSearchResult) -> u64{
[INFO] [stdout] 102 | |         let search_result = unsafe{&*search_result_ptr};
[INFO] [stdout] 103 | |         return search_result.count as u64;
[INFO] [stdout] 104 | |     }
[INFO] [stdout] 105 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/c_ffi/macros.rs:7:13
[INFO] [stdout]     |
[INFO] [stdout]   7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stdout]     |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/c_ffi/mod.rs:107:1
[INFO] [stdout]     |
[INFO] [stdout] 107 | / ffi_fn! {
[INFO] [stdout] 108 | |     fn get_id_list(search_result_ptr: *const AnnoyIndexSearchResult)->*const u64{
[INFO] [stdout] 109 | |         let search_result = unsafe{&*search_result_ptr};
[INFO] [stdout] 110 | |         return search_result.id_list.as_ptr();
[INFO] [stdout] 111 | |     }
[INFO] [stdout] 112 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/c_ffi/macros.rs:7:13
[INFO] [stdout]     |
[INFO] [stdout]   7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stdout]     |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/c_ffi/mod.rs:114:1
[INFO] [stdout]     |
[INFO] [stdout] 114 | / ffi_fn! {
[INFO] [stdout] 115 | |     fn get_distance_list(search_result_ptr: *const AnnoyIndexSearchResult)->*const f32{
[INFO] [stdout] 116 | |         let search_result = unsafe{&*search_result_ptr};
[INFO] [stdout] 117 | |         return search_result.distance_list.as_ptr();
[INFO] [stdout] 118 | |     }
[INFO] [stdout] 119 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]    --> src/types/utils.rs:243:29
[INFO] [stdout]     |
[INFO] [stdout] 243 |         let mut rng = rand::thread_rng();
[INFO] [stdout]     |                             ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024.
[INFO] [stdout]    --> src/types/utils.rs:245:24
[INFO] [stdout]     |
[INFO] [stdout] 245 |             v.push(rng.gen());
[INFO] [stdout]     |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `mmap` and `id` are never read
[INFO] [stdout]  --> src/types/node.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Node {
[INFO] [stdout]   |            ---- fields in this struct
[INFO] [stdout] 7 |     pub mmap: Rc<Mmap>,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 8 |     pub id: usize,
[INFO] [stdout]   |         ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gen_range_array` is never used
[INFO] [stdout]    --> src/types/utils.rs:241:8
[INFO] [stdout]     |
[INFO] [stdout] 241 |     fn gen_range_array(range: Range<usize>) -> Vec<f32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `RoundTo` is never used
[INFO] [stdout]   --> src/lib.rs:21:15
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub trait RoundTo<T> {
[INFO] [stdout]    |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/c_ffi/mod.rs:37:18
[INFO] [stdout]    |
[INFO] [stdout] 37 |         unsafe { Box::from_raw(index as *mut AnnoyIndex); }
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 37 |         unsafe { let _ = Box::from_raw(index as *mut AnnoyIndex); }
[INFO] [stdout]    |                  +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/c_ffi/mod.rs:96:18
[INFO] [stdout]    |
[INFO] [stdout] 96 |         unsafe { Box::from_raw(search_result_ptr as *mut AnnoyIndexSearchResult); }
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 96 |         unsafe { let _ = Box::from_raw(search_result_ptr as *mut AnnoyIndexSearchResult); }
[INFO] [stdout]    |                  +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.47s
[INFO] running `Command { std: "docker" "inspect" "f6900d37082e9164ee86d1812b9e54cec49df3ff2177d62a150107040013033e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f6900d37082e9164ee86d1812b9e54cec49df3ff2177d62a150107040013033e", kill_on_drop: false }`
[INFO] [stdout] f6900d37082e9164ee86d1812b9e54cec49df3ff2177d62a150107040013033e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 63770616e61af3dd05809ea881fb821f5ee4c118d748c75cae9e4df466ffbc47
[INFO] running `Command { std: "docker" "start" "-a" "63770616e61af3dd05809ea881fb821f5ee4c118d748c75cae9e4df466ffbc47", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `hashbrown::HashSet`
[INFO] [stderr]  --> src/types/serving/mod.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use hashbrown::HashSet;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]   --> src/c_ffi/macros.rs:7:13
[INFO] [stderr]    |
[INFO] [stderr]  7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stderr]    |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr]    |
[INFO] [stderr]   ::: src/c_ffi/mod.rs:13:1
[INFO] [stderr]    |
[INFO] [stderr] 13 | / ffi_fn! {
[INFO] [stderr] 14 | |     fn load_annoy_index(path: *const c_char, dimension: i32, index_type: u8) -> *const AnnoyIndex {
[INFO] [stderr] 15 | |         let result = load_annoy_index_inner(path, dimension, index_type);
[INFO] [stderr] 16 | |         return match result {
[INFO] [stderr] ...  |
[INFO] [stderr] 21 | | }
[INFO] [stderr]    | |_- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(missing_abi)]` on by default
[INFO] [stderr]    = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]   --> src/c_ffi/macros.rs:7:13
[INFO] [stderr]    |
[INFO] [stderr]  7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stderr]    |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr]    |
[INFO] [stderr]   ::: src/c_ffi/mod.rs:35:1
[INFO] [stderr]    |
[INFO] [stderr] 35 | / ffi_fn! {
[INFO] [stderr] 36 | |     fn free_annoy_index(index: *const AnnoyIndex) {
[INFO] [stderr] 37 | |         unsafe { Box::from_raw(index as *mut AnnoyIndex); }
[INFO] [stderr] 38 | |     }
[INFO] [stderr] 39 | | }
[INFO] [stderr]    | |_- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]   --> src/c_ffi/macros.rs:7:13
[INFO] [stderr]    |
[INFO] [stderr]  7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stderr]    |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr]    |
[INFO] [stderr]   ::: src/c_ffi/mod.rs:41:1
[INFO] [stderr]    |
[INFO] [stderr] 41 | / ffi_fn! {
[INFO] [stderr] 42 | |     fn get_dimension(index_ptr: *const AnnoyIndex) -> i32 {
[INFO] [stderr] 43 | |         let index = unsafe { &*index_ptr };
[INFO] [stderr] 44 | |         return index.dimension as i32;
[INFO] [stderr] 45 | |     }
[INFO] [stderr] 46 | | }
[INFO] [stderr]    | |_- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]   --> src/c_ffi/macros.rs:7:13
[INFO] [stderr]    |
[INFO] [stderr]  7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stderr]    |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr]    |
[INFO] [stderr]   ::: src/c_ffi/mod.rs:48:1
[INFO] [stderr]    |
[INFO] [stderr] 48 | / ffi_fn! {
[INFO] [stderr] 49 | |     fn get_size(index_ptr: *const AnnoyIndex) -> u64 {
[INFO] [stderr] 50 | |         let index = unsafe { &*index_ptr };
[INFO] [stderr] 51 | |         return index.size as u64;
[INFO] [stderr] 52 | |     }
[INFO] [stderr] 53 | | }
[INFO] [stderr]    | |_- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]   --> src/c_ffi/macros.rs:7:13
[INFO] [stderr]    |
[INFO] [stderr]  7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stderr]    |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr]    |
[INFO] [stderr]   ::: src/c_ffi/mod.rs:55:1
[INFO] [stderr]    |
[INFO] [stderr] 55 | / ffi_fn! {
[INFO] [stderr] 56 | |     fn get_item_vector(index_ptr: *const AnnoyIndex, item_index: u64, item_vector: *mut f32){
[INFO] [stderr] 57 | |         let index = unsafe{&*index_ptr};
[INFO] [stderr] 58 | |         let item_vec = index.get_item_vector(item_index);
[INFO] [stderr] ...  |
[INFO] [stderr] 62 | | }
[INFO] [stderr]    | |_- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]   --> src/c_ffi/macros.rs:7:13
[INFO] [stderr]    |
[INFO] [stderr]  7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stderr]    |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr]    |
[INFO] [stderr]   ::: src/c_ffi/mod.rs:64:1
[INFO] [stderr]    |
[INFO] [stderr] 64 | / ffi_fn! {
[INFO] [stderr] 65 | |     fn get_nearest(
[INFO] [stderr] 66 | |         index_ptr: *const AnnoyIndex,
[INFO] [stderr] 67 | |         query_vector_ptr: *const f32,
[INFO] [stderr] ...  |
[INFO] [stderr] 77 | | }
[INFO] [stderr]    | |_- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]   --> src/c_ffi/macros.rs:7:13
[INFO] [stderr]    |
[INFO] [stderr]  7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stderr]    |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr]    |
[INFO] [stderr]   ::: src/c_ffi/mod.rs:79:1
[INFO] [stderr]    |
[INFO] [stderr] 79 | / ffi_fn! {
[INFO] [stderr] 80 | |     fn get_nearest_to_item(
[INFO] [stderr] 81 | |         index_ptr: *const AnnoyIndex,
[INFO] [stderr] 82 | |         item_index: u64,
[INFO] [stderr] ...  |
[INFO] [stderr] 92 | | }
[INFO] [stderr]    | |_- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]   --> src/c_ffi/macros.rs:7:13
[INFO] [stderr]    |
[INFO] [stderr]  7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stderr]    |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr]    |
[INFO] [stderr]   ::: src/c_ffi/mod.rs:94:1
[INFO] [stderr]    |
[INFO] [stderr] 94 | / ffi_fn! {
[INFO] [stderr] 95 | |     fn free_search_result(search_result_ptr: *const AnnoyIndexSearchResult){
[INFO] [stderr] 96 | |         unsafe { Box::from_raw(search_result_ptr as *mut AnnoyIndexSearchResult); }
[INFO] [stderr] 97 | |     }
[INFO] [stderr] 98 | | }
[INFO] [stderr]    | |_- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]    --> src/c_ffi/macros.rs:7:13
[INFO] [stderr]     |
[INFO] [stderr]   7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stderr]     |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/c_ffi/mod.rs:100:1
[INFO] [stderr]     |
[INFO] [stderr] 100 | / ffi_fn! {
[INFO] [stderr] 101 | |     fn get_result_count(search_result_ptr: *const AnnoyIndexSearchResult) -> u64{
[INFO] [stderr] 102 | |         let search_result = unsafe{&*search_result_ptr};
[INFO] [stderr] 103 | |         return search_result.count as u64;
[INFO] [stderr] 104 | |     }
[INFO] [stderr] 105 | | }
[INFO] [stderr]     | |_- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]    --> src/c_ffi/macros.rs:7:13
[INFO] [stderr]     |
[INFO] [stderr]   7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stderr]     |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/c_ffi/mod.rs:107:1
[INFO] [stderr]     |
[INFO] [stderr] 107 | / ffi_fn! {
[INFO] [stderr] 108 | |     fn get_id_list(search_result_ptr: *const AnnoyIndexSearchResult)->*const u64{
[INFO] [stderr] 109 | |         let search_result = unsafe{&*search_result_ptr};
[INFO] [stderr] 110 | |         return search_result.id_list.as_ptr();
[INFO] [stderr] 111 | |     }
[INFO] [stderr] 112 | | }
[INFO] [stderr]     | |_- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]    --> src/c_ffi/macros.rs:7:13
[INFO] [stderr]     |
[INFO] [stderr]   7 |           pub extern fn $name($($arg: $arg_ty),*) -> $ret {
[INFO] [stderr]     |               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/c_ffi/mod.rs:114:1
[INFO] [stderr]     |
[INFO] [stderr] 114 | / ffi_fn! {
[INFO] [stderr] 115 | |     fn get_distance_list(search_result_ptr: *const AnnoyIndexSearchResult)->*const f32{
[INFO] [stderr] 116 | |         let search_result = unsafe{&*search_result_ptr};
[INFO] [stderr] 117 | |         return search_result.distance_list.as_ptr();
[INFO] [stderr] 118 | |     }
[INFO] [stderr] 119 | | }
[INFO] [stderr]     | |_- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: fields `mmap` and `id` are never read
[INFO] [stderr]  --> src/types/node.rs:7:9
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub struct Node {
[INFO] [stderr]   |            ---- fields in this struct
[INFO] [stderr] 7 |     pub mmap: Rc<Mmap>,
[INFO] [stderr]   |         ^^^^
[INFO] [stderr] 8 |     pub id: usize,
[INFO] [stderr]   |         ^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stderr]   --> src/c_ffi/mod.rs:37:18
[INFO] [stderr]    |
[INFO] [stderr] 37 |         unsafe { Box::from_raw(index as *mut AnnoyIndex); }
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 37 |         unsafe { let _ = Box::from_raw(index as *mut AnnoyIndex); }
[INFO] [stderr]    |                  +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stderr]   --> src/c_ffi/mod.rs:96:18
[INFO] [stderr]    |
[INFO] [stderr] 96 |         unsafe { Box::from_raw(search_result_ptr as *mut AnnoyIndexSearchResult); }
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 96 |         unsafe { let _ = Box::from_raw(search_result_ptr as *mut AnnoyIndexSearchResult); }
[INFO] [stderr]    |                  +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `annoy-rs` (lib) generated 15 warnings (run `cargo fix --lib -p annoy-rs` to apply 12 suggestions)
[INFO] [stderr] warning: unused import: `crate::tests::*`
[INFO] [stderr]    --> src/types/utils.rs:228:9
[INFO] [stderr]     |
[INFO] [stderr] 228 |     use crate::tests::*;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `hashbrown::HashSet`
[INFO] [stderr]  --> src/types/serving/mod.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use hashbrown::HashSet;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stderr]    --> src/types/utils.rs:243:29
[INFO] [stderr]     |
[INFO] [stderr] 243 |         let mut rng = rand::thread_rng();
[INFO] [stderr]     |                             ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024.
[INFO] [stderr]    --> src/types/utils.rs:245:24
[INFO] [stderr]     |
[INFO] [stderr] 245 |             v.push(rng.gen());
[INFO] [stderr]     |                        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `gen_range_array` is never used
[INFO] [stderr]    --> src/types/utils.rs:241:8
[INFO] [stderr]     |
[INFO] [stderr] 241 |     fn gen_range_array(range: Range<usize>) -> Vec<f32> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `RoundTo` is never used
[INFO] [stderr]   --> src/lib.rs:21:15
[INFO] [stderr]    |
[INFO] [stderr] 21 |     pub trait RoundTo<T> {
[INFO] [stderr]    |               ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `annoy-rs` (lib test) generated 20 warnings (14 duplicates) (run `cargo fix --lib -p annoy-rs --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/annoy_rs-2642ba65a4247cb4)
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test internals::priority_queue::tests::test_pq_2 ... ok
[INFO] [stdout] test types::utils::tests::test_cosine_distance_no_simd ... ok
[INFO] [stdout] test types::utils::tests::test_euclidean_distance_no_simd ... ok
[INFO] [stdout] test types::utils::tests::test_manhattan_distance ... ok
[INFO] [stdout] test internals::priority_queue::tests::test_pq_1 ... ok
[INFO] [stderr]      Running tests/test.rs (/opt/rustwide/target/debug/deps/test-e22d05accb4cc51e)
[INFO] [stdout] test types::utils::tests::test_dot_product_no_simd ... ok
[INFO] [stdout] test internals::priority_queue::tests::test_pq_3 ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test tests::invalid_index_cffi ... ok
[INFO] [stdout] test tests::hole_tests ... ok
[INFO] [stdout] test tests::sanity_tests_dot ... ok
[INFO] [stdout] test tests::sanity_tests_angular ... ok
[INFO] [stdout] test tests::sanity_tests_manhattan ... ok
[INFO] [stdout] test tests::sanity_tests_euclidean ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests annoy_rs
[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 `Command { std: "docker" "inspect" "63770616e61af3dd05809ea881fb821f5ee4c118d748c75cae9e4df466ffbc47", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63770616e61af3dd05809ea881fb821f5ee4c118d748c75cae9e4df466ffbc47", kill_on_drop: false }`
[INFO] [stdout] 63770616e61af3dd05809ea881fb821f5ee4c118d748c75cae9e4df466ffbc47
