[INFO] cloning repository https://github.com/kitech/rspp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kitech/rspp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkitech%2Frspp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkitech%2Frspp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 684e8f6c6e0fb8045ee41e25ec7d010f8f49f89b [INFO] checking kitech/rspp against master#9e293ae9f8abecb0be5105787d181518c9012a19 for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkitech%2Frspp" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kitech/rspp [INFO] finished tweaking git repo https://github.com/kitech/rspp [INFO] tweaked toml for git repo https://github.com/kitech/rspp written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kitech/rspp on toolchain 9e293ae9f8abecb0be5105787d181518c9012a19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kitech/rspp 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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "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 typed-arena v2.0.2 [INFO] [stderr] Downloaded cpp_demangle v0.4.5 [INFO] [stderr] Downloaded rustc-demangle-capi v0.1.1 [INFO] [stderr] Downloaded ruzstd v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3216f21393dfdc1b13599557941fe3bbd640be3d672a4ad74b66aa7c7efe0387 [INFO] running `Command { std: "docker" "start" "-a" "3216f21393dfdc1b13599557941fe3bbd640be3d672a4ad74b66aa7c7efe0387", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3216f21393dfdc1b13599557941fe3bbd640be3d672a4ad74b66aa7c7efe0387", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3216f21393dfdc1b13599557941fe3bbd640be3d672a4ad74b66aa7c7efe0387", kill_on_drop: false }` [INFO] [stdout] 3216f21393dfdc1b13599557941fe3bbd640be3d672a4ad74b66aa7c7efe0387 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be658384306ab92f29f8cd032b471f5f98388caa2d25c15498d17e4b16a5803d [INFO] running `Command { std: "docker" "start" "-a" "be658384306ab92f29f8cd032b471f5f98388caa2d25c15498d17e4b16a5803d", kill_on_drop: false }` [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cpp_demangle v0.4.5 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Checking twox-hash v2.1.2 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking ruzstd v0.8.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking gimli v0.32.3 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking rustc-demangle-capi v0.1.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking neon v0.1.0 (/opt/rustwide/workdir/neon) [INFO] [stderr] Checking alpm v0.1.0 (/opt/rustwide/workdir/alpm) [INFO] [stderr] Checking cparser v0.1.0 (/opt/rustwide/workdir/cparser) [INFO] [stderr] Checking gumbo v0.1.0 (/opt/rustwide/workdir/gumbo) [INFO] [stderr] Checking curlpar v0.1.0 (/opt/rustwide/workdir/curlpar) [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Checking memmap2 v0.9.9 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking addr2line v0.25.1 [INFO] [stderr] Checking addr2linec v0.1.0 (/opt/rustwide/workdir/addr2linec) [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> addr2linec/src/lib.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn mgdiv1_(a: i8) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> addr2linec/src/lib.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn mgdiv1_1(a: i8) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> addr2linec/src/lib.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn mgdiv1_(a: i8) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> addr2linec/src/lib.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn mgdiv1_1(a: i8) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rscp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `lenx` [INFO] [stdout] --> src/./typeconv.rs:49:40 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn cstrfrom_u8ptr3(ptr: *const u8, lenx: usize) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lenx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nilvoidptr` should have an upper case name [INFO] [stdout] --> src/./typedefs.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const nilvoidptr: *mut c_void = 0 as *mut c_void; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `NILVOIDPTR` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nilcharptr` should have an upper case name [INFO] [stdout] --> src/./typedefs.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub const nilcharptr: *mut c_char = 0 as *mut c_char; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `NILCHARPTR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nili8ptr` should have an upper case name [INFO] [stdout] --> src/./typedefs.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const nili8ptr: *mut i8 = 0 as *mut i8; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `NILI8PTR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nilu8ptr` should have an upper case name [INFO] [stdout] --> src/./typedefs.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub const nilu8ptr: *mut u8 = 0 as *mut u8; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `NILU8PTR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nilvoidptrc` should have an upper case name [INFO] [stdout] --> src/./typedefs.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub const nilvoidptrc: *const c_void = 0 as *const c_void; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `NILVOIDPTRC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nilcharptrc` should have an upper case name [INFO] [stdout] --> src/./typedefs.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub const nilcharptrc: *const c_char = 0 as *const c_char; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `NILCHARPTRC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nili8ptrc` should have an upper case name [INFO] [stdout] --> src/./typedefs.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub const nili8ptrc: *const i8 = 0 as *const i8; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `NILI8PTRC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nilu8ptrc` should have an upper case name [INFO] [stdout] --> src/./typedefs.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub const nilu8ptrc: *const u8 = 0 as *const u8; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `NILU8PTRC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/./strconv.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { CString::from_raw(ptr) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { let _ = CString::from_raw(ptr); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | globvars.insert(ret, "wtval2".into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable [INFO] [stdout] | [INFO] [stdout] 53 - pub static mut globvars: Lazy> = Lazy::new(|| { [INFO] [stdout] 53 + pub static globvars: Lazy> = Lazy::new(|| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | globvars.insert(ret, "wtval".into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable [INFO] [stdout] | [INFO] [stdout] 53 - pub static mut globvars: Lazy> = Lazy::new(|| { [INFO] [stdout] 53 + pub static globvars: Lazy> = Lazy::new(|| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | globvars.remove(&ret); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable [INFO] [stdout] | [INFO] [stdout] 53 - pub static mut globvars: Lazy> = Lazy::new(|| { [INFO] [stdout] 53 + pub static globvars: Lazy> = Lazy::new(|| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | globvars.remove(&n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable [INFO] [stdout] | [INFO] [stdout] 53 - pub static mut globvars: Lazy> = Lazy::new(|| { [INFO] [stdout] 53 + pub static globvars: Lazy> = Lazy::new(|| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | unsafe { globvars.len() } [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable [INFO] [stdout] | [INFO] [stdout] 53 - pub static mut globvars: Lazy> = Lazy::new(|| { [INFO] [stdout] 53 + pub static globvars: Lazy> = Lazy::new(|| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lenx` [INFO] [stdout] --> src/./typeconv.rs:49:40 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn cstrfrom_u8ptr3(ptr: *const u8, lenx: usize) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lenx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nilvoidptr` should have an upper case name [INFO] [stdout] --> src/./typedefs.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const nilvoidptr: *mut c_void = 0 as *mut c_void; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `NILVOIDPTR` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nilcharptr` should have an upper case name [INFO] [stdout] --> src/./typedefs.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub const nilcharptr: *mut c_char = 0 as *mut c_char; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `NILCHARPTR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nili8ptr` should have an upper case name [INFO] [stdout] --> src/./typedefs.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const nili8ptr: *mut i8 = 0 as *mut i8; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `NILI8PTR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nilu8ptr` should have an upper case name [INFO] [stdout] --> src/./typedefs.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub const nilu8ptr: *mut u8 = 0 as *mut u8; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `NILU8PTR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nilvoidptrc` should have an upper case name [INFO] [stdout] --> src/./typedefs.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub const nilvoidptrc: *const c_void = 0 as *const c_void; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `NILVOIDPTRC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nilcharptrc` should have an upper case name [INFO] [stdout] --> src/./typedefs.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub const nilcharptrc: *const c_char = 0 as *const c_char; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `NILCHARPTRC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nili8ptrc` should have an upper case name [INFO] [stdout] --> src/./typedefs.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub const nili8ptrc: *const i8 = 0 as *const i8; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `NILI8PTRC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nilu8ptrc` should have an upper case name [INFO] [stdout] --> src/./typedefs.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub const nilu8ptrc: *const u8 = 0 as *const u8; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `NILU8PTRC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::ffi::CString::from_raw` that must be used [INFO] [stdout] --> src/./strconv.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { CString::from_raw(ptr) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { let _ = CString::from_raw(ptr); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | globvars.insert(ret, "wtval2".into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable [INFO] [stdout] | [INFO] [stdout] 53 - pub static mut globvars: Lazy> = Lazy::new(|| { [INFO] [stdout] 53 + pub static globvars: Lazy> = Lazy::new(|| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | globvars.insert(ret, "wtval".into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable [INFO] [stdout] | [INFO] [stdout] 53 - pub static mut globvars: Lazy> = Lazy::new(|| { [INFO] [stdout] 53 + pub static globvars: Lazy> = Lazy::new(|| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | globvars.remove(&ret); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable [INFO] [stdout] | [INFO] [stdout] 53 - pub static mut globvars: Lazy> = Lazy::new(|| { [INFO] [stdout] 53 + pub static globvars: Lazy> = Lazy::new(|| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | globvars.remove(&n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable [INFO] [stdout] | [INFO] [stdout] 53 - pub static mut globvars: Lazy> = Lazy::new(|| { [INFO] [stdout] 53 + pub static globvars: Lazy> = Lazy::new(|| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | unsafe { globvars.len() } [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable [INFO] [stdout] | [INFO] [stdout] 53 - pub static mut globvars: Lazy> = Lazy::new(|| { [INFO] [stdout] 53 + pub static globvars: Lazy> = Lazy::new(|| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.33s [INFO] running `Command { std: "docker" "inspect" "be658384306ab92f29f8cd032b471f5f98388caa2d25c15498d17e4b16a5803d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be658384306ab92f29f8cd032b471f5f98388caa2d25c15498d17e4b16a5803d", kill_on_drop: false }` [INFO] [stdout] be658384306ab92f29f8cd032b471f5f98388caa2d25c15498d17e4b16a5803d