[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 try#93086cfebfccb79083c59d0d3b2052944bba643c 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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kitech/rspp on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc9ac9b5f6dcc6a5ca2b00cfc224d4455f918fd19dae0c6fd22b257920aeff1d [INFO] running `Command { std: "docker" "start" "-a" "bc9ac9b5f6dcc6a5ca2b00cfc224d4455f918fd19dae0c6fd22b257920aeff1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc9ac9b5f6dcc6a5ca2b00cfc224d4455f918fd19dae0c6fd22b257920aeff1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc9ac9b5f6dcc6a5ca2b00cfc224d4455f918fd19dae0c6fd22b257920aeff1d", kill_on_drop: false }` [INFO] [stdout] bc9ac9b5f6dcc6a5ca2b00cfc224d4455f918fd19dae0c6fd22b257920aeff1d [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=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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4bd750906c84bcb460a80c36003fa797eedc55e1a075ccdd3f277449533af3a2 [INFO] running `Command { std: "docker" "start" "-a" "4bd750906c84bcb460a80c36003fa797eedc55e1a075ccdd3f277449533af3a2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling serde_core v1.0.228 [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 simd-adler32 v0.3.7 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking twox-hash v2.1.2 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Checking ruzstd v0.8.1 [INFO] [stderr] Checking gimli v0.32.3 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking rustc-demangle-capi v0.1.1 [INFO] [stderr] Checking once_cell v1.21.3 [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 gumbo v0.1.0 (/opt/rustwide/workdir/gumbo) [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking cparser v0.1.0 (/opt/rustwide/workdir/cparser) [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] error: struct `Voidptrwp` is never constructed [INFO] [stdout] --> src/./typedefs.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Voidptrwp(*mut c_void); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Charptrwp` is never constructed [INFO] [stdout] --> src/./typedefs.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Charptrwp(*mut c_char); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `U8ptrwp` is never constructed [INFO] [stdout] --> src/./typedefs.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct U8ptrwp(*mut u8); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `I8ptrwp` is never constructed [INFO] [stdout] --> src/./typedefs.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct I8ptrwp(*mut i8); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [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] [stderr] error: could not compile `rscp` (lib) due to 4 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: struct `Voidptrwp` is never constructed [INFO] [stdout] --> src/./typedefs.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Voidptrwp(*mut c_void); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Charptrwp` is never constructed [INFO] [stdout] --> src/./typedefs.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Charptrwp(*mut c_char); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `U8ptrwp` is never constructed [INFO] [stdout] --> src/./typedefs.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct U8ptrwp(*mut u8); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [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] error: could not compile `rscp` (lib test) due to 3 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4bd750906c84bcb460a80c36003fa797eedc55e1a075ccdd3f277449533af3a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bd750906c84bcb460a80c36003fa797eedc55e1a075ccdd3f277449533af3a2", kill_on_drop: false }` [INFO] [stdout] 4bd750906c84bcb460a80c36003fa797eedc55e1a075ccdd3f277449533af3a2