[INFO] cloning repository https://github.com/lewispb/prometheus-client-mmap
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lewispb/prometheus-client-mmap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flewispb%2Fprometheus-client-mmap", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flewispb%2Fprometheus-client-mmap'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0c4a35bf61684cee7ade1c0928a63a30e2a8c953
[INFO] checking lewispb/prometheus-client-mmap against eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flewispb%2Fprometheus-client-mmap" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/lewispb/prometheus-client-mmap
[INFO] finished tweaking git repo https://github.com/lewispb/prometheus-client-mmap
[INFO] tweaked toml for git repo https://github.com/lewispb/prometheus-client-mmap written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lewispb/prometheus-client-mmap on toolchain eca445e5ae4a6679cc27d3a09106ce245e13a5a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/lewispb/prometheus-client-mmap already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rb-sys-env v0.2.3
[INFO] [stderr]   Downloaded rb-sys v0.9.128
[INFO] [stderr]   Downloaded magnus-macros v0.8.0
[INFO] [stderr]   Downloaded rb-sys-build v0.9.128
[INFO] [stderr]   Downloaded magnus v0.8.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] adfc9ac8bfe76700a4c2711eaac55dce89a8d64be9a44580917b281e6afff2b3
[INFO] running `Command { std: "docker" "start" "adfc9ac8bfe76700a4c2711eaac55dce89a8d64be9a44580917b281e6afff2b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "adfc9ac8bfe76700a4c2711eaac55dce89a8d64be9a44580917b281e6afff2b3", kill_on_drop: false }`
[INFO] running `Command { std: "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" "adfc9ac8bfe76700a4c2711eaac55dce89a8d64be9a44580917b281e6afff2b3" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "adfc9ac8bfe76700a4c2711eaac55dce89a8d64be9a44580917b281e6afff2b3", kill_on_drop: false }`
[INFO] running `Command { std: "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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "adfc9ac8bfe76700a4c2711eaac55dce89a8d64be9a44580917b281e6afff2b3" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling glob v0.3.2
[INFO] [stderr]    Compiling bindgen v0.72.1
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling rustc-hash v2.1.2
[INFO] [stderr]    Compiling rb-sys-env v0.2.3
[INFO] [stderr]    Compiling shell-words v1.1.0
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling libloading v0.8.6
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling zerocopy v0.8.25
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]     Checking typenum v1.20.1
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]     Checking getrandom v0.3.2
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]     Checking const-oid v0.10.2
[INFO] [stderr]     Checking nix v0.25.1
[INFO] [stderr]     Checking memmap2 v0.9.11
[INFO] [stderr]     Checking once_cell v1.21.3
[INFO] [stderr]    Compiling magnus v0.8.2
[INFO] [stderr]    Compiling fast_mmaped_file_rs v0.1.0 (/opt/rustwide/workdir/ext/fast_mmaped_file_rs)
[INFO] [stderr]     Checking bstr v1.13.0
[INFO] [stderr]     Checking hybrid-array v0.4.12
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]     Checking crypto-common v0.2.2
[INFO] [stderr]     Checking block-buffer v0.12.1
[INFO] [stderr]     Checking tempfile v3.27.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.1
[INFO] [stderr]     Checking digest v0.11.3
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]     Checking sha2 v0.11.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling magnus-macros v0.8.0
[INFO] [stderr]     Checking thiserror v2.0.18
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking smallvec v1.15.2
[INFO] [stderr]    Compiling rb-sys-build v0.9.128
[INFO] [stderr]    Compiling rb-sys v0.9.128
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/mmap.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::mem;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::define_class`: please use `Ruby::define_class` instead
[INFO] [stdout]  --> ext/fast_mmaped_file_rs/src/lib.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use magnus::{class, define_class, exception, function, method, Ruby};
[INFO] [stdout]   |                     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::define_class`: please use `Ruby::define_class` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/lib.rs:34:20
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let prom_err = define_class(
[INFO] [stdout]    |                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::runtime_error`: please use `Ruby::exception_runtime_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/lib.rs:36:20
[INFO] [stdout]    |
[INFO] [stdout] 36 |         exception::runtime_error().as_r_class(),
[INFO] [stdout]    |                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::define_class`: please use `Ruby::define_class` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/lib.rs:56:17
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let klass = define_class("FastMmapedFileRs", class::object())?;
[INFO] [stdout]    |                 ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::class::object`: please use `Ruby::class_object` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/lib.rs:56:57
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let klass = define_class("FastMmapedFileRs", class::object())?;
[INFO] [stdout]    |                                                         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::arg_error`: please use `Ruby::exception_arg_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/error.rs:28:42
[INFO] [stdout]    |
[INFO] [stdout] 28 |             RubyError::Arg => exception::arg_error(),
[INFO] [stdout]    |                                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::encoding_error`: please use `Ruby::exception_encoding_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/error.rs:29:47
[INFO] [stdout]    |
[INFO] [stdout] 29 |             RubyError::Encoding => exception::encoding_error(),
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::frozen_error`: please use `Ruby::exception_frozen_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/error.rs:30:45
[INFO] [stdout]    |
[INFO] [stdout] 30 |             RubyError::Frozen => exception::frozen_error(),
[INFO] [stdout]    |                                             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::index_error`: please use `Ruby::exception_index_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/error.rs:31:44
[INFO] [stdout]    |
[INFO] [stdout] 31 |             RubyError::Index => exception::index_error(),
[INFO] [stdout]    |                                            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::io_error`: please use `Ruby::exception_io_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/error.rs:32:41
[INFO] [stdout]    |
[INFO] [stdout] 32 |             RubyError::Io => exception::io_error(),
[INFO] [stdout]    |                                         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::no_mem_error`: please use `Ruby::exception_no_mem_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/error.rs:33:44
[INFO] [stdout]    |
[INFO] [stdout] 33 |             RubyError::NoMem => exception::no_mem_error(),
[INFO] [stdout]    |                                            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::runtime_error`: please use `Ruby::exception_runtime_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/error.rs:34:46
[INFO] [stdout]    |
[INFO] [stdout] 34 |             RubyError::Runtime => exception::runtime_error(),
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::type_error`: please use `Ruby::exception_type_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/error.rs:40:43
[INFO] [stdout]    |
[INFO] [stdout] 40 |             RubyError::Type => exception::type_error(),
[INFO] [stdout]    |                                           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::arg_error`: please use `Ruby::exception_arg_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/file_info.rs:30:17
[INFO] [stdout]    |
[INFO] [stdout] 30 |                 arg_error(),
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::arg_error`: please use `Ruby::exception_arg_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/file_info.rs:37:33
[INFO] [stdout]    |
[INFO] [stdout] 37 |             .ok_or_else(|| err!(arg_error(), "can't convert filepath to String"))?;
[INFO] [stdout]    |                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::arg_error`: please use `Ruby::exception_arg_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/file_info.rs:46:17
[INFO] [stdout]    |
[INFO] [stdout] 46 |                 arg_error(),
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::io_error`: please use `Ruby::exception_io_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/file_info.rs:55:31
[INFO] [stdout]    |
[INFO] [stdout] 55 |             .map_err(|_| err!(io_error(), "Can't stat file, errno: {}", util::errno()))?;
[INFO] [stdout]    |                               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::arg_error`: please use `Ruby::exception_arg_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/file_info.rs:60:33
[INFO] [stdout]    |
[INFO] [stdout] 60 |             .ok_or_else(|| err!(arg_error(), "expected multiprocess_mode to be a symbol"))?;
[INFO] [stdout]    |                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::arg_error`: please use `Ruby::exception_arg_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/file_info.rs:63:33
[INFO] [stdout]    |
[INFO] [stdout] 63 |             .ok_or_else(|| err!(arg_error(), "expected file type to be a symbol"))?;
[INFO] [stdout]    |                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::arg_error`: please use `Ruby::exception_arg_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/file_info.rs:66:33
[INFO] [stdout]    |
[INFO] [stdout] 66 |             .ok_or_else(|| err!(arg_error(), "expected pid to be a String"))?;
[INFO] [stdout]    |                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::io_error`: please use `Ruby::exception_io_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/file_info.rs:69:31
[INFO] [stdout]    |
[INFO] [stdout] 69 |             .map_err(|_| err!(io_error(), "Can't fseek 0, errno: {}", util::errno()))?;
[INFO] [stdout]    |                               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::no_mem_error`: please use `Ruby::exception_no_mem_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/map.rs:40:21
[INFO] [stdout]    |
[INFO] [stdout] 40 |                     no_mem_error(),
[INFO] [stdout]    |                     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::no_mem_error`: please use `Ruby::exception_no_mem_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/map.rs:50:31
[INFO] [stdout]    |
[INFO] [stdout] 50 |             .map_err(|_| err!(no_mem_error(), "Couldn't allocate for {} memory", 16_384))?;
[INFO] [stdout]    |                               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::arg_error`: please use `Ruby::exception_arg_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/map.rs:56:21
[INFO] [stdout]    |
[INFO] [stdout] 56 |                     arg_error(),
[INFO] [stdout]    |                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::arg_error`: please use `Ruby::exception_arg_error` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:116:31
[INFO] [stdout]     |
[INFO] [stdout] 116 |             .map_err(|_| err!(arg_error(), "Can't open {}", fname))?;
[INFO] [stdout]     |                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::no_method_error`: please use `Ruby::exception_no_method_error` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:122:33
[INFO] [stdout]     |
[INFO] [stdout] 122 |             .ok_or_else(|| err!(no_method_error(), "unable to create WeakMap"))?;
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::arg_error`: please use `Ruby::exception_arg_error` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:407:37
[INFO] [stdout]     |
[INFO] [stdout] 407 |                 .ok_or_else(|| err!(arg_error(), "weakmap value was not a string"))?;
[INFO] [stdout]     |                                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::arg_error`: please use `Ruby::exception_arg_error` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:476:29
[INFO] [stdout]     |
[INFO] [stdout] 476 |             return Err(err!(arg_error(), "Can't reduce the size of mmap"));
[INFO] [stdout]     |                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `rb_sys::RString`: To improve API stability with ruby-head, direct usage of Ruby internal structs has been deprecated. To migrate, please replace the usage of this internal struct with its counterpart in the `rb_sys::stable` module. For example, instead of `use rb_sys::rb_sys__Opaque__ExampleStruct;`, use `use rb_sys::stable::ExampleStruct;`. If you need to access the internals of these items, you can use the provided `rb-sys::macros` instead.
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:640:70
[INFO] [stdout]     |
[INFO] [stdout] 640 |     unsafe fn rb_string_internal(rb_str: RString) -> NonNull<rb_sys::RString> {
[INFO] [stdout]     |                                                                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `rb_sys::RString`: To improve API stability with ruby-head, direct usage of Ruby internal structs has been deprecated. To migrate, please replace the usage of this internal struct with its counterpart in the `rb_sys::stable` module. For example, instead of `use rb_sys::rb_sys__Opaque__ExampleStruct;`, use `use rb_sys::stable::ExampleStruct;`. If you need to access the internals of these items, you can use the provided `rb-sys::macros` instead.
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:641:64
[INFO] [stdout]     |
[INFO] [stdout] 641 |         NonNull::new_unchecked(rb_str.as_raw() as *mut rb_sys::RString)
[INFO] [stdout]     |                                                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `rb_sys::RString`: To improve API stability with ruby-head, direct usage of Ruby internal structs has been deprecated. To migrate, please replace the usage of this internal struct with its counterpart in the `rb_sys::stable` module. For example, instead of `use rb_sys::rb_sys__Opaque__ExampleStruct;`, use `use rb_sys::stable::ExampleStruct;`. If you need to access the internals of these items, you can use the provided `rb-sys::macros` instead.
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:650:70
[INFO] [stdout]     |
[INFO] [stdout] 650 |     unsafe fn update_rstring_len(&self, mut raw_str: NonNull<rb_sys::RString>, new_len: c_long) {
[INFO] [stdout]     |                                                                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `magnus::RArray::each`: Please use `ary.into_iter()` or `ary.enumeratorize("each", ())` instead.
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/map.rs:52:35
[INFO] [stdout]    |
[INFO] [stdout] 52 |         for item in list_of_files.each() {
[INFO] [stdout]    |                                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::typed_data::Obj::<T>::wrap_as`: please use `Ruby::obj_wrap_as` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:102:24
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let obj = Obj::wrap_as(lock, klass);
[INFO] [stdout]     |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Integer::from_u64`: please use `Ruby::integer_from_u64` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:264:21
[INFO] [stdout]     |
[INFO] [stdout] 264 |         Ok(Integer::from_u64(used as u64))
[INFO] [stdout]     |                     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Integer::from_u64`: please use `Ruby::integer_from_u64` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:313:38
[INFO] [stdout]     |
[INFO] [stdout] 313 |         positions.aset(key, Integer::from_u64(value_offset as u64))?;
[INFO] [stdout]     |                                      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Integer::from_u64`: please use `Ruby::integer_from_u64` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:351:38
[INFO] [stdout]     |
[INFO] [stdout] 351 |         positions.aset(key, Integer::from_u64(value_offset as u64))?;
[INFO] [stdout]     |                                      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `rb_sys::RString::as_`: To improve API stability with ruby-head, direct usage of Ruby internal structs has been deprecated. To migrate, please replace the usage of this internal struct with its counterpart in the `rb_sys::stable` module. For example, instead of `use rb_sys::rb_sys__Opaque__ExampleStruct;`, use `use rb_sys::stable::ExampleStruct;`. If you need to access the internals of these items, you can use the provided `rb-sys::macros` instead.
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:424:38
[INFO] [stdout]     |
[INFO] [stdout] 424 |                     let substr_ptr = raw_str.as_ref().as_.heap.ptr;
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `rb_sys::RString::as_`: To improve API stability with ruby-head, direct usage of Ruby internal structs has been deprecated. To migrate, please replace the usage of this internal struct with its counterpart in the `rb_sys::stable` module. For example, instead of `use rb_sys::rb_sys__Opaque__ExampleStruct;`, use `use rb_sys::stable::ExampleStruct;`. If you need to access the internals of these items, you can use the provided `rb-sys::macros` instead.
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:427:21
[INFO] [stdout]     |
[INFO] [stdout] 427 |                     raw_str.as_mut().as_.heap.ptr = self.as_mut_ptr().offset(offset);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `rb_sys::RString::as_`: To improve API stability with ruby-head, direct usage of Ruby internal structs has been deprecated. To migrate, please replace the usage of this internal struct with its counterpart in the `rb_sys::stable` module. For example, instead of `use rb_sys::rb_sys__Opaque__ExampleStruct;`, use `use rb_sys::stable::ExampleStruct;`. If you need to access the internals of these items, you can use the provided `rb-sys::macros` instead.
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:446:17
[INFO] [stdout]     |
[INFO] [stdout] 446 |                 raw_str.as_mut().as_.heap.ptr = self.as_mut_ptr();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `rb_sys::RString::basic`: To improve API stability with ruby-head, direct usage of Ruby internal structs has been deprecated. To migrate, please replace the usage of this internal struct with its counterpart in the `rb_sys::stable` module. For example, instead of `use rb_sys::rb_sys__Opaque__ExampleStruct;`, use `use rb_sys::stable::ExampleStruct;`. If you need to access the internals of these items, you can use the provided `rb-sys::macros` instead.
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:627:13
[INFO] [stdout]     |
[INFO] [stdout] 627 |             raw_str.as_ref().basic.flags
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `rb_sys::RString::len`: To improve API stability with ruby-head, direct usage of Ruby internal structs has been deprecated. To migrate, please replace the usage of this internal struct with its counterpart in the `rb_sys::stable` module. For example, instead of `use rb_sys::rb_sys__Opaque__ExampleStruct;`, use `use rb_sys::stable::ExampleStruct;`. If you need to access the internals of these items, you can use the provided `rb-sys::macros` instead.
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:651:9
[INFO] [stdout]     |
[INFO] [stdout] 651 |         raw_str.as_mut().len = new_len;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Fixnum::from_i64`: please use `Ruby::fixnum_from_i64` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/lib.rs:60:43
[INFO] [stdout]    |
[INFO] [stdout] 60 |     klass.const_set("MAP_SHARED", Fixnum::from_i64(MAP_SHARED).unwrap())?;
[INFO] [stdout]    |                                           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/mmap.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::mem;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::define_class`: please use `Ruby::define_class` instead
[INFO] [stdout]  --> ext/fast_mmaped_file_rs/src/lib.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use magnus::{class, define_class, exception, function, method, Ruby};
[INFO] [stdout]   |                     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::define_class`: please use `Ruby::define_class` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/lib.rs:34:20
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let prom_err = define_class(
[INFO] [stdout]    |                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::runtime_error`: please use `Ruby::exception_runtime_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/lib.rs:36:20
[INFO] [stdout]    |
[INFO] [stdout] 36 |         exception::runtime_error().as_r_class(),
[INFO] [stdout]    |                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::define_class`: please use `Ruby::define_class` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/lib.rs:56:17
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let klass = define_class("FastMmapedFileRs", class::object())?;
[INFO] [stdout]    |                 ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::class::object`: please use `Ruby::class_object` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/lib.rs:56:57
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let klass = define_class("FastMmapedFileRs", class::object())?;
[INFO] [stdout]    |                                                         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::arg_error`: please use `Ruby::exception_arg_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/error.rs:28:42
[INFO] [stdout]    |
[INFO] [stdout] 28 |             RubyError::Arg => exception::arg_error(),
[INFO] [stdout]    |                                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::encoding_error`: please use `Ruby::exception_encoding_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/error.rs:29:47
[INFO] [stdout]    |
[INFO] [stdout] 29 |             RubyError::Encoding => exception::encoding_error(),
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::frozen_error`: please use `Ruby::exception_frozen_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/error.rs:30:45
[INFO] [stdout]    |
[INFO] [stdout] 30 |             RubyError::Frozen => exception::frozen_error(),
[INFO] [stdout]    |                                             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::index_error`: please use `Ruby::exception_index_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/error.rs:31:44
[INFO] [stdout]    |
[INFO] [stdout] 31 |             RubyError::Index => exception::index_error(),
[INFO] [stdout]    |                                            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::io_error`: please use `Ruby::exception_io_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/error.rs:32:41
[INFO] [stdout]    |
[INFO] [stdout] 32 |             RubyError::Io => exception::io_error(),
[INFO] [stdout]    |                                         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::no_mem_error`: please use `Ruby::exception_no_mem_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/error.rs:33:44
[INFO] [stdout]    |
[INFO] [stdout] 33 |             RubyError::NoMem => exception::no_mem_error(),
[INFO] [stdout]    |                                            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::runtime_error`: please use `Ruby::exception_runtime_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/error.rs:34:46
[INFO] [stdout]    |
[INFO] [stdout] 34 |             RubyError::Runtime => exception::runtime_error(),
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::type_error`: please use `Ruby::exception_type_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/error.rs:40:43
[INFO] [stdout]    |
[INFO] [stdout] 40 |             RubyError::Type => exception::type_error(),
[INFO] [stdout]    |                                           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::arg_error`: please use `Ruby::exception_arg_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/file_info.rs:30:17
[INFO] [stdout]    |
[INFO] [stdout] 30 |                 arg_error(),
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::arg_error`: please use `Ruby::exception_arg_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/file_info.rs:37:33
[INFO] [stdout]    |
[INFO] [stdout] 37 |             .ok_or_else(|| err!(arg_error(), "can't convert filepath to String"))?;
[INFO] [stdout]    |                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::arg_error`: please use `Ruby::exception_arg_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/file_info.rs:46:17
[INFO] [stdout]    |
[INFO] [stdout] 46 |                 arg_error(),
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::io_error`: please use `Ruby::exception_io_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/file_info.rs:55:31
[INFO] [stdout]    |
[INFO] [stdout] 55 |             .map_err(|_| err!(io_error(), "Can't stat file, errno: {}", util::errno()))?;
[INFO] [stdout]    |                               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::arg_error`: please use `Ruby::exception_arg_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/file_info.rs:60:33
[INFO] [stdout]    |
[INFO] [stdout] 60 |             .ok_or_else(|| err!(arg_error(), "expected multiprocess_mode to be a symbol"))?;
[INFO] [stdout]    |                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::arg_error`: please use `Ruby::exception_arg_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/file_info.rs:63:33
[INFO] [stdout]    |
[INFO] [stdout] 63 |             .ok_or_else(|| err!(arg_error(), "expected file type to be a symbol"))?;
[INFO] [stdout]    |                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::arg_error`: please use `Ruby::exception_arg_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/file_info.rs:66:33
[INFO] [stdout]    |
[INFO] [stdout] 66 |             .ok_or_else(|| err!(arg_error(), "expected pid to be a String"))?;
[INFO] [stdout]    |                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::io_error`: please use `Ruby::exception_io_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/file_info.rs:69:31
[INFO] [stdout]    |
[INFO] [stdout] 69 |             .map_err(|_| err!(io_error(), "Can't fseek 0, errno: {}", util::errno()))?;
[INFO] [stdout]    |                               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/file_info.rs:112:16
[INFO] [stdout]     |
[INFO] [stdout] 112 |     use rand::{thread_rng, Rng};
[INFO] [stdout]     |                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/file_info.rs:165:9
[INFO] [stdout]     |
[INFO] [stdout] 165 |         thread_rng().fill(buf.as_mut_slice());
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/file_info.rs:208:9
[INFO] [stdout]     |
[INFO] [stdout] 208 |         thread_rng().fill(buf.as_mut_slice());
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::no_mem_error`: please use `Ruby::exception_no_mem_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/map.rs:40:21
[INFO] [stdout]    |
[INFO] [stdout] 40 |                     no_mem_error(),
[INFO] [stdout]    |                     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::no_mem_error`: please use `Ruby::exception_no_mem_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/map.rs:50:31
[INFO] [stdout]    |
[INFO] [stdout] 50 |             .map_err(|_| err!(no_mem_error(), "Couldn't allocate for {} memory", 16_384))?;
[INFO] [stdout]    |                               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::arg_error`: please use `Ruby::exception_arg_error` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/map.rs:56:21
[INFO] [stdout]    |
[INFO] [stdout] 56 |                     arg_error(),
[INFO] [stdout]    |                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::arg_error`: please use `Ruby::exception_arg_error` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:116:31
[INFO] [stdout]     |
[INFO] [stdout] 116 |             .map_err(|_| err!(arg_error(), "Can't open {}", fname))?;
[INFO] [stdout]     |                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::no_method_error`: please use `Ruby::exception_no_method_error` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:122:33
[INFO] [stdout]     |
[INFO] [stdout] 122 |             .ok_or_else(|| err!(no_method_error(), "unable to create WeakMap"))?;
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::arg_error`: please use `Ruby::exception_arg_error` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:407:37
[INFO] [stdout]     |
[INFO] [stdout] 407 |                 .ok_or_else(|| err!(arg_error(), "weakmap value was not a string"))?;
[INFO] [stdout]     |                                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `magnus::exception::arg_error`: please use `Ruby::exception_arg_error` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:476:29
[INFO] [stdout]     |
[INFO] [stdout] 476 |             return Err(err!(arg_error(), "Can't reduce the size of mmap"));
[INFO] [stdout]     |                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `rb_sys::RString`: To improve API stability with ruby-head, direct usage of Ruby internal structs has been deprecated. To migrate, please replace the usage of this internal struct with its counterpart in the `rb_sys::stable` module. For example, instead of `use rb_sys::rb_sys__Opaque__ExampleStruct;`, use `use rb_sys::stable::ExampleStruct;`. If you need to access the internals of these items, you can use the provided `rb-sys::macros` instead.
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:640:70
[INFO] [stdout]     |
[INFO] [stdout] 640 |     unsafe fn rb_string_internal(rb_str: RString) -> NonNull<rb_sys::RString> {
[INFO] [stdout]     |                                                                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `rb_sys::RString`: To improve API stability with ruby-head, direct usage of Ruby internal structs has been deprecated. To migrate, please replace the usage of this internal struct with its counterpart in the `rb_sys::stable` module. For example, instead of `use rb_sys::rb_sys__Opaque__ExampleStruct;`, use `use rb_sys::stable::ExampleStruct;`. If you need to access the internals of these items, you can use the provided `rb-sys::macros` instead.
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:641:64
[INFO] [stdout]     |
[INFO] [stdout] 641 |         NonNull::new_unchecked(rb_str.as_raw() as *mut rb_sys::RString)
[INFO] [stdout]     |                                                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `rb_sys::RString`: To improve API stability with ruby-head, direct usage of Ruby internal structs has been deprecated. To migrate, please replace the usage of this internal struct with its counterpart in the `rb_sys::stable` module. For example, instead of `use rb_sys::rb_sys__Opaque__ExampleStruct;`, use `use rb_sys::stable::ExampleStruct;`. If you need to access the internals of these items, you can use the provided `rb-sys::macros` instead.
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:650:70
[INFO] [stdout]     |
[INFO] [stdout] 650 |     unsafe fn update_rstring_len(&self, mut raw_str: NonNull<rb_sys::RString>, new_len: c_long) {
[INFO] [stdout]     |                                                                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Symbol::new`: please use `Ruby::to_symbol` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/file_entry.rs:645:48
[INFO] [stdout]     |
[INFO] [stdout] 645 |                     multiprocess_mode: Symbol::new(case.multiprocess_mode),
[INFO] [stdout]     |                                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Symbol::new`: please use `Ruby::to_symbol` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/file_entry.rs:646:36
[INFO] [stdout]     |
[INFO] [stdout] 646 |                     type_: Symbol::new("gauge"),
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Symbol::new`: please use `Ruby::to_symbol` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/file_entry.rs:751:44
[INFO] [stdout]     |
[INFO] [stdout] 751 |                 multiprocess_mode: Symbol::new(case.multiprocess_mode),
[INFO] [stdout]     |                                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Symbol::new`: please use `Ruby::to_symbol` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/file_entry.rs:752:32
[INFO] [stdout]     |
[INFO] [stdout] 752 |                 type_: Symbol::new(case.metric_type),
[INFO] [stdout]     |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Symbol::new`: please use `Ruby::to_symbol` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/file_info.rs:150:51
[INFO] [stdout]     |
[INFO] [stdout] 150 |         assert_eq!(out.multiprocess_mode, Symbol::new("max"));
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Symbol::new`: please use `Ruby::to_symbol` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/file_info.rs:151:39
[INFO] [stdout]     |
[INFO] [stdout] 151 |         assert_eq!(out.type_, Symbol::new("gauge"));
[INFO] [stdout]     |                                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Symbol::new`: please use `Ruby::to_symbol` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/file_info.rs:177:40
[INFO] [stdout]     |
[INFO] [stdout] 177 |             multiprocess_mode: Symbol::new("puma"),
[INFO] [stdout]     |                                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Symbol::new`: please use `Ruby::to_symbol` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/file_info.rs:178:28
[INFO] [stdout]     |
[INFO] [stdout] 178 |             type_: Symbol::new("max"),
[INFO] [stdout]     |                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Symbol::new`: please use `Ruby::to_symbol` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/file_info.rs:220:40
[INFO] [stdout]     |
[INFO] [stdout] 220 |             multiprocess_mode: Symbol::new("puma"),
[INFO] [stdout]     |                                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Symbol::new`: please use `Ruby::to_symbol` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/file_info.rs:221:28
[INFO] [stdout]     |
[INFO] [stdout] 221 |             type_: Symbol::new("max"),
[INFO] [stdout]     |                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `magnus::RArray::each`: Please use `ary.into_iter()` or `ary.enumeratorize("each", ())` instead.
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/map.rs:52:35
[INFO] [stdout]    |
[INFO] [stdout] 52 |         for item in list_of_files.each() {
[INFO] [stdout]    |                                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Symbol::new`: please use `Ruby::to_symbol` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/map.rs:298:48
[INFO] [stdout]     |
[INFO] [stdout] 298 |                     multiprocess_mode: Symbol::new("max"),
[INFO] [stdout]     |                                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Symbol::new`: please use `Ruby::to_symbol` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/map.rs:299:36
[INFO] [stdout]     |
[INFO] [stdout] 299 |                     type_: Symbol::new("gauge"),
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Symbol::new`: please use `Ruby::to_symbol` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/map.rs:309:48
[INFO] [stdout]     |
[INFO] [stdout] 309 |                     multiprocess_mode: Symbol::new("max"),
[INFO] [stdout]     |                                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Symbol::new`: please use `Ruby::to_symbol` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/map.rs:310:36
[INFO] [stdout]     |
[INFO] [stdout] 310 |                     type_: Symbol::new("gauge"),
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Symbol::new`: please use `Ruby::to_symbol` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/map.rs:320:48
[INFO] [stdout]     |
[INFO] [stdout] 320 |                     multiprocess_mode: Symbol::new("max"),
[INFO] [stdout]     |                                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Symbol::new`: please use `Ruby::to_symbol` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/map.rs:321:36
[INFO] [stdout]     |
[INFO] [stdout] 321 |                     type_: Symbol::new("gauge"),
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Symbol::new`: please use `Ruby::to_symbol` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/map.rs:331:48
[INFO] [stdout]     |
[INFO] [stdout] 331 |                     multiprocess_mode: Symbol::new("max"),
[INFO] [stdout]     |                                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Symbol::new`: please use `Ruby::to_symbol` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/map.rs:332:36
[INFO] [stdout]     |
[INFO] [stdout] 332 |                     type_: Symbol::new("gauge"),
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Symbol::new`: please use `Ruby::to_symbol` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/map.rs:342:48
[INFO] [stdout]     |
[INFO] [stdout] 342 |                     multiprocess_mode: Symbol::new("all"),
[INFO] [stdout]     |                                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Symbol::new`: please use `Ruby::to_symbol` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/map.rs:343:36
[INFO] [stdout]     |
[INFO] [stdout] 343 |                     type_: Symbol::new("gauge"),
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Symbol::new`: please use `Ruby::to_symbol` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/map.rs:353:48
[INFO] [stdout]     |
[INFO] [stdout] 353 |                     multiprocess_mode: Symbol::new("all"),
[INFO] [stdout]     |                                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Symbol::new`: please use `Ruby::to_symbol` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/map.rs:354:36
[INFO] [stdout]     |
[INFO] [stdout] 354 |                     type_: Symbol::new("gauge"),
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Symbol::new`: please use `Ruby::to_symbol` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/map.rs:397:48
[INFO] [stdout]     |
[INFO] [stdout] 397 |                     multiprocess_mode: Symbol::new("all"),
[INFO] [stdout]     |                                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Symbol::new`: please use `Ruby::to_symbol` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/map.rs:398:36
[INFO] [stdout]     |
[INFO] [stdout] 398 |                     type_: Symbol::new("histogram"),
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Symbol::new`: please use `Ruby::to_symbol` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/map.rs:432:44
[INFO] [stdout]     |
[INFO] [stdout] 432 |                 multiprocess_mode: Symbol::new("all"),
[INFO] [stdout]     |                                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Symbol::new`: please use `Ruby::to_symbol` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/map.rs:433:32
[INFO] [stdout]     |
[INFO] [stdout] 433 |                 type_: Symbol::new("gauge"),
[INFO] [stdout]     |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Symbol::new`: please use `Ruby::to_symbol` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/map.rs:444:44
[INFO] [stdout]     |
[INFO] [stdout] 444 |                 multiprocess_mode: Symbol::new("all"),
[INFO] [stdout]     |                                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Symbol::new`: please use `Ruby::to_symbol` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/map.rs:445:32
[INFO] [stdout]     |
[INFO] [stdout] 445 |                 type_: Symbol::new("gauge"),
[INFO] [stdout]     |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Symbol::new`: please use `Ruby::to_symbol` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/map.rs:456:44
[INFO] [stdout]     |
[INFO] [stdout] 456 |                 multiprocess_mode: Symbol::new("all"),
[INFO] [stdout]     |                                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Symbol::new`: please use `Ruby::to_symbol` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/map.rs:457:32
[INFO] [stdout]     |
[INFO] [stdout] 457 |                 type_: Symbol::new("gauge"),
[INFO] [stdout]     |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Symbol::new`: please use `Ruby::to_symbol` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/map.rs:468:44
[INFO] [stdout]     |
[INFO] [stdout] 468 |                 multiprocess_mode: Symbol::new("all"),
[INFO] [stdout]     |                                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Symbol::new`: please use `Ruby::to_symbol` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/map.rs:469:32
[INFO] [stdout]     |
[INFO] [stdout] 469 |                 type_: Symbol::new("gauge"),
[INFO] [stdout]     |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Symbol::new`: please use `Ruby::to_symbol` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/map.rs:599:44
[INFO] [stdout]     |
[INFO] [stdout] 599 |                 multiprocess_mode: Symbol::new("max"),
[INFO] [stdout]     |                                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Symbol::new`: please use `Ruby::to_symbol` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/map.rs:600:32
[INFO] [stdout]     |
[INFO] [stdout] 600 |                 type_: Symbol::new("gauge"),
[INFO] [stdout]     |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::typed_data::Obj::<T>::wrap_as`: please use `Ruby::obj_wrap_as` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:102:24
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let obj = Obj::wrap_as(lock, klass);
[INFO] [stdout]     |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Integer::from_u64`: please use `Ruby::integer_from_u64` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:264:21
[INFO] [stdout]     |
[INFO] [stdout] 264 |         Ok(Integer::from_u64(used as u64))
[INFO] [stdout]     |                     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Integer::from_u64`: please use `Ruby::integer_from_u64` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:313:38
[INFO] [stdout]     |
[INFO] [stdout] 313 |         positions.aset(key, Integer::from_u64(value_offset as u64))?;
[INFO] [stdout]     |                                      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Integer::from_u64`: please use `Ruby::integer_from_u64` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:351:38
[INFO] [stdout]     |
[INFO] [stdout] 351 |         positions.aset(key, Integer::from_u64(value_offset as u64))?;
[INFO] [stdout]     |                                      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `rb_sys::RString::as_`: To improve API stability with ruby-head, direct usage of Ruby internal structs has been deprecated. To migrate, please replace the usage of this internal struct with its counterpart in the `rb_sys::stable` module. For example, instead of `use rb_sys::rb_sys__Opaque__ExampleStruct;`, use `use rb_sys::stable::ExampleStruct;`. If you need to access the internals of these items, you can use the provided `rb-sys::macros` instead.
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:424:38
[INFO] [stdout]     |
[INFO] [stdout] 424 |                     let substr_ptr = raw_str.as_ref().as_.heap.ptr;
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `rb_sys::RString::as_`: To improve API stability with ruby-head, direct usage of Ruby internal structs has been deprecated. To migrate, please replace the usage of this internal struct with its counterpart in the `rb_sys::stable` module. For example, instead of `use rb_sys::rb_sys__Opaque__ExampleStruct;`, use `use rb_sys::stable::ExampleStruct;`. If you need to access the internals of these items, you can use the provided `rb-sys::macros` instead.
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:427:21
[INFO] [stdout]     |
[INFO] [stdout] 427 |                     raw_str.as_mut().as_.heap.ptr = self.as_mut_ptr().offset(offset);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `rb_sys::RString::as_`: To improve API stability with ruby-head, direct usage of Ruby internal structs has been deprecated. To migrate, please replace the usage of this internal struct with its counterpart in the `rb_sys::stable` module. For example, instead of `use rb_sys::rb_sys__Opaque__ExampleStruct;`, use `use rb_sys::stable::ExampleStruct;`. If you need to access the internals of these items, you can use the provided `rb-sys::macros` instead.
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:446:17
[INFO] [stdout]     |
[INFO] [stdout] 446 |                 raw_str.as_mut().as_.heap.ptr = self.as_mut_ptr();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `rb_sys::RString::basic`: To improve API stability with ruby-head, direct usage of Ruby internal structs has been deprecated. To migrate, please replace the usage of this internal struct with its counterpart in the `rb_sys::stable` module. For example, instead of `use rb_sys::rb_sys__Opaque__ExampleStruct;`, use `use rb_sys::stable::ExampleStruct;`. If you need to access the internals of these items, you can use the provided `rb-sys::macros` instead.
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:627:13
[INFO] [stdout]     |
[INFO] [stdout] 627 |             raw_str.as_ref().basic.flags
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `rb_sys::RString::len`: To improve API stability with ruby-head, direct usage of Ruby internal structs has been deprecated. To migrate, please replace the usage of this internal struct with its counterpart in the `rb_sys::stable` module. For example, instead of `use rb_sys::rb_sys__Opaque__ExampleStruct;`, use `use rb_sys::stable::ExampleStruct;`. If you need to access the internals of these items, you can use the provided `rb-sys::macros` instead.
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:651:9
[INFO] [stdout]     |
[INFO] [stdout] 651 |         raw_str.as_mut().len = new_len;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::RString::new`: please use `Ruby::str_new` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:676:30
[INFO] [stdout]     |
[INFO] [stdout] 676 |         let rpath = RString::new(&path_str);
[INFO] [stdout]     |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::RString::new`: please use `Ruby::str_new` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:686:64
[INFO] [stdout]     |
[INFO] [stdout] 686 |         MmapedFile::upsert_entry(*rb_self, positions, RString::new("a"), 0.0).unwrap();
[INFO] [stdout]     |                                                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::RString::new`: please use `Ruby::str_new` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:687:64
[INFO] [stdout]     |
[INFO] [stdout] 687 |         MmapedFile::upsert_entry(*rb_self, positions, RString::new("b"), 1.0).unwrap();
[INFO] [stdout]     |                                                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::RString::new`: please use `Ruby::str_new` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:688:64
[INFO] [stdout]     |
[INFO] [stdout] 688 |         MmapedFile::upsert_entry(*rb_self, positions, RString::new("c"), 2.0).unwrap();
[INFO] [stdout]     |                                                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::RString::new`: please use `Ruby::str_new` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:706:30
[INFO] [stdout]     |
[INFO] [stdout] 706 |         let rpath = RString::new(&path_str);
[INFO] [stdout]     |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Range::new`: please use `Ruby::range_new` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:740:35
[INFO] [stdout]     |
[INFO] [stdout] 740 |         let header_range = Range::new(0, HEADER_SIZE, true).unwrap().as_value();
[INFO] [stdout]     |                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Range::new`: please use `Ruby::range_new` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:746:34
[INFO] [stdout]     |
[INFO] [stdout] 746 |         let value_range = Range::new(HEADER_SIZE, 24, true).unwrap().as_value();
[INFO] [stdout]     |                                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Range::new`: please use `Ruby::range_new` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:828:38
[INFO] [stdout]     |
[INFO] [stdout] 828 |         let shareable_range = Range::new(1, len - 1, false).unwrap().as_value();
[INFO] [stdout]     |                                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Range::new`: please use `Ruby::range_new` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:837:40
[INFO] [stdout]     |
[INFO] [stdout] 837 |         let unshareable_range = Range::new(0, 4, false).unwrap().as_value();
[INFO] [stdout]     |                                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `rb_sys::RString::as_`: To improve API stability with ruby-head, direct usage of Ruby internal structs has been deprecated. To migrate, please replace the usage of this internal struct with its counterpart in the `rb_sys::stable` module. For example, instead of `use rb_sys::rb_sys__Opaque__ExampleStruct;`, use `use rb_sys::stable::ExampleStruct;`. If you need to access the internals of these items, you can use the provided `rb-sys::macros` instead.
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:791:47
[INFO] [stdout]     |
[INFO] [stdout] 791 |                         assert_eq!(parent_id, raw_str.as_ref().as_.heap.aux.shared);
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `rb_sys::RString::as_`: To improve API stability with ruby-head, direct usage of Ruby internal structs has been deprecated. To migrate, please replace the usage of this internal struct with its counterpart in the `rb_sys::stable` module. For example, instead of `use rb_sys::rb_sys__Opaque__ExampleStruct;`, use `use rb_sys::stable::ExampleStruct;`. If you need to access the internals of these items, you can use the provided `rb-sys::macros` instead.
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:794:67
[INFO] [stdout]     |
[INFO] [stdout] 794 |                         assert_eq!(mmap_ptr.offset(child_offset), raw_str.as_ref().as_.heap.ptr);
[INFO] [stdout]     |                                                                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `rb_sys::RString::as_`: To improve API stability with ruby-head, direct usage of Ruby internal structs has been deprecated. To migrate, please replace the usage of this internal struct with its counterpart in the `rb_sys::stable` module. For example, instead of `use rb_sys::rb_sys__Opaque__ExampleStruct;`, use `use rb_sys::stable::ExampleStruct;`. If you need to access the internals of these items, you can use the provided `rb-sys::macros` instead.
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:800:46
[INFO] [stdout]     |
[INFO] [stdout] 800 |                         assert_eq!(mmap_ptr, raw_str.as_ref().as_.heap.ptr);
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `rb_sys::RString::basic`: To improve API stability with ruby-head, direct usage of Ruby internal structs has been deprecated. To migrate, please replace the usage of this internal struct with its counterpart in the `rb_sys::stable` module. For example, instead of `use rb_sys::rb_sys__Opaque__ExampleStruct;`, use `use rb_sys::stable::ExampleStruct;`. If you need to access the internals of these items, you can use the provided `rb-sys::macros` instead.
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:802:33
[INFO] [stdout]     |
[INFO] [stdout] 802 |                         assert!(raw_str.as_ref().basic.flags & (STR_SHARED | STR_NOEMBED) > 0);
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::RString::new`: please use `Ruby::str_new` instead
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/mmap.rs:890:59
[INFO] [stdout]     |
[INFO] [stdout] 890 |         MmapedFile::upsert_entry(obj, positions, RString::new(&str), 1.0).unwrap();
[INFO] [stdout]     |                                                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `magnus::Fixnum::from_i64`: please use `Ruby::fixnum_from_i64` instead
[INFO] [stdout]   --> ext/fast_mmaped_file_rs/src/lib.rs:60:43
[INFO] [stdout]    |
[INFO] [stdout] 60 |     klass.const_set("MAP_SHARED", Fixnum::from_i64(MAP_SHARED).unwrap())?;
[INFO] [stdout]    |                                           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> ext/fast_mmaped_file_rs/src/map.rs:277:24
[INFO] [stdout]     |
[INFO] [stdout] 277 |         fn as_borrowed(&self) -> BorrowedData {
[INFO] [stdout]     |                        ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 277 |         fn as_borrowed(&self) -> BorrowedData<'_> {
[INFO] [stdout]     |                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.99s
[INFO] running `Command { std: "docker" "inspect" "adfc9ac8bfe76700a4c2711eaac55dce89a8d64be9a44580917b281e6afff2b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "adfc9ac8bfe76700a4c2711eaac55dce89a8d64be9a44580917b281e6afff2b3", kill_on_drop: false }`
[INFO] [stdout] adfc9ac8bfe76700a4c2711eaac55dce89a8d64be9a44580917b281e6afff2b3
