[INFO] cloning repository https://github.com/enginestein/aksarantara.ruby [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/enginestein/aksarantara.ruby" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenginestein%2Faksarantara.ruby", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenginestein%2Faksarantara.ruby'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a3d86c4bc9124be8380b08f77790a28530d5514 [INFO] testing enginestein/aksarantara.ruby against 1.76.0 for beta-1.77-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenginestein%2Faksarantara.ruby" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/enginestein/aksarantara.ruby on toolchain 1.76.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/enginestein/aksarantara.ruby [INFO] finished tweaking git repo https://github.com/enginestein/aksarantara.ruby [INFO] tweaked toml for git repo https://github.com/enginestein/aksarantara.ruby written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/enginestein/aksarantara.ruby 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" "+1.76.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] testing enginestein/aksarantara.ruby against beta-2024-02-10 for beta-1.77-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenginestein%2Faksarantara.ruby" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/enginestein/aksarantara.ruby on toolchain beta-2024-02-10 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/enginestein/aksarantara.ruby [INFO] finished tweaking git repo https://github.com/enginestein/aksarantara.ruby [INFO] tweaked toml for git repo https://github.com/enginestein/aksarantara.ruby written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/enginestein/aksarantara.ruby 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" "+beta-2024-02-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ruby-sys v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1929c2e838632376afba123c1182c0b8882fa44921a04ba0a2446ac105f0871 [INFO] running `Command { std: "docker" "start" "-a" "f1929c2e838632376afba123c1182c0b8882fa44921a04ba0a2446ac105f0871", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1929c2e838632376afba123c1182c0b8882fa44921a04ba0a2446ac105f0871", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1929c2e838632376afba123c1182c0b8882fa44921a04ba0a2446ac105f0871", kill_on_drop: false }` [INFO] [stdout] f1929c2e838632376afba123c1182c0b8882fa44921a04ba0a2446ac105f0871 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a3a3bd20d30d2727f8abd7fc711db633ee95f654f394ebaabf0e1460685d04d [INFO] running `Command { std: "docker" "start" "-a" "4a3a3bd20d30d2727f8abd7fc711db633ee95f654f394ebaabf0e1460685d04d", kill_on_drop: false }` [INFO] [stderr] Compiling ruby-sys v0.3.0 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling regex v1.8.4 [INFO] [stderr] Compiling aksarantara v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/detect/mod.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | if let 0x0900...0x0D7F = c as usize { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/detect/mod.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | 0x0900...0x097F => 1, // Devanagari [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/detect/mod.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | 0x0980...0x09FF => 2, // Bengali [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/detect/mod.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | 0x0A00...0x0A7F => 3, // Gurmukhi [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/detect/mod.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | 0x0A80...0x0AFF => 4, // Gujarati [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/detect/mod.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | 0x0B00...0x0B7F => 5, // Oriya [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/detect/mod.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | 0x0B80...0x0BFF => 6, // Tamil [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/detect/mod.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | 0x0C00...0x0C7F => 7, // Telugu [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/detect/mod.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | 0x0C80...0x0CFF => 8, // Kannada [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/detect/mod.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | 0x0D00...0x0D7F => 9, // Malayalam [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] ... [INFO] [stdout] 44 | unsafe { class::rb_define_module(str2cstrp!(name)) } [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] ... [INFO] [stdout] 48 | unsafe { class::rb_define_module_under(parent, str2cstrp!(name)) } [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] ... [INFO] [stdout] 52 | unsafe { class::rb_define_method(module, str2cstrp!(name), method, argc) } [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/detect/mod.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | pub extern "C" fn detect_scheme(s: &str) -> usize { [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] ::: src/detect/ruby.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | str2sym!("devanagari"), [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] ::: src/detect/ruby.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | str2sym!("bengali") , [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] ::: src/detect/ruby.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | str2sym!("gurmukhi"), [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] ::: src/detect/ruby.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | str2sym!("gujarati"), [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] ::: src/detect/ruby.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | str2sym!("oriya"), [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] ::: src/detect/ruby.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | str2sym!("tamil"), [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] ::: src/detect/ruby.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | str2sym!("telugu"), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] ::: src/detect/ruby.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | str2sym!("kannada"), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] ::: src/detect/ruby.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | str2sym!("malayalam"), [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] ::: src/detect/ruby.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | str2sym!("iast"), [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] ::: src/detect/ruby.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | str2sym!("kolkata"), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] ::: src/detect/ruby.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | str2sym!("itrans"), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] ::: src/detect/ruby.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | str2sym!("slp1"), [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] ::: src/detect/ruby.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | str2sym!("velthuis"), [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] ::: src/detect/ruby.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | str2sym!("hk") [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.73s [INFO] running `Command { std: "docker" "inspect" "4a3a3bd20d30d2727f8abd7fc711db633ee95f654f394ebaabf0e1460685d04d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a3a3bd20d30d2727f8abd7fc711db633ee95f654f394ebaabf0e1460685d04d", kill_on_drop: false }` [INFO] [stdout] 4a3a3bd20d30d2727f8abd7fc711db633ee95f654f394ebaabf0e1460685d04d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6361d1f1b5a5907ff1f7beafe31e3234b7f5b29914002f9ae482a1779862b141 [INFO] running `Command { std: "docker" "start" "-a" "6361d1f1b5a5907ff1f7beafe31e3234b7f5b29914002f9ae482a1779862b141", kill_on_drop: false }` [INFO] [stderr] Compiling aksarantara v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/detect/mod.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | if let 0x0900...0x0D7F = c as usize { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/detect/mod.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | 0x0900...0x097F => 1, // Devanagari [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/detect/mod.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | 0x0980...0x09FF => 2, // Bengali [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/detect/mod.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | 0x0A00...0x0A7F => 3, // Gurmukhi [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/detect/mod.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | 0x0A80...0x0AFF => 4, // Gujarati [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/detect/mod.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | 0x0B00...0x0B7F => 5, // Oriya [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/detect/mod.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | 0x0B80...0x0BFF => 6, // Tamil [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/detect/mod.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | 0x0C00...0x0C7F => 7, // Telugu [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/detect/mod.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | 0x0C80...0x0CFF => 8, // Kannada [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/detect/mod.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | 0x0D00...0x0D7F => 9, // Malayalam [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] ... [INFO] [stdout] 44 | unsafe { class::rb_define_module(str2cstrp!(name)) } [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] ... [INFO] [stdout] 48 | unsafe { class::rb_define_module_under(parent, str2cstrp!(name)) } [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] ... [INFO] [stdout] 52 | unsafe { class::rb_define_method(module, str2cstrp!(name), method, argc) } [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/detect/mod.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | pub extern "C" fn detect_scheme(s: &str) -> usize { [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] ::: src/detect/ruby.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | str2sym!("devanagari"), [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] ::: src/detect/ruby.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | str2sym!("bengali") , [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] ::: src/detect/ruby.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | str2sym!("gurmukhi"), [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] ::: src/detect/ruby.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | str2sym!("gujarati"), [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] ::: src/detect/ruby.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | str2sym!("oriya"), [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] ::: src/detect/ruby.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | str2sym!("tamil"), [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] ::: src/detect/ruby.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | str2sym!("telugu"), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] ::: src/detect/ruby.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | str2sym!("kannada"), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] ::: src/detect/ruby.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | str2sym!("malayalam"), [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] ::: src/detect/ruby.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | str2sym!("iast"), [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] ::: src/detect/ruby.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | str2sym!("kolkata"), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] ::: src/detect/ruby.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | str2sym!("itrans"), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] ::: src/detect/ruby.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | str2sym!("slp1"), [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] ::: src/detect/ruby.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | str2sym!("velthuis"), [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rb.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stdout] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] ... [INFO] [stdout] 18 | str2cstr!($s).as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] ::: src/detect/ruby.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | str2sym!("hk") [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.30s [INFO] running `Command { std: "docker" "inspect" "6361d1f1b5a5907ff1f7beafe31e3234b7f5b29914002f9ae482a1779862b141", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6361d1f1b5a5907ff1f7beafe31e3234b7f5b29914002f9ae482a1779862b141", kill_on_drop: false }` [INFO] [stdout] 6361d1f1b5a5907ff1f7beafe31e3234b7f5b29914002f9ae482a1779862b141 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 02fbc58e46d18f361f265befb95352459964a5c2ece0db15f11984c367419b13 [INFO] running `Command { std: "docker" "start" "-a" "02fbc58e46d18f361f265befb95352459964a5c2ece0db15f11984c367419b13", kill_on_drop: false }` [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/detect/mod.rs:19:22 [INFO] [stderr] | [INFO] [stderr] 19 | if let 0x0900...0x0D7F = c as usize { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/detect/mod.rs:33:19 [INFO] [stderr] | [INFO] [stderr] 33 | 0x0900...0x097F => 1, // Devanagari [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/detect/mod.rs:34:19 [INFO] [stderr] | [INFO] [stderr] 34 | 0x0980...0x09FF => 2, // Bengali [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/detect/mod.rs:35:19 [INFO] [stderr] | [INFO] [stderr] 35 | 0x0A00...0x0A7F => 3, // Gurmukhi [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/detect/mod.rs:36:19 [INFO] [stderr] | [INFO] [stderr] 36 | 0x0A80...0x0AFF => 4, // Gujarati [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/detect/mod.rs:37:19 [INFO] [stderr] | [INFO] [stderr] 37 | 0x0B00...0x0B7F => 5, // Oriya [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/detect/mod.rs:38:19 [INFO] [stderr] | [INFO] [stderr] 38 | 0x0B80...0x0BFF => 6, // Tamil [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/detect/mod.rs:39:19 [INFO] [stderr] | [INFO] [stderr] 39 | 0x0C00...0x0C7F => 7, // Telugu [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/detect/mod.rs:40:19 [INFO] [stderr] | [INFO] [stderr] 40 | 0x0C80...0x0CFF => 8, // Kannada [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/detect/mod.rs:41:19 [INFO] [stderr] | [INFO] [stderr] 41 | 0x0D00...0x0D7F => 9, // Malayalam [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/rb.rs:18:23 [INFO] [stderr] | [INFO] [stderr] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stderr] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] ... [INFO] [stderr] 18 | str2cstr!($s).as_ptr() [INFO] [stderr] | ^^^^^^ this pointer will be invalid [INFO] [stderr] ... [INFO] [stderr] 44 | unsafe { class::rb_define_module(str2cstrp!(name)) } [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stderr] = note: this warning originates in the macro `str2cstrp` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/rb.rs:18:23 [INFO] [stderr] | [INFO] [stderr] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stderr] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] ... [INFO] [stderr] 18 | str2cstr!($s).as_ptr() [INFO] [stderr] | ^^^^^^ this pointer will be invalid [INFO] [stderr] ... [INFO] [stderr] 48 | unsafe { class::rb_define_module_under(parent, str2cstrp!(name)) } [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] = note: this warning originates in the macro `str2cstrp` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/rb.rs:18:23 [INFO] [stderr] | [INFO] [stderr] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stderr] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] ... [INFO] [stderr] 18 | str2cstr!($s).as_ptr() [INFO] [stderr] | ^^^^^^ this pointer will be invalid [INFO] [stderr] ... [INFO] [stderr] 52 | unsafe { class::rb_define_method(module, str2cstrp!(name), method, argc) } [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] = note: this warning originates in the macro `str2cstrp` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stderr] --> src/detect/mod.rs:27:36 [INFO] [stderr] | [INFO] [stderr] 27 | pub extern "C" fn detect_scheme(s: &str) -> usize { [INFO] [stderr] | ^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider using `*const u8` and a length instead [INFO] [stderr] = note: string slices have no C equivalent [INFO] [stderr] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/rb.rs:18:23 [INFO] [stderr] | [INFO] [stderr] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stderr] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] ... [INFO] [stderr] 18 | str2cstr!($s).as_ptr() [INFO] [stderr] | ^^^^^^ this pointer will be invalid [INFO] [stderr] | [INFO] [stderr] ::: src/detect/ruby.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | str2sym!("devanagari"), [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/rb.rs:18:23 [INFO] [stderr] | [INFO] [stderr] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stderr] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] ... [INFO] [stderr] 18 | str2cstr!($s).as_ptr() [INFO] [stderr] | ^^^^^^ this pointer will be invalid [INFO] [stderr] | [INFO] [stderr] ::: src/detect/ruby.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | str2sym!("bengali") , [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/rb.rs:18:23 [INFO] [stderr] | [INFO] [stderr] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stderr] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] ... [INFO] [stderr] 18 | str2cstr!($s).as_ptr() [INFO] [stderr] | ^^^^^^ this pointer will be invalid [INFO] [stderr] | [INFO] [stderr] ::: src/detect/ruby.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | str2sym!("gurmukhi"), [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/rb.rs:18:23 [INFO] [stderr] | [INFO] [stderr] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stderr] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] ... [INFO] [stderr] 18 | str2cstr!($s).as_ptr() [INFO] [stderr] | ^^^^^^ this pointer will be invalid [INFO] [stderr] | [INFO] [stderr] ::: src/detect/ruby.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | str2sym!("gujarati"), [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/rb.rs:18:23 [INFO] [stderr] | [INFO] [stderr] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stderr] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] ... [INFO] [stderr] 18 | str2cstr!($s).as_ptr() [INFO] [stderr] | ^^^^^^ this pointer will be invalid [INFO] [stderr] | [INFO] [stderr] ::: src/detect/ruby.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | str2sym!("oriya"), [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/rb.rs:18:23 [INFO] [stderr] | [INFO] [stderr] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stderr] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] ... [INFO] [stderr] 18 | str2cstr!($s).as_ptr() [INFO] [stderr] | ^^^^^^ this pointer will be invalid [INFO] [stderr] | [INFO] [stderr] ::: src/detect/ruby.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | str2sym!("tamil"), [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/rb.rs:18:23 [INFO] [stderr] | [INFO] [stderr] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stderr] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] ... [INFO] [stderr] 18 | str2cstr!($s).as_ptr() [INFO] [stderr] | ^^^^^^ this pointer will be invalid [INFO] [stderr] | [INFO] [stderr] ::: src/detect/ruby.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | str2sym!("telugu"), [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/rb.rs:18:23 [INFO] [stderr] | [INFO] [stderr] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stderr] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] ... [INFO] [stderr] 18 | str2cstr!($s).as_ptr() [INFO] [stderr] | ^^^^^^ this pointer will be invalid [INFO] [stderr] | [INFO] [stderr] ::: src/detect/ruby.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | str2sym!("kannada"), [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/rb.rs:18:23 [INFO] [stderr] | [INFO] [stderr] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stderr] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] ... [INFO] [stderr] 18 | str2cstr!($s).as_ptr() [INFO] [stderr] | ^^^^^^ this pointer will be invalid [INFO] [stderr] | [INFO] [stderr] ::: src/detect/ruby.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | str2sym!("malayalam"), [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/rb.rs:18:23 [INFO] [stderr] | [INFO] [stderr] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stderr] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] ... [INFO] [stderr] 18 | str2cstr!($s).as_ptr() [INFO] [stderr] | ^^^^^^ this pointer will be invalid [INFO] [stderr] | [INFO] [stderr] ::: src/detect/ruby.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | str2sym!("iast"), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/rb.rs:18:23 [INFO] [stderr] | [INFO] [stderr] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stderr] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] ... [INFO] [stderr] 18 | str2cstr!($s).as_ptr() [INFO] [stderr] | ^^^^^^ this pointer will be invalid [INFO] [stderr] | [INFO] [stderr] ::: src/detect/ruby.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | str2sym!("kolkata"), [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/rb.rs:18:23 [INFO] [stderr] | [INFO] [stderr] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stderr] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] ... [INFO] [stderr] 18 | str2cstr!($s).as_ptr() [INFO] [stderr] | ^^^^^^ this pointer will be invalid [INFO] [stderr] | [INFO] [stderr] ::: src/detect/ruby.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | str2sym!("itrans"), [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/rb.rs:18:23 [INFO] [stderr] | [INFO] [stderr] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stderr] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] ... [INFO] [stderr] 18 | str2cstr!($s).as_ptr() [INFO] [stderr] | ^^^^^^ this pointer will be invalid [INFO] [stderr] | [INFO] [stderr] ::: src/detect/ruby.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | str2sym!("slp1"), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/rb.rs:18:23 [INFO] [stderr] | [INFO] [stderr] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stderr] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] ... [INFO] [stderr] 18 | str2cstr!($s).as_ptr() [INFO] [stderr] | ^^^^^^ this pointer will be invalid [INFO] [stderr] | [INFO] [stderr] ::: src/detect/ruby.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | str2sym!("velthuis"), [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/rb.rs:18:23 [INFO] [stderr] | [INFO] [stderr] 12 | ::std::ffi::CString::new($s).unwrap() [INFO] [stderr] | ------------------------------------- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] ... [INFO] [stderr] 18 | str2cstr!($s).as_ptr() [INFO] [stderr] | ^^^^^^ this pointer will be invalid [INFO] [stderr] | [INFO] [stderr] ::: src/detect/ruby.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | str2sym!("hk") [INFO] [stderr] | -------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] = note: this warning originates in the macro `str2cstrp` which comes from the expansion of the macro `str2sym` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `aksarantara` (lib test) generated 29 warnings (run `cargo fix --lib -p aksarantara --tests` to apply 10 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/aksarantara-ed7cc81381e1e5c4) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::detect_devanagari ... ok [INFO] [stdout] test tests::detect_malayalam ... ok [INFO] [stdout] test tests::detect_slp1 ... ok [INFO] [stdout] test tests::detect_iast ... ok [INFO] [stdout] test tests::detect_hk ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "02fbc58e46d18f361f265befb95352459964a5c2ece0db15f11984c367419b13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02fbc58e46d18f361f265befb95352459964a5c2ece0db15f11984c367419b13", kill_on_drop: false }` [INFO] [stdout] 02fbc58e46d18f361f265befb95352459964a5c2ece0db15f11984c367419b13