[INFO] cloning repository https://github.com/voelklmichael/doom_v3
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/voelklmichael/doom_v3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fdoom_v3", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fdoom_v3'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d04f5fe19321b85105f41924a63d5b1040dfda7f
[INFO] checking voelklmichael/doom_v3 against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6 for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fdoom_v3" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/voelklmichael/doom_v3
[INFO] finished tweaking git repo https://github.com/voelklmichael/doom_v3
[INFO] tweaked toml for git repo https://github.com/voelklmichael/doom_v3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/voelklmichael/doom_v3 on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/voelklmichael/doom_v3 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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e0c7bbcb6708a911149b85e65ca986aa954b80ae373fb879ef2bcbed827fb0c8
[INFO] running `Command { std: "docker" "start" "e0c7bbcb6708a911149b85e65ca986aa954b80ae373fb879ef2bcbed827fb0c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e0c7bbcb6708a911149b85e65ca986aa954b80ae373fb879ef2bcbed827fb0c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e0c7bbcb6708a911149b85e65ca986aa954b80ae373fb879ef2bcbed827fb0c8" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e0c7bbcb6708a911149b85e65ca986aa954b80ae373fb879ef2bcbed827fb0c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e0c7bbcb6708a911149b85e65ca986aa954b80ae373fb879ef2bcbed827fb0c8" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.107
[INFO] [stderr]    Compiling quote v1.0.47
[INFO] [stderr]    Compiling x11 v2.21.0
[INFO] [stderr]    Compiling syn v3.0.3
[INFO] [stderr]     Checking doom_rs v0.1.0 (/opt/rustwide/workdir/doom_rs)
[INFO] [stdout] error[E0530]: let bindings cannot shadow statics
[INFO] [stdout]    --> doom_rs/src/f_wipe.rs:96:17
[INFO] [stdout]     |
[INFO] [stdout]  96 |         let mut y: std::ffi::c_int = unsafe {
[INFO] [stdout]     |                 ^ cannot be named the same as a static
[INFO] [stdout] ...
[INFO] [stdout] 208 | static mut y: *mut std::ffi::c_int = unsafe { std::mem::zeroed() }; // TODO: initializer not yet translated
[INFO] [stdout]     | ------------------------------------------------------------------- the static `y` is defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0530]: function parameters cannot shadow statics
[INFO] [stdout]    --> doom_rs/src/f_wipe.rs:346:9
[INFO] [stdout]     |
[INFO] [stdout] 208 | static mut y: *mut std::ffi::c_int = unsafe { std::mem::zeroed() }; // TODO: initializer not yet translated
[INFO] [stdout]     | ------------------------------------------------------------------- the static `y` is defined here
[INFO] [stdout] ...
[INFO] [stdout] 346 |     mut y: std::ffi::c_int,
[INFO] [stdout]     |         ^ cannot be named the same as a static
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0530]: function parameters cannot shadow statics
[INFO] [stdout]    --> doom_rs/src/f_wipe.rs:363:9
[INFO] [stdout]     |
[INFO] [stdout] 208 | static mut y: *mut std::ffi::c_int = unsafe { std::mem::zeroed() }; // TODO: initializer not yet translated
[INFO] [stdout]     | ------------------------------------------------------------------- the static `y` is defined here
[INFO] [stdout] ...
[INFO] [stdout] 363 |     mut y: std::ffi::c_int,
[INFO] [stdout]     |         ^ cannot be named the same as a static
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0530]: function parameters cannot shadow statics
[INFO] [stdout]    --> doom_rs/src/f_wipe.rs:382:9
[INFO] [stdout]     |
[INFO] [stdout] 208 | static mut y: *mut std::ffi::c_int = unsafe { std::mem::zeroed() }; // TODO: initializer not yet translated
[INFO] [stdout]     | ------------------------------------------------------------------- the static `y` is defined here
[INFO] [stdout] ...
[INFO] [stdout] 382 |     mut y: std::ffi::c_int,
[INFO] [stdout]     |         ^ cannot be named the same as a static
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0530]: let bindings cannot shadow statics
[INFO] [stdout]    --> doom_rs/src/f_wipe.rs:96:17
[INFO] [stdout]     |
[INFO] [stdout]  96 |         let mut y: std::ffi::c_int = unsafe {
[INFO] [stdout]     |                 ^ cannot be named the same as a static
[INFO] [stdout] ...
[INFO] [stdout] 208 | static mut y: *mut std::ffi::c_int = unsafe { std::mem::zeroed() }; // TODO: initializer not yet translated
[INFO] [stdout]     | ------------------------------------------------------------------- the static `y` is defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0530]: function parameters cannot shadow statics
[INFO] [stdout]    --> doom_rs/src/f_wipe.rs:346:9
[INFO] [stdout]     |
[INFO] [stdout] 208 | static mut y: *mut std::ffi::c_int = unsafe { std::mem::zeroed() }; // TODO: initializer not yet translated
[INFO] [stdout]     | ------------------------------------------------------------------- the static `y` is defined here
[INFO] [stdout] ...
[INFO] [stdout] 346 |     mut y: std::ffi::c_int,
[INFO] [stdout]     |         ^ cannot be named the same as a static
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0530]: function parameters cannot shadow statics
[INFO] [stdout]    --> doom_rs/src/f_wipe.rs:363:9
[INFO] [stdout]     |
[INFO] [stdout] 208 | static mut y: *mut std::ffi::c_int = unsafe { std::mem::zeroed() }; // TODO: initializer not yet translated
[INFO] [stdout]     | ------------------------------------------------------------------- the static `y` is defined here
[INFO] [stdout] ...
[INFO] [stdout] 363 |     mut y: std::ffi::c_int,
[INFO] [stdout]     |         ^ cannot be named the same as a static
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0530]: function parameters cannot shadow statics
[INFO] [stdout]    --> doom_rs/src/f_wipe.rs:382:9
[INFO] [stdout]     |
[INFO] [stdout] 208 | static mut y: *mut std::ffi::c_int = unsafe { std::mem::zeroed() }; // TODO: initializer not yet translated
[INFO] [stdout]     | ------------------------------------------------------------------- the static `y` is defined here
[INFO] [stdout] ...
[INFO] [stdout] 382 |     mut y: std::ffi::c_int,
[INFO] [stdout]     |         ^ cannot be named the same as a static
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0530]: function parameters cannot shadow statics
[INFO] [stdout]    --> doom_rs/src/i_sound.rs:655:70
[INFO] [stdout]     |
[INFO] [stdout] 651 | static mut looping: std::ffi::c_int = unsafe { 0 };
[INFO] [stdout]     | --------------------------------------------------- the static `looping` is defined here
[INFO] [stdout] ...
[INFO] [stdout] 655 | pub unsafe extern "C" fn I_PlaySong(mut handle: std::ffi::c_int, mut looping: std::ffi::c_int) {
[INFO] [stdout]     |                                                                      ^^^^^^^ cannot be named the same as a static
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stdout] error[E0530]: function parameters cannot shadow statics
[INFO] [stdout]    --> doom_rs/src/i_sound.rs:655:70
[INFO] [stdout]     |
[INFO] [stdout] 651 | static mut looping: std::ffi::c_int = unsafe { 0 };
[INFO] [stdout]     | --------------------------------------------------- the static `looping` is defined here
[INFO] [stdout] ...
[INFO] [stdout] 655 | pub unsafe extern "C" fn I_PlaySong(mut handle: std::ffi::c_int, mut looping: std::ffi::c_int) {
[INFO] [stdout]     |                                                                      ^^^^^^^ cannot be named the same as a static
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0530]: let bindings cannot shadow constants
[INFO] [stdout]    --> doom_rs/src/p_floor.rs:541:17
[INFO] [stdout]     |
[INFO] [stdout]  15 | use crate::p_spec::*;
[INFO] [stdout]     |     ---------------- the constant `ok` is imported here
[INFO] [stdout] ...
[INFO] [stdout] 541 |         let mut ok: std::ffi::c_int = unsafe {
[INFO] [stdout]     |                 ^^ cannot be named the same as a constant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0530]: function parameters cannot shadow statics
[INFO] [stdout]    --> doom_rs/src/p_maputl.rs:329:44
[INFO] [stdout]     |
[INFO] [stdout]  15 | use crate::r_bsp::*;
[INFO] [stdout]     |     --------------- the static `linedef` is imported here
[INFO] [stdout] ...
[INFO] [stdout] 329 | pub unsafe extern "C" fn P_LineOpening(mut linedef: *mut line_t) {
[INFO] [stdout]     |                                            ^^^^^^^ cannot be named the same as a static
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0530]: let bindings cannot shadow statics
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:202:17
[INFO] [stdout]     |
[INFO] [stdout]  21 | use crate::r_bsp::*;
[INFO] [stdout]     |     --------------- the static `linedef` is imported here
[INFO] [stdout] ...
[INFO] [stdout] 202 |         let mut linedef: std::ffi::c_int = unsafe {
[INFO] [stdout]     |                 ^^^^^^^ cannot be named the same as a static
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0530]: let bindings cannot shadow statics
[INFO] [stdout]    --> doom_rs/src/p_sight.rs:221:17
[INFO] [stdout]     |
[INFO] [stdout]  12 | use crate::p_local::*;
[INFO] [stdout]     |     ----------------- the static `opentop` is imported here
[INFO] [stdout] ...
[INFO] [stdout] 221 |         let mut opentop: fixed_t = unsafe {
[INFO] [stdout]     |                 ^^^^^^^ cannot be named the same as a static
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0530]: let bindings cannot shadow statics
[INFO] [stdout]    --> doom_rs/src/p_sight.rs:224:17
[INFO] [stdout]     |
[INFO] [stdout]  12 | use crate::p_local::*;
[INFO] [stdout]     |     ----------------- the static `openbottom` is imported here
[INFO] [stdout] ...
[INFO] [stdout] 224 |         let mut openbottom: fixed_t = unsafe {
[INFO] [stdout]     |                 ^^^^^^^^^^ cannot be named the same as a static
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0530]: let bindings cannot shadow constants
[INFO] [stdout]     --> doom_rs/src/p_spec.rs:1504:17
[INFO] [stdout]      |
[INFO] [stdout]  405 | pub const ok: std::ffi::c_int = 0;
[INFO] [stdout]      | ---------------------------------- the constant `ok` is defined here
[INFO] [stdout] ...
[INFO] [stdout] 1504 |         let mut ok: std::ffi::c_int = unsafe {
[INFO] [stdout]      |                 ^^ cannot be named the same as a constant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0530]: let bindings cannot shadow constants
[INFO] [stdout]     --> doom_rs/src/p_spec.rs:1971:17
[INFO] [stdout]      |
[INFO] [stdout]  405 | pub const ok: std::ffi::c_int = 0;
[INFO] [stdout]      | ---------------------------------- the constant `ok` is defined here
[INFO] [stdout] ...
[INFO] [stdout] 1971 |         let mut ok: std::ffi::c_int = unsafe {
[INFO] [stdout]      |                 ^^ cannot be named the same as a constant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0530]: let bindings cannot shadow constants
[INFO] [stdout]    --> doom_rs/src/p_floor.rs:541:17
[INFO] [stdout]     |
[INFO] [stdout]  15 | use crate::p_spec::*;
[INFO] [stdout]     |     ---------------- the constant `ok` is imported here
[INFO] [stdout] ...
[INFO] [stdout] 541 |         let mut ok: std::ffi::c_int = unsafe {
[INFO] [stdout]     |                 ^^ cannot be named the same as a constant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0530]: function parameters cannot shadow statics
[INFO] [stdout]    --> doom_rs/src/p_maputl.rs:329:44
[INFO] [stdout]     |
[INFO] [stdout]  15 | use crate::r_bsp::*;
[INFO] [stdout]     |     --------------- the static `linedef` is imported here
[INFO] [stdout] ...
[INFO] [stdout] 329 | pub unsafe extern "C" fn P_LineOpening(mut linedef: *mut line_t) {
[INFO] [stdout]     |                                            ^^^^^^^ cannot be named the same as a static
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking serde v1.0.229
[INFO] [stdout] error[E0530]: let bindings cannot shadow statics
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:202:17
[INFO] [stdout]     |
[INFO] [stdout]  21 | use crate::r_bsp::*;
[INFO] [stdout]     |     --------------- the static `linedef` is imported here
[INFO] [stdout] ...
[INFO] [stdout] 202 |         let mut linedef: std::ffi::c_int = unsafe {
[INFO] [stdout]     |                 ^^^^^^^ cannot be named the same as a static
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0530]: let bindings cannot shadow statics
[INFO] [stdout]    --> doom_rs/src/p_sight.rs:221:17
[INFO] [stdout]     |
[INFO] [stdout]  12 | use crate::p_local::*;
[INFO] [stdout]     |     ----------------- the static `opentop` is imported here
[INFO] [stdout] ...
[INFO] [stdout] 221 |         let mut opentop: fixed_t = unsafe {
[INFO] [stdout]     |                 ^^^^^^^ cannot be named the same as a static
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0530]: let bindings cannot shadow statics
[INFO] [stdout]    --> doom_rs/src/p_sight.rs:224:17
[INFO] [stdout]     |
[INFO] [stdout]  12 | use crate::p_local::*;
[INFO] [stdout]     |     ----------------- the static `openbottom` is imported here
[INFO] [stdout] ...
[INFO] [stdout] 224 |         let mut openbottom: fixed_t = unsafe {
[INFO] [stdout]     |                 ^^^^^^^^^^ cannot be named the same as a static
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0530]: function parameters cannot shadow statics
[INFO] [stdout]    --> doom_rs/src/wi_stuff.rs:888:9
[INFO] [stdout]     |
[INFO] [stdout] 516 | static mut p: [*mut patch_t; (MAXPLAYERS) as usize] = unsafe { std::mem::zeroed() }; // TODO: initializer not yet translated
[INFO] [stdout]     | ------------------------------------------------------------------------------------ the static `p` is defined here
[INFO] [stdout] ...
[INFO] [stdout] 888 |     mut p: std::ffi::c_int,
[INFO] [stdout]     |         ^ cannot be named the same as a static
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0530]: let bindings cannot shadow constants
[INFO] [stdout]     --> doom_rs/src/p_spec.rs:1504:17
[INFO] [stdout]      |
[INFO] [stdout]  405 | pub const ok: std::ffi::c_int = 0;
[INFO] [stdout]      | ---------------------------------- the constant `ok` is defined here
[INFO] [stdout] ...
[INFO] [stdout] 1504 |         let mut ok: std::ffi::c_int = unsafe {
[INFO] [stdout]      |                 ^^ cannot be named the same as a constant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0530]: let bindings cannot shadow constants
[INFO] [stdout]     --> doom_rs/src/p_spec.rs:1971:17
[INFO] [stdout]      |
[INFO] [stdout]  405 | pub const ok: std::ffi::c_int = 0;
[INFO] [stdout]      | ---------------------------------- the constant `ok` is defined here
[INFO] [stdout] ...
[INFO] [stdout] 1971 |         let mut ok: std::ffi::c_int = unsafe {
[INFO] [stdout]      |                 ^^ cannot be named the same as a constant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0530]: let bindings cannot shadow statics
[INFO] [stdout]     --> doom_rs/src/wi_stuff.rs:1093:17
[INFO] [stdout]      |
[INFO] [stdout]  498 | static mut frags: *mut patch_t = unsafe { std::mem::zeroed() }; // TODO: initializer not yet translated
[INFO] [stdout]      | --------------------------------------------------------------- the static `frags` is defined here
[INFO] [stdout] ...
[INFO] [stdout] 1093 |         let mut frags: std::ffi::c_int = unsafe { 0 };
[INFO] [stdout]      |                 ^^^^^ cannot be named the same as a static
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking transpiler v0.1.0 (/opt/rustwide/workdir/transpiler)
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]     --> doom_rs/src/am_map.rs:1268:9
[INFO] [stdout]      |
[INFO] [stdout] 1268 |         memset(fb, color, (f_w * f_h));
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::memset;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `malloc` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:629:19
[INFO] [stdout]     |
[INFO] [stdout] 629 |         newfile = malloc((strlen(file) + 1));
[INFO] [stdout]     |                   ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::malloc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `strlen` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:629:27
[INFO] [stdout]     |
[INFO] [stdout] 629 |         newfile = malloc((strlen(file) + 1));
[INFO] [stdout]     |                           ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::strlen;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `strcpy` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:630:9
[INFO] [stdout]     |
[INFO] [stdout] 630 |         strcpy(newfile, file);
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named function `strupr` defined here
[INFO] [stdout]    --> doom_rs/src/w_wad.rs:98:1
[INFO] [stdout]     |
[INFO] [stdout]  98 | pub unsafe extern "C" fn strupr(mut s: *mut std::ffi::c_char) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 630 -         strcpy(newfile, file);
[INFO] [stdout] 630 +         strupr(newfile, file);
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::strcpy;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `getenv` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:667:22
[INFO] [stdout]     |
[INFO] [stdout] 667 |         doomwaddir = getenv((c"DOOMWADDIR").as_ptr());
[INFO] [stdout]     |                      ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::getenv;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `malloc` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:673:20
[INFO] [stdout]     |
[INFO] [stdout] 673 |         doom2wad = malloc((((strlen(doomwaddir) + 1) + 9) + 1));
[INFO] [stdout]     |                    ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::malloc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `strlen` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:673:30
[INFO] [stdout]     |
[INFO] [stdout] 673 |         doom2wad = malloc((((strlen(doomwaddir) + 1) + 9) + 1));
[INFO] [stdout]     |                              ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::strlen;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sprintf` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:674:9
[INFO] [stdout]     |
[INFO] [stdout] 674 |         sprintf(doom2wad, (c"%s/doom2.wad").as_ptr(), doomwaddir);
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::sprintf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `malloc` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:675:20
[INFO] [stdout]     |
[INFO] [stdout] 675 |         doomuwad = malloc((((strlen(doomwaddir) + 1) + 8) + 1));
[INFO] [stdout]     |                    ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::malloc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `strlen` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:675:30
[INFO] [stdout]     |
[INFO] [stdout] 675 |         doomuwad = malloc((((strlen(doomwaddir) + 1) + 8) + 1));
[INFO] [stdout]     |                              ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::strlen;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sprintf` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:676:9
[INFO] [stdout]     |
[INFO] [stdout] 676 |         sprintf(doomuwad, (c"%s/doomu.wad").as_ptr(), doomwaddir);
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::sprintf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `malloc` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:677:19
[INFO] [stdout]     |
[INFO] [stdout] 677 |         doomwad = malloc((((strlen(doomwaddir) + 1) + 8) + 1));
[INFO] [stdout]     |                   ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::malloc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `strlen` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:677:29
[INFO] [stdout]     |
[INFO] [stdout] 677 |         doomwad = malloc((((strlen(doomwaddir) + 1) + 8) + 1));
[INFO] [stdout]     |                             ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::strlen;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sprintf` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:678:9
[INFO] [stdout]     |
[INFO] [stdout] 678 |         sprintf(doomwad, (c"%s/doom.wad").as_ptr(), doomwaddir);
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::sprintf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `malloc` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:679:20
[INFO] [stdout]     |
[INFO] [stdout] 679 |         doom1wad = malloc((((strlen(doomwaddir) + 1) + 9) + 1));
[INFO] [stdout]     |                    ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::malloc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `strlen` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:679:30
[INFO] [stdout]     |
[INFO] [stdout] 679 |         doom1wad = malloc((((strlen(doomwaddir) + 1) + 9) + 1));
[INFO] [stdout]     |                              ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::strlen;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sprintf` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:680:9
[INFO] [stdout]     |
[INFO] [stdout] 680 |         sprintf(doom1wad, (c"%s/doom1.wad").as_ptr(), doomwaddir);
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::sprintf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `malloc` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:681:23
[INFO] [stdout]     |
[INFO] [stdout] 681 |         plutoniawad = malloc((((strlen(doomwaddir) + 1) + 12) + 1));
[INFO] [stdout]     |                       ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::malloc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `strlen` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:681:33
[INFO] [stdout]     |
[INFO] [stdout] 681 |         plutoniawad = malloc((((strlen(doomwaddir) + 1) + 12) + 1));
[INFO] [stdout]     |                                 ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::strlen;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sprintf` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:682:9
[INFO] [stdout]     |
[INFO] [stdout] 682 |         sprintf(plutoniawad, (c"%s/plutonia.wad").as_ptr(), doomwaddir);
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::sprintf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `malloc` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:683:18
[INFO] [stdout]     |
[INFO] [stdout] 683 |         tntwad = malloc((((strlen(doomwaddir) + 1) + 9) + 1));
[INFO] [stdout]     |                  ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::malloc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `strlen` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:683:28
[INFO] [stdout]     |
[INFO] [stdout] 683 |         tntwad = malloc((((strlen(doomwaddir) + 1) + 9) + 1));
[INFO] [stdout]     |                            ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::strlen;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sprintf` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:684:9
[INFO] [stdout]     |
[INFO] [stdout] 684 |         sprintf(tntwad, (c"%s/tnt.wad").as_ptr(), doomwaddir);
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::sprintf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `malloc` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:685:21
[INFO] [stdout]     |
[INFO] [stdout] 685 |         doom2fwad = malloc((((strlen(doomwaddir) + 1) + 10) + 1));
[INFO] [stdout]     |                     ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::malloc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `strlen` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:685:31
[INFO] [stdout]     |
[INFO] [stdout] 685 |         doom2fwad = malloc((((strlen(doomwaddir) + 1) + 10) + 1));
[INFO] [stdout]     |                               ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::strlen;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sprintf` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:686:9
[INFO] [stdout]     |
[INFO] [stdout] 686 |         sprintf(doom2fwad, (c"%s/doom2f.wad").as_ptr(), doomwaddir);
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::sprintf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `getenv` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:687:16
[INFO] [stdout]     |
[INFO] [stdout] 687 |         home = getenv((c"HOME").as_ptr());
[INFO] [stdout]     |                ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::getenv;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sprintf` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:693:9
[INFO] [stdout]     |
[INFO] [stdout] 693 |         sprintf(basedefault, (c"%s/.doomrc").as_ptr(), home);
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::sprintf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:817:9
[INFO] [stdout]     |
[INFO] [stdout] 817 |         printf((c"Game mode indeterminate.\n").as_ptr());
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]     |
[INFO] [stdout] 817 -         printf((c"Game mode indeterminate.\n").as_ptr());
[INFO] [stdout] 817 +         print!((c"Game mode indeterminate.\n").as_ptr());
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::printf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `setbuf` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:919:9
[INFO] [stdout]     |
[INFO] [stdout] 919 |         setbuf(stdout, NULL);
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::setbuf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stdout` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:919:16
[INFO] [stdout]     |
[INFO] [stdout] 919 |         setbuf(stdout, NULL);
[INFO] [stdout]     |                ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::stdout;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:919:24
[INFO] [stdout]     |
[INFO] [stdout] 919 |         setbuf(stdout, NULL);
[INFO] [stdout]     |                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:990:9
[INFO] [stdout]     |
[INFO] [stdout] 990 |         printf((c"%s\n").as_ptr(), title);
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]     |
[INFO] [stdout] 990 -         printf((c"%s\n").as_ptr(), title);
[INFO] [stdout] 990 +         print!((c"%s\n").as_ptr(), title);
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::printf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]     --> doom_rs/src/d_main.rs:1147:9
[INFO] [stdout]      |
[INFO] [stdout] 1147 |         printf((c"V_Init: allocate screens.\n").as_ptr());
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]      |
[INFO] [stdout] 1147 -         printf((c"V_Init: allocate screens.\n").as_ptr());
[INFO] [stdout] 1147 +         print!((c"V_Init: allocate screens.\n").as_ptr());
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::printf;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]     --> doom_rs/src/d_main.rs:1149:9
[INFO] [stdout]      |
[INFO] [stdout] 1149 |         printf((c"M_LoadDefaults: Load system defaults.\n").as_ptr());
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]      |
[INFO] [stdout] 1149 -         printf((c"M_LoadDefaults: Load system defaults.\n").as_ptr());
[INFO] [stdout] 1149 +         print!((c"M_LoadDefaults: Load system defaults.\n").as_ptr());
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::printf;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]     --> doom_rs/src/d_main.rs:1151:9
[INFO] [stdout]      |
[INFO] [stdout] 1151 |         printf((c"Z_Init: Init zone memory allocation daemon. \n").as_ptr());
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]      |
[INFO] [stdout] 1151 -         printf((c"Z_Init: Init zone memory allocation daemon. \n").as_ptr());
[INFO] [stdout] 1151 +         print!((c"Z_Init: Init zone memory allocation daemon. \n").as_ptr());
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::printf;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]     --> doom_rs/src/d_main.rs:1153:9
[INFO] [stdout]      |
[INFO] [stdout] 1153 |         printf((c"W_Init: Init WADfiles.\n").as_ptr());
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]      |
[INFO] [stdout] 1153 -         printf((c"W_Init: Init WADfiles.\n").as_ptr());
[INFO] [stdout] 1153 +         print!((c"W_Init: Init WADfiles.\n").as_ptr());
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::printf;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]     --> doom_rs/src/d_main.rs:1232:9
[INFO] [stdout]      |
[INFO] [stdout] 1232 |         printf((c"M_Init: Init miscellaneous info.\n").as_ptr());
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]      |
[INFO] [stdout] 1232 -         printf((c"M_Init: Init miscellaneous info.\n").as_ptr());
[INFO] [stdout] 1232 +         print!((c"M_Init: Init miscellaneous info.\n").as_ptr());
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::printf;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]     --> doom_rs/src/d_main.rs:1234:9
[INFO] [stdout]      |
[INFO] [stdout] 1234 |         printf((c"R_Init: Init DOOM refresh daemon - ").as_ptr());
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]      |
[INFO] [stdout] 1234 -         printf((c"R_Init: Init DOOM refresh daemon - ").as_ptr());
[INFO] [stdout] 1234 +         print!((c"R_Init: Init DOOM refresh daemon - ").as_ptr());
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::printf;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]     --> doom_rs/src/d_main.rs:1236:9
[INFO] [stdout]      |
[INFO] [stdout] 1236 |         printf((c"\nP_Init: Init Playloop state.\n").as_ptr());
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]      |
[INFO] [stdout] 1236 -         printf((c"\nP_Init: Init Playloop state.\n").as_ptr());
[INFO] [stdout] 1236 +         print!((c"\nP_Init: Init Playloop state.\n").as_ptr());
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::printf;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]     --> doom_rs/src/d_main.rs:1238:9
[INFO] [stdout]      |
[INFO] [stdout] 1238 |         printf((c"I_Init: Setting up machine state.\n").as_ptr());
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]      |
[INFO] [stdout] 1238 -         printf((c"I_Init: Setting up machine state.\n").as_ptr());
[INFO] [stdout] 1238 +         print!((c"I_Init: Setting up machine state.\n").as_ptr());
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::printf;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]     --> doom_rs/src/d_main.rs:1240:9
[INFO] [stdout]      |
[INFO] [stdout] 1240 |         printf((c"D_CheckNetGame: Checking network game status.\n").as_ptr());
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]      |
[INFO] [stdout] 1240 -         printf((c"D_CheckNetGame: Checking network game status.\n").as_ptr());
[INFO] [stdout] 1240 +         print!((c"D_CheckNetGame: Checking network game status.\n").as_ptr());
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::printf;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]     --> doom_rs/src/d_main.rs:1242:9
[INFO] [stdout]      |
[INFO] [stdout] 1242 |         printf((c"S_Init: Setting up sound.\n").as_ptr());
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]      |
[INFO] [stdout] 1242 -         printf((c"S_Init: Setting up sound.\n").as_ptr());
[INFO] [stdout] 1242 +         print!((c"S_Init: Setting up sound.\n").as_ptr());
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::printf;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]     --> doom_rs/src/d_main.rs:1244:9
[INFO] [stdout]      |
[INFO] [stdout] 1244 |         printf((c"HU_Init: Setting up heads up display.\n").as_ptr());
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]      |
[INFO] [stdout] 1244 -         printf((c"HU_Init: Setting up heads up display.\n").as_ptr());
[INFO] [stdout] 1244 +         print!((c"HU_Init: Setting up heads up display.\n").as_ptr());
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::printf;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]     --> doom_rs/src/d_main.rs:1246:9
[INFO] [stdout]      |
[INFO] [stdout] 1246 |         printf((c"ST_Init: Init status bar.\n").as_ptr());
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]      |
[INFO] [stdout] 1246 -         printf((c"ST_Init: Init status bar.\n").as_ptr());
[INFO] [stdout] 1246 +         print!((c"ST_Init: Init status bar.\n").as_ptr());
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::printf;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/d_net.rs:680:9
[INFO] [stdout]     |
[INFO] [stdout] 680 |         memset(gotinfo, 0, std::mem::size_of_val(&(gotinfo)));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]    --> doom_rs/src/d_net.rs:787:9
[INFO] [stdout]     |
[INFO] [stdout] 787 |         printf(
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]     |
[INFO] [stdout] 787 -         printf(
[INFO] [stdout] 787 +         print!(
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::printf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]    --> doom_rs/src/d_net.rs:812:9
[INFO] [stdout]     |
[INFO] [stdout] 812 |         printf(
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]     |
[INFO] [stdout] 812 -         printf(
[INFO] [stdout] 812 +         print!(
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::printf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sprintf` in this scope
[INFO] [stdout]    --> doom_rs/src/f_finale.rs:941:9
[INFO] [stdout]     |
[INFO] [stdout] 941 |         sprintf(name, (c"END%i").as_ptr(), stage);
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::sprintf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memcpy` in this scope
[INFO] [stdout]    --> doom_rs/src/f_wipe.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 |         memcpy(array, dest, ((width * height) * 2));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memcpy;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memcpy` in this scope
[INFO] [stdout]    --> doom_rs/src/f_wipe.rs:125:9
[INFO] [stdout]     |
[INFO] [stdout] 125 |         memcpy(wipe_scr, wipe_scr_start, (width * height));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memcpy;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memcpy` in this scope
[INFO] [stdout]    --> doom_rs/src/f_wipe.rs:222:9
[INFO] [stdout]     |
[INFO] [stdout] 222 |         memcpy(wipe_scr, wipe_scr_start, (width * height));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memcpy;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memcpy` in this scope
[INFO] [stdout]    --> doom_rs/src/g_game.rs:335:9
[INFO] [stdout]     |
[INFO] [stdout] 335 |         memcpy(cmd, base, std::mem::size_of_val(&(*(cmd))));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memcpy;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/g_game.rs:623:9
[INFO] [stdout]     |
[INFO] [stdout] 623 |         memset(gamekeydown, 0, std::mem::size_of_val(&(gamekeydown)));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/g_game.rs:627:9
[INFO] [stdout]     |
[INFO] [stdout] 627 |         memset(mousebuttons, 0, std::mem::size_of_val(&(mousebuttons)));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/g_game.rs:628:9
[INFO] [stdout]     |
[INFO] [stdout] 628 |         memset(joybuttons, 0, std::mem::size_of_val(&(joybuttons)));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/g_game.rs:936:9
[INFO] [stdout]     |
[INFO] [stdout] 936 |         memset((*p).powers, 0, std::mem::size_of_val(&((*p).powers)));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/g_game.rs:937:9
[INFO] [stdout]     |
[INFO] [stdout] 937 |         memset((*p).cards, 0, std::mem::size_of_val(&((*p).cards)));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memcpy` in this scope
[INFO] [stdout]    --> doom_rs/src/g_game.rs:969:9
[INFO] [stdout]     |
[INFO] [stdout] 969 |         memcpy(
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memcpy;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/g_game.rs:978:9
[INFO] [stdout]     |
[INFO] [stdout] 978 |         memset(p, 0, std::mem::size_of_val(&(*(p))));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memcpy` in this scope
[INFO] [stdout]    --> doom_rs/src/g_game.rs:979:9
[INFO] [stdout]     |
[INFO] [stdout] 979 |         memcpy(
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memcpy;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `strcpy` in this scope
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1460:9
[INFO] [stdout]      |
[INFO] [stdout] 1460 |         strcpy(savename, name);
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] note: similarly named function `strupr` defined here
[INFO] [stdout]     --> doom_rs/src/w_wad.rs:98:1
[INFO] [stdout]      |
[INFO] [stdout]   98 | pub unsafe extern "C" fn strupr(mut s: *mut std::ffi::c_char) {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1460 -         strcpy(savename, name);
[INFO] [stdout] 1460 +         strupr(savename, name);
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::strcpy;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1496:9
[INFO] [stdout]      |
[INFO] [stdout] 1496 |         memset(vcheck, 0, std::mem::size_of_val(&(vcheck)));
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::memset;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sprintf` in this scope
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1497:9
[INFO] [stdout]      |
[INFO] [stdout] 1497 |         sprintf(vcheck, (c"version %i").as_ptr(), VERSION);
[INFO] [stdout]      |         ^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::sprintf;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `strcpy` in this scope
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1571:9
[INFO] [stdout]      |
[INFO] [stdout] 1571 |         strcpy(savedescription, description);
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] note: similarly named function `strupr` defined here
[INFO] [stdout]     --> doom_rs/src/w_wad.rs:98:1
[INFO] [stdout]      |
[INFO] [stdout]   98 | pub unsafe extern "C" fn strupr(mut s: *mut std::ffi::c_char) {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1571 -         strcpy(savedescription, description);
[INFO] [stdout] 1571 +         strupr(savedescription, description);
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::strcpy;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memcpy` in this scope
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1606:9
[INFO] [stdout]      |
[INFO] [stdout] 1606 |         memcpy(save_p, description, SAVESTRINGSIZE);
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::memcpy;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1608:9
[INFO] [stdout]      |
[INFO] [stdout] 1608 |         memset(name2, 0, std::mem::size_of_val(&(name2)));
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::memset;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sprintf` in this scope
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1609:9
[INFO] [stdout]      |
[INFO] [stdout] 1609 |         sprintf(name2, (c"version %i").as_ptr(), VERSION);
[INFO] [stdout]      |         ^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::sprintf;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memcpy` in this scope
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1610:9
[INFO] [stdout]      |
[INFO] [stdout] 1610 |         memcpy(save_p, name2, VERSIONSIZE);
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::memcpy;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `strcpy` in this scope
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1960:9
[INFO] [stdout]      |
[INFO] [stdout] 1960 |         strcpy(demoname, name);
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] note: similarly named function `strupr` defined here
[INFO] [stdout]     --> doom_rs/src/w_wad.rs:98:1
[INFO] [stdout]      |
[INFO] [stdout]   98 | pub unsafe extern "C" fn strupr(mut s: *mut std::ffi::c_char) {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1960 -         strcpy(demoname, name);
[INFO] [stdout] 1960 +         strupr(demoname, name);
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::strcpy;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `strcat` in this scope
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1961:9
[INFO] [stdout]      |
[INFO] [stdout] 1961 |         strcat(demoname, (c".lmp").as_ptr());
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::strcat;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1969:51
[INFO] [stdout]      |
[INFO] [stdout] 1969 |         demobuffer = Z_Malloc(maxsize, PU_STATIC, NULL);
[INFO] [stdout]      |                                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `socket` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:119:13
[INFO] [stdout]     |
[INFO] [stdout] 119 |         s = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP);
[INFO] [stdout]     |             ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named static `insocket` defined here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:105:1
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub static mut insocket: std::ffi::c_int = unsafe { std::mem::zeroed() }; // TODO: initializer not yet translated
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a static with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 119 |         s = insocket(PF_INET, SOCK_DGRAM, IPPROTO_UDP);
[INFO] [stdout]     |             ++
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::socket;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PF_INET` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:119:20
[INFO] [stdout]     |
[INFO] [stdout] 119 |         s = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP);
[INFO] [stdout]     |                    ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::PF_INET;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SOCK_DGRAM` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:119:29
[INFO] [stdout]     |
[INFO] [stdout] 119 |         s = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP);
[INFO] [stdout]     |                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::SOCK_DGRAM;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `IPPROTO_UDP` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:119:41
[INFO] [stdout]     |
[INFO] [stdout] 119 |         s = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP);
[INFO] [stdout]     |                                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::IPPROTO_UDP;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 141 |         memset(
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `AF_INET` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:146:30
[INFO] [stdout]     |
[INFO] [stdout] 146 |         address.sin_family = AF_INET;
[INFO] [stdout]     |                              ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::AF_INET;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INADDR_ANY` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:147:35
[INFO] [stdout]     |
[INFO] [stdout] 147 |         address.sin_addr.s_addr = INADDR_ANY;
[INFO] [stdout]     |                                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::INADDR_ANY;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `bind` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:149:13
[INFO] [stdout]     |
[INFO] [stdout] 149 |         v = bind(
[INFO] [stdout]     |             ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::bind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sendto` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:190:13
[INFO] [stdout]     |
[INFO] [stdout] 190 |         c = sendto(
[INFO] [stdout]     |             ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named static `resendto` defined here
[INFO] [stdout]    --> doom_rs/src/d_net.rs:159:1
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub static mut resendto: [std::ffi::c_int; (MAXNETNODES) as usize] = unsafe { std::mem::zeroed() }; // TODO: initializer not yet tr...
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a static with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 190 |         c = resendto(
[INFO] [stdout]     |             ++
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::sendto;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `recvfrom` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:226:13
[INFO] [stdout]     |
[INFO] [stdout] 226 |         c = recvfrom(
[INFO] [stdout]     |             ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::recvfrom;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `sockaddr` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:231:61
[INFO] [stdout]     |
[INFO] [stdout] 231 |             ((&(fromaddress) as *const _ as *mut _) as *mut sockaddr),
[INFO] [stdout]     |                                                             ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::sockaddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `hostent` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:306:33
[INFO] [stdout]     |
[INFO] [stdout] 306 |         let mut hostentry: *mut hostent = unsafe {
[INFO] [stdout]     |                                 ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::hostent;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `gethostname` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:312:13
[INFO] [stdout]     |
[INFO] [stdout] 312 |         v = gethostname(hostname, std::mem::size_of_val(&(hostname)));
[INFO] [stdout]     |             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 312 -         v = gethostname(hostname, std::mem::size_of_val(&(hostname)));
[INFO] [stdout] 312 +         v = hostname(hostname, std::mem::size_of_val(&(hostname)));
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::gethostname;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `hostent` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:341:33
[INFO] [stdout]     |
[INFO] [stdout] 341 |         let mut hostentry: *mut hostent = unsafe {
[INFO] [stdout]     |                                 ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::hostent;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `malloc` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:344:19
[INFO] [stdout]     |
[INFO] [stdout] 344 |         doomcom = malloc(std::mem::size_of_val(&(*(doomcom))));
[INFO] [stdout]     |                   ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::malloc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:345:9
[INFO] [stdout]     |
[INFO] [stdout] 345 |         memset(doomcom, 0, std::mem::size_of_val(&(*(doomcom))));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `ioctl` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:428:9
[INFO] [stdout]     |
[INFO] [stdout] 428 |         ioctl(insocket, FIONBIO, (&(trueval) as *const _ as *mut _));
[INFO] [stdout]     |         ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::ioctl;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FIONBIO` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:428:25
[INFO] [stdout]     |
[INFO] [stdout] 428 |         ioctl(insocket, FIONBIO, (&(trueval) as *const _ as *mut _));
[INFO] [stdout]     |                         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::FIONBIO;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `ioctl` in this scope
[INFO] [stdout]    --> doom_rs/src/i_sound.rs:146:14
[INFO] [stdout]     |
[INFO] [stdout] 146 |         rc = ioctl(fd, command, arg);
[INFO] [stdout]     |              ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::ioctl;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sprintf` in this scope
[INFO] [stdout]    --> doom_rs/src/i_sound.rs:188:9
[INFO] [stdout]     |
[INFO] [stdout] 188 |         sprintf(name, (c"ds%s").as_ptr(), sfxname);
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::sprintf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memcpy` in this scope
[INFO] [stdout]    --> doom_rs/src/i_sound.rs:211:9
[INFO] [stdout]     |
[INFO] [stdout] 211 |         memcpy(paddedsfx, sfx, size);
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memcpy;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sprintf` in this scope
[INFO] [stdout]    --> doom_rs/src/i_sound.rs:416:9
[INFO] [stdout]     |
[INFO] [stdout] 416 |         sprintf(namebuf, (c"ds%s").as_ptr(), (*sfx).name);
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::sprintf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: cannot find function `write` in this scope
[INFO] [stdout]    --> doom_rs/src/i_sound.rs:567:9
[INFO] [stdout]     |
[INFO] [stdout] 567 |         write(audio_fd, mixbuffer, (SAMPLECOUNT * BUFMUL));
[INFO] [stdout]     |         ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout]     = note: a macro named `write` exists in another namespace
[INFO] [stdout] help: use `!` to invoke the macro
[INFO] [stdout]     |
[INFO] [stdout] 567 |         write!(audio_fd, mixbuffer, (SAMPLECOUNT * BUFMUL));
[INFO] [stdout]     |              +
[INFO] [stdout] help: consider importing one of these functions instead
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::fmt::write;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::fs::write;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::ptr::write;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use core::fmt::write;
[INFO] [stdout]     |
[INFO] [stdout]     = and 2 other candidates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stdout]    --> doom_rs/src/i_sound.rs:705:16
[INFO] [stdout]     |
[INFO] [stdout] 705 |         data = NULL;
[INFO] [stdout]     |                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `itimerval` in this scope
[INFO] [stdout]    --> doom_rs/src/i_sound.rs:761:24
[INFO] [stdout]     |
[INFO] [stdout] 761 |         let mut value: itimerval = unsafe {
[INFO] [stdout]     |                        ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::itimerval;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `itimerval` in this scope
[INFO] [stdout]    --> doom_rs/src/i_sound.rs:764:25
[INFO] [stdout]     |
[INFO] [stdout] 764 |         let mut ovalue: itimerval = unsafe {
[INFO] [stdout]     |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::itimerval;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `sigaction` in this scope
[INFO] [stdout]    --> doom_rs/src/i_sound.rs:767:22
[INFO] [stdout]     |
[INFO] [stdout] 767 |         let mut act: sigaction = unsafe {
[INFO] [stdout]     |                      ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::sigaction;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `sigaction` in this scope
[INFO] [stdout]    --> doom_rs/src/i_sound.rs:770:23
[INFO] [stdout]     |
[INFO] [stdout] 770 |         let mut oact: sigaction = unsafe {
[INFO] [stdout]     |                       ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::sigaction;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SA_RESTART` in this scope
[INFO] [stdout]    --> doom_rs/src/i_sound.rs:777:24
[INFO] [stdout]     |
[INFO] [stdout] 777 |         act.sa_flags = SA_RESTART;
[INFO] [stdout]     |                        ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::SA_RESTART;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sigaction` in this scope
[INFO] [stdout]    --> doom_rs/src/i_sound.rs:778:9
[INFO] [stdout]     |
[INFO] [stdout] 778 |         sigaction(
[INFO] [stdout]     |         ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::sigaction;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `setitimer` in this scope
[INFO] [stdout]    --> doom_rs/src/i_sound.rs:787:15
[INFO] [stdout]     |
[INFO] [stdout] 787 |         res = setitimer(
[INFO] [stdout]     |               ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named static `itimer` defined here
[INFO] [stdout]    --> doom_rs/src/i_sound.rs:727:1
[INFO] [stdout]     |
[INFO] [stdout] 727 | static mut itimer: std::ffi::c_int = unsafe { libc::ITIMER_REAL };
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a static with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 787 -         res = setitimer(
[INFO] [stdout] 787 +         res = itimer(
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::setitimer;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `malloc` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:124:18
[INFO] [stdout]     |
[INFO] [stdout] 124 |         return ((malloc((*(size)))) as *mut byte);
[INFO] [stdout]     |                  ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::malloc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `timeval` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:134:21
[INFO] [stdout]     |
[INFO] [stdout] 134 |         let mut tp: timeval = unsafe {
[INFO] [stdout]     |                     ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::timeval;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `timezone` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:137:22
[INFO] [stdout]     |
[INFO] [stdout] 137 |         let mut tzp: timezone = unsafe {
[INFO] [stdout]     |                      ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::timezone;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `gettimeofday` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:144:9
[INFO] [stdout]     |
[INFO] [stdout] 144 |         gettimeofday(
[INFO] [stdout]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::gettimeofday;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `exit` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:179:9
[INFO] [stdout]     |
[INFO] [stdout] 179 |         exit(0);
[INFO] [stdout]     |         ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::process::exit;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::exit;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `usleep` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:188:9
[INFO] [stdout]     |
[INFO] [stdout] 188 |         usleep((count * (1000000 / 70)));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::usleep;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `malloc` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:213:17
[INFO] [stdout]     |
[INFO] [stdout] 213 |         mem = ((malloc(length)) as *mut byte);
[INFO] [stdout]     |                 ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::malloc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:214:9
[INFO] [stdout]     |
[INFO] [stdout] 214 |         memset(mem, 0, length);
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `argptr` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:233:18
[INFO] [stdout]     |
[INFO] [stdout] 233 |         va_start(argptr, error);
[INFO] [stdout]     |                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `fprintf` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:234:9
[INFO] [stdout]     |
[INFO] [stdout] 234 |         fprintf(stderr, (c"Error: ").as_ptr());
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::fprintf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stderr` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:234:17
[INFO] [stdout]     |
[INFO] [stdout] 234 |         fprintf(stderr, (c"Error: ").as_ptr());
[INFO] [stdout]     |                 ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::stderr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stderr` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:235:18
[INFO] [stdout]     |
[INFO] [stdout] 235 |         vfprintf(stderr, error, argptr);
[INFO] [stdout]     |                  ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::stderr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `argptr` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:235:33
[INFO] [stdout]     |
[INFO] [stdout] 235 |         vfprintf(stderr, error, argptr);
[INFO] [stdout]     |                                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `fprintf` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:236:9
[INFO] [stdout]     |
[INFO] [stdout] 236 |         fprintf(stderr, (c"\n").as_ptr());
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::fprintf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stderr` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:236:17
[INFO] [stdout]     |
[INFO] [stdout] 236 |         fprintf(stderr, (c"\n").as_ptr());
[INFO] [stdout]     |                 ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::stderr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `va_end` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:237:9
[INFO] [stdout]     |
[INFO] [stdout] 237 |         va_end(argptr);
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::intrinsics::va_end;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `argptr` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:237:16
[INFO] [stdout]     |
[INFO] [stdout] 237 |         va_end(argptr);
[INFO] [stdout]     |                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `fflush` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:238:9
[INFO] [stdout]     |
[INFO] [stdout] 238 |         fflush(stderr);
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::fflush;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stderr` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:238:16
[INFO] [stdout]     |
[INFO] [stdout] 238 |         fflush(stderr);
[INFO] [stdout]     |                ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::stderr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `exit` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:248:9
[INFO] [stdout]     |
[INFO] [stdout] 248 |         exit((-(1)));
[INFO] [stdout]     |         ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::process::exit;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::exit;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `shmdt` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:210:9
[INFO] [stdout]     |
[INFO] [stdout] 210 |         shmdt(X_shminfo.shmaddr);
[INFO] [stdout]     |         ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::shmdt;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `shmctl` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:211:9
[INFO] [stdout]     |
[INFO] [stdout] 211 |         shmctl(X_shminfo.shmid, IPC_RMID, 0);
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::shmctl;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `IPC_RMID` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:211:33
[INFO] [stdout]     |
[INFO] [stdout] 211 |         shmctl(X_shminfo.shmid, IPC_RMID, 0);
[INFO] [stdout]     |                                 ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::IPC_RMID;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:212:25
[INFO] [stdout]     |
[INFO] [stdout] 212 |         (*image).data = NULL;
[INFO] [stdout]     |                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XNextEvent` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:242:9
[INFO] [stdout]     |
[INFO] [stdout] 242 |         XNextEvent(
[INFO] [stdout]     |         ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use x11::xlib::XNextEvent;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `cursormask` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:358:9
[INFO] [stdout]     |
[INFO] [stdout] 358 |         cursormask = XCreatePixmap(display, root, 1, 1, 1);
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]     |
[INFO] [stdout] 358 |         let cursormask = XCreatePixmap(display, root, 1, 1, 1);
[INFO] [stdout]     |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XCreatePixmap` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:358:22
[INFO] [stdout]     |
[INFO] [stdout] 358 |         cursormask = XCreatePixmap(display, root, 1, 1, 1);
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use x11::xlib::XCreatePixmap;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `xgc` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:359:9
[INFO] [stdout]     |
[INFO] [stdout] 359 |         xgc.function = GXclear;
[INFO] [stdout]     |         ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GXclear` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:359:24
[INFO] [stdout]     |
[INFO] [stdout] 359 |         xgc.function = GXclear;
[INFO] [stdout]     |                        ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use x11::xlib::GXclear;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `gc` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:360:9
[INFO] [stdout]     |
[INFO] [stdout] 360 |         gc = XCreateGC(
[INFO] [stdout]     |         ^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]     |
[INFO] [stdout] 360 |         let gc = XCreateGC(
[INFO] [stdout]     |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XCreateGC` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:360:14
[INFO] [stdout]     |
[INFO] [stdout] 360 |         gc = XCreateGC(
[INFO] [stdout]     |              ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use x11::xlib::XCreateGC;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `cursormask` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:362:13
[INFO] [stdout]     |
[INFO] [stdout] 362 |             cursormask,
[INFO] [stdout]     |             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GCFunction` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:363:13
[INFO] [stdout]     |
[INFO] [stdout] 363 |             GCFunction,
[INFO] [stdout]     |             ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use x11::xlib::GCFunction;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `xgc` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:364:16
[INFO] [stdout]     |
[INFO] [stdout] 364 |             (&(xgc) as *const _ as *mut _),
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XFillRectangle` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:366:9
[INFO] [stdout]     |
[INFO] [stdout] 366 |         XFillRectangle(display, cursormask, gc, 0, 0, 1, 1);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use x11::xlib::XFillRectangle;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `cursormask` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:366:33
[INFO] [stdout]     |
[INFO] [stdout] 366 |         XFillRectangle(display, cursormask, gc, 0, 0, 1, 1);
[INFO] [stdout]     |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `gc` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:366:45
[INFO] [stdout]     |
[INFO] [stdout] 366 |         XFillRectangle(display, cursormask, gc, 0, 0, 1, 1);
[INFO] [stdout]     |                                             ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `dummycolour` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:367:9
[INFO] [stdout]     |
[INFO] [stdout] 367 |         dummycolour.pixel = 0;
[INFO] [stdout]     |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `dummycolour` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:368:9
[INFO] [stdout]     |
[INFO] [stdout] 368 |         dummycolour.red = 0;
[INFO] [stdout]     |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `dummycolour` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:369:9
[INFO] [stdout]     |
[INFO] [stdout] 369 |         dummycolour.flags = 04;
[INFO] [stdout]     |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `cursor` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:370:9
[INFO] [stdout]     |
[INFO] [stdout] 370 |         cursor = XCreatePixmapCursor(
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]     |
[INFO] [stdout] 370 |         let cursor = XCreatePixmapCursor(
[INFO] [stdout]     |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XCreatePixmapCursor` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:370:18
[INFO] [stdout]     |
[INFO] [stdout] 370 |         cursor = XCreatePixmapCursor(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use x11::xlib::XCreatePixmapCursor;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `cursormask` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:372:13
[INFO] [stdout]     |
[INFO] [stdout] 372 |             cursormask,
[INFO] [stdout]     |             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `cursormask` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:373:13
[INFO] [stdout]     |
[INFO] [stdout] 373 |             cursormask,
[INFO] [stdout]     |             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `dummycolour` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:374:16
[INFO] [stdout]     |
[INFO] [stdout] 374 |             (&(dummycolour) as *const _ as *mut _),
[INFO] [stdout]     |                ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `dummycolour` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:375:16
[INFO] [stdout]     |
[INFO] [stdout] 375 |             (&(dummycolour) as *const _ as *mut _),
[INFO] [stdout]     |                ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XFreePixmap` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:379:9
[INFO] [stdout]     |
[INFO] [stdout] 379 |         XFreePixmap(display, cursormask);
[INFO] [stdout]     |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use x11::xlib::XFreePixmap;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `cursormask` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:379:30
[INFO] [stdout]     |
[INFO] [stdout] 379 |         XFreePixmap(display, cursormask);
[INFO] [stdout]     |                              ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XFreeGC` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:380:9
[INFO] [stdout]     |
[INFO] [stdout] 380 |         XFreeGC(display, gc);
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use x11::xlib::XFreeGC;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `gc` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:380:26
[INFO] [stdout]     |
[INFO] [stdout] 380 |         XFreeGC(display, gc);
[INFO] [stdout]     |                          ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `cursor` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:381:16
[INFO] [stdout]     |
[INFO] [stdout] 381 |         return cursor;
[INFO] [stdout]     |                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memcpy` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:632:9
[INFO] [stdout]     |
[INFO] [stdout] 632 |         memcpy(scr, screens[(0) as usize], (SCREENWIDTH * SCREENHEIGHT));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memcpy;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XStoreColors` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:690:13
[INFO] [stdout]     |
[INFO] [stdout] 690 |             XStoreColors(X_display, cmap, colors, 256);
[INFO] [stdout]     |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use x11::xlib::XStoreColors;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `shmid_ds` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:719:26
[INFO] [stdout]     |
[INFO] [stdout] 719 |         let mut shminfo: shmid_ds = unsafe {
[INFO] [stdout]     |                          ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::shmid_ds;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `shmat` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:814:45
[INFO] [stdout]     |
[INFO] [stdout] 814 |         (*image).data = X_shminfo.shmaddr = shmat(id, 0, 0);
[INFO] [stdout]     |                                             ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::shmat;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `fprintf` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:815:9
[INFO] [stdout]     |
[INFO] [stdout] 815 |         fprintf(
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::fprintf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stderr` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:816:13
[INFO] [stdout]     |
[INFO] [stdout] 816 |             stderr,
[INFO] [stdout]     |             ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::stderr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `signal` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:870:9
[INFO] [stdout]     |
[INFO] [stdout] 870 |         signal(
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::signal;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SIGINT` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:871:13
[INFO] [stdout]     |
[INFO] [stdout] 871 |             SIGINT,
[INFO] [stdout]     |             ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::SIGINT;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XOpenDisplay` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:927:21
[INFO] [stdout]     |
[INFO] [stdout] 927 |         X_display = XOpenDisplay(displayname);
[INFO] [stdout]     |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use x11::xlib::XOpenDisplay;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XShmQueryExtension` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:945:17
[INFO] [stdout]     |
[INFO] [stdout] 945 |         doShm = XShmQueryExtension(X_display);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use x11::xshm::XShmQueryExtension;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `fprintf` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:962:9
[INFO] [stdout]     |
[INFO] [stdout] 962 |         fprintf(stderr, (c"Using MITSHM extension\n").as_ptr());
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::fprintf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stderr` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:962:17
[INFO] [stdout]     |
[INFO] [stdout] 962 |         fprintf(stderr, (c"Using MITSHM extension\n").as_ptr());
[INFO] [stdout]     |                 ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::stderr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XCreateColormap` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:963:18
[INFO] [stdout]     |
[INFO] [stdout] 963 |         X_cmap = XCreateColormap(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use x11::xlib::XCreateColormap;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `AllocAll` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:967:13
[INFO] [stdout]     |
[INFO] [stdout] 967 |             AllocAll,
[INFO] [stdout]     |             ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use x11::xlib::AllocAll;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CWEventMask` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:969:24
[INFO] [stdout]     |
[INFO] [stdout] 969 |         attribmask = ((CWEventMask | CWColormap) | CWBorderPixel);
[INFO] [stdout]     |                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use x11::xlib::CWEventMask;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CWColormap` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:969:38
[INFO] [stdout]     |
[INFO] [stdout] 969 |         attribmask = ((CWEventMask | CWColormap) | CWBorderPixel);
[INFO] [stdout]     |                                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use x11::xlib::CWColormap;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CWBorderPixel` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:969:52
[INFO] [stdout]     |
[INFO] [stdout] 969 |         attribmask = ((CWEventMask | CWColormap) | CWBorderPixel);
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use x11::xlib::CWBorderPixel;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `attribs` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:970:9
[INFO] [stdout]     |
[INFO] [stdout] 970 |         attribs.event_mask = ((KeyPressMask | KeyReleaseMask) | ExposureMask);
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `KeyPressMask` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:970:32
[INFO] [stdout]     |
[INFO] [stdout] 970 |         attribs.event_mask = ((KeyPressMask | KeyReleaseMask) | ExposureMask);
[INFO] [stdout]     |                                ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use x11::xlib::KeyPressMask;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `KeyReleaseMask` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:970:47
[INFO] [stdout]     |
[INFO] [stdout] 970 |         attribs.event_mask = ((KeyPressMask | KeyReleaseMask) | ExposureMask);
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use x11::xlib::KeyReleaseMask;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ExposureMask` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:970:65
[INFO] [stdout]     |
[INFO] [stdout] 970 |         attribs.event_mask = ((KeyPressMask | KeyReleaseMask) | ExposureMask);
[INFO] [stdout]     |                                                                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use x11::xlib::ExposureMask;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0530]: function parameters cannot shadow statics
[INFO] [stdout]    --> doom_rs/src/wi_stuff.rs:888:9
[INFO] [stdout]     |
[INFO] [stdout] 516 | static mut p: [*mut patch_t; (MAXPLAYERS) as usize] = unsafe { std::mem::zeroed() }; // TODO: initializer not yet translated
[INFO] [stdout]     | ------------------------------------------------------------------------------------ the static `p` is defined here
[INFO] [stdout] ...
[INFO] [stdout] 888 |     mut p: std::ffi::c_int,
[INFO] [stdout]     |         ^ cannot be named the same as a static
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0530]: let bindings cannot shadow statics
[INFO] [stdout]     --> doom_rs/src/wi_stuff.rs:1093:17
[INFO] [stdout]      |
[INFO] [stdout]  498 | static mut frags: *mut patch_t = unsafe { std::mem::zeroed() }; // TODO: initializer not yet translated
[INFO] [stdout]      | --------------------------------------------------------------- the static `frags` is defined here
[INFO] [stdout] ...
[INFO] [stdout] 1093 |         let mut frags: std::ffi::c_int = unsafe { 0 };
[INFO] [stdout]      |                 ^^^^^ cannot be named the same as a static
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `attribs` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:971:9
[INFO] [stdout]     |
[INFO] [stdout] 971 |         attribs.colormap = X_cmap;
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `attribs` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:972:9
[INFO] [stdout]     |
[INFO] [stdout] 972 |         attribs.border_pixel = 0;
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XCreateWindow` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:973:24
[INFO] [stdout]     |
[INFO] [stdout] 973 |         X_mainWindow = XCreateWindow(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use x11::xlib::XCreateWindow;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InputOutput` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:982:13
[INFO] [stdout]     |
[INFO] [stdout] 982 |             InputOutput,
[INFO] [stdout]     |             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use x11::xlib::InputOutput;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `attribs` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:985:16
[INFO] [stdout]     |
[INFO] [stdout] 985 |             (&(attribs) as *const _ as *mut _),
[INFO] [stdout]     |                ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XDefineCursor` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:987:9
[INFO] [stdout]     |
[INFO] [stdout] 987 |         XDefineCursor(
[INFO] [stdout]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use x11::xlib::XDefineCursor;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GCGraphicsExposures` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:992:21
[INFO] [stdout]     |
[INFO] [stdout] 992 |         valuemask = GCGraphicsExposures;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use x11::xlib::GCGraphicsExposures;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `xgcvalues` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:993:9
[INFO] [stdout]     |
[INFO] [stdout] 993 |         xgcvalues.graphics_exposures = False;
[INFO] [stdout]     |         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `False` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:993:40
[INFO] [stdout]     |
[INFO] [stdout] 993 |         xgcvalues.graphics_exposures = False;
[INFO] [stdout]     |                                        ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may want to use a bool value instead (notice the capitalization)
[INFO] [stdout]     |
[INFO] [stdout] 993 -         xgcvalues.graphics_exposures = False;
[INFO] [stdout] 993 +         xgcvalues.graphics_exposures = false;
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use x11::xlib::False;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XCreateGC` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:994:16
[INFO] [stdout]     |
[INFO] [stdout] 994 |         X_gc = XCreateGC(
[INFO] [stdout]     |                ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use x11::xlib::XCreateGC;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `xgcvalues` in this scope
[INFO] [stdout]    --> doom_rs/src/i_video.rs:998:16
[INFO] [stdout]     |
[INFO] [stdout] 998 |             (&(xgcvalues) as *const _ as *mut _),
[INFO] [stdout]     |                ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XMapWindow` in this scope
[INFO] [stdout]     --> doom_rs/src/i_video.rs:1000:9
[INFO] [stdout]      |
[INFO] [stdout] 1000 |         XMapWindow(X_display, X_mainWindow);
[INFO] [stdout]      |         ^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use x11::xlib::XMapWindow;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]     --> doom_rs/src/i_video.rs:1133:9
[INFO] [stdout]      |
[INFO] [stdout] 1133 |         printf((c"building exptable2...\n").as_ptr());
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]      |
[INFO] [stdout] 1133 -         printf((c"building exptable2...\n").as_ptr());
[INFO] [stdout] 1133 +         print!((c"building exptable2...\n").as_ptr());
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::printf;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]     --> doom_rs/src/i_video.rs:1147:9
[INFO] [stdout]      |
[INFO] [stdout] 1147 |         printf((c"done.\n").as_ptr());
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]      |
[INFO] [stdout] 1147 -         printf((c"done.\n").as_ptr());
[INFO] [stdout] 1147 +         print!((c"done.\n").as_ptr());
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::printf;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `strcpy` in this scope
[INFO] [stdout]     --> doom_rs/src/m_menu.rs:1125:9
[INFO] [stdout]      |
[INFO] [stdout] 1125 |         strcpy(saveOldString, savegamestrings[(choice) as usize]);
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] note: similarly named function `strupr` defined here
[INFO] [stdout]     --> doom_rs/src/w_wad.rs:98:1
[INFO] [stdout]      |
[INFO] [stdout]   98 | pub unsafe extern "C" fn strupr(mut s: *mut std::ffi::c_char) {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1125 -         strcpy(saveOldString, savegamestrings[(choice) as usize]);
[INFO] [stdout] 1125 +         strupr(saveOldString, savegamestrings[(choice) as usize]);
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::strcpy;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `strlen` in this scope
[INFO] [stdout]     --> doom_rs/src/m_menu.rs:1131:25
[INFO] [stdout]      |
[INFO] [stdout] 1131 |         saveCharIndex = strlen(savegamestrings[(choice) as usize]);
[INFO] [stdout]      |                         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::strlen;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sprintf` in this scope
[INFO] [stdout]     --> doom_rs/src/m_menu.rs:1208:9
[INFO] [stdout]      |
[INFO] [stdout] 1208 |         sprintf(
[INFO] [stdout]      |         ^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::sprintf;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sprintf` in this scope
[INFO] [stdout]     --> doom_rs/src/m_menu.rs:1255:9
[INFO] [stdout]      |
[INFO] [stdout] 1255 |         sprintf(
[INFO] [stdout]      |         ^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::sprintf;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `fprintf` in this scope
[INFO] [stdout]     --> doom_rs/src/m_menu.rs:1791:9
[INFO] [stdout]      |
[INFO] [stdout] 1791 |         fprintf(stderr, (c"M_ChangeDetail: low detail mode n.a.\n").as_ptr());
[INFO] [stdout]      |         ^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::fprintf;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stderr` in this scope
[INFO] [stdout]     --> doom_rs/src/m_menu.rs:1791:17
[INFO] [stdout]      |
[INFO] [stdout] 1791 |         fprintf(stderr, (c"M_ChangeDetail: low detail mode n.a.\n").as_ptr());
[INFO] [stdout]      |                 ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use std::io::stderr;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stdout]     --> doom_rs/src/m_menu.rs:2594:25
[INFO] [stdout]      |
[INFO] [stdout] 2594 |         messageString = NULL;
[INFO] [stdout]      |                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `open` in this scope
[INFO] [stdout]    --> doom_rs/src/m_misc.rs:146:18
[INFO] [stdout]     |
[INFO] [stdout] 146 |         handle = open(name, (((O_WRONLY | O_CREAT) | O_TRUNC) | O_BINARY), 0666);
[INFO] [stdout]     |                  ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::p_spec::open;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::open;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `O_WRONLY` in this scope
[INFO] [stdout]    --> doom_rs/src/m_misc.rs:146:32
[INFO] [stdout]     |
[INFO] [stdout] 146 |         handle = open(name, (((O_WRONLY | O_CREAT) | O_TRUNC) | O_BINARY), 0666);
[INFO] [stdout]     |                                ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::O_WRONLY;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `O_CREAT` in this scope
[INFO] [stdout]    --> doom_rs/src/m_misc.rs:146:43
[INFO] [stdout]     |
[INFO] [stdout] 146 |         handle = open(name, (((O_WRONLY | O_CREAT) | O_TRUNC) | O_BINARY), 0666);
[INFO] [stdout]     |                                           ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::O_CREAT;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `O_TRUNC` in this scope
[INFO] [stdout]    --> doom_rs/src/m_misc.rs:146:54
[INFO] [stdout]     |
[INFO] [stdout] 146 |         handle = open(name, (((O_WRONLY | O_CREAT) | O_TRUNC) | O_BINARY), 0666);
[INFO] [stdout]     |                                                      ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::O_TRUNC;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: cannot find function `write` in this scope
[INFO] [stdout]    --> doom_rs/src/m_misc.rs:153:17
[INFO] [stdout]     |
[INFO] [stdout] 153 |         count = write(handle, source, length);
[INFO] [stdout]     |                 ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout]     = note: a macro named `write` exists in another namespace
[INFO] [stdout] help: use `!` to invoke the macro
[INFO] [stdout]     |
[INFO] [stdout] 153 |         count = write!(handle, source, length);
[INFO] [stdout]     |                      +
[INFO] [stdout] help: consider importing one of these functions instead
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::fmt::write;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::fs::write;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::ptr::write;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use core::fmt::write;
[INFO] [stdout]     |
[INFO] [stdout]     = and 2 other candidates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `close` in this scope
[INFO] [stdout]    --> doom_rs/src/m_misc.rs:154:9
[INFO] [stdout]     |
[INFO] [stdout] 154 |         close(handle);
[INFO] [stdout]     |         ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::p_spec::close;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::close;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `stat` in this scope
[INFO] [stdout]    --> doom_rs/src/m_misc.rs:183:27
[INFO] [stdout]     |
[INFO] [stdout] 183 |         let mut fileinfo: stat = unsafe {
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::os::linux::raw::stat;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::stat;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `open` in this scope
[INFO] [stdout]    --> doom_rs/src/m_misc.rs:189:18
[INFO] [stdout]     |
[INFO] [stdout] 189 |         handle = open(name, (O_RDONLY | O_BINARY), 0666);
[INFO] [stdout]     |                  ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::p_spec::open;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::open;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `O_RDONLY` in this scope
[INFO] [stdout]    --> doom_rs/src/m_misc.rs:189:30
[INFO] [stdout]     |
[INFO] [stdout] 189 |         handle = open(name, (O_RDONLY | O_BINARY), 0666);
[INFO] [stdout]     |                              ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::O_RDONLY;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stdout]    --> doom_rs/src/m_misc.rs:201:43
[INFO] [stdout]     |
[INFO] [stdout] 201 |         buf = Z_Malloc(length, PU_STATIC, NULL);
[INFO] [stdout]     |                                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `read` in this scope
[INFO] [stdout]    --> doom_rs/src/m_misc.rs:202:17
[INFO] [stdout]     |
[INFO] [stdout] 202 |         count = read(handle, buf, length);
[INFO] [stdout]     |                 ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::fs::read;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::ptr::read;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use core::ptr::read;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::read;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `close` in this scope
[INFO] [stdout]    --> doom_rs/src/m_misc.rs:203:9
[INFO] [stdout]     |
[INFO] [stdout] 203 |         close(handle);
[INFO] [stdout]     |         ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::p_spec::close;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::close;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE` in this scope
[INFO] [stdout]    --> doom_rs/src/m_misc.rs:611:10
[INFO] [stdout]     |
[INFO] [stdout] 611 |         (FILE * f);
[INFO] [stdout]     |          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `f` in this scope
[INFO] [stdout]    --> doom_rs/src/m_misc.rs:611:17
[INFO] [stdout]     |
[INFO] [stdout] 611 |         (FILE * f);
[INFO] [stdout]     |                 ^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 611 -         (FILE * f);
[INFO] [stdout] 611 +         (FILE * i);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `f` in this scope
[INFO] [stdout]    --> doom_rs/src/m_misc.rs:612:9
[INFO] [stdout]     |
[INFO] [stdout] 612 |         f = fopen(defaultfile, (c"w").as_ptr());
[INFO] [stdout]     |         ^
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 612 -         f = fopen(defaultfile, (c"w").as_ptr());
[INFO] [stdout] 612 +         i = fopen(defaultfile, (c"w").as_ptr());
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]     |
[INFO] [stdout] 612 |         let f = fopen(defaultfile, (c"w").as_ptr());
[INFO] [stdout]     |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `fopen` in this scope
[INFO] [stdout]    --> doom_rs/src/m_misc.rs:612:13
[INFO] [stdout]     |
[INFO] [stdout] 612 |         f = fopen(defaultfile, (c"w").as_ptr());
[INFO] [stdout]     |             ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::fopen;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `fclose` in this scope
[INFO] [stdout]    --> doom_rs/src/m_misc.rs:633:9
[INFO] [stdout]     |
[INFO] [stdout] 633 |         fclose(f);
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::fclose;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `f` in this scope
[INFO] [stdout]    --> doom_rs/src/m_misc.rs:633:16
[INFO] [stdout]     |
[INFO] [stdout] 633 |         fclose(f);
[INFO] [stdout]     |                ^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 633 -         fclose(f);
[INFO] [stdout] 633 +         fclose(i);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE` in this scope
[INFO] [stdout]    --> doom_rs/src/m_misc.rs:652:10
[INFO] [stdout]     |
[INFO] [stdout] 652 |         (FILE * f);
[INFO] [stdout]     |          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `f` in this scope
[INFO] [stdout]    --> doom_rs/src/m_misc.rs:652:17
[INFO] [stdout]     |
[INFO] [stdout] 652 |         (FILE * f);
[INFO] [stdout]     |                 ^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 652 -         (FILE * f);
[INFO] [stdout] 652 +         (FILE * i);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `f` in this scope
[INFO] [stdout]    --> doom_rs/src/m_misc.rs:686:9
[INFO] [stdout]     |
[INFO] [stdout] 686 |         f = fopen(defaultfile, (c"r").as_ptr());
[INFO] [stdout]     |         ^
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 686 -         f = fopen(defaultfile, (c"r").as_ptr());
[INFO] [stdout] 686 +         i = fopen(defaultfile, (c"r").as_ptr());
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]     |
[INFO] [stdout] 686 |         let f = fopen(defaultfile, (c"r").as_ptr());
[INFO] [stdout]     |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `fopen` in this scope
[INFO] [stdout]    --> doom_rs/src/m_misc.rs:686:13
[INFO] [stdout]     |
[INFO] [stdout] 686 |         f = fopen(defaultfile, (c"r").as_ptr());
[INFO] [stdout]     |             ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::fopen;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stdout]    --> doom_rs/src/m_misc.rs:773:68
[INFO] [stdout]     |
[INFO] [stdout] 773 |         pcx = Z_Malloc((((width * height) * 2) + 1000), PU_STATIC, NULL);
[INFO] [stdout]     |                                                                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/m_misc.rs:784:9
[INFO] [stdout]     |
[INFO] [stdout] 784 |         memset((*pcx).palette, 0, std::mem::size_of_val(&((*pcx).palette)));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/m_misc.rs:788:9
[INFO] [stdout]     |
[INFO] [stdout] 788 |         memset((*pcx).filler, 0, std::mem::size_of_val(&((*pcx).filler)));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `strcpy` in this scope
[INFO] [stdout]    --> doom_rs/src/m_misc.rs:835:9
[INFO] [stdout]     |
[INFO] [stdout] 835 |         strcpy(lbmname, (c"DOOM00.pcx").as_ptr());
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named function `strupr` defined here
[INFO] [stdout]    --> doom_rs/src/w_wad.rs:98:1
[INFO] [stdout]     |
[INFO] [stdout]  98 | pub unsafe extern "C" fn strupr(mut s: *mut std::ffi::c_char) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 835 -         strcpy(lbmname, (c"DOOM00.pcx").as_ptr());
[INFO] [stdout] 835 +         strupr(lbmname, (c"DOOM00.pcx").as_ptr());
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::strcpy;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:2312:22
[INFO] [stdout]      |
[INFO] [stdout] 2312 |         S_StartSound(NULL, sfx_bossit);
[INFO] [stdout]      |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:2321:22
[INFO] [stdout]      |
[INFO] [stdout] 2321 |         S_StartSound(NULL, sfx_bospn);
[INFO] [stdout]      |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:2359:22
[INFO] [stdout]      |
[INFO] [stdout] 2359 |         S_StartSound(NULL, sfx_bosdth);
[INFO] [stdout]      |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:2428:22
[INFO] [stdout]      |
[INFO] [stdout] 2428 |         S_StartSound(NULL, sfx_bospit);
[INFO] [stdout]      |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stdout]    --> doom_rs/src/p_map.rs:194:23
[INFO] [stdout]     |
[INFO] [stdout] 194 |         ceilingline = NULL;
[INFO] [stdout]     |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stdout]    --> doom_rs/src/p_map.rs:470:23
[INFO] [stdout]     |
[INFO] [stdout] 470 |         ceilingline = NULL;
[INFO] [stdout]     |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stdout]     --> doom_rs/src/p_map.rs:1222:22
[INFO] [stdout]      |
[INFO] [stdout] 1222 |         linetarget = NULL;
[INFO] [stdout]      |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `abs` in this scope
[INFO] [stdout]     --> doom_rs/src/p_map.rs:1382:14
[INFO] [stdout]      |
[INFO] [stdout] 1382 |         dx = abs(((*thing).x - (*bombspot).x));
[INFO] [stdout]      |              ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::abs;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `abs` in this scope
[INFO] [stdout]     --> doom_rs/src/p_map.rs:1383:14
[INFO] [stdout]      |
[INFO] [stdout] 1383 |         dy = abs(((*thing).y - (*bombspot).y));
[INFO] [stdout]      |              ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::abs;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `abs` in this scope
[INFO] [stdout]   --> doom_rs/src/p_maputl.rs:85:14
[INFO] [stdout]    |
[INFO] [stdout] 85 |         dx = abs(dx);
[INFO] [stdout]    |              ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  1 + use libc::abs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `abs` in this scope
[INFO] [stdout]   --> doom_rs/src/p_maputl.rs:86:14
[INFO] [stdout]    |
[INFO] [stdout] 86 |         dy = abs(dy);
[INFO] [stdout]    |              ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  1 + use libc::abs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stdout]    --> doom_rs/src/p_mobj.rs:679:70
[INFO] [stdout]     |
[INFO] [stdout] 679 |         mobj = Z_Malloc(std::mem::size_of_val(&(*(mobj))), PU_LEVEL, NULL);
[INFO] [stdout]     |                                                                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/p_mobj.rs:680:9
[INFO] [stdout]     |
[INFO] [stdout] 680 |         memset(mobj, 0, std::mem::size_of_val(&(*(mobj))));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stdout]    --> doom_rs/src/p_mobj.rs:890:24
[INFO] [stdout]     |
[INFO] [stdout] 890 |         (*p).message = NULL;
[INFO] [stdout]     |                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:210:9
[INFO] [stdout]     |
[INFO] [stdout] 210 |         memset(segs, 0, (numsegs * std::mem::size_of::<seg_t>()));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:264:9
[INFO] [stdout]     |
[INFO] [stdout] 264 |         memset(
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:302:9
[INFO] [stdout]     |
[INFO] [stdout] 302 |         memset(sectors, 0, (numsectors * std::mem::size_of::<sector_t>()));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:463:9
[INFO] [stdout]     |
[INFO] [stdout] 463 |         memset(lines, 0, (numlines * std::mem::size_of::<line_t>()));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:550:9
[INFO] [stdout]     |
[INFO] [stdout] 550 |         memset(sides, 0, (numsides * std::mem::size_of::<side_t>()));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:596:9
[INFO] [stdout]     |
[INFO] [stdout] 596 |         memset(blocklinks, 0, count);
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/r_data.rs:347:9
[INFO] [stdout]     |
[INFO] [stdout] 347 |         memset(patchcount, 0, (*texture).width);
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]    --> doom_rs/src/r_data.rs:565:9
[INFO] [stdout]     |
[INFO] [stdout] 565 |         printf((c"[").as_ptr());
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]     |
[INFO] [stdout] 565 -         printf((c"[").as_ptr());
[INFO] [stdout] 565 +         print!((c"[").as_ptr());
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::printf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]    --> doom_rs/src/r_data.rs:571:9
[INFO] [stdout]     |
[INFO] [stdout] 571 |         printf((c"         ]").as_ptr());
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]     |
[INFO] [stdout] 571 -         printf((c"         ]").as_ptr());
[INFO] [stdout] 571 +         print!((c"         ]").as_ptr());
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::printf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]    --> doom_rs/src/r_data.rs:577:9
[INFO] [stdout]     |
[INFO] [stdout] 577 |         printf((c"\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08").as_ptr());
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]     |
[INFO] [stdout] 577 -         printf((c"\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08").as_ptr());
[INFO] [stdout] 577 +         print!((c"\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08").as_ptr());
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::printf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]    --> doom_rs/src/r_data.rs:741:9
[INFO] [stdout]     |
[INFO] [stdout] 741 |         printf((c"\nInitTextures").as_ptr());
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]     |
[INFO] [stdout] 741 -         printf((c"\nInitTextures").as_ptr());
[INFO] [stdout] 741 +         print!((c"\nInitTextures").as_ptr());
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::printf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]    --> doom_rs/src/r_data.rs:743:9
[INFO] [stdout]     |
[INFO] [stdout] 743 |         printf((c"\nInitFlats").as_ptr());
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]     |
[INFO] [stdout] 743 -         printf((c"\nInitFlats").as_ptr());
[INFO] [stdout] 743 +         print!((c"\nInitFlats").as_ptr());
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::printf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]    --> doom_rs/src/r_data.rs:745:9
[INFO] [stdout]     |
[INFO] [stdout] 745 |         printf((c"\nInitSprites").as_ptr());
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]     |
[INFO] [stdout] 745 -         printf((c"\nInitSprites").as_ptr());
[INFO] [stdout] 745 +         print!((c"\nInitSprites").as_ptr());
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::printf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]    --> doom_rs/src/r_data.rs:747:9
[INFO] [stdout]     |
[INFO] [stdout] 747 |         printf((c"\nInitColormaps").as_ptr());
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]     |
[INFO] [stdout] 747 -         printf((c"\nInitColormaps").as_ptr());
[INFO] [stdout] 747 +         print!((c"\nInitColormaps").as_ptr());
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::printf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/r_data.rs:878:9
[INFO] [stdout]     |
[INFO] [stdout] 878 |         memset(flatpresent, 0, numflats);
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/r_data.rs:903:9
[INFO] [stdout]     |
[INFO] [stdout] 903 |         memset(texturepresent, 0, numtextures);
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/r_data.rs:934:9
[INFO] [stdout]     |
[INFO] [stdout] 934 |         memset(spritepresent, 0, numsprites);
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memcpy` in this scope
[INFO] [stdout]    --> doom_rs/src/r_draw.rs:755:9
[INFO] [stdout]     |
[INFO] [stdout] 755 |         memcpy(
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memcpy;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `abs` in this scope
[INFO] [stdout]    --> doom_rs/src/r_main.rs:510:14
[INFO] [stdout]     |
[INFO] [stdout] 510 |         dx = abs((x - viewx));
[INFO] [stdout]     |              ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::abs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `abs` in this scope
[INFO] [stdout]    --> doom_rs/src/r_main.rs:511:14
[INFO] [stdout]     |
[INFO] [stdout] 511 |         dy = abs((y - viewy));
[INFO] [stdout]     |              ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::abs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]    --> doom_rs/src/r_main.rs:868:9
[INFO] [stdout]     |
[INFO] [stdout] 868 |         printf((c"\nR_InitData").as_ptr());
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]     |
[INFO] [stdout] 868 -         printf((c"\nR_InitData").as_ptr());
[INFO] [stdout] 868 +         print!((c"\nR_InitData").as_ptr());
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::printf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]    --> doom_rs/src/r_main.rs:870:9
[INFO] [stdout]     |
[INFO] [stdout] 870 |         printf((c"\nR_InitPointToAngle").as_ptr());
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]     |
[INFO] [stdout] 870 -         printf((c"\nR_InitPointToAngle").as_ptr());
[INFO] [stdout] 870 +         print!((c"\nR_InitPointToAngle").as_ptr());
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::printf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]    --> doom_rs/src/r_main.rs:872:9
[INFO] [stdout]     |
[INFO] [stdout] 872 |         printf((c"\nR_InitTables").as_ptr());
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]     |
[INFO] [stdout] 872 -         printf((c"\nR_InitTables").as_ptr());
[INFO] [stdout] 872 +         print!((c"\nR_InitTables").as_ptr());
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::printf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]    --> doom_rs/src/r_main.rs:875:9
[INFO] [stdout]     |
[INFO] [stdout] 875 |         printf((c"\nR_InitPlanes").as_ptr());
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]     |
[INFO] [stdout] 875 -         printf((c"\nR_InitPlanes").as_ptr());
[INFO] [stdout] 875 +         print!((c"\nR_InitPlanes").as_ptr());
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::printf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]    --> doom_rs/src/r_main.rs:877:9
[INFO] [stdout]     |
[INFO] [stdout] 877 |         printf((c"\nR_InitLightTables").as_ptr());
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]     |
[INFO] [stdout] 877 -         printf((c"\nR_InitLightTables").as_ptr());
[INFO] [stdout] 877 +         print!((c"\nR_InitLightTables").as_ptr());
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::printf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]    --> doom_rs/src/r_main.rs:879:9
[INFO] [stdout]     |
[INFO] [stdout] 879 |         printf((c"\nR_InitSkyMap").as_ptr());
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]     |
[INFO] [stdout] 879 -         printf((c"\nR_InitSkyMap").as_ptr());
[INFO] [stdout] 879 +         print!((c"\nR_InitSkyMap").as_ptr());
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::printf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]    --> doom_rs/src/r_main.rs:881:9
[INFO] [stdout]     |
[INFO] [stdout] 881 |         printf((c"\nR_InitTranslationsTables").as_ptr());
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]     |
[INFO] [stdout] 881 -         printf((c"\nR_InitTranslationsTables").as_ptr());
[INFO] [stdout] 881 +         print!((c"\nR_InitTranslationsTables").as_ptr());
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::printf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/r_plane.rs:244:9
[INFO] [stdout]     |
[INFO] [stdout] 244 |         memset(cachedheight, 0, std::mem::size_of_val(&(cachedheight)));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/r_plane.rs:308:9
[INFO] [stdout]     |
[INFO] [stdout] 308 |         memset((*check).top, 0xff, std::mem::size_of_val(&((*check).top)));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/r_plane.rs:395:9
[INFO] [stdout]     |
[INFO] [stdout] 395 |         memset((*pl).top, 0xff, std::mem::size_of_val(&((*pl).top)));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `abs` in this scope
[INFO] [stdout]    --> doom_rs/src/r_segs.rs:479:23
[INFO] [stdout]     |
[INFO] [stdout] 479 |         offsetangle = abs((rw_normalangle - rw_angle1));
[INFO] [stdout]     |                       ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::abs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stdout]    --> doom_rs/src/r_segs.rs:528:36
[INFO] [stdout]     |
[INFO] [stdout] 528 |         (*ds_p).maskedtexturecol = NULL;
[INFO] [stdout]     |                                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stdout]    --> doom_rs/src/r_things.rs:256:13
[INFO] [stdout]     |
[INFO] [stdout] 256 |             NULL,
[INFO] [stdout]     |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `abs` in this scope
[INFO] [stdout]    --> doom_rs/src/r_things.rs:497:22
[INFO] [stdout]     |
[INFO] [stdout] 497 |         dc_iscale = (abs((*vis).xiscale) >> detailshift);
[INFO] [stdout]     |                      ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::abs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `fprintf` in this scope
[INFO] [stdout]    --> doom_rs/src/s_sound.rs:178:9
[INFO] [stdout]     |
[INFO] [stdout] 178 |         fprintf(
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::fprintf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stderr` in this scope
[INFO] [stdout]    --> doom_rs/src/s_sound.rs:179:13
[INFO] [stdout]     |
[INFO] [stdout] 179 |             stderr,
[INFO] [stdout]     |             ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::stderr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `abs` in this scope
[INFO] [stdout]    --> doom_rs/src/s_sound.rs:791:15
[INFO] [stdout]     |
[INFO] [stdout] 791 |         adx = abs(((*listener).x - (*source).x));
[INFO] [stdout]     |               ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::abs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `abs` in this scope
[INFO] [stdout]    --> doom_rs/src/s_sound.rs:792:15
[INFO] [stdout]     |
[INFO] [stdout] 792 |         ady = abs(((*listener).y - (*source).y));
[INFO] [stdout]     |               ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::abs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sprintf` in this scope
[INFO] [stdout]     --> doom_rs/src/st_stuff.rs:1383:9
[INFO] [stdout]      |
[INFO] [stdout] 1383 |         sprintf(namebuf, (c"STFB%d").as_ptr(), consoleplayer);
[INFO] [stdout]      |         ^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::sprintf;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `stat` in this scope
[INFO] [stdout]    --> doom_rs/src/w_wad.rs:112:27
[INFO] [stdout]     |
[INFO] [stdout] 112 |         let mut fileinfo: stat = unsafe {
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::os::linux::raw::stat;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::stat;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `strlen` in this scope
[INFO] [stdout]    --> doom_rs/src/w_wad.rs:140:24
[INFO] [stdout]     |
[INFO] [stdout] 140 |         src = ((path + strlen(path)) - 1);
[INFO] [stdout]     |                        ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::strlen;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/w_wad.rs:152:9
[INFO] [stdout]     |
[INFO] [stdout] 152 |         memset(dest, 0, 8);
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]    --> doom_rs/src/w_wad.rs:226:9
[INFO] [stdout]     |
[INFO] [stdout] 226 |         printf((c" adding %s\n").as_ptr(), filename);
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]     |
[INFO] [stdout] 226 -         printf((c" adding %s\n").as_ptr(), filename);
[INFO] [stdout] 226 +         print!((c" adding %s\n").as_ptr(), filename);
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::printf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `realloc` in this scope
[INFO] [stdout]    --> doom_rs/src/w_wad.rs:264:20
[INFO] [stdout]     |
[INFO] [stdout] 264 |         lumpinfo = realloc(lumpinfo, (numlumps * std::mem::size_of::<lumpinfo_t>()));
[INFO] [stdout]     |                    ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::alloc::realloc;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::realloc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `read` in this scope
[INFO] [stdout]    --> doom_rs/src/w_wad.rs:331:9
[INFO] [stdout]     |
[INFO] [stdout] 331 |         read(
[INFO] [stdout]     |         ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::fs::read;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::ptr::read;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use core::ptr::read;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::read;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `lseek` in this scope
[INFO] [stdout]    --> doom_rs/src/w_wad.rs:340:9
[INFO] [stdout]     |
[INFO] [stdout] 340 |         lseek(handle, header.infotableofs, SEEK_SET);
[INFO] [stdout]     |         ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::lseek;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SEEK_SET` in this scope
[INFO] [stdout]    --> doom_rs/src/w_wad.rs:340:44
[INFO] [stdout]     |
[INFO] [stdout] 340 |         lseek(handle, header.infotableofs, SEEK_SET);
[INFO] [stdout]     |                                            ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::SEEK_SET;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `read` in this scope
[INFO] [stdout]    --> doom_rs/src/w_wad.rs:341:9
[INFO] [stdout]     |
[INFO] [stdout] 341 |         read(handle, fileinfo, length);
[INFO] [stdout]     |         ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::fs::read;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::ptr::read;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use core::ptr::read;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::read;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `close` in this scope
[INFO] [stdout]    --> doom_rs/src/w_wad.rs:357:9
[INFO] [stdout]     |
[INFO] [stdout] 357 |         close(handle);
[INFO] [stdout]     |         ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::p_spec::close;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::close;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `malloc` in this scope
[INFO] [stdout]    --> doom_rs/src/w_wad.rs:370:20
[INFO] [stdout]     |
[INFO] [stdout] 370 |         lumpinfo = malloc(1);
[INFO] [stdout]     |                    ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::malloc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `malloc` in this scope
[INFO] [stdout]    --> doom_rs/src/w_wad.rs:384:21
[INFO] [stdout]     |
[INFO] [stdout] 384 |         lumpcache = malloc(size);
[INFO] [stdout]     |                     ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::malloc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/w_wad.rs:391:9
[INFO] [stdout]     |
[INFO] [stdout] 391 |         memset(lumpcache, 0, size);
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stdout]    --> doom_rs/src/w_wad.rs:404:31
[INFO] [stdout]     |
[INFO] [stdout] 404 |         names[(1) as usize] = NULL;
[INFO] [stdout]     |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `strncpy` in this scope
[INFO] [stdout]    --> doom_rs/src/w_wad.rs:434:9
[INFO] [stdout]     |
[INFO] [stdout] 434 |         strncpy(name8.s, name, 8);
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::strncpy;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `lseek` in this scope
[INFO] [stdout]    --> doom_rs/src/w_wad.rs:527:9
[INFO] [stdout]     |
[INFO] [stdout] 527 |         lseek(handle, (*l).position, SEEK_SET);
[INFO] [stdout]     |         ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::lseek;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SEEK_SET` in this scope
[INFO] [stdout]    --> doom_rs/src/w_wad.rs:527:38
[INFO] [stdout]     |
[INFO] [stdout] 527 |         lseek(handle, (*l).position, SEEK_SET);
[INFO] [stdout]     |                                      ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::SEEK_SET;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `read` in this scope
[INFO] [stdout]    --> doom_rs/src/w_wad.rs:528:13
[INFO] [stdout]     |
[INFO] [stdout] 528 |         c = read(handle, dest, (*l).size);
[INFO] [stdout]     |             ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::fs::read;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::ptr::read;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use core::ptr::read;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::read;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE` in this scope
[INFO] [stdout]    --> doom_rs/src/w_wad.rs:621:10
[INFO] [stdout]     |
[INFO] [stdout] 621 |         (FILE * f);
[INFO] [stdout]     |          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `f` in this scope
[INFO] [stdout]    --> doom_rs/src/w_wad.rs:621:17
[INFO] [stdout]     |
[INFO] [stdout] 621 |         (FILE * f);
[INFO] [stdout]     |                 ^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 621 -         (FILE * f);
[INFO] [stdout] 621 +         (FILE * i);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `f` in this scope
[INFO] [stdout]    --> doom_rs/src/w_wad.rs:656:9
[INFO] [stdout]     |
[INFO] [stdout] 656 |         f = fopen((c"waddump.txt").as_ptr(), (c"w").as_ptr());
[INFO] [stdout]     |         ^
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 656 -         f = fopen((c"waddump.txt").as_ptr(), (c"w").as_ptr());
[INFO] [stdout] 656 +         i = fopen((c"waddump.txt").as_ptr(), (c"w").as_ptr());
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]     |
[INFO] [stdout] 656 |         let f = fopen((c"waddump.txt").as_ptr(), (c"w").as_ptr());
[INFO] [stdout]     |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `fopen` in this scope
[INFO] [stdout]    --> doom_rs/src/w_wad.rs:656:13
[INFO] [stdout]     |
[INFO] [stdout] 656 |         f = fopen((c"waddump.txt").as_ptr(), (c"w").as_ptr());
[INFO] [stdout]     |             ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::fopen;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]     --> doom_rs/src/am_map.rs:1268:9
[INFO] [stdout]      |
[INFO] [stdout] 1268 |         memset(fb, color, (f_w * f_h));
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::memset;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `fclose` in this scope
[INFO] [stdout]    --> doom_rs/src/w_wad.rs:680:9
[INFO] [stdout]     |
[INFO] [stdout] 680 |         fclose(f);
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::fclose;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `f` in this scope
[INFO] [stdout]    --> doom_rs/src/w_wad.rs:680:16
[INFO] [stdout]     |
[INFO] [stdout] 680 |         fclose(f);
[INFO] [stdout]     |                ^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 680 -         fclose(f);
[INFO] [stdout] 680 +         fclose(i);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `malloc` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:629:19
[INFO] [stdout]     |
[INFO] [stdout] 629 |         newfile = malloc((strlen(file) + 1));
[INFO] [stdout]     |                   ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::malloc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `strlen` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:629:27
[INFO] [stdout]     |
[INFO] [stdout] 629 |         newfile = malloc((strlen(file) + 1));
[INFO] [stdout]     |                           ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::strlen;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memcpy` in this scope
[INFO] [stdout]    --> doom_rs/src/wi_stuff.rs:524:9
[INFO] [stdout]     |
[INFO] [stdout] 524 |         memcpy(
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memcpy;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `strcpy` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:630:9
[INFO] [stdout]     |
[INFO] [stdout] 630 |         strcpy(newfile, file);
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named function `strupr` defined here
[INFO] [stdout]    --> doom_rs/src/w_wad.rs:98:1
[INFO] [stdout]     |
[INFO] [stdout]  98 | pub unsafe extern "C" fn strupr(mut s: *mut std::ffi::c_char) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 630 -         strcpy(newfile, file);
[INFO] [stdout] 630 +         strupr(newfile, file);
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::strcpy;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `getenv` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:667:22
[INFO] [stdout]     |
[INFO] [stdout] 667 |         doomwaddir = getenv((c"DOOMWADDIR").as_ptr());
[INFO] [stdout]     |                      ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::getenv;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `malloc` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:673:20
[INFO] [stdout]     |
[INFO] [stdout] 673 |         doom2wad = malloc((((strlen(doomwaddir) + 1) + 9) + 1));
[INFO] [stdout]     |                    ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::malloc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `strlen` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:673:30
[INFO] [stdout]     |
[INFO] [stdout] 673 |         doom2wad = malloc((((strlen(doomwaddir) + 1) + 9) + 1));
[INFO] [stdout]     |                              ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::strlen;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sprintf` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:674:9
[INFO] [stdout]     |
[INFO] [stdout] 674 |         sprintf(doom2wad, (c"%s/doom2.wad").as_ptr(), doomwaddir);
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::sprintf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `malloc` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:675:20
[INFO] [stdout]     |
[INFO] [stdout] 675 |         doomuwad = malloc((((strlen(doomwaddir) + 1) + 8) + 1));
[INFO] [stdout]     |                    ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::malloc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `strlen` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:675:30
[INFO] [stdout]     |
[INFO] [stdout] 675 |         doomuwad = malloc((((strlen(doomwaddir) + 1) + 8) + 1));
[INFO] [stdout]     |                              ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::strlen;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sprintf` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:676:9
[INFO] [stdout]     |
[INFO] [stdout] 676 |         sprintf(doomuwad, (c"%s/doomu.wad").as_ptr(), doomwaddir);
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::sprintf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `malloc` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:677:19
[INFO] [stdout]     |
[INFO] [stdout] 677 |         doomwad = malloc((((strlen(doomwaddir) + 1) + 8) + 1));
[INFO] [stdout]     |                   ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::malloc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `strlen` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:677:29
[INFO] [stdout]     |
[INFO] [stdout] 677 |         doomwad = malloc((((strlen(doomwaddir) + 1) + 8) + 1));
[INFO] [stdout]     |                             ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::strlen;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sprintf` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:678:9
[INFO] [stdout]     |
[INFO] [stdout] 678 |         sprintf(doomwad, (c"%s/doom.wad").as_ptr(), doomwaddir);
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::sprintf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `malloc` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:679:20
[INFO] [stdout]     |
[INFO] [stdout] 679 |         doom1wad = malloc((((strlen(doomwaddir) + 1) + 9) + 1));
[INFO] [stdout]     |                    ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::malloc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `strlen` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:679:30
[INFO] [stdout]     |
[INFO] [stdout] 679 |         doom1wad = malloc((((strlen(doomwaddir) + 1) + 9) + 1));
[INFO] [stdout]     |                              ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::strlen;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sprintf` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:680:9
[INFO] [stdout]     |
[INFO] [stdout] 680 |         sprintf(doom1wad, (c"%s/doom1.wad").as_ptr(), doomwaddir);
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::sprintf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `malloc` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:681:23
[INFO] [stdout]     |
[INFO] [stdout] 681 |         plutoniawad = malloc((((strlen(doomwaddir) + 1) + 12) + 1));
[INFO] [stdout]     |                       ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::malloc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `strlen` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:681:33
[INFO] [stdout]     |
[INFO] [stdout] 681 |         plutoniawad = malloc((((strlen(doomwaddir) + 1) + 12) + 1));
[INFO] [stdout]     |                                 ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::strlen;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sprintf` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:682:9
[INFO] [stdout]     |
[INFO] [stdout] 682 |         sprintf(plutoniawad, (c"%s/plutonia.wad").as_ptr(), doomwaddir);
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::sprintf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `malloc` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:683:18
[INFO] [stdout]     |
[INFO] [stdout] 683 |         tntwad = malloc((((strlen(doomwaddir) + 1) + 9) + 1));
[INFO] [stdout]     |                  ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::malloc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `strlen` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:683:28
[INFO] [stdout]     |
[INFO] [stdout] 683 |         tntwad = malloc((((strlen(doomwaddir) + 1) + 9) + 1));
[INFO] [stdout]     |                            ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::strlen;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sprintf` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:684:9
[INFO] [stdout]     |
[INFO] [stdout] 684 |         sprintf(tntwad, (c"%s/tnt.wad").as_ptr(), doomwaddir);
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::sprintf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `malloc` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:685:21
[INFO] [stdout]     |
[INFO] [stdout] 685 |         doom2fwad = malloc((((strlen(doomwaddir) + 1) + 10) + 1));
[INFO] [stdout]     |                     ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::malloc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `strlen` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:685:31
[INFO] [stdout]     |
[INFO] [stdout] 685 |         doom2fwad = malloc((((strlen(doomwaddir) + 1) + 10) + 1));
[INFO] [stdout]     |                               ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::strlen;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sprintf` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:686:9
[INFO] [stdout]     |
[INFO] [stdout] 686 |         sprintf(doom2fwad, (c"%s/doom2f.wad").as_ptr(), doomwaddir);
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::sprintf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `getenv` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:687:16
[INFO] [stdout]     |
[INFO] [stdout] 687 |         home = getenv((c"HOME").as_ptr());
[INFO] [stdout]     |                ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::getenv;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sprintf` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:693:9
[INFO] [stdout]     |
[INFO] [stdout] 693 |         sprintf(basedefault, (c"%s/.doomrc").as_ptr(), home);
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::sprintf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:817:9
[INFO] [stdout]     |
[INFO] [stdout] 817 |         printf((c"Game mode indeterminate.\n").as_ptr());
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]     |
[INFO] [stdout] 817 -         printf((c"Game mode indeterminate.\n").as_ptr());
[INFO] [stdout] 817 +         print!((c"Game mode indeterminate.\n").as_ptr());
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::printf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `setbuf` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:919:9
[INFO] [stdout]     |
[INFO] [stdout] 919 |         setbuf(stdout, NULL);
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::setbuf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stdout` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:919:16
[INFO] [stdout]     |
[INFO] [stdout] 919 |         setbuf(stdout, NULL);
[INFO] [stdout]     |                ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::stdout;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:919:24
[INFO] [stdout]     |
[INFO] [stdout] 919 |         setbuf(stdout, NULL);
[INFO] [stdout]     |                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]    --> doom_rs/src/d_main.rs:990:9
[INFO] [stdout]     |
[INFO] [stdout] 990 |         printf((c"%s\n").as_ptr(), title);
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]     |
[INFO] [stdout] 990 -         printf((c"%s\n").as_ptr(), title);
[INFO] [stdout] 990 +         print!((c"%s\n").as_ptr(), title);
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::printf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]     --> doom_rs/src/d_main.rs:1147:9
[INFO] [stdout]      |
[INFO] [stdout] 1147 |         printf((c"V_Init: allocate screens.\n").as_ptr());
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]      |
[INFO] [stdout] 1147 -         printf((c"V_Init: allocate screens.\n").as_ptr());
[INFO] [stdout] 1147 +         print!((c"V_Init: allocate screens.\n").as_ptr());
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::printf;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]     --> doom_rs/src/d_main.rs:1149:9
[INFO] [stdout]      |
[INFO] [stdout] 1149 |         printf((c"M_LoadDefaults: Load system defaults.\n").as_ptr());
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]      |
[INFO] [stdout] 1149 -         printf((c"M_LoadDefaults: Load system defaults.\n").as_ptr());
[INFO] [stdout] 1149 +         print!((c"M_LoadDefaults: Load system defaults.\n").as_ptr());
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::printf;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]     --> doom_rs/src/d_main.rs:1151:9
[INFO] [stdout]      |
[INFO] [stdout] 1151 |         printf((c"Z_Init: Init zone memory allocation daemon. \n").as_ptr());
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]      |
[INFO] [stdout] 1151 -         printf((c"Z_Init: Init zone memory allocation daemon. \n").as_ptr());
[INFO] [stdout] 1151 +         print!((c"Z_Init: Init zone memory allocation daemon. \n").as_ptr());
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::printf;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]     --> doom_rs/src/d_main.rs:1153:9
[INFO] [stdout]      |
[INFO] [stdout] 1153 |         printf((c"W_Init: Init WADfiles.\n").as_ptr());
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]      |
[INFO] [stdout] 1153 -         printf((c"W_Init: Init WADfiles.\n").as_ptr());
[INFO] [stdout] 1153 +         print!((c"W_Init: Init WADfiles.\n").as_ptr());
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::printf;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]     --> doom_rs/src/d_main.rs:1232:9
[INFO] [stdout]      |
[INFO] [stdout] 1232 |         printf((c"M_Init: Init miscellaneous info.\n").as_ptr());
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]      |
[INFO] [stdout] 1232 -         printf((c"M_Init: Init miscellaneous info.\n").as_ptr());
[INFO] [stdout] 1232 +         print!((c"M_Init: Init miscellaneous info.\n").as_ptr());
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::printf;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]     --> doom_rs/src/d_main.rs:1234:9
[INFO] [stdout]      |
[INFO] [stdout] 1234 |         printf((c"R_Init: Init DOOM refresh daemon - ").as_ptr());
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]      |
[INFO] [stdout] 1234 -         printf((c"R_Init: Init DOOM refresh daemon - ").as_ptr());
[INFO] [stdout] 1234 +         print!((c"R_Init: Init DOOM refresh daemon - ").as_ptr());
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::printf;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]     --> doom_rs/src/d_main.rs:1236:9
[INFO] [stdout]      |
[INFO] [stdout] 1236 |         printf((c"\nP_Init: Init Playloop state.\n").as_ptr());
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]      |
[INFO] [stdout] 1236 -         printf((c"\nP_Init: Init Playloop state.\n").as_ptr());
[INFO] [stdout] 1236 +         print!((c"\nP_Init: Init Playloop state.\n").as_ptr());
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::printf;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]     --> doom_rs/src/d_main.rs:1238:9
[INFO] [stdout]      |
[INFO] [stdout] 1238 |         printf((c"I_Init: Setting up machine state.\n").as_ptr());
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]      |
[INFO] [stdout] 1238 -         printf((c"I_Init: Setting up machine state.\n").as_ptr());
[INFO] [stdout] 1238 +         print!((c"I_Init: Setting up machine state.\n").as_ptr());
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::printf;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]     --> doom_rs/src/d_main.rs:1240:9
[INFO] [stdout]      |
[INFO] [stdout] 1240 |         printf((c"D_CheckNetGame: Checking network game status.\n").as_ptr());
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]      |
[INFO] [stdout] 1240 -         printf((c"D_CheckNetGame: Checking network game status.\n").as_ptr());
[INFO] [stdout] 1240 +         print!((c"D_CheckNetGame: Checking network game status.\n").as_ptr());
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::printf;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]     --> doom_rs/src/d_main.rs:1242:9
[INFO] [stdout]      |
[INFO] [stdout] 1242 |         printf((c"S_Init: Setting up sound.\n").as_ptr());
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]      |
[INFO] [stdout] 1242 -         printf((c"S_Init: Setting up sound.\n").as_ptr());
[INFO] [stdout] 1242 +         print!((c"S_Init: Setting up sound.\n").as_ptr());
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::printf;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]     --> doom_rs/src/d_main.rs:1244:9
[INFO] [stdout]      |
[INFO] [stdout] 1244 |         printf((c"HU_Init: Setting up heads up display.\n").as_ptr());
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]      |
[INFO] [stdout] 1244 -         printf((c"HU_Init: Setting up heads up display.\n").as_ptr());
[INFO] [stdout] 1244 +         print!((c"HU_Init: Setting up heads up display.\n").as_ptr());
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::printf;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]     --> doom_rs/src/d_main.rs:1246:9
[INFO] [stdout]      |
[INFO] [stdout] 1246 |         printf((c"ST_Init: Init status bar.\n").as_ptr());
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]      |
[INFO] [stdout] 1246 -         printf((c"ST_Init: Init status bar.\n").as_ptr());
[INFO] [stdout] 1246 +         print!((c"ST_Init: Init status bar.\n").as_ptr());
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::printf;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/d_net.rs:680:9
[INFO] [stdout]     |
[INFO] [stdout] 680 |         memset(gotinfo, 0, std::mem::size_of_val(&(gotinfo)));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stdout]    --> doom_rs/src/z_zone.rs:122:25
[INFO] [stdout]     |
[INFO] [stdout] 122 |         (*block).user = NULL;
[INFO] [stdout]     |                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]    --> doom_rs/src/d_net.rs:787:9
[INFO] [stdout]     |
[INFO] [stdout] 787 |         printf(
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]     |
[INFO] [stdout] 787 -         printf(
[INFO] [stdout] 787 +         print!(
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::printf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]    --> doom_rs/src/d_net.rs:812:9
[INFO] [stdout]     |
[INFO] [stdout] 812 |         printf(
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]     |
[INFO] [stdout] 812 -         printf(
[INFO] [stdout] 812 +         print!(
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::printf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stdout]    --> doom_rs/src/z_zone.rs:146:25
[INFO] [stdout]     |
[INFO] [stdout] 146 |         (*block).user = NULL;
[INFO] [stdout]     |                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sprintf` in this scope
[INFO] [stdout]    --> doom_rs/src/f_finale.rs:941:9
[INFO] [stdout]     |
[INFO] [stdout] 941 |         sprintf(name, (c"END%i").as_ptr(), stage);
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::sprintf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memcpy` in this scope
[INFO] [stdout]    --> doom_rs/src/f_wipe.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 |         memcpy(array, dest, ((width * height) * 2));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memcpy;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stdout]    --> doom_rs/src/z_zone.rs:181:25
[INFO] [stdout]     |
[INFO] [stdout] 181 |         (*block).user = NULL;
[INFO] [stdout]     |                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memcpy` in this scope
[INFO] [stdout]    --> doom_rs/src/f_wipe.rs:125:9
[INFO] [stdout]     |
[INFO] [stdout] 125 |         memcpy(wipe_scr, wipe_scr_start, (width * height));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memcpy;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memcpy` in this scope
[INFO] [stdout]    --> doom_rs/src/f_wipe.rs:222:9
[INFO] [stdout]     |
[INFO] [stdout] 222 |         memcpy(wipe_scr, wipe_scr_start, (width * height));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memcpy;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memcpy` in this scope
[INFO] [stdout]    --> doom_rs/src/g_game.rs:335:9
[INFO] [stdout]     |
[INFO] [stdout] 335 |         memcpy(cmd, base, std::mem::size_of_val(&(*(cmd))));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memcpy;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]    --> doom_rs/src/z_zone.rs:377:9
[INFO] [stdout]     |
[INFO] [stdout] 377 |         printf(
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]     |
[INFO] [stdout] 377 -         printf(
[INFO] [stdout] 377 +         print!(
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::printf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/g_game.rs:623:9
[INFO] [stdout]     |
[INFO] [stdout] 623 |         memset(gamekeydown, 0, std::mem::size_of_val(&(gamekeydown)));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printf` in this scope
[INFO] [stdout]    --> doom_rs/src/z_zone.rs:382:9
[INFO] [stdout]     |
[INFO] [stdout] 382 |         printf((c"tag range: %i to %i\n").as_ptr(), lowtag, hightag);
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may have meant to use the `print` macro
[INFO] [stdout]     |
[INFO] [stdout] 382 -         printf((c"tag range: %i to %i\n").as_ptr(), lowtag, hightag);
[INFO] [stdout] 382 +         print!((c"tag range: %i to %i\n").as_ptr(), lowtag, hightag);
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::printf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/g_game.rs:627:9
[INFO] [stdout]     |
[INFO] [stdout] 627 |         memset(mousebuttons, 0, std::mem::size_of_val(&(mousebuttons)));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/g_game.rs:628:9
[INFO] [stdout]     |
[INFO] [stdout] 628 |         memset(joybuttons, 0, std::mem::size_of_val(&(joybuttons)));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/g_game.rs:936:9
[INFO] [stdout]     |
[INFO] [stdout] 936 |         memset((*p).powers, 0, std::mem::size_of_val(&((*p).powers)));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `fprintf` in this scope
[INFO] [stdout]    --> doom_rs/src/z_zone.rs:419:9
[INFO] [stdout]     |
[INFO] [stdout] 419 |         fprintf(
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::fprintf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `finecosine` is ambiguous
[INFO] [stdout]     --> doom_rs/src/am_map.rs:1671:34
[INFO] [stdout]      |
[INFO] [stdout] 1671 |         tmpx = (FixedMul((*(x)), finecosine[(a >> ANGLETOFINESHIFT) as usize])
[INFO] [stdout]      |                                  ^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `finecosine` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/am_map.rs:26:5
[INFO] [stdout]      |
[INFO] [stdout]   26 | use crate::r_main::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] note: `finecosine` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/am_map.rs:32:5
[INFO] [stdout]      |
[INFO] [stdout]   32 | use crate::tables::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `finecosine` is ambiguous
[INFO] [stdout]     --> doom_rs/src/am_map.rs:1674:32
[INFO] [stdout]      |
[INFO] [stdout] 1674 |             + FixedMul((*(y)), finecosine[(a >> ANGLETOFINESHIFT) as usize]));
[INFO] [stdout]      |                                ^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `finecosine` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/am_map.rs:26:5
[INFO] [stdout]      |
[INFO] [stdout]   26 | use crate::r_main::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] note: `finecosine` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/am_map.rs:32:5
[INFO] [stdout]      |
[INFO] [stdout]   32 | use crate::tables::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `menuactive` is ambiguous
[INFO] [stdout]    --> doom_rs/src/d_main.rs:362:27
[INFO] [stdout]     |
[INFO] [stdout] 362 |         menuactivestate = menuactive;
[INFO] [stdout]     |                           ^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `menuactive` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/d_main.rs:11:5
[INFO] [stdout]     |
[INFO] [stdout]  11 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `menuactive` to disambiguate
[INFO] [stdout] note: `menuactive` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/d_main.rs:24:5
[INFO] [stdout]     |
[INFO] [stdout]  24 | use crate::m_menu::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `menuactive` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `viewactive` is ambiguous
[INFO] [stdout]    --> doom_rs/src/d_main.rs:363:27
[INFO] [stdout]     |
[INFO] [stdout] 363 |         viewactivestate = viewactive;
[INFO] [stdout]     |                           ^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `viewactive` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/d_main.rs:1:5
[INFO] [stdout]     |
[INFO] [stdout]   1 | use crate::am_map::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewactive` to disambiguate
[INFO] [stdout] note: `viewactive` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/d_main.rs:16:5
[INFO] [stdout]     |
[INFO] [stdout]  16 | use crate::g_game::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewactive` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `gamestate` is ambiguous
[INFO] [stdout]    --> doom_rs/src/d_main.rs:365:40
[INFO] [stdout]     |
[INFO] [stdout] 365 |         oldgamestate = wipegamestate = gamestate;
[INFO] [stdout]     |                                        ^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `gamestate` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/d_main.rs:11:5
[INFO] [stdout]     |
[INFO] [stdout]  11 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `gamestate` to disambiguate
[INFO] [stdout] note: `gamestate` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/d_main.rs:16:5
[INFO] [stdout]     |
[INFO] [stdout]  16 | use crate::g_game::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `gamestate` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `players` is ambiguous
[INFO] [stdout]    --> doom_rs/src/d_main.rs:528:9
[INFO] [stdout]     |
[INFO] [stdout] 528 |         players[(consoleplayer) as usize].playerstate = PST_LIVE;
[INFO] [stdout]     |         ^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `players` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/d_main.rs:11:5
[INFO] [stdout]     |
[INFO] [stdout]  11 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `players` to disambiguate
[INFO] [stdout] note: `players` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/d_main.rs:16:5
[INFO] [stdout]     |
[INFO] [stdout]  16 | use crate::g_game::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `players` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `consoleplayer` is ambiguous
[INFO] [stdout]    --> doom_rs/src/d_main.rs:528:18
[INFO] [stdout]     |
[INFO] [stdout] 528 |         players[(consoleplayer) as usize].playerstate = PST_LIVE;
[INFO] [stdout]     |                  ^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `consoleplayer` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/d_main.rs:11:5
[INFO] [stdout]     |
[INFO] [stdout]  11 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `consoleplayer` to disambiguate
[INFO] [stdout] note: `consoleplayer` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/d_main.rs:16:5
[INFO] [stdout]     |
[INFO] [stdout]  16 | use crate::g_game::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `consoleplayer` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `usergame` is ambiguous
[INFO] [stdout]    --> doom_rs/src/d_main.rs:530:9
[INFO] [stdout]     |
[INFO] [stdout] 530 |         usergame = false_;
[INFO] [stdout]     |         ^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `usergame` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/d_main.rs:11:5
[INFO] [stdout]     |
[INFO] [stdout]  11 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `usergame` to disambiguate
[INFO] [stdout] note: `usergame` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/d_main.rs:16:5
[INFO] [stdout]     |
[INFO] [stdout]  16 | use crate::g_game::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `usergame` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/g_game.rs:937:9
[INFO] [stdout]     |
[INFO] [stdout] 937 |         memset((*p).cards, 0, std::mem::size_of_val(&((*p).cards)));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `paused` is ambiguous
[INFO] [stdout]    --> doom_rs/src/d_main.rs:531:9
[INFO] [stdout]     |
[INFO] [stdout] 531 |         paused = false_;
[INFO] [stdout]     |         ^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `paused` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/d_main.rs:11:5
[INFO] [stdout]     |
[INFO] [stdout]  11 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `paused` to disambiguate
[INFO] [stdout] note: `paused` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/d_main.rs:16:5
[INFO] [stdout]     |
[INFO] [stdout]  16 | use crate::g_game::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `paused` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `gameaction` is ambiguous
[INFO] [stdout]    --> doom_rs/src/d_main.rs:532:9
[INFO] [stdout]     |
[INFO] [stdout] 532 |         gameaction = ga_nothing;
[INFO] [stdout]     |         ^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `gameaction` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/d_main.rs:3:5
[INFO] [stdout]     |
[INFO] [stdout]   3 | use crate::d_event::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `gameaction` to disambiguate
[INFO] [stdout] note: `gameaction` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/d_main.rs:16:5
[INFO] [stdout]     |
[INFO] [stdout]  16 | use crate::g_game::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `gameaction` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `gameaction` is ambiguous
[INFO] [stdout]    --> doom_rs/src/d_main.rs:604:9
[INFO] [stdout]     |
[INFO] [stdout] 604 |         gameaction = ga_nothing;
[INFO] [stdout]     |         ^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `gameaction` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/d_main.rs:3:5
[INFO] [stdout]     |
[INFO] [stdout]   3 | use crate::d_event::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `gameaction` to disambiguate
[INFO] [stdout] note: `gameaction` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/d_main.rs:16:5
[INFO] [stdout]     |
[INFO] [stdout]  16 | use crate::g_game::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `gameaction` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `snd_SfxVolume` is ambiguous
[INFO] [stdout]     --> doom_rs/src/d_main.rs:1243:16
[INFO] [stdout]      |
[INFO] [stdout] 1243 |         S_Init(snd_SfxVolume, snd_MusicVolume);
[INFO] [stdout]      |                ^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `snd_SfxVolume` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/d_main.rs:11:5
[INFO] [stdout]      |
[INFO] [stdout]   11 | use crate::doomstat::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `snd_SfxVolume` to disambiguate
[INFO] [stdout] note: `snd_SfxVolume` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/d_main.rs:39:5
[INFO] [stdout]      |
[INFO] [stdout]   39 | use crate::s_sound::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `snd_SfxVolume` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `snd_MusicVolume` is ambiguous
[INFO] [stdout]     --> doom_rs/src/d_main.rs:1243:31
[INFO] [stdout]      |
[INFO] [stdout] 1243 |         S_Init(snd_SfxVolume, snd_MusicVolume);
[INFO] [stdout]      |                               ^^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `snd_MusicVolume` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/d_main.rs:11:5
[INFO] [stdout]      |
[INFO] [stdout]   11 | use crate::doomstat::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `snd_MusicVolume` to disambiguate
[INFO] [stdout] note: `snd_MusicVolume` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/d_main.rs:39:5
[INFO] [stdout]      |
[INFO] [stdout]   39 | use crate::s_sound::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `snd_MusicVolume` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `consoleplayer` is ambiguous
[INFO] [stdout]    --> doom_rs/src/d_net.rs:580:31
[INFO] [stdout]     |
[INFO] [stdout] 580 |         (*netbuffer).player = consoleplayer;
[INFO] [stdout]     |                               ^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `consoleplayer` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/d_net.rs:8:5
[INFO] [stdout]     |
[INFO] [stdout]   8 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `consoleplayer` to disambiguate
[INFO] [stdout] note: `consoleplayer` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/d_net.rs:10:5
[INFO] [stdout]     |
[INFO] [stdout]  10 | use crate::g_game::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `consoleplayer` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `gametic` is ambiguous
[INFO] [stdout]    --> doom_rs/src/d_net.rs:581:23
[INFO] [stdout]     |
[INFO] [stdout] 581 |         gameticdiv = (gametic / ticdup);
[INFO] [stdout]     |                       ^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `gametic` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/d_net.rs:8:5
[INFO] [stdout]     |
[INFO] [stdout]   8 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `gametic` to disambiguate
[INFO] [stdout] note: `gametic` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/d_net.rs:10:5
[INFO] [stdout]     |
[INFO] [stdout]  10 | use crate::g_game::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `gametic` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `I_StartTic` is ambiguous
[INFO] [stdout]    --> doom_rs/src/d_net.rs:654:9
[INFO] [stdout]     |
[INFO] [stdout] 654 |         I_StartTic();
[INFO] [stdout]     |         ^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `I_StartTic` could refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/d_net.rs:12:5
[INFO] [stdout]     |
[INFO] [stdout]  12 | use crate::i_system::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `I_StartTic` to disambiguate
[INFO] [stdout] note: `I_StartTic` could also refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/d_net.rs:13:5
[INFO] [stdout]     |
[INFO] [stdout]  13 | use crate::i_video::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `I_StartTic` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `consoleplayer` is ambiguous
[INFO] [stdout]    --> doom_rs/src/d_net.rs:781:9
[INFO] [stdout]     |
[INFO] [stdout] 781 |         consoleplayer = displayplayer = (*doomcom).consoleplayer;
[INFO] [stdout]     |         ^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `consoleplayer` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/d_net.rs:8:5
[INFO] [stdout]     |
[INFO] [stdout]   8 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `consoleplayer` to disambiguate
[INFO] [stdout] note: `consoleplayer` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/d_net.rs:10:5
[INFO] [stdout]     |
[INFO] [stdout]  10 | use crate::g_game::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `consoleplayer` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `displayplayer` is ambiguous
[INFO] [stdout]    --> doom_rs/src/d_net.rs:781:25
[INFO] [stdout]     |
[INFO] [stdout] 781 |         consoleplayer = displayplayer = (*doomcom).consoleplayer;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `displayplayer` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/d_net.rs:8:5
[INFO] [stdout]     |
[INFO] [stdout]   8 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `displayplayer` to disambiguate
[INFO] [stdout] note: `displayplayer` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/d_net.rs:10:5
[INFO] [stdout]     |
[INFO] [stdout]  10 | use crate::g_game::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `displayplayer` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `deathmatch` is ambiguous
[INFO] [stdout]    --> doom_rs/src/d_net.rs:790:13
[INFO] [stdout]     |
[INFO] [stdout] 790 |             deathmatch,
[INFO] [stdout]     |             ^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `deathmatch` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/d_net.rs:8:5
[INFO] [stdout]     |
[INFO] [stdout]   8 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `deathmatch` to disambiguate
[INFO] [stdout] note: `deathmatch` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/d_net.rs:10:5
[INFO] [stdout]     |
[INFO] [stdout]  10 | use crate::g_game::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `deathmatch` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `consoleplayer` is ambiguous
[INFO] [stdout]    --> doom_rs/src/d_net.rs:814:14
[INFO] [stdout]     |
[INFO] [stdout] 814 |             (consoleplayer + 1),
[INFO] [stdout]     |              ^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `consoleplayer` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/d_net.rs:8:5
[INFO] [stdout]     |
[INFO] [stdout]   8 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `consoleplayer` to disambiguate
[INFO] [stdout] note: `consoleplayer` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/d_net.rs:10:5
[INFO] [stdout]     |
[INFO] [stdout]  10 | use crate::g_game::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `consoleplayer` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `consoleplayer` is ambiguous
[INFO] [stdout]    --> doom_rs/src/d_net.rs:845:31
[INFO] [stdout]     |
[INFO] [stdout] 845 |         (*netbuffer).player = consoleplayer;
[INFO] [stdout]     |                               ^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `consoleplayer` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/d_net.rs:8:5
[INFO] [stdout]     |
[INFO] [stdout]   8 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `consoleplayer` to disambiguate
[INFO] [stdout] note: `consoleplayer` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/d_net.rs:10:5
[INFO] [stdout]     |
[INFO] [stdout]  10 | use crate::g_game::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `consoleplayer` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memcpy` in this scope
[INFO] [stdout]    --> doom_rs/src/g_game.rs:969:9
[INFO] [stdout]     |
[INFO] [stdout] 969 |         memcpy(
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memcpy;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `gametic` is ambiguous
[INFO] [stdout]    --> doom_rs/src/d_net.rs:919:36
[INFO] [stdout]     |
[INFO] [stdout] 919 |         availabletics = (lowtic - (gametic / ticdup));
[INFO] [stdout]     |                                    ^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `gametic` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/d_net.rs:8:5
[INFO] [stdout]     |
[INFO] [stdout]   8 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `gametic` to disambiguate
[INFO] [stdout] note: `gametic` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/d_net.rs:10:5
[INFO] [stdout]     |
[INFO] [stdout]  10 | use crate::g_game::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `gametic` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `automapactive` is ambiguous
[INFO] [stdout]    --> doom_rs/src/f_finale.rs:147:9
[INFO] [stdout]     |
[INFO] [stdout] 147 |         automapactive = false_;
[INFO] [stdout]     |         ^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `automapactive` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/f_finale.rs:10:5
[INFO] [stdout]     |
[INFO] [stdout]  10 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `automapactive` to disambiguate
[INFO] [stdout] note: `automapactive` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/f_finale.rs:13:5
[INFO] [stdout]     |
[INFO] [stdout]  13 | use crate::hu_stuff::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `automapactive` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `firstspritelump` is ambiguous
[INFO] [stdout]    --> doom_rs/src/f_finale.rs:801:40
[INFO] [stdout]     |
[INFO] [stdout] 801 |         patch = W_CacheLumpNum((lump + firstspritelump), PU_CACHE);
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `firstspritelump` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/f_finale.rs:20:5
[INFO] [stdout]     |
[INFO] [stdout]  20 | use crate::r_data::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `firstspritelump` to disambiguate
[INFO] [stdout] note: `firstspritelump` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/f_finale.rs:22:5
[INFO] [stdout]     |
[INFO] [stdout]  22 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `firstspritelump` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `maketic` is ambiguous
[INFO] [stdout]    --> doom_rs/src/g_game.rs:336:69
[INFO] [stdout]     |
[INFO] [stdout] 336 |         (*cmd).consistancy = consistancy[(consoleplayer) as usize][(maketic % BACKUPTICS) as usize];
[INFO] [stdout]     |                                                                     ^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `maketic` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/g_game.rs:6:5
[INFO] [stdout]     |
[INFO] [stdout]   6 | use crate::d_net::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `maketic` to disambiguate
[INFO] [stdout] note: `maketic` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/g_game.rs:12:5
[INFO] [stdout]     |
[INFO] [stdout]  12 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `maketic` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `skyflatnum` is ambiguous
[INFO] [stdout]    --> doom_rs/src/g_game.rs:583:9
[INFO] [stdout]     |
[INFO] [stdout] 583 |         skyflatnum = R_FlatNumForName(SKYFLATNAME);
[INFO] [stdout]     |         ^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `skyflatnum` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/g_game.rs:12:5
[INFO] [stdout]     |
[INFO] [stdout]  12 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `skyflatnum` to disambiguate
[INFO] [stdout] note: `skyflatnum` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/g_game.rs:39:5
[INFO] [stdout]     |
[INFO] [stdout]  39 | use crate::r_sky::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `skyflatnum` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `ticdup` is ambiguous
[INFO] [stdout]    --> doom_rs/src/g_game.rs:809:27
[INFO] [stdout]     |
[INFO] [stdout] 809 |         buf = ((gametic / ticdup) % BACKUPTICS);
[INFO] [stdout]     |                           ^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `ticdup` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/g_game.rs:6:5
[INFO] [stdout]     |
[INFO] [stdout]   6 | use crate::d_net::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `ticdup` to disambiguate
[INFO] [stdout] note: `ticdup` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/g_game.rs:12:5
[INFO] [stdout]     |
[INFO] [stdout]  12 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `ticdup` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_SpawnMobj` is ambiguous
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1070:14
[INFO] [stdout]      |
[INFO] [stdout] 1070 |         mo = P_SpawnMobj(
[INFO] [stdout]      |              ^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_SpawnMobj` could refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:24:5
[INFO] [stdout]      |
[INFO] [stdout]   24 | use crate::p_local::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMobj` to disambiguate
[INFO] [stdout] note: `P_SpawnMobj` could also refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:25:5
[INFO] [stdout]      |
[INFO] [stdout]   25 | use crate::p_mobj::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMobj` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `finecosine` is ambiguous
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1071:24
[INFO] [stdout]      |
[INFO] [stdout] 1071 |             (x + (20 * finecosine[(an) as usize])),
[INFO] [stdout]      |                        ^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `finecosine` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:36:5
[INFO] [stdout]      |
[INFO] [stdout]   36 | use crate::r_main::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] note: `finecosine` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:45:5
[INFO] [stdout]      |
[INFO] [stdout]   45 | use crate::tables::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `deathmatch_p` is ambiguous
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1101:23
[INFO] [stdout]      |
[INFO] [stdout] 1101 |         selections = (deathmatch_p - deathmatchstarts);
[INFO] [stdout]      |                       ^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `deathmatch_p` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:12:5
[INFO] [stdout]      |
[INFO] [stdout]   12 | use crate::doomstat::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `deathmatch_p` to disambiguate
[INFO] [stdout] note: `deathmatch_p` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:28:5
[INFO] [stdout]      |
[INFO] [stdout]   28 | use crate::p_setup::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `deathmatch_p` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `deathmatchstarts` is ambiguous
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1101:38
[INFO] [stdout]      |
[INFO] [stdout] 1101 |         selections = (deathmatch_p - deathmatchstarts);
[INFO] [stdout]      |                                      ^^^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `deathmatchstarts` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:12:5
[INFO] [stdout]      |
[INFO] [stdout]   12 | use crate::doomstat::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `deathmatchstarts` to disambiguate
[INFO] [stdout] note: `deathmatchstarts` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:28:5
[INFO] [stdout]      |
[INFO] [stdout]   28 | use crate::p_setup::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `deathmatchstarts` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `playerstarts` is ambiguous
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1121:26
[INFO] [stdout]      |
[INFO] [stdout] 1121 |         P_SpawnPlayer((&(playerstarts[(playernum) as usize]) as *const _ as *mut _));
[INFO] [stdout]      |                          ^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `playerstarts` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:12:5
[INFO] [stdout]      |
[INFO] [stdout]   12 | use crate::doomstat::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `playerstarts` to disambiguate
[INFO] [stdout] note: `playerstarts` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:28:5
[INFO] [stdout]      |
[INFO] [stdout]   28 | use crate::p_setup::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `playerstarts` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `automapactive` is ambiguous
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1386:9
[INFO] [stdout]      |
[INFO] [stdout] 1386 |         automapactive = false_;
[INFO] [stdout]      |         ^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `automapactive` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1:5
[INFO] [stdout]      |
[INFO] [stdout]    1 | use crate::am_map::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `automapactive` to disambiguate
[INFO] [stdout] note: `automapactive` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:16:5
[INFO] [stdout]      |
[INFO] [stdout]   16 | use crate::hu_stuff::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `automapactive` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `leveltime` is ambiguous
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1540:9
[INFO] [stdout]      |
[INFO] [stdout] 1540 |         leveltime = (((a << 16) + (b << 8)) + c);
[INFO] [stdout]      |         ^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `leveltime` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:12:5
[INFO] [stdout]      |
[INFO] [stdout]   12 | use crate::doomstat::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `leveltime` to disambiguate
[INFO] [stdout] note: `leveltime` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:30:5
[INFO] [stdout]      |
[INFO] [stdout]   30 | use crate::p_tick::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `leveltime` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `leveltime` is ambiguous
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1636:16
[INFO] [stdout]      |
[INFO] [stdout] 1636 |         })) = (leveltime >> 16);
[INFO] [stdout]      |                ^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `leveltime` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:12:5
[INFO] [stdout]      |
[INFO] [stdout]   12 | use crate::doomstat::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `leveltime` to disambiguate
[INFO] [stdout] note: `leveltime` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:30:5
[INFO] [stdout]      |
[INFO] [stdout]   30 | use crate::p_tick::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `leveltime` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `leveltime` is ambiguous
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1641:16
[INFO] [stdout]      |
[INFO] [stdout] 1641 |         })) = (leveltime >> 8);
[INFO] [stdout]      |                ^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `leveltime` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:12:5
[INFO] [stdout]      |
[INFO] [stdout]   12 | use crate::doomstat::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `leveltime` to disambiguate
[INFO] [stdout] note: `leveltime` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:30:5
[INFO] [stdout]      |
[INFO] [stdout]   30 | use crate::p_tick::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `leveltime` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/g_game.rs:978:9
[INFO] [stdout]     |
[INFO] [stdout] 978 |         memset(p, 0, std::mem::size_of_val(&(*(p))));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `leveltime` is ambiguous
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1646:15
[INFO] [stdout]      |
[INFO] [stdout] 1646 |         })) = leveltime;
[INFO] [stdout]      |               ^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `leveltime` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:12:5
[INFO] [stdout]      |
[INFO] [stdout]   12 | use crate::doomstat::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `leveltime` to disambiguate
[INFO] [stdout] note: `leveltime` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:30:5
[INFO] [stdout]      |
[INFO] [stdout]   30 | use crate::p_tick::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `leveltime` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `respawnparm` is ambiguous
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1702:9
[INFO] [stdout]      |
[INFO] [stdout] 1702 |         respawnparm = false_;
[INFO] [stdout]      |         ^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `respawnparm` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:5:5
[INFO] [stdout]      |
[INFO] [stdout]    5 | use crate::d_main::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `respawnparm` to disambiguate
[INFO] [stdout] note: `respawnparm` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:12:5
[INFO] [stdout]      |
[INFO] [stdout]   12 | use crate::doomstat::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `respawnparm` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `fastparm` is ambiguous
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1703:9
[INFO] [stdout]      |
[INFO] [stdout] 1703 |         fastparm = false_;
[INFO] [stdout]      |         ^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `fastparm` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:5:5
[INFO] [stdout]      |
[INFO] [stdout]    5 | use crate::d_main::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `fastparm` to disambiguate
[INFO] [stdout] note: `fastparm` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:12:5
[INFO] [stdout]      |
[INFO] [stdout]   12 | use crate::doomstat::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `fastparm` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `nomonsters` is ambiguous
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1704:9
[INFO] [stdout]      |
[INFO] [stdout] 1704 |         nomonsters = false_;
[INFO] [stdout]      |         ^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `nomonsters` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:5:5
[INFO] [stdout]      |
[INFO] [stdout]    5 | use crate::d_main::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `nomonsters` to disambiguate
[INFO] [stdout] note: `nomonsters` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:12:5
[INFO] [stdout]      |
[INFO] [stdout]   12 | use crate::doomstat::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `nomonsters` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `automapactive` is ambiguous
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1827:9
[INFO] [stdout]      |
[INFO] [stdout] 1827 |         automapactive = false_;
[INFO] [stdout]      |         ^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `automapactive` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1:5
[INFO] [stdout]      |
[INFO] [stdout]    1 | use crate::am_map::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `automapactive` to disambiguate
[INFO] [stdout] note: `automapactive` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:16:5
[INFO] [stdout]      |
[INFO] [stdout]   16 | use crate::hu_stuff::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `automapactive` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `respawnparm` is ambiguous
[INFO] [stdout]     --> doom_rs/src/g_game.rs:2013:15
[INFO] [stdout]      |
[INFO] [stdout] 2013 |         })) = respawnparm;
[INFO] [stdout]      |               ^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `respawnparm` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:5:5
[INFO] [stdout]      |
[INFO] [stdout]    5 | use crate::d_main::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `respawnparm` to disambiguate
[INFO] [stdout] note: `respawnparm` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:12:5
[INFO] [stdout]      |
[INFO] [stdout]   12 | use crate::doomstat::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `respawnparm` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `fastparm` is ambiguous
[INFO] [stdout]     --> doom_rs/src/g_game.rs:2018:15
[INFO] [stdout]      |
[INFO] [stdout] 2018 |         })) = fastparm;
[INFO] [stdout]      |               ^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `fastparm` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:5:5
[INFO] [stdout]      |
[INFO] [stdout]    5 | use crate::d_main::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `fastparm` to disambiguate
[INFO] [stdout] note: `fastparm` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:12:5
[INFO] [stdout]      |
[INFO] [stdout]   12 | use crate::doomstat::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `fastparm` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `nomonsters` is ambiguous
[INFO] [stdout]     --> doom_rs/src/g_game.rs:2023:15
[INFO] [stdout]      |
[INFO] [stdout] 2023 |         })) = nomonsters;
[INFO] [stdout]      |               ^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `nomonsters` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:5:5
[INFO] [stdout]      |
[INFO] [stdout]    5 | use crate::d_main::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `nomonsters` to disambiguate
[INFO] [stdout] note: `nomonsters` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:12:5
[INFO] [stdout]      |
[INFO] [stdout]   12 | use crate::doomstat::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `nomonsters` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `respawnparm` is ambiguous
[INFO] [stdout]     --> doom_rs/src/g_game.rs:2098:9
[INFO] [stdout]      |
[INFO] [stdout] 2098 |         respawnparm = (*({
[INFO] [stdout]      |         ^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `respawnparm` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:5:5
[INFO] [stdout]      |
[INFO] [stdout]    5 | use crate::d_main::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `respawnparm` to disambiguate
[INFO] [stdout] note: `respawnparm` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:12:5
[INFO] [stdout]      |
[INFO] [stdout]   12 | use crate::doomstat::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `respawnparm` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `fastparm` is ambiguous
[INFO] [stdout]     --> doom_rs/src/g_game.rs:2103:9
[INFO] [stdout]      |
[INFO] [stdout] 2103 |         fastparm = (*({
[INFO] [stdout]      |         ^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `fastparm` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:5:5
[INFO] [stdout]      |
[INFO] [stdout]    5 | use crate::d_main::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `fastparm` to disambiguate
[INFO] [stdout] note: `fastparm` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:12:5
[INFO] [stdout]      |
[INFO] [stdout]   12 | use crate::doomstat::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `fastparm` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `nomonsters` is ambiguous
[INFO] [stdout]     --> doom_rs/src/g_game.rs:2108:9
[INFO] [stdout]      |
[INFO] [stdout] 2108 |         nomonsters = (*({
[INFO] [stdout]      |         ^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `nomonsters` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:5:5
[INFO] [stdout]      |
[INFO] [stdout]    5 | use crate::d_main::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `nomonsters` to disambiguate
[INFO] [stdout] note: `nomonsters` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:12:5
[INFO] [stdout]      |
[INFO] [stdout]   12 | use crate::doomstat::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `nomonsters` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `singletics` is ambiguous
[INFO] [stdout]     --> doom_rs/src/g_game.rs:2148:9
[INFO] [stdout]      |
[INFO] [stdout] 2148 |         singletics = true_;
[INFO] [stdout]      |         ^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `singletics` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:5:5
[INFO] [stdout]      |
[INFO] [stdout]    5 | use crate::d_main::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `singletics` to disambiguate
[INFO] [stdout] note: `singletics` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/g_game.rs:12:5
[INFO] [stdout]      |
[INFO] [stdout]   12 | use crate::doomstat::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `singletics` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `viewwindowx` is ambiguous
[INFO] [stdout]    --> doom_rs/src/hu_lib.rs:121:40
[INFO] [stdout]     |
[INFO] [stdout] 121 | pub const noterased: std::ffi::c_int = viewwindowx;
[INFO] [stdout]     |                                        ^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `viewwindowx` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/hu_lib.rs:16:5
[INFO] [stdout]     |
[INFO] [stdout]  16 | use crate::r_draw::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewwindowx` to disambiguate
[INFO] [stdout] note: `viewwindowx` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/hu_lib.rs:18:5
[INFO] [stdout]     |
[INFO] [stdout]  18 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewwindowx` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `netbuffer` is ambiguous
[INFO] [stdout]    --> doom_rs/src/i_net.rs:173:31
[INFO] [stdout]     |
[INFO] [stdout] 173 |         sw.checksum = htonl((*netbuffer).checksum);
[INFO] [stdout]     |                               ^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `netbuffer` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:3:5
[INFO] [stdout]     |
[INFO] [stdout]   3 | use crate::d_net::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `netbuffer` to disambiguate
[INFO] [stdout] note: `netbuffer` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `netbuffer` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `netbuffer` is ambiguous
[INFO] [stdout]    --> doom_rs/src/i_net.rs:174:23
[INFO] [stdout]     |
[INFO] [stdout] 174 |         sw.player = (*netbuffer).player;
[INFO] [stdout]     |                       ^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `netbuffer` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:3:5
[INFO] [stdout]     |
[INFO] [stdout]   3 | use crate::d_net::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `netbuffer` to disambiguate
[INFO] [stdout] note: `netbuffer` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `netbuffer` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `netbuffer` is ambiguous
[INFO] [stdout]    --> doom_rs/src/i_net.rs:175:31
[INFO] [stdout]     |
[INFO] [stdout] 175 |         sw.retransmitfrom = (*netbuffer).retransmitfrom;
[INFO] [stdout]     |                               ^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `netbuffer` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:3:5
[INFO] [stdout]     |
[INFO] [stdout]   3 | use crate::d_net::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `netbuffer` to disambiguate
[INFO] [stdout] note: `netbuffer` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `netbuffer` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `netbuffer` is ambiguous
[INFO] [stdout]    --> doom_rs/src/i_net.rs:176:25
[INFO] [stdout]     |
[INFO] [stdout] 176 |         sw.starttic = (*netbuffer).starttic;
[INFO] [stdout]     |                         ^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `netbuffer` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:3:5
[INFO] [stdout]     |
[INFO] [stdout]   3 | use crate::d_net::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `netbuffer` to disambiguate
[INFO] [stdout] note: `netbuffer` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `netbuffer` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `netbuffer` is ambiguous
[INFO] [stdout]    --> doom_rs/src/i_net.rs:177:24
[INFO] [stdout]     |
[INFO] [stdout] 177 |         sw.numtics = (*netbuffer).numtics;
[INFO] [stdout]     |                        ^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `netbuffer` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:3:5
[INFO] [stdout]     |
[INFO] [stdout]   3 | use crate::d_net::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `netbuffer` to disambiguate
[INFO] [stdout] note: `netbuffer` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `netbuffer` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `doomcom` is ambiguous
[INFO] [stdout]    --> doom_rs/src/i_net.rs:193:15
[INFO] [stdout]     |
[INFO] [stdout] 193 |             (*doomcom).datalength,
[INFO] [stdout]     |               ^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `doomcom` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:3:5
[INFO] [stdout]     |
[INFO] [stdout]   3 | use crate::d_net::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `doomcom` to disambiguate
[INFO] [stdout] note: `doomcom` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `doomcom` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memcpy` in this scope
[INFO] [stdout]    --> doom_rs/src/g_game.rs:979:9
[INFO] [stdout]     |
[INFO] [stdout] 979 |         memcpy(
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memcpy;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `doomcom` is ambiguous
[INFO] [stdout]    --> doom_rs/src/i_net.rs:195:32
[INFO] [stdout]     |
[INFO] [stdout] 195 |             ((&(sendaddress[((*doomcom).remotenode) as usize]) as *const _ as *mut _)
[INFO] [stdout]     |                                ^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `doomcom` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:3:5
[INFO] [stdout]     |
[INFO] [stdout]   3 | use crate::d_net::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `doomcom` to disambiguate
[INFO] [stdout] note: `doomcom` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `doomcom` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `doomcom` is ambiguous
[INFO] [stdout]    --> doom_rs/src/i_net.rs:197:52
[INFO] [stdout]     |
[INFO] [stdout] 197 |             std::mem::size_of_val(&(sendaddress[((*doomcom).remotenode) as usize])),
[INFO] [stdout]     |                                                    ^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `doomcom` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:3:5
[INFO] [stdout]     |
[INFO] [stdout]   3 | use crate::d_net::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `doomcom` to disambiguate
[INFO] [stdout] note: `doomcom` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `doomcom` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `doomcom` is ambiguous
[INFO] [stdout]    --> doom_rs/src/i_net.rs:275:11
[INFO] [stdout]     |
[INFO] [stdout] 275 |         (*doomcom).remotenode = i;
[INFO] [stdout]     |           ^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `doomcom` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:3:5
[INFO] [stdout]     |
[INFO] [stdout]   3 | use crate::d_net::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `doomcom` to disambiguate
[INFO] [stdout] note: `doomcom` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `doomcom` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `doomcom` is ambiguous
[INFO] [stdout]    --> doom_rs/src/i_net.rs:276:11
[INFO] [stdout]     |
[INFO] [stdout] 276 |         (*doomcom).datalength = c;
[INFO] [stdout]     |           ^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `doomcom` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:3:5
[INFO] [stdout]     |
[INFO] [stdout]   3 | use crate::d_net::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `doomcom` to disambiguate
[INFO] [stdout] note: `doomcom` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `doomcom` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `netbuffer` is ambiguous
[INFO] [stdout]    --> doom_rs/src/i_net.rs:277:11
[INFO] [stdout]     |
[INFO] [stdout] 277 |         (*netbuffer).checksum = ntohl(sw.checksum);
[INFO] [stdout]     |           ^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `netbuffer` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:3:5
[INFO] [stdout]     |
[INFO] [stdout]   3 | use crate::d_net::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `netbuffer` to disambiguate
[INFO] [stdout] note: `netbuffer` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `netbuffer` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `netbuffer` is ambiguous
[INFO] [stdout]    --> doom_rs/src/i_net.rs:278:11
[INFO] [stdout]     |
[INFO] [stdout] 278 |         (*netbuffer).player = sw.player;
[INFO] [stdout]     |           ^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `netbuffer` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:3:5
[INFO] [stdout]     |
[INFO] [stdout]   3 | use crate::d_net::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `netbuffer` to disambiguate
[INFO] [stdout] note: `netbuffer` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `netbuffer` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `netbuffer` is ambiguous
[INFO] [stdout]    --> doom_rs/src/i_net.rs:279:11
[INFO] [stdout]     |
[INFO] [stdout] 279 |         (*netbuffer).retransmitfrom = sw.retransmitfrom;
[INFO] [stdout]     |           ^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `netbuffer` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:3:5
[INFO] [stdout]     |
[INFO] [stdout]   3 | use crate::d_net::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `netbuffer` to disambiguate
[INFO] [stdout] note: `netbuffer` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `netbuffer` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `netbuffer` is ambiguous
[INFO] [stdout]    --> doom_rs/src/i_net.rs:280:11
[INFO] [stdout]     |
[INFO] [stdout] 280 |         (*netbuffer).starttic = sw.starttic;
[INFO] [stdout]     |           ^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `netbuffer` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:3:5
[INFO] [stdout]     |
[INFO] [stdout]   3 | use crate::d_net::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `netbuffer` to disambiguate
[INFO] [stdout] note: `netbuffer` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `netbuffer` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `netbuffer` is ambiguous
[INFO] [stdout]    --> doom_rs/src/i_net.rs:281:11
[INFO] [stdout]     |
[INFO] [stdout] 281 |         (*netbuffer).numtics = sw.numtics;
[INFO] [stdout]     |           ^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `netbuffer` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:3:5
[INFO] [stdout]     |
[INFO] [stdout]   3 | use crate::d_net::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `netbuffer` to disambiguate
[INFO] [stdout] note: `netbuffer` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `netbuffer` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `doomcom` is ambiguous
[INFO] [stdout]    --> doom_rs/src/i_net.rs:344:9
[INFO] [stdout]     |
[INFO] [stdout] 344 |         doomcom = malloc(std::mem::size_of_val(&(*(doomcom))));
[INFO] [stdout]     |         ^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `doomcom` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:3:5
[INFO] [stdout]     |
[INFO] [stdout]   3 | use crate::d_net::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `doomcom` to disambiguate
[INFO] [stdout] note: `doomcom` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `doomcom` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `strcpy` in this scope
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1460:9
[INFO] [stdout]      |
[INFO] [stdout] 1460 |         strcpy(savename, name);
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] note: similarly named function `strupr` defined here
[INFO] [stdout]     --> doom_rs/src/w_wad.rs:98:1
[INFO] [stdout]      |
[INFO] [stdout]   98 | pub unsafe extern "C" fn strupr(mut s: *mut std::ffi::c_char) {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1460 -         strcpy(savename, name);
[INFO] [stdout] 1460 +         strupr(savename, name);
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::strcpy;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `doomcom` is ambiguous
[INFO] [stdout]    --> doom_rs/src/i_net.rs:344:52
[INFO] [stdout]     |
[INFO] [stdout] 344 |         doomcom = malloc(std::mem::size_of_val(&(*(doomcom))));
[INFO] [stdout]     |                                                    ^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `doomcom` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:3:5
[INFO] [stdout]     |
[INFO] [stdout]   3 | use crate::d_net::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `doomcom` to disambiguate
[INFO] [stdout] note: `doomcom` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `doomcom` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `doomcom` is ambiguous
[INFO] [stdout]    --> doom_rs/src/i_net.rs:345:16
[INFO] [stdout]     |
[INFO] [stdout] 345 |         memset(doomcom, 0, std::mem::size_of_val(&(*(doomcom))));
[INFO] [stdout]     |                ^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `doomcom` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:3:5
[INFO] [stdout]     |
[INFO] [stdout]   3 | use crate::d_net::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `doomcom` to disambiguate
[INFO] [stdout] note: `doomcom` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `doomcom` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `doomcom` is ambiguous
[INFO] [stdout]    --> doom_rs/src/i_net.rs:345:54
[INFO] [stdout]     |
[INFO] [stdout] 345 |         memset(doomcom, 0, std::mem::size_of_val(&(*(doomcom))));
[INFO] [stdout]     |                                                      ^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `doomcom` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:3:5
[INFO] [stdout]     |
[INFO] [stdout]   3 | use crate::d_net::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `doomcom` to disambiguate
[INFO] [stdout] note: `doomcom` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `doomcom` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `doomcom` is ambiguous
[INFO] [stdout]    --> doom_rs/src/i_net.rs:394:11
[INFO] [stdout]     |
[INFO] [stdout] 394 |         (*doomcom).consoleplayer =
[INFO] [stdout]     |           ^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `doomcom` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:3:5
[INFO] [stdout]     |
[INFO] [stdout]   3 | use crate::d_net::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `doomcom` to disambiguate
[INFO] [stdout] note: `doomcom` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `doomcom` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `doomcom` is ambiguous
[INFO] [stdout]    --> doom_rs/src/i_net.rs:396:11
[INFO] [stdout]     |
[INFO] [stdout] 396 |         (*doomcom).numnodes = 1;
[INFO] [stdout]     |           ^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `doomcom` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:3:5
[INFO] [stdout]     |
[INFO] [stdout]   3 | use crate::d_net::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `doomcom` to disambiguate
[INFO] [stdout] note: `doomcom` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `doomcom` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `doomcom` is ambiguous
[INFO] [stdout]    --> doom_rs/src/i_net.rs:424:11
[INFO] [stdout]     |
[INFO] [stdout] 424 |         (*doomcom).id = DOOMCOM_ID;
[INFO] [stdout]     |           ^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `doomcom` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:3:5
[INFO] [stdout]     |
[INFO] [stdout]   3 | use crate::d_net::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `doomcom` to disambiguate
[INFO] [stdout] note: `doomcom` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `doomcom` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `doomcom` is ambiguous
[INFO] [stdout]    --> doom_rs/src/i_net.rs:425:11
[INFO] [stdout]     |
[INFO] [stdout] 425 |         (*doomcom).numplayers = (*doomcom).numnodes;
[INFO] [stdout]     |           ^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `doomcom` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:3:5
[INFO] [stdout]     |
[INFO] [stdout]   3 | use crate::d_net::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `doomcom` to disambiguate
[INFO] [stdout] note: `doomcom` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `doomcom` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `doomcom` is ambiguous
[INFO] [stdout]    --> doom_rs/src/i_net.rs:425:35
[INFO] [stdout]     |
[INFO] [stdout] 425 |         (*doomcom).numplayers = (*doomcom).numnodes;
[INFO] [stdout]     |                                   ^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `doomcom` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:3:5
[INFO] [stdout]     |
[INFO] [stdout]   3 | use crate::d_net::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `doomcom` to disambiguate
[INFO] [stdout] note: `doomcom` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `doomcom` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `snd_SfxVolume` is ambiguous
[INFO] [stdout]     --> doom_rs/src/m_menu.rs:1327:13
[INFO] [stdout]      |
[INFO] [stdout] 1327 |             snd_SfxVolume,
[INFO] [stdout]      |             ^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `snd_SfxVolume` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/m_menu.rs:11:5
[INFO] [stdout]      |
[INFO] [stdout]   11 | use crate::doomstat::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `snd_SfxVolume` to disambiguate
[INFO] [stdout] note: `snd_SfxVolume` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/m_menu.rs:34:5
[INFO] [stdout]      |
[INFO] [stdout]   34 | use crate::s_sound::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `snd_SfxVolume` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `snd_MusicVolume` is ambiguous
[INFO] [stdout]     --> doom_rs/src/m_menu.rs:1333:13
[INFO] [stdout]      |
[INFO] [stdout] 1333 |             snd_MusicVolume,
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `snd_MusicVolume` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/m_menu.rs:11:5
[INFO] [stdout]      |
[INFO] [stdout]   11 | use crate::doomstat::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `snd_MusicVolume` to disambiguate
[INFO] [stdout] note: `snd_MusicVolume` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/m_menu.rs:34:5
[INFO] [stdout]      |
[INFO] [stdout]   34 | use crate::s_sound::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `snd_MusicVolume` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `snd_SfxVolume` is ambiguous
[INFO] [stdout]     --> doom_rs/src/m_menu.rs:1366:24
[INFO] [stdout]      |
[INFO] [stdout] 1366 |         S_SetSfxVolume(snd_SfxVolume);
[INFO] [stdout]      |                        ^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `snd_SfxVolume` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/m_menu.rs:11:5
[INFO] [stdout]      |
[INFO] [stdout]   11 | use crate::doomstat::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `snd_SfxVolume` to disambiguate
[INFO] [stdout] note: `snd_SfxVolume` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/m_menu.rs:34:5
[INFO] [stdout]      |
[INFO] [stdout]   34 | use crate::s_sound::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `snd_SfxVolume` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `snd_MusicVolume` is ambiguous
[INFO] [stdout]     --> doom_rs/src/m_menu.rs:1389:26
[INFO] [stdout]      |
[INFO] [stdout] 1389 |         S_SetMusicVolume(snd_MusicVolume);
[INFO] [stdout]      |                          ^^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `snd_MusicVolume` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/m_menu.rs:11:5
[INFO] [stdout]      |
[INFO] [stdout]   11 | use crate::doomstat::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `snd_MusicVolume` to disambiguate
[INFO] [stdout] note: `snd_MusicVolume` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/m_menu.rs:34:5
[INFO] [stdout]      |
[INFO] [stdout]   34 | use crate::s_sound::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `snd_MusicVolume` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_SetMobjState` is ambiguous
[INFO] [stdout]    --> doom_rs/src/p_enemy.rs:828:9
[INFO] [stdout]     |
[INFO] [stdout] 828 |         P_SetMobjState(actor, (*(*actor).info).seestate);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_SetMobjState` could refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/p_enemy.rs:16:5
[INFO] [stdout]     |
[INFO] [stdout]  16 | use crate::p_local::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `P_SetMobjState` to disambiguate
[INFO] [stdout] note: `P_SetMobjState` could also refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/p_enemy.rs:17:5
[INFO] [stdout]     |
[INFO] [stdout]  17 | use crate::p_mobj::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `P_SetMobjState` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1496:9
[INFO] [stdout]      |
[INFO] [stdout] 1496 |         memset(vcheck, 0, std::mem::size_of_val(&(vcheck)));
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::memset;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_SpawnMissile` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:1168:9
[INFO] [stdout]      |
[INFO] [stdout] 1168 |         P_SpawnMissile(actor, (*actor).target, MT_ARACHPLAZ);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_SpawnMissile` could refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:16:5
[INFO] [stdout]      |
[INFO] [stdout]   16 | use crate::p_local::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMissile` to disambiguate
[INFO] [stdout] note: `P_SpawnMissile` could also refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:17:5
[INFO] [stdout]      |
[INFO] [stdout]   17 | use crate::p_mobj::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMissile` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_SpawnMissile` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:1197:9
[INFO] [stdout]      |
[INFO] [stdout] 1197 |         P_SpawnMissile(actor, (*actor).target, MT_TROOPSHOT);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_SpawnMissile` could refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:16:5
[INFO] [stdout]      |
[INFO] [stdout]   16 | use crate::p_local::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMissile` to disambiguate
[INFO] [stdout] note: `P_SpawnMissile` could also refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:17:5
[INFO] [stdout]      |
[INFO] [stdout]   17 | use crate::p_mobj::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMissile` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_SpawnMissile` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:1251:9
[INFO] [stdout]      |
[INFO] [stdout] 1251 |         P_SpawnMissile(actor, (*actor).target, MT_HEADSHOT);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_SpawnMissile` could refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:16:5
[INFO] [stdout]      |
[INFO] [stdout]   16 | use crate::p_local::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMissile` to disambiguate
[INFO] [stdout] note: `P_SpawnMissile` could also refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:17:5
[INFO] [stdout]      |
[INFO] [stdout]   17 | use crate::p_mobj::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMissile` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_SpawnMissile` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:1266:9
[INFO] [stdout]      |
[INFO] [stdout] 1266 |         P_SpawnMissile(actor, (*actor).target, MT_ROCKET);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_SpawnMissile` could refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:16:5
[INFO] [stdout]      |
[INFO] [stdout]   16 | use crate::p_local::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMissile` to disambiguate
[INFO] [stdout] note: `P_SpawnMissile` could also refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:17:5
[INFO] [stdout]      |
[INFO] [stdout]   17 | use crate::p_mobj::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMissile` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_SpawnMissile` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:1295:9
[INFO] [stdout]      |
[INFO] [stdout] 1295 |         P_SpawnMissile(actor, (*actor).target, MT_BRUISERSHOT);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_SpawnMissile` could refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:16:5
[INFO] [stdout]      |
[INFO] [stdout]   16 | use crate::p_local::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMissile` to disambiguate
[INFO] [stdout] note: `P_SpawnMissile` could also refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:17:5
[INFO] [stdout]      |
[INFO] [stdout]   17 | use crate::p_mobj::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMissile` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_SpawnMissile` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:1315:14
[INFO] [stdout]      |
[INFO] [stdout] 1315 |         mo = P_SpawnMissile(actor, (*actor).target, MT_TRACER);
[INFO] [stdout]      |              ^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_SpawnMissile` could refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:16:5
[INFO] [stdout]      |
[INFO] [stdout]   16 | use crate::p_local::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMissile` to disambiguate
[INFO] [stdout] note: `P_SpawnMissile` could also refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:17:5
[INFO] [stdout]      |
[INFO] [stdout]   17 | use crate::p_mobj::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMissile` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_SpawnPuff` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:1351:9
[INFO] [stdout]      |
[INFO] [stdout] 1351 |         P_SpawnPuff((*actor).x, (*actor).y, (*actor).z);
[INFO] [stdout]      |         ^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_SpawnPuff` could refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:16:5
[INFO] [stdout]      |
[INFO] [stdout]   16 | use crate::p_local::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnPuff` to disambiguate
[INFO] [stdout] note: `P_SpawnPuff` could also refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:17:5
[INFO] [stdout]      |
[INFO] [stdout]   17 | use crate::p_mobj::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnPuff` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_SpawnMobj` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:1352:14
[INFO] [stdout]      |
[INFO] [stdout] 1352 |         th = P_SpawnMobj(
[INFO] [stdout]      |              ^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_SpawnMobj` could refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:16:5
[INFO] [stdout]      |
[INFO] [stdout]   16 | use crate::p_local::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMobj` to disambiguate
[INFO] [stdout] note: `P_SpawnMobj` could also refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:17:5
[INFO] [stdout]      |
[INFO] [stdout]   17 | use crate::p_mobj::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMobj` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `finecosine` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:1393:58
[INFO] [stdout]      |
[INFO] [stdout] 1393 |         (*actor).momx = FixedMul((*(*actor).info).speed, finecosine[(exact) as usize]);
[INFO] [stdout]      |                                                          ^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `finecosine` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:25:5
[INFO] [stdout]      |
[INFO] [stdout]   25 | use crate::r_main::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] note: `finecosine` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:32:5
[INFO] [stdout]      |
[INFO] [stdout]   32 | use crate::tables::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `finecosine` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:1650:61
[INFO] [stdout]      |
[INFO] [stdout] 1650 |         (*actor).x = ((*dest).x + FixedMul((24 * FRACUNIT), finecosine[(an) as usize]));
[INFO] [stdout]      |                                                             ^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `finecosine` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:25:5
[INFO] [stdout]      |
[INFO] [stdout]   25 | use crate::r_main::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] note: `finecosine` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:32:5
[INFO] [stdout]      |
[INFO] [stdout]   32 | use crate::tables::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_SpawnMobj` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:1672:15
[INFO] [stdout]      |
[INFO] [stdout] 1672 |         fog = P_SpawnMobj(
[INFO] [stdout]      |               ^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_SpawnMobj` could refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:16:5
[INFO] [stdout]      |
[INFO] [stdout]   16 | use crate::p_local::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMobj` to disambiguate
[INFO] [stdout] note: `P_SpawnMobj` could also refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:17:5
[INFO] [stdout]      |
[INFO] [stdout]   17 | use crate::p_mobj::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMobj` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `finecosine` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:1720:71
[INFO] [stdout]      |
[INFO] [stdout] 1720 |         (*fire).x = ((*(*actor).target).x - FixedMul((24 * FRACUNIT), finecosine[(an) as usize]));
[INFO] [stdout]      |                                                                       ^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `finecosine` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:25:5
[INFO] [stdout]      |
[INFO] [stdout]   25 | use crate::r_main::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] note: `finecosine` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:32:5
[INFO] [stdout]      |
[INFO] [stdout]   32 | use crate::tables::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_SpawnMissile` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:1751:9
[INFO] [stdout]      |
[INFO] [stdout] 1751 |         P_SpawnMissile(actor, (*actor).target, MT_FATSHOT);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_SpawnMissile` could refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:16:5
[INFO] [stdout]      |
[INFO] [stdout]   16 | use crate::p_local::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMissile` to disambiguate
[INFO] [stdout] note: `P_SpawnMissile` could also refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:17:5
[INFO] [stdout]      |
[INFO] [stdout]   17 | use crate::p_mobj::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMissile` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_SpawnMissile` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:1752:14
[INFO] [stdout]      |
[INFO] [stdout] 1752 |         mo = P_SpawnMissile(actor, (*actor).target, MT_FATSHOT);
[INFO] [stdout]      |              ^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_SpawnMissile` could refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:16:5
[INFO] [stdout]      |
[INFO] [stdout]   16 | use crate::p_local::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMissile` to disambiguate
[INFO] [stdout] note: `P_SpawnMissile` could also refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:17:5
[INFO] [stdout]      |
[INFO] [stdout]   17 | use crate::p_mobj::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMissile` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `finecosine` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:1755:52
[INFO] [stdout]      |
[INFO] [stdout] 1755 |         (*mo).momx = FixedMul((*(*mo).info).speed, finecosine[(an) as usize]);
[INFO] [stdout]      |                                                    ^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `finecosine` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:25:5
[INFO] [stdout]      |
[INFO] [stdout]   25 | use crate::r_main::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] note: `finecosine` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:32:5
[INFO] [stdout]      |
[INFO] [stdout]   32 | use crate::tables::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_SpawnMissile` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:1773:9
[INFO] [stdout]      |
[INFO] [stdout] 1773 |         P_SpawnMissile(actor, (*actor).target, MT_FATSHOT);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_SpawnMissile` could refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:16:5
[INFO] [stdout]      |
[INFO] [stdout]   16 | use crate::p_local::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMissile` to disambiguate
[INFO] [stdout] note: `P_SpawnMissile` could also refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:17:5
[INFO] [stdout]      |
[INFO] [stdout]   17 | use crate::p_mobj::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMissile` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_SpawnMissile` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:1774:14
[INFO] [stdout]      |
[INFO] [stdout] 1774 |         mo = P_SpawnMissile(actor, (*actor).target, MT_FATSHOT);
[INFO] [stdout]      |              ^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_SpawnMissile` could refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:16:5
[INFO] [stdout]      |
[INFO] [stdout]   16 | use crate::p_local::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMissile` to disambiguate
[INFO] [stdout] note: `P_SpawnMissile` could also refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:17:5
[INFO] [stdout]      |
[INFO] [stdout]   17 | use crate::p_mobj::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMissile` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `finecosine` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:1777:52
[INFO] [stdout]      |
[INFO] [stdout] 1777 |         (*mo).momx = FixedMul((*(*mo).info).speed, finecosine[(an) as usize]);
[INFO] [stdout]      |                                                    ^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `finecosine` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:25:5
[INFO] [stdout]      |
[INFO] [stdout]   25 | use crate::r_main::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] note: `finecosine` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:32:5
[INFO] [stdout]      |
[INFO] [stdout]   32 | use crate::tables::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sprintf` in this scope
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1497:9
[INFO] [stdout]      |
[INFO] [stdout] 1497 |         sprintf(vcheck, (c"version %i").as_ptr(), VERSION);
[INFO] [stdout]      |         ^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::sprintf;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_SpawnMissile` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:1794:14
[INFO] [stdout]      |
[INFO] [stdout] 1794 |         mo = P_SpawnMissile(actor, (*actor).target, MT_FATSHOT);
[INFO] [stdout]      |              ^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_SpawnMissile` could refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:16:5
[INFO] [stdout]      |
[INFO] [stdout]   16 | use crate::p_local::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMissile` to disambiguate
[INFO] [stdout] note: `P_SpawnMissile` could also refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:17:5
[INFO] [stdout]      |
[INFO] [stdout]   17 | use crate::p_mobj::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMissile` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `finecosine` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:1797:52
[INFO] [stdout]      |
[INFO] [stdout] 1797 |         (*mo).momx = FixedMul((*(*mo).info).speed, finecosine[(an) as usize]);
[INFO] [stdout]      |                                                    ^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `finecosine` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:25:5
[INFO] [stdout]      |
[INFO] [stdout]   25 | use crate::r_main::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] note: `finecosine` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:32:5
[INFO] [stdout]      |
[INFO] [stdout]   32 | use crate::tables::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_SpawnMissile` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:1799:14
[INFO] [stdout]      |
[INFO] [stdout] 1799 |         mo = P_SpawnMissile(actor, (*actor).target, MT_FATSHOT);
[INFO] [stdout]      |              ^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_SpawnMissile` could refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:16:5
[INFO] [stdout]      |
[INFO] [stdout]   16 | use crate::p_local::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMissile` to disambiguate
[INFO] [stdout] note: `P_SpawnMissile` could also refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:17:5
[INFO] [stdout]      |
[INFO] [stdout]   17 | use crate::p_mobj::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMissile` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `finecosine` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:1802:52
[INFO] [stdout]      |
[INFO] [stdout] 1802 |         (*mo).momx = FixedMul((*(*mo).info).speed, finecosine[(an) as usize]);
[INFO] [stdout]      |                                                    ^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `finecosine` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:25:5
[INFO] [stdout]      |
[INFO] [stdout]   25 | use crate::r_main::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] note: `finecosine` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:32:5
[INFO] [stdout]      |
[INFO] [stdout]   32 | use crate::tables::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `finecosine` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:1834:46
[INFO] [stdout]      |
[INFO] [stdout] 1834 |         (*actor).momx = FixedMul(SKULLSPEED, finecosine[(an) as usize]);
[INFO] [stdout]      |                                              ^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `finecosine` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:25:5
[INFO] [stdout]      |
[INFO] [stdout]   25 | use crate::r_main::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] note: `finecosine` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:32:5
[INFO] [stdout]      |
[INFO] [stdout]   32 | use crate::tables::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `finecosine` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:1900:45
[INFO] [stdout]      |
[INFO] [stdout] 1900 |         x = ((*actor).x + FixedMul(prestep, finecosine[(an) as usize]));
[INFO] [stdout]      |                                             ^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `finecosine` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:25:5
[INFO] [stdout]      |
[INFO] [stdout]   25 | use crate::r_main::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] note: `finecosine` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:32:5
[INFO] [stdout]      |
[INFO] [stdout]   32 | use crate::tables::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_SpawnMobj` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:1903:19
[INFO] [stdout]      |
[INFO] [stdout] 1903 |         newmobj = P_SpawnMobj(x, y, z, MT_SKULL);
[INFO] [stdout]      |                   ^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_SpawnMobj` could refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:16:5
[INFO] [stdout]      |
[INFO] [stdout]   16 | use crate::p_local::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMobj` to disambiguate
[INFO] [stdout] note: `P_SpawnMobj` could also refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:17:5
[INFO] [stdout]      |
[INFO] [stdout]   17 | use crate::p_mobj::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMobj` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_SpawnMobj` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:2383:14
[INFO] [stdout]      |
[INFO] [stdout] 2383 |         th = P_SpawnMobj(x, y, z, MT_ROCKET);
[INFO] [stdout]      |              ^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_SpawnMobj` could refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:16:5
[INFO] [stdout]      |
[INFO] [stdout]   16 | use crate::p_local::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMobj` to disambiguate
[INFO] [stdout] note: `P_SpawnMobj` could also refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:17:5
[INFO] [stdout]      |
[INFO] [stdout]   17 | use crate::p_mobj::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMobj` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_SetMobjState` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:2385:9
[INFO] [stdout]      |
[INFO] [stdout] 2385 |         P_SetMobjState(th, S_BRAINEXPLODE1);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_SetMobjState` could refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:16:5
[INFO] [stdout]      |
[INFO] [stdout]   16 | use crate::p_local::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SetMobjState` to disambiguate
[INFO] [stdout] note: `P_SetMobjState` could also refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:17:5
[INFO] [stdout]      |
[INFO] [stdout]   17 | use crate::p_mobj::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SetMobjState` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_SpawnMissile` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:2424:19
[INFO] [stdout]      |
[INFO] [stdout] 2424 |         newmobj = P_SpawnMissile(mo, targ, MT_SPAWNSHOT);
[INFO] [stdout]      |                   ^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_SpawnMissile` could refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:16:5
[INFO] [stdout]      |
[INFO] [stdout]   16 | use crate::p_local::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMissile` to disambiguate
[INFO] [stdout] note: `P_SpawnMissile` could also refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:17:5
[INFO] [stdout]      |
[INFO] [stdout]   17 | use crate::p_mobj::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMissile` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_SpawnMobj` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:2469:15
[INFO] [stdout]      |
[INFO] [stdout] 2469 |         fog = P_SpawnMobj((*targ).x, (*targ).y, (*targ).z, MT_SPAWNFIRE);
[INFO] [stdout]      |               ^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_SpawnMobj` could refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:16:5
[INFO] [stdout]      |
[INFO] [stdout]   16 | use crate::p_local::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMobj` to disambiguate
[INFO] [stdout] note: `P_SpawnMobj` could also refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:17:5
[INFO] [stdout]      |
[INFO] [stdout]   17 | use crate::p_mobj::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMobj` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_SpawnMobj` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:2500:19
[INFO] [stdout]      |
[INFO] [stdout] 2500 |         newmobj = P_SpawnMobj((*targ).x, (*targ).y, (*targ).z, type_);
[INFO] [stdout]      |                   ^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_SpawnMobj` could refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:16:5
[INFO] [stdout]      |
[INFO] [stdout]   16 | use crate::p_local::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMobj` to disambiguate
[INFO] [stdout] note: `P_SpawnMobj` could also refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:17:5
[INFO] [stdout]      |
[INFO] [stdout]   17 | use crate::p_mobj::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_SpawnMobj` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_RemoveMobj` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:2507:9
[INFO] [stdout]      |
[INFO] [stdout] 2507 |         P_RemoveMobj(mo);
[INFO] [stdout]      |         ^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_RemoveMobj` could refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:16:5
[INFO] [stdout]      |
[INFO] [stdout]   16 | use crate::p_local::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_RemoveMobj` to disambiguate
[INFO] [stdout] note: `P_RemoveMobj` could also refer to the function imported here
[INFO] [stdout]     --> doom_rs/src/p_enemy.rs:17:5
[INFO] [stdout]      |
[INFO] [stdout]   17 | use crate::p_mobj::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `P_RemoveMobj` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_RemoveMobj` is ambiguous
[INFO] [stdout]    --> doom_rs/src/p_inter.rs:749:9
[INFO] [stdout]     |
[INFO] [stdout] 749 |         P_RemoveMobj(special);
[INFO] [stdout]     |         ^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_RemoveMobj` could refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/p_inter.rs:18:5
[INFO] [stdout]     |
[INFO] [stdout]  18 | use crate::p_local::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `P_RemoveMobj` to disambiguate
[INFO] [stdout] note: `P_RemoveMobj` could also refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/p_inter.rs:19:5
[INFO] [stdout]     |
[INFO] [stdout]  19 | use crate::p_mobj::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `P_RemoveMobj` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_SpawnMobj` is ambiguous
[INFO] [stdout]    --> doom_rs/src/p_inter.rs:867:14
[INFO] [stdout]     |
[INFO] [stdout] 867 |         mo = P_SpawnMobj((*target).x, (*target).y, ONFLOORZ, item);
[INFO] [stdout]     |              ^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_SpawnMobj` could refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/p_inter.rs:18:5
[INFO] [stdout]     |
[INFO] [stdout]  18 | use crate::p_local::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `P_SpawnMobj` to disambiguate
[INFO] [stdout] note: `P_SpawnMobj` could also refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/p_inter.rs:19:5
[INFO] [stdout]     |
[INFO] [stdout]  19 | use crate::p_mobj::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `P_SpawnMobj` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `finecosine` is ambiguous
[INFO] [stdout]    --> doom_rs/src/p_map.rs:712:36
[INFO] [stdout]     |
[INFO] [stdout] 712 |         newlen = FixedMul(movelen, finecosine[(deltaangle) as usize]);
[INFO] [stdout]     |                                    ^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `finecosine` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/p_map.rs:25:5
[INFO] [stdout]     |
[INFO] [stdout]  25 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] note: `finecosine` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/p_map.rs:32:5
[INFO] [stdout]     |
[INFO] [stdout]  32 | use crate::tables::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `finecosine` is ambiguous
[INFO] [stdout]    --> doom_rs/src/p_map.rs:713:36
[INFO] [stdout]     |
[INFO] [stdout] 713 |         tmxmove = FixedMul(newlen, finecosine[(lineangle) as usize]);
[INFO] [stdout]     |                                    ^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `finecosine` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/p_map.rs:25:5
[INFO] [stdout]     |
[INFO] [stdout]  25 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] note: `finecosine` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/p_map.rs:32:5
[INFO] [stdout]     |
[INFO] [stdout]  32 | use crate::tables::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `finecosine` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_map.rs:1216:51
[INFO] [stdout]      |
[INFO] [stdout] 1216 |         x2 = ((*t1).x + ((distance >> FRACBITS) * finecosine[(angle) as usize]));
[INFO] [stdout]      |                                                   ^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `finecosine` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/p_map.rs:25:5
[INFO] [stdout]      |
[INFO] [stdout]   25 | use crate::r_main::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] note: `finecosine` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/p_map.rs:32:5
[INFO] [stdout]      |
[INFO] [stdout]   32 | use crate::tables::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `finecosine` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_map.rs:1262:51
[INFO] [stdout]      |
[INFO] [stdout] 1262 |         x2 = ((*t1).x + ((distance >> FRACBITS) * finecosine[(angle) as usize]));
[INFO] [stdout]      |                                                   ^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `finecosine` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/p_map.rs:25:5
[INFO] [stdout]      |
[INFO] [stdout]   25 | use crate::r_main::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] note: `finecosine` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/p_map.rs:32:5
[INFO] [stdout]      |
[INFO] [stdout]   32 | use crate::tables::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `finecosine` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_map.rs:1341:46
[INFO] [stdout]      |
[INFO] [stdout] 1341 |         x2 = (x1 + ((USERANGE >> FRACBITS) * finecosine[(angle) as usize]));
[INFO] [stdout]      |                                              ^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `finecosine` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/p_map.rs:25:5
[INFO] [stdout]      |
[INFO] [stdout]   25 | use crate::r_main::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] note: `finecosine` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/p_map.rs:32:5
[INFO] [stdout]      |
[INFO] [stdout]   32 | use crate::tables::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_SetupPsprites` is ambiguous
[INFO] [stdout]    --> doom_rs/src/p_mobj.rs:896:9
[INFO] [stdout]     |
[INFO] [stdout] 896 |         P_SetupPsprites(p);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_SetupPsprites` could refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/p_mobj.rs:16:5
[INFO] [stdout]     |
[INFO] [stdout]  16 | use crate::p_local::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `P_SetupPsprites` to disambiguate
[INFO] [stdout] note: `P_SetupPsprites` could also refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/p_mobj.rs:17:5
[INFO] [stdout]     |
[INFO] [stdout]  17 | use crate::p_pspr::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `P_SetupPsprites` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `finecosine` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_mobj.rs:1194:52
[INFO] [stdout]      |
[INFO] [stdout] 1194 |         (*th).momx = FixedMul((*(*th).info).speed, finecosine[(an) as usize]);
[INFO] [stdout]      |                                                    ^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `finecosine` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/p_mobj.rs:24:5
[INFO] [stdout]      |
[INFO] [stdout]   24 | use crate::r_main::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] note: `finecosine` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/p_mobj.rs:32:5
[INFO] [stdout]      |
[INFO] [stdout]   32 | use crate::tables::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `strcpy` in this scope
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1571:9
[INFO] [stdout]      |
[INFO] [stdout] 1571 |         strcpy(savedescription, description);
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] note: similarly named function `strupr` defined here
[INFO] [stdout]     --> doom_rs/src/w_wad.rs:98:1
[INFO] [stdout]      |
[INFO] [stdout]   98 | pub unsafe extern "C" fn strupr(mut s: *mut std::ffi::c_char) {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1571 -         strcpy(savedescription, description);
[INFO] [stdout] 1571 +         strupr(savedescription, description);
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::strcpy;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `finecosine` is ambiguous
[INFO] [stdout]     --> doom_rs/src/p_mobj.rs:1271:13
[INFO] [stdout]      |
[INFO] [stdout] 1271 |             finecosine[(an >> ANGLETOFINESHIFT) as usize],
[INFO] [stdout]      |             ^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `finecosine` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/p_mobj.rs:24:5
[INFO] [stdout]      |
[INFO] [stdout]   24 | use crate::r_main::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] note: `finecosine` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/p_mobj.rs:32:5
[INFO] [stdout]      |
[INFO] [stdout]   32 | use crate::tables::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_SetMobjState` is ambiguous
[INFO] [stdout]    --> doom_rs/src/p_pspr.rs:327:9
[INFO] [stdout]     |
[INFO] [stdout] 327 |         P_SetMobjState((*player).mo, S_PLAY_ATK1);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_SetMobjState` could refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/p_pspr.rs:14:5
[INFO] [stdout]     |
[INFO] [stdout]  14 | use crate::p_local::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `P_SetMobjState` to disambiguate
[INFO] [stdout] note: `P_SetMobjState` could also refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/p_pspr.rs:15:5
[INFO] [stdout]     |
[INFO] [stdout]  15 | use crate::p_mobj::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `P_SetMobjState` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `finecosine` is ambiguous
[INFO] [stdout]    --> doom_rs/src/p_pspr.rs:411:57
[INFO] [stdout]     |
[INFO] [stdout] 411 |         (*psp).sx = (FRACUNIT + FixedMul((*player).bob, finecosine[(angle) as usize]));
[INFO] [stdout]     |                                                         ^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `finecosine` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/p_pspr.rs:22:5
[INFO] [stdout]     |
[INFO] [stdout]  22 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] note: `finecosine` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/p_pspr.rs:29:5
[INFO] [stdout]     |
[INFO] [stdout]  29 | use crate::tables::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_SetMobjState` is ambiguous
[INFO] [stdout]    --> doom_rs/src/p_pspr.rs:517:9
[INFO] [stdout]     |
[INFO] [stdout] 517 |         P_SetMobjState((*player).mo, S_PLAY_ATK2);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_SetMobjState` could refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/p_pspr.rs:14:5
[INFO] [stdout]     |
[INFO] [stdout]  14 | use crate::p_local::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `P_SetMobjState` to disambiguate
[INFO] [stdout] note: `P_SetMobjState` could also refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/p_pspr.rs:15:5
[INFO] [stdout]     |
[INFO] [stdout]  15 | use crate::p_mobj::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `P_SetMobjState` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_SpawnPlayerMissile` is ambiguous
[INFO] [stdout]    --> doom_rs/src/p_pspr.rs:634:9
[INFO] [stdout]     |
[INFO] [stdout] 634 |         P_SpawnPlayerMissile((*player).mo, MT_ROCKET);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_SpawnPlayerMissile` could refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/p_pspr.rs:14:5
[INFO] [stdout]     |
[INFO] [stdout]  14 | use crate::p_local::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `P_SpawnPlayerMissile` to disambiguate
[INFO] [stdout] note: `P_SpawnPlayerMissile` could also refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/p_pspr.rs:15:5
[INFO] [stdout]     |
[INFO] [stdout]  15 | use crate::p_mobj::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `P_SpawnPlayerMissile` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_SpawnPlayerMissile` is ambiguous
[INFO] [stdout]    --> doom_rs/src/p_pspr.rs:644:9
[INFO] [stdout]     |
[INFO] [stdout] 644 |         P_SpawnPlayerMissile((*player).mo, MT_BFG);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_SpawnPlayerMissile` could refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/p_pspr.rs:14:5
[INFO] [stdout]     |
[INFO] [stdout]  14 | use crate::p_local::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `P_SpawnPlayerMissile` to disambiguate
[INFO] [stdout] note: `P_SpawnPlayerMissile` could also refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/p_pspr.rs:15:5
[INFO] [stdout]     |
[INFO] [stdout]  15 | use crate::p_mobj::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `P_SpawnPlayerMissile` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_SpawnPlayerMissile` is ambiguous
[INFO] [stdout]    --> doom_rs/src/p_pspr.rs:664:9
[INFO] [stdout]     |
[INFO] [stdout] 664 |         P_SpawnPlayerMissile((*player).mo, MT_PLASMA);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_SpawnPlayerMissile` could refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/p_pspr.rs:14:5
[INFO] [stdout]     |
[INFO] [stdout]  14 | use crate::p_local::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `P_SpawnPlayerMissile` to disambiguate
[INFO] [stdout] note: `P_SpawnPlayerMissile` could also refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/p_pspr.rs:15:5
[INFO] [stdout]     |
[INFO] [stdout]  15 | use crate::p_mobj::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `P_SpawnPlayerMissile` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_SetMobjState` is ambiguous
[INFO] [stdout]    --> doom_rs/src/p_pspr.rs:726:9
[INFO] [stdout]     |
[INFO] [stdout] 726 |         P_SetMobjState((*player).mo, S_PLAY_ATK2);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_SetMobjState` could refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/p_pspr.rs:14:5
[INFO] [stdout]     |
[INFO] [stdout]  14 | use crate::p_local::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `P_SetMobjState` to disambiguate
[INFO] [stdout] note: `P_SetMobjState` could also refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/p_pspr.rs:15:5
[INFO] [stdout]     |
[INFO] [stdout]  15 | use crate::p_mobj::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `P_SetMobjState` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_SetMobjState` is ambiguous
[INFO] [stdout]    --> doom_rs/src/p_pspr.rs:752:9
[INFO] [stdout]     |
[INFO] [stdout] 752 |         P_SetMobjState((*player).mo, S_PLAY_ATK2);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_SetMobjState` could refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/p_pspr.rs:14:5
[INFO] [stdout]     |
[INFO] [stdout]  14 | use crate::p_local::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `P_SetMobjState` to disambiguate
[INFO] [stdout] note: `P_SetMobjState` could also refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/p_pspr.rs:15:5
[INFO] [stdout]     |
[INFO] [stdout]  15 | use crate::p_mobj::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `P_SetMobjState` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_SetMobjState` is ambiguous
[INFO] [stdout]    --> doom_rs/src/p_pspr.rs:789:9
[INFO] [stdout]     |
[INFO] [stdout] 789 |         P_SetMobjState((*player).mo, S_PLAY_ATK2);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_SetMobjState` could refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/p_pspr.rs:14:5
[INFO] [stdout]     |
[INFO] [stdout]  14 | use crate::p_local::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `P_SetMobjState` to disambiguate
[INFO] [stdout] note: `P_SetMobjState` could also refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/p_pspr.rs:15:5
[INFO] [stdout]     |
[INFO] [stdout]  15 | use crate::p_mobj::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `P_SetMobjState` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_SetMobjState` is ambiguous
[INFO] [stdout]    --> doom_rs/src/p_pspr.rs:826:9
[INFO] [stdout]     |
[INFO] [stdout] 826 |         P_SetMobjState((*player).mo, S_PLAY_ATK2);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_SetMobjState` could refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/p_pspr.rs:14:5
[INFO] [stdout]     |
[INFO] [stdout]  14 | use crate::p_local::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `P_SetMobjState` to disambiguate
[INFO] [stdout] note: `P_SetMobjState` could also refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/p_pspr.rs:15:5
[INFO] [stdout]     |
[INFO] [stdout]  15 | use crate::p_mobj::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `P_SetMobjState` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `totalkills` is ambiguous
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:726:9
[INFO] [stdout]     |
[INFO] [stdout] 726 |         totalkills = totalitems = totalsecret = wminfo.maxfrags = 0;
[INFO] [stdout]     |         ^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `totalkills` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `totalkills` to disambiguate
[INFO] [stdout] note: `totalkills` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:11:5
[INFO] [stdout]     |
[INFO] [stdout]  11 | use crate::g_game::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `totalkills` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `totalitems` is ambiguous
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:726:22
[INFO] [stdout]     |
[INFO] [stdout] 726 |         totalkills = totalitems = totalsecret = wminfo.maxfrags = 0;
[INFO] [stdout]     |                      ^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `totalitems` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `totalitems` to disambiguate
[INFO] [stdout] note: `totalitems` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:11:5
[INFO] [stdout]     |
[INFO] [stdout]  11 | use crate::g_game::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `totalitems` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `totalsecret` is ambiguous
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:726:35
[INFO] [stdout]     |
[INFO] [stdout] 726 |         totalkills = totalitems = totalsecret = wminfo.maxfrags = 0;
[INFO] [stdout]     |                                   ^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `totalsecret` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `totalsecret` to disambiguate
[INFO] [stdout] note: `totalsecret` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:11:5
[INFO] [stdout]     |
[INFO] [stdout]  11 | use crate::g_game::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `totalsecret` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `wminfo` is ambiguous
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:726:49
[INFO] [stdout]     |
[INFO] [stdout] 726 |         totalkills = totalitems = totalsecret = wminfo.maxfrags = 0;
[INFO] [stdout]     |                                                 ^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `wminfo` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `wminfo` to disambiguate
[INFO] [stdout] note: `wminfo` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:11:5
[INFO] [stdout]     |
[INFO] [stdout]  11 | use crate::g_game::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `wminfo` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `wminfo` is ambiguous
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:727:9
[INFO] [stdout]     |
[INFO] [stdout] 727 |         wminfo.partime = 180;
[INFO] [stdout]     |         ^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `wminfo` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `wminfo` to disambiguate
[INFO] [stdout] note: `wminfo` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:11:5
[INFO] [stdout]     |
[INFO] [stdout]  11 | use crate::g_game::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `wminfo` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `players` is ambiguous
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:736:9
[INFO] [stdout]     |
[INFO] [stdout] 736 |         players[(consoleplayer) as usize].viewz = 1;
[INFO] [stdout]     |         ^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `players` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `players` to disambiguate
[INFO] [stdout] note: `players` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:11:5
[INFO] [stdout]     |
[INFO] [stdout]  11 | use crate::g_game::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `players` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `consoleplayer` is ambiguous
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:736:18
[INFO] [stdout]     |
[INFO] [stdout] 736 |         players[(consoleplayer) as usize].viewz = 1;
[INFO] [stdout]     |                  ^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `consoleplayer` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `consoleplayer` to disambiguate
[INFO] [stdout] note: `consoleplayer` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:11:5
[INFO] [stdout]     |
[INFO] [stdout]  11 | use crate::g_game::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `consoleplayer` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `bodyqueslot` is ambiguous
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:787:9
[INFO] [stdout]     |
[INFO] [stdout] 787 |         bodyqueslot = 0;
[INFO] [stdout]     |         ^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `bodyqueslot` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `bodyqueslot` to disambiguate
[INFO] [stdout] note: `bodyqueslot` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:11:5
[INFO] [stdout]     |
[INFO] [stdout]  11 | use crate::g_game::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `bodyqueslot` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `iquehead` is ambiguous
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:805:9
[INFO] [stdout]     |
[INFO] [stdout] 805 |         iquehead = iquetail = 0;
[INFO] [stdout]     |         ^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `iquehead` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:17:5
[INFO] [stdout]     |
[INFO] [stdout]  17 | use crate::p_local::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `iquehead` to disambiguate
[INFO] [stdout] note: `iquehead` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:18:5
[INFO] [stdout]     |
[INFO] [stdout]  18 | use crate::p_mobj::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `iquehead` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memcpy` in this scope
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1606:9
[INFO] [stdout]      |
[INFO] [stdout] 1606 |         memcpy(save_p, description, SAVESTRINGSIZE);
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::memcpy;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1608:9
[INFO] [stdout]      |
[INFO] [stdout] 1608 |         memset(name2, 0, std::mem::size_of_val(&(name2)));
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::memset;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `iquetail` is ambiguous
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:805:20
[INFO] [stdout]     |
[INFO] [stdout] 805 |         iquehead = iquetail = 0;
[INFO] [stdout]     |                    ^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `iquetail` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:17:5
[INFO] [stdout]     |
[INFO] [stdout]  17 | use crate::p_local::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `iquetail` to disambiguate
[INFO] [stdout] note: `iquetail` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/p_setup.rs:18:5
[INFO] [stdout]     |
[INFO] [stdout]  18 | use crate::p_mobj::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `iquetail` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_RespawnSpecials` is ambiguous
[INFO] [stdout]    --> doom_rs/src/p_tick.rs:190:9
[INFO] [stdout]     |
[INFO] [stdout] 190 |         P_RespawnSpecials();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_RespawnSpecials` could refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/p_tick.rs:12:5
[INFO] [stdout]     |
[INFO] [stdout]  12 | use crate::p_local::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `P_RespawnSpecials` to disambiguate
[INFO] [stdout] note: `P_RespawnSpecials` could also refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/p_tick.rs:13:5
[INFO] [stdout]     |
[INFO] [stdout]  13 | use crate::p_mobj::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `P_RespawnSpecials` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `finecosine` is ambiguous
[INFO] [stdout]   --> doom_rs/src/p_user.rs:96:49
[INFO] [stdout]    |
[INFO] [stdout] 96 |         (*(*player).mo).momx += FixedMul(move_, finecosine[(angle) as usize]);
[INFO] [stdout]    |                                                 ^^^^^^^^^^ ambiguous name
[INFO] [stdout]    |
[INFO] [stdout]    = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `finecosine` could refer to the static imported here
[INFO] [stdout]   --> doom_rs/src/p_user.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::r_main::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] note: `finecosine` could also refer to the static imported here
[INFO] [stdout]   --> doom_rs/src/p_user.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use crate::tables::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_MovePsprites` is ambiguous
[INFO] [stdout]    --> doom_rs/src/p_user.rs:225:9
[INFO] [stdout]     |
[INFO] [stdout] 225 |         P_MovePsprites(player);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_MovePsprites` could refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/p_user.rs:13:5
[INFO] [stdout]     |
[INFO] [stdout]  13 | use crate::p_local::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `P_MovePsprites` to disambiguate
[INFO] [stdout] note: `P_MovePsprites` could also refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/p_user.rs:15:5
[INFO] [stdout]     |
[INFO] [stdout]  15 | use crate::p_pspr::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `P_MovePsprites` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `P_MovePsprites` is ambiguous
[INFO] [stdout]    --> doom_rs/src/p_user.rs:405:9
[INFO] [stdout]     |
[INFO] [stdout] 405 |         P_MovePsprites(player);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `P_MovePsprites` could refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/p_user.rs:13:5
[INFO] [stdout]     |
[INFO] [stdout]  13 | use crate::p_local::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `P_MovePsprites` to disambiguate
[INFO] [stdout] note: `P_MovePsprites` could also refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/p_user.rs:15:5
[INFO] [stdout]     |
[INFO] [stdout]  15 | use crate::p_pspr::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `P_MovePsprites` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `viewwidth` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:320:41
[INFO] [stdout]     |
[INFO] [stdout] 320 |         solidsegs[(1) as usize].first = viewwidth;
[INFO] [stdout]     |                                         ^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `viewwidth` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewwidth` to disambiguate
[INFO] [stdout] note: `viewwidth` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:21:5
[INFO] [stdout]     |
[INFO] [stdout]  21 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewwidth` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `viewangle` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:361:19
[INFO] [stdout]     |
[INFO] [stdout] 361 |         angle1 -= viewangle;
[INFO] [stdout]     |                   ^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `viewangle` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:19:5
[INFO] [stdout]     |
[INFO] [stdout]  19 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewangle` to disambiguate
[INFO] [stdout] note: `viewangle` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:21:5
[INFO] [stdout]     |
[INFO] [stdout]  21 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewangle` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `viewangle` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:362:19
[INFO] [stdout]     |
[INFO] [stdout] 362 |         angle2 -= viewangle;
[INFO] [stdout]     |                   ^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `viewangle` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:19:5
[INFO] [stdout]     |
[INFO] [stdout]  19 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewangle` to disambiguate
[INFO] [stdout] note: `viewangle` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:21:5
[INFO] [stdout]     |
[INFO] [stdout]  21 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewangle` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `clipangle` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:363:27
[INFO] [stdout]     |
[INFO] [stdout] 363 |         tspan = (angle1 + clipangle);
[INFO] [stdout]     |                           ^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `clipangle` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:19:5
[INFO] [stdout]     |
[INFO] [stdout]  19 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `clipangle` to disambiguate
[INFO] [stdout] note: `clipangle` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:21:5
[INFO] [stdout]     |
[INFO] [stdout]  21 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `clipangle` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `clipangle` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:377:18
[INFO] [stdout]     |
[INFO] [stdout] 377 |         tspan = (clipangle - angle2);
[INFO] [stdout]     |                  ^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `clipangle` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:19:5
[INFO] [stdout]     |
[INFO] [stdout]  19 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `clipangle` to disambiguate
[INFO] [stdout] note: `clipangle` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:21:5
[INFO] [stdout]     |
[INFO] [stdout]  21 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `clipangle` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `viewangletox` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:392:14
[INFO] [stdout]     |
[INFO] [stdout] 392 |         x1 = viewangletox[(angle1) as usize];
[INFO] [stdout]     |              ^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `viewangletox` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:19:5
[INFO] [stdout]     |
[INFO] [stdout]  19 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewangletox` to disambiguate
[INFO] [stdout] note: `viewangletox` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:21:5
[INFO] [stdout]     |
[INFO] [stdout]  21 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewangletox` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `viewangletox` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:393:14
[INFO] [stdout]     |
[INFO] [stdout] 393 |         x2 = viewangletox[(angle2) as usize];
[INFO] [stdout]     |              ^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `viewangletox` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:19:5
[INFO] [stdout]     |
[INFO] [stdout]  19 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewangletox` to disambiguate
[INFO] [stdout] note: `viewangletox` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:21:5
[INFO] [stdout]     |
[INFO] [stdout]  21 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewangletox` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `viewangle` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:555:44
[INFO] [stdout]     |
[INFO] [stdout] 555 |         angle1 = (R_PointToAngle(x1, y1) - viewangle);
[INFO] [stdout]     |                                            ^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `viewangle` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:19:5
[INFO] [stdout]     |
[INFO] [stdout]  19 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewangle` to disambiguate
[INFO] [stdout] note: `viewangle` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:21:5
[INFO] [stdout]     |
[INFO] [stdout]  21 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewangle` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `viewangle` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:556:44
[INFO] [stdout]     |
[INFO] [stdout] 556 |         angle2 = (R_PointToAngle(x2, y2) - viewangle);
[INFO] [stdout]     |                                            ^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `viewangle` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:19:5
[INFO] [stdout]     |
[INFO] [stdout]  19 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewangle` to disambiguate
[INFO] [stdout] note: `viewangle` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:21:5
[INFO] [stdout]     |
[INFO] [stdout]  21 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewangle` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `clipangle` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:565:27
[INFO] [stdout]     |
[INFO] [stdout] 565 |         tspan = (angle1 + clipangle);
[INFO] [stdout]     |                           ^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `clipangle` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:19:5
[INFO] [stdout]     |
[INFO] [stdout]  19 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `clipangle` to disambiguate
[INFO] [stdout] note: `clipangle` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:21:5
[INFO] [stdout]     |
[INFO] [stdout]  21 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `clipangle` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sprintf` in this scope
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1609:9
[INFO] [stdout]      |
[INFO] [stdout] 1609 |         sprintf(name2, (c"version %i").as_ptr(), VERSION);
[INFO] [stdout]      |         ^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::sprintf;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `clipangle` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:580:18
[INFO] [stdout]     |
[INFO] [stdout] 580 |         tspan = (clipangle - angle2);
[INFO] [stdout]     |                  ^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `clipangle` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:19:5
[INFO] [stdout]     |
[INFO] [stdout]  19 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `clipangle` to disambiguate
[INFO] [stdout] note: `clipangle` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:21:5
[INFO] [stdout]     |
[INFO] [stdout]  21 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `clipangle` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `viewangletox` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:596:15
[INFO] [stdout]     |
[INFO] [stdout] 596 |         sx1 = viewangletox[(angle1) as usize];
[INFO] [stdout]     |               ^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `viewangletox` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:19:5
[INFO] [stdout]     |
[INFO] [stdout]  19 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewangletox` to disambiguate
[INFO] [stdout] note: `viewangletox` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:21:5
[INFO] [stdout]     |
[INFO] [stdout]  21 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewangletox` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `viewangletox` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:597:15
[INFO] [stdout]     |
[INFO] [stdout] 597 |         sx2 = viewangletox[(angle2) as usize];
[INFO] [stdout]     |               ^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `viewangletox` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:19:5
[INFO] [stdout]     |
[INFO] [stdout]  19 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewangletox` to disambiguate
[INFO] [stdout] note: `viewangletox` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:21:5
[INFO] [stdout]     |
[INFO] [stdout]  21 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewangletox` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `sscount` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:652:31
[INFO] [stdout]     |
[INFO] [stdout] 652 |             let __macro_tmp = sscount;
[INFO] [stdout]     |                               ^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `sscount` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:19:5
[INFO] [stdout]     |
[INFO] [stdout]  19 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `sscount` to disambiguate
[INFO] [stdout] note: `sscount` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:21:5
[INFO] [stdout]     |
[INFO] [stdout]  21 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `sscount` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `sscount` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:653:13
[INFO] [stdout]     |
[INFO] [stdout] 653 |             sscount += 1;
[INFO] [stdout]     |             ^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `sscount` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:19:5
[INFO] [stdout]     |
[INFO] [stdout]  19 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `sscount` to disambiguate
[INFO] [stdout] note: `sscount` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:21:5
[INFO] [stdout]     |
[INFO] [stdout]  21 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `sscount` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `viewx` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:723:30
[INFO] [stdout]     |
[INFO] [stdout] 723 |         side = R_PointOnSide(viewx, viewy, bsp);
[INFO] [stdout]     |                              ^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `viewx` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:19:5
[INFO] [stdout]     |
[INFO] [stdout]  19 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewx` to disambiguate
[INFO] [stdout] note: `viewx` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:21:5
[INFO] [stdout]     |
[INFO] [stdout]  21 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewx` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `viewy` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:723:37
[INFO] [stdout]     |
[INFO] [stdout] 723 |         side = R_PointOnSide(viewx, viewy, bsp);
[INFO] [stdout]     |                                     ^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `viewy` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:19:5
[INFO] [stdout]     |
[INFO] [stdout]  19 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewy` to disambiguate
[INFO] [stdout] note: `viewy` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_bsp.rs:21:5
[INFO] [stdout]     |
[INFO] [stdout]  21 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewy` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `numsprites` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_data.rs:933:32
[INFO] [stdout]     |
[INFO] [stdout] 933 |         spritepresent = alloca(numsprites);
[INFO] [stdout]     |                                ^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `numsprites` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_data.rs:27:5
[INFO] [stdout]     |
[INFO] [stdout]  27 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `numsprites` to disambiguate
[INFO] [stdout] note: `numsprites` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_data.rs:28:5
[INFO] [stdout]     |
[INFO] [stdout]  28 | use crate::r_things::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `numsprites` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memcpy` in this scope
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1610:9
[INFO] [stdout]      |
[INFO] [stdout] 1610 |         memcpy(save_p, name2, VERSIONSIZE);
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::memcpy;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `numsprites` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_data.rs:934:34
[INFO] [stdout]     |
[INFO] [stdout] 934 |         memset(spritepresent, 0, numsprites);
[INFO] [stdout]     |                                  ^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `numsprites` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_data.rs:27:5
[INFO] [stdout]     |
[INFO] [stdout]  27 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `numsprites` to disambiguate
[INFO] [stdout] note: `numsprites` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_data.rs:28:5
[INFO] [stdout]     |
[INFO] [stdout]  28 | use crate::r_things::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `numsprites` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `rw_normalangle` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_main.rs:560:39
[INFO] [stdout]     |
[INFO] [stdout] 560 |         angleb = (ANG90 + (visangle - rw_normalangle));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `rw_normalangle` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_main.rs:20:5
[INFO] [stdout]     |
[INFO] [stdout]  20 | use crate::r_segs::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `rw_normalangle` to disambiguate
[INFO] [stdout] note: `rw_normalangle` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_main.rs:22:5
[INFO] [stdout]     |
[INFO] [stdout]  22 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `rw_normalangle` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `rw_distance` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_main.rs:564:24
[INFO] [stdout]     |
[INFO] [stdout] 564 |         den = FixedMul(rw_distance, sinea);
[INFO] [stdout]     |                        ^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `rw_distance` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_main.rs:20:5
[INFO] [stdout]     |
[INFO] [stdout]  20 | use crate::r_segs::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `rw_distance` to disambiguate
[INFO] [stdout] note: `rw_distance` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_main.rs:22:5
[INFO] [stdout]     |
[INFO] [stdout]  22 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `rw_distance` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `scaledviewwidth` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_main.rs:774:22
[INFO] [stdout]     |
[INFO] [stdout] 774 |         viewwidth = (scaledviewwidth >> detailshift);
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `scaledviewwidth` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_main.rs:17:5
[INFO] [stdout]     |
[INFO] [stdout]  17 | use crate::r_draw::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `scaledviewwidth` to disambiguate
[INFO] [stdout] note: `scaledviewwidth` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_main.rs:22:5
[INFO] [stdout]     |
[INFO] [stdout]  22 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `scaledviewwidth` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `scaledviewwidth` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_main.rs:798:22
[INFO] [stdout]     |
[INFO] [stdout] 798 |         R_InitBuffer(scaledviewwidth, viewheight);
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `scaledviewwidth` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_main.rs:17:5
[INFO] [stdout]     |
[INFO] [stdout]  17 | use crate::r_draw::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `scaledviewwidth` to disambiguate
[INFO] [stdout] note: `scaledviewwidth` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_main.rs:22:5
[INFO] [stdout]     |
[INFO] [stdout]  22 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `scaledviewwidth` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `viewangle` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_plane.rs:196:19
[INFO] [stdout]     |
[INFO] [stdout] 196 |         angle = ((viewangle + xtoviewangle[(x1) as usize]) >> ANGLETOFINESHIFT);
[INFO] [stdout]     |                   ^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `viewangle` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_plane.rs:21:5
[INFO] [stdout]     |
[INFO] [stdout]  21 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewangle` to disambiguate
[INFO] [stdout] note: `viewangle` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_plane.rs:24:5
[INFO] [stdout]     |
[INFO] [stdout]  24 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewangle` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `xtoviewangle` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_plane.rs:196:31
[INFO] [stdout]     |
[INFO] [stdout] 196 |         angle = ((viewangle + xtoviewangle[(x1) as usize]) >> ANGLETOFINESHIFT);
[INFO] [stdout]     |                               ^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `xtoviewangle` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_plane.rs:21:5
[INFO] [stdout]     |
[INFO] [stdout]  21 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `xtoviewangle` to disambiguate
[INFO] [stdout] note: `xtoviewangle` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_plane.rs:24:5
[INFO] [stdout]     |
[INFO] [stdout]  24 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `xtoviewangle` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `viewx` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_plane.rs:197:21
[INFO] [stdout]     |
[INFO] [stdout] 197 |         ds_xfrac = (viewx + FixedMul(finecosine[(angle) as usize], length));
[INFO] [stdout]     |                     ^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `viewx` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_plane.rs:21:5
[INFO] [stdout]     |
[INFO] [stdout]  21 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewx` to disambiguate
[INFO] [stdout] note: `viewx` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_plane.rs:24:5
[INFO] [stdout]     |
[INFO] [stdout]  24 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewx` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `finecosine` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_plane.rs:197:38
[INFO] [stdout]     |
[INFO] [stdout] 197 |         ds_xfrac = (viewx + FixedMul(finecosine[(angle) as usize], length));
[INFO] [stdout]     |                                      ^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `finecosine` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_plane.rs:21:5
[INFO] [stdout]     |
[INFO] [stdout]  21 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] note: `finecosine` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_plane.rs:26:5
[INFO] [stdout]     |
[INFO] [stdout]  26 | use crate::tables::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `viewy` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_plane.rs:198:24
[INFO] [stdout]     |
[INFO] [stdout] 198 |         ds_yfrac = ((-(viewy)) - FixedMul(finesine[(angle) as usize], length));
[INFO] [stdout]     |                        ^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `viewy` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_plane.rs:21:5
[INFO] [stdout]     |
[INFO] [stdout]  21 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewy` to disambiguate
[INFO] [stdout] note: `viewy` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_plane.rs:24:5
[INFO] [stdout]     |
[INFO] [stdout]  24 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewy` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `viewangle` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_plane.rs:245:19
[INFO] [stdout]     |
[INFO] [stdout] 245 |         angle = ((viewangle - ANG90) >> ANGLETOFINESHIFT);
[INFO] [stdout]     |                   ^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `viewangle` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_plane.rs:21:5
[INFO] [stdout]     |
[INFO] [stdout]  21 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewangle` to disambiguate
[INFO] [stdout] note: `viewangle` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_plane.rs:24:5
[INFO] [stdout]     |
[INFO] [stdout]  24 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewangle` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `finecosine` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_plane.rs:246:31
[INFO] [stdout]     |
[INFO] [stdout] 246 |         basexscale = FixedDiv(finecosine[(angle) as usize], centerxfrac);
[INFO] [stdout]     |                               ^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `finecosine` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_plane.rs:21:5
[INFO] [stdout]     |
[INFO] [stdout]  21 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] note: `finecosine` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_plane.rs:26:5
[INFO] [stdout]     |
[INFO] [stdout]  26 | use crate::tables::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `finecosine` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `texturetranslation` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_segs.rs:169:18
[INFO] [stdout]     |
[INFO] [stdout] 169 |         texnum = texturetranslation[((*(*curline).sidedef).midtexture) as usize];
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `texturetranslation` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_segs.rs:17:5
[INFO] [stdout]     |
[INFO] [stdout]  17 | use crate::r_data::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `texturetranslation` to disambiguate
[INFO] [stdout] note: `texturetranslation` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_segs.rs:24:5
[INFO] [stdout]     |
[INFO] [stdout]  24 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `texturetranslation` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `viewangle` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_segs.rs:495:48
[INFO] [stdout]     |
[INFO] [stdout] 495 |             rw_scale = R_ScaleFromGlobalAngle((viewangle + xtoviewangle[(start) as usize]));
[INFO] [stdout]     |                                                ^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `viewangle` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_segs.rs:21:5
[INFO] [stdout]     |
[INFO] [stdout]  21 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewangle` to disambiguate
[INFO] [stdout] note: `viewangle` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_segs.rs:24:5
[INFO] [stdout]     |
[INFO] [stdout]  24 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewangle` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `strcpy` in this scope
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1960:9
[INFO] [stdout]      |
[INFO] [stdout] 1960 |         strcpy(demoname, name);
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] note: similarly named function `strupr` defined here
[INFO] [stdout]     --> doom_rs/src/w_wad.rs:98:1
[INFO] [stdout]      |
[INFO] [stdout]   98 | pub unsafe extern "C" fn strupr(mut s: *mut std::ffi::c_char) {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1960 -         strcpy(demoname, name);
[INFO] [stdout] 1960 +         strupr(demoname, name);
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::strcpy;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `xtoviewangle` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_segs.rs:495:60
[INFO] [stdout]     |
[INFO] [stdout] 495 |             rw_scale = R_ScaleFromGlobalAngle((viewangle + xtoviewangle[(start) as usize]));
[INFO] [stdout]     |                                                            ^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `xtoviewangle` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_segs.rs:21:5
[INFO] [stdout]     |
[INFO] [stdout]  21 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `xtoviewangle` to disambiguate
[INFO] [stdout] note: `xtoviewangle` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_segs.rs:24:5
[INFO] [stdout]     |
[INFO] [stdout]  24 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `xtoviewangle` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `viewz` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_segs.rs:525:52
[INFO] [stdout]     |
[INFO] [stdout] 525 |         worldtop = ((*frontsector).ceilingheight - viewz);
[INFO] [stdout]     |                                                    ^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `viewz` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_segs.rs:21:5
[INFO] [stdout]     |
[INFO] [stdout]  21 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewz` to disambiguate
[INFO] [stdout] note: `viewz` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_segs.rs:24:5
[INFO] [stdout]     |
[INFO] [stdout]  24 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewz` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `viewz` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_segs.rs:526:53
[INFO] [stdout]     |
[INFO] [stdout] 526 |         worldbottom = ((*frontsector).floorheight - viewz);
[INFO] [stdout]     |                                                     ^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `viewz` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_segs.rs:21:5
[INFO] [stdout]     |
[INFO] [stdout]  21 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewz` to disambiguate
[INFO] [stdout] note: `viewz` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_segs.rs:24:5
[INFO] [stdout]     |
[INFO] [stdout]  24 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewz` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `firstspritelump` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_things.rs:203:71
[INFO] [stdout]     |
[INFO] [stdout] 203 |         sprtemp[(frame) as usize].lump[(rotation) as usize] = (lump - firstspritelump);
[INFO] [stdout]     |                                                                       ^^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `firstspritelump` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:18:5
[INFO] [stdout]     |
[INFO] [stdout]  18 | use crate::r_data::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `firstspritelump` to disambiguate
[INFO] [stdout] note: `firstspritelump` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:25:5
[INFO] [stdout]     |
[INFO] [stdout]  25 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `firstspritelump` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `firstspritelump` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_things.rs:258:18
[INFO] [stdout]     |
[INFO] [stdout] 258 |         start = (firstspritelump - 1);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `firstspritelump` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:18:5
[INFO] [stdout]     |
[INFO] [stdout]  18 | use crate::r_data::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `firstspritelump` to disambiguate
[INFO] [stdout] note: `firstspritelump` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:25:5
[INFO] [stdout]     |
[INFO] [stdout]  25 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `firstspritelump` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `lastspritelump` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_things.rs:259:16
[INFO] [stdout]     |
[INFO] [stdout] 259 |         end = (lastspritelump + 1);
[INFO] [stdout]     |                ^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `lastspritelump` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:18:5
[INFO] [stdout]     |
[INFO] [stdout]  18 | use crate::r_data::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `lastspritelump` to disambiguate
[INFO] [stdout] note: `lastspritelump` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:25:5
[INFO] [stdout]     |
[INFO] [stdout]  25 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `lastspritelump` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `firstspritelump` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_things.rs:480:48
[INFO] [stdout]     |
[INFO] [stdout] 480 |         patch = W_CacheLumpNum(((*vis).patch + firstspritelump), PU_CACHE);
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `firstspritelump` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:18:5
[INFO] [stdout]     |
[INFO] [stdout]  18 | use crate::r_data::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `firstspritelump` to disambiguate
[INFO] [stdout] note: `firstspritelump` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:25:5
[INFO] [stdout]     |
[INFO] [stdout]  25 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `firstspritelump` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `viewx` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_things.rs:580:30
[INFO] [stdout]     |
[INFO] [stdout] 580 |         tr_x = ((*thing).x - viewx);
[INFO] [stdout]     |                              ^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `viewx` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:22:5
[INFO] [stdout]     |
[INFO] [stdout]  22 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewx` to disambiguate
[INFO] [stdout] note: `viewx` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:25:5
[INFO] [stdout]     |
[INFO] [stdout]  25 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewx` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `viewy` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_things.rs:581:30
[INFO] [stdout]     |
[INFO] [stdout] 581 |         tr_y = ((*thing).y - viewy);
[INFO] [stdout]     |                              ^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `viewy` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:22:5
[INFO] [stdout]     |
[INFO] [stdout]  22 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewy` to disambiguate
[INFO] [stdout] note: `viewy` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:25:5
[INFO] [stdout]     |
[INFO] [stdout]  25 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewy` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `spriteoffset` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_things.rs:634:15
[INFO] [stdout]     |
[INFO] [stdout] 634 |         tx -= spriteoffset[(lump) as usize];
[INFO] [stdout]     |               ^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `spriteoffset` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:18:5
[INFO] [stdout]     |
[INFO] [stdout]  18 | use crate::r_data::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `spriteoffset` to disambiguate
[INFO] [stdout] note: `spriteoffset` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:25:5
[INFO] [stdout]     |
[INFO] [stdout]  25 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `spriteoffset` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `spritewidth` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_things.rs:643:15
[INFO] [stdout]     |
[INFO] [stdout] 643 |         tx += spritewidth[(lump) as usize];
[INFO] [stdout]     |               ^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `spritewidth` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:18:5
[INFO] [stdout]     |
[INFO] [stdout]  18 | use crate::r_data::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `spritewidth` to disambiguate
[INFO] [stdout] note: `spritewidth` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:25:5
[INFO] [stdout]     |
[INFO] [stdout]  25 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `spritewidth` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `spritetopoffset` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_things.rs:658:36
[INFO] [stdout]     |
[INFO] [stdout] 658 |         (*vis).gzt = ((*thing).z + spritetopoffset[(lump) as usize]);
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `spritetopoffset` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:18:5
[INFO] [stdout]     |
[INFO] [stdout]  18 | use crate::r_data::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `spritetopoffset` to disambiguate
[INFO] [stdout] note: `spritetopoffset` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:25:5
[INFO] [stdout]     |
[INFO] [stdout]  25 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `spritetopoffset` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `viewz` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_things.rs:659:43
[INFO] [stdout]     |
[INFO] [stdout] 659 |         (*vis).texturemid = ((*vis).gzt - viewz);
[INFO] [stdout]     |                                           ^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `viewz` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:22:5
[INFO] [stdout]     |
[INFO] [stdout]  22 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewz` to disambiguate
[INFO] [stdout] note: `viewz` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:25:5
[INFO] [stdout]     |
[INFO] [stdout]  25 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewz` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `viewwidth` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_things.rs:661:32
[INFO] [stdout]     |
[INFO] [stdout] 661 |         (*vis).x2 = (if (x2 >= viewwidth) {
[INFO] [stdout]     |                                ^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `viewwidth` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewwidth` to disambiguate
[INFO] [stdout] note: `viewwidth` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:25:5
[INFO] [stdout]     |
[INFO] [stdout]  25 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewwidth` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `viewwidth` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_things.rs:662:14
[INFO] [stdout]     |
[INFO] [stdout] 662 |             (viewwidth - 1)
[INFO] [stdout]     |              ^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `viewwidth` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewwidth` to disambiguate
[INFO] [stdout] note: `viewwidth` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:25:5
[INFO] [stdout]     |
[INFO] [stdout]  25 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewwidth` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `spriteoffset` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_things.rs:813:15
[INFO] [stdout]     |
[INFO] [stdout] 813 |         tx -= spriteoffset[(lump) as usize];
[INFO] [stdout]     |               ^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `spriteoffset` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:18:5
[INFO] [stdout]     |
[INFO] [stdout]  18 | use crate::r_data::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `spriteoffset` to disambiguate
[INFO] [stdout] note: `spriteoffset` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:25:5
[INFO] [stdout]     |
[INFO] [stdout]  25 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `spriteoffset` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `strcat` in this scope
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1961:9
[INFO] [stdout]      |
[INFO] [stdout] 1961 |         strcat(demoname, (c".lmp").as_ptr());
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    1 + use libc::strcat;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `spritewidth` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_things.rs:822:15
[INFO] [stdout]     |
[INFO] [stdout] 822 |         tx += spritewidth[(lump) as usize];
[INFO] [stdout]     |               ^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `spritewidth` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:18:5
[INFO] [stdout]     |
[INFO] [stdout]  18 | use crate::r_data::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `spritewidth` to disambiguate
[INFO] [stdout] note: `spritewidth` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:25:5
[INFO] [stdout]     |
[INFO] [stdout]  25 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `spritewidth` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `spritetopoffset` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_things.rs:834:28
[INFO] [stdout]     |
[INFO] [stdout] 834 |             - ((*psp).sy - spritetopoffset[(lump) as usize]));
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `spritetopoffset` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:18:5
[INFO] [stdout]     |
[INFO] [stdout]  18 | use crate::r_data::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `spritetopoffset` to disambiguate
[INFO] [stdout] note: `spritetopoffset` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:25:5
[INFO] [stdout]     |
[INFO] [stdout]  25 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `spritetopoffset` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `viewwidth` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_things.rs:836:32
[INFO] [stdout]     |
[INFO] [stdout] 836 |         (*vis).x2 = (if (x2 >= viewwidth) {
[INFO] [stdout]     |                                ^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `viewwidth` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewwidth` to disambiguate
[INFO] [stdout] note: `viewwidth` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:25:5
[INFO] [stdout]     |
[INFO] [stdout]  25 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewwidth` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `viewwidth` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_things.rs:837:14
[INFO] [stdout]     |
[INFO] [stdout] 837 |             (viewwidth - 1)
[INFO] [stdout]     |              ^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `viewwidth` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | use crate::doomstat::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewwidth` to disambiguate
[INFO] [stdout] note: `viewwidth` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:25:5
[INFO] [stdout]     |
[INFO] [stdout]  25 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewwidth` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `viewplayer` is ambiguous
[INFO] [stdout]    --> doom_rs/src/r_things.rs:907:23
[INFO] [stdout]     |
[INFO] [stdout] 907 |             (((*(*(*(*viewplayer).mo).subsector).sector).lightlevel >> LIGHTSEGSHIFT) + extralight);
[INFO] [stdout]     |                       ^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `viewplayer` could refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:22:5
[INFO] [stdout]     |
[INFO] [stdout]  22 | use crate::r_main::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewplayer` to disambiguate
[INFO] [stdout] note: `viewplayer` could also refer to the static imported here
[INFO] [stdout]    --> doom_rs/src/r_things.rs:25:5
[INFO] [stdout]     |
[INFO] [stdout]  25 | use crate::r_state::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `viewplayer` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `deathmatch` is ambiguous
[INFO] [stdout]     --> doom_rs/src/st_stuff.rs:1108:31
[INFO] [stdout]      |
[INFO] [stdout] 1108 |         st_notdeathmatch = (((deathmatch) == 0) as std::ffi::c_int);
[INFO] [stdout]      |                               ^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `deathmatch` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/st_stuff.rs:11:5
[INFO] [stdout]      |
[INFO] [stdout]   11 | use crate::doomstat::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `deathmatch` to disambiguate
[INFO] [stdout] note: `deathmatch` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/st_stuff.rs:14:5
[INFO] [stdout]      |
[INFO] [stdout]   14 | use crate::g_game::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `deathmatch` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `deathmatch` is ambiguous
[INFO] [stdout]     --> doom_rs/src/st_stuff.rs:1109:43
[INFO] [stdout]      |
[INFO] [stdout] 1109 |         st_armson = (st_statusbaron && (((deathmatch) == 0) as std::ffi::c_int));
[INFO] [stdout]      |                                           ^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `deathmatch` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/st_stuff.rs:11:5
[INFO] [stdout]      |
[INFO] [stdout]   11 | use crate::doomstat::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `deathmatch` to disambiguate
[INFO] [stdout] note: `deathmatch` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/st_stuff.rs:14:5
[INFO] [stdout]      |
[INFO] [stdout]   14 | use crate::g_game::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `deathmatch` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `deathmatch` is ambiguous
[INFO] [stdout]     --> doom_rs/src/st_stuff.rs:1110:23
[INFO] [stdout]      |
[INFO] [stdout] 1110 |         st_fragson = (deathmatch && st_statusbaron);
[INFO] [stdout]      |                       ^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `deathmatch` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/st_stuff.rs:11:5
[INFO] [stdout]      |
[INFO] [stdout]   11 | use crate::doomstat::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `deathmatch` to disambiguate
[INFO] [stdout] note: `deathmatch` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/st_stuff.rs:14:5
[INFO] [stdout]      |
[INFO] [stdout]   14 | use crate::g_game::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `deathmatch` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `deathmatch` is ambiguous
[INFO] [stdout]     --> doom_rs/src/st_stuff.rs:1234:43
[INFO] [stdout]      |
[INFO] [stdout] 1234 |         st_armson = (st_statusbaron && (((deathmatch) == 0) as std::ffi::c_int));
[INFO] [stdout]      |                                           ^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `deathmatch` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/st_stuff.rs:11:5
[INFO] [stdout]      |
[INFO] [stdout]   11 | use crate::doomstat::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `deathmatch` to disambiguate
[INFO] [stdout] note: `deathmatch` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/st_stuff.rs:14:5
[INFO] [stdout]      |
[INFO] [stdout]   14 | use crate::g_game::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `deathmatch` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `deathmatch` is ambiguous
[INFO] [stdout]     --> doom_rs/src/st_stuff.rs:1235:23
[INFO] [stdout]      |
[INFO] [stdout] 1235 |         st_fragson = (deathmatch && st_statusbaron);
[INFO] [stdout]      |                       ^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `deathmatch` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/st_stuff.rs:11:5
[INFO] [stdout]      |
[INFO] [stdout]   11 | use crate::doomstat::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `deathmatch` to disambiguate
[INFO] [stdout] note: `deathmatch` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/st_stuff.rs:14:5
[INFO] [stdout]      |
[INFO] [stdout]   14 | use crate::g_game::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `deathmatch` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `automapactive` is ambiguous
[INFO] [stdout]     --> doom_rs/src/st_stuff.rs:1311:71
[INFO] [stdout]      |
[INFO] [stdout] 1311 |         st_statusbaron = ((((fullscreen) == 0) as std::ffi::c_int) || automapactive);
[INFO] [stdout]      |                                                                       ^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `automapactive` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/st_stuff.rs:1:5
[INFO] [stdout]      |
[INFO] [stdout]    1 | use crate::am_map::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `automapactive` to disambiguate
[INFO] [stdout] note: `automapactive` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/st_stuff.rs:38:5
[INFO] [stdout]      |
[INFO] [stdout]   38 | use crate::st_lib::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `automapactive` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `consoleplayer` is ambiguous
[INFO] [stdout]     --> doom_rs/src/st_stuff.rs:1383:48
[INFO] [stdout]      |
[INFO] [stdout] 1383 |         sprintf(namebuf, (c"STFB%d").as_ptr(), consoleplayer);
[INFO] [stdout]      |                                                ^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `consoleplayer` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/st_stuff.rs:11:5
[INFO] [stdout]      |
[INFO] [stdout]   11 | use crate::doomstat::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `consoleplayer` to disambiguate
[INFO] [stdout] note: `consoleplayer` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/st_stuff.rs:14:5
[INFO] [stdout]      |
[INFO] [stdout]   14 | use crate::g_game::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `consoleplayer` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `players` is ambiguous
[INFO] [stdout]     --> doom_rs/src/st_stuff.rs:1500:19
[INFO] [stdout]      |
[INFO] [stdout] 1500 |         plyr = (&(players[(consoleplayer) as usize]) as *const _ as *mut _);
[INFO] [stdout]      |                   ^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `players` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/st_stuff.rs:11:5
[INFO] [stdout]      |
[INFO] [stdout]   11 | use crate::doomstat::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `players` to disambiguate
[INFO] [stdout] note: `players` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/st_stuff.rs:14:5
[INFO] [stdout]      |
[INFO] [stdout]   14 | use crate::g_game::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `players` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `consoleplayer` is ambiguous
[INFO] [stdout]     --> doom_rs/src/st_stuff.rs:1500:28
[INFO] [stdout]      |
[INFO] [stdout] 1500 |         plyr = (&(players[(consoleplayer) as usize]) as *const _ as *mut _);
[INFO] [stdout]      |                            ^^^^^^^^^^^^^ ambiguous name
[INFO] [stdout]      |
[INFO] [stdout]      = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `consoleplayer` could refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/st_stuff.rs:11:5
[INFO] [stdout]      |
[INFO] [stdout]   11 | use crate::doomstat::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `consoleplayer` to disambiguate
[INFO] [stdout] note: `consoleplayer` could also refer to the static imported here
[INFO] [stdout]     --> doom_rs/src/st_stuff.rs:14:5
[INFO] [stdout]      |
[INFO] [stdout]   14 | use crate::g_game::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: consider adding an explicit import of `consoleplayer` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `V_MarkRect` is ambiguous
[INFO] [stdout]    --> doom_rs/src/wi_stuff.rs:529:9
[INFO] [stdout]     |
[INFO] [stdout] 529 |         V_MarkRect(0, 0, SCREENWIDTH, SCREENHEIGHT);
[INFO] [stdout]     |         ^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `V_MarkRect` could refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/wi_stuff.rs:22:5
[INFO] [stdout]     |
[INFO] [stdout]  22 | use crate::r_draw::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `V_MarkRect` to disambiguate
[INFO] [stdout] note: `V_MarkRect` could also refer to the function imported here
[INFO] [stdout]    --> doom_rs/src/wi_stuff.rs:32:5
[INFO] [stdout]     |
[INFO] [stdout]  32 | use crate::v_video::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `V_MarkRect` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stdout]     --> doom_rs/src/g_game.rs:1969:51
[INFO] [stdout]      |
[INFO] [stdout] 1969 |         demobuffer = Z_Malloc(maxsize, PU_STATIC, NULL);
[INFO] [stdout]      |                                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `socket` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:119:13
[INFO] [stdout]     |
[INFO] [stdout] 119 |         s = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP);
[INFO] [stdout]     |             ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named static `insocket` defined here
[INFO] [stdout]    --> doom_rs/src/i_net.rs:105:1
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub static mut insocket: std::ffi::c_int = unsafe { std::mem::zeroed() }; // TODO: initializer not yet translated
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a static with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 119 |         s = insocket(PF_INET, SOCK_DGRAM, IPPROTO_UDP);
[INFO] [stdout]     |             ++
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::socket;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PF_INET` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:119:20
[INFO] [stdout]     |
[INFO] [stdout] 119 |         s = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP);
[INFO] [stdout]     |                    ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::PF_INET;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SOCK_DGRAM` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:119:29
[INFO] [stdout]     |
[INFO] [stdout] 119 |         s = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP);
[INFO] [stdout]     |                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::SOCK_DGRAM;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `IPPROTO_UDP` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:119:41
[INFO] [stdout]     |
[INFO] [stdout] 119 |         s = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP);
[INFO] [stdout]     |                                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::IPPROTO_UDP;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 141 |         memset(
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `AF_INET` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:146:30
[INFO] [stdout]     |
[INFO] [stdout] 146 |         address.sin_family = AF_INET;
[INFO] [stdout]     |                              ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::AF_INET;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INADDR_ANY` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:147:35
[INFO] [stdout]     |
[INFO] [stdout] 147 |         address.sin_addr.s_addr = INADDR_ANY;
[INFO] [stdout]     |                                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::INADDR_ANY;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `bind` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:149:13
[INFO] [stdout]     |
[INFO] [stdout] 149 |         v = bind(
[INFO] [stdout]     |             ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::bind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sendto` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:190:13
[INFO] [stdout]     |
[INFO] [stdout] 190 |         c = sendto(
[INFO] [stdout]     |             ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named static `resendto` defined here
[INFO] [stdout]    --> doom_rs/src/d_net.rs:159:1
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub static mut resendto: [std::ffi::c_int; (MAXNETNODES) as usize] = unsafe { std::mem::zeroed() }; // TODO: initializer not yet tr...
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a static with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 190 |         c = resendto(
[INFO] [stdout]     |             ++
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::sendto;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `recvfrom` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:226:13
[INFO] [stdout]     |
[INFO] [stdout] 226 |         c = recvfrom(
[INFO] [stdout]     |             ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::recvfrom;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `sockaddr` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:231:61
[INFO] [stdout]     |
[INFO] [stdout] 231 |             ((&(fromaddress) as *const _ as *mut _) as *mut sockaddr),
[INFO] [stdout]     |                                                             ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::sockaddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `hostent` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:306:33
[INFO] [stdout]     |
[INFO] [stdout] 306 |         let mut hostentry: *mut hostent = unsafe {
[INFO] [stdout]     |                                 ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::hostent;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `gethostname` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:312:13
[INFO] [stdout]     |
[INFO] [stdout] 312 |         v = gethostname(hostname, std::mem::size_of_val(&(hostname)));
[INFO] [stdout]     |             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 312 -         v = gethostname(hostname, std::mem::size_of_val(&(hostname)));
[INFO] [stdout] 312 +         v = hostname(hostname, std::mem::size_of_val(&(hostname)));
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::gethostname;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `hostent` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:341:33
[INFO] [stdout]     |
[INFO] [stdout] 341 |         let mut hostentry: *mut hostent = unsafe {
[INFO] [stdout]     |                                 ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::hostent;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `malloc` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:344:19
[INFO] [stdout]     |
[INFO] [stdout] 344 |         doomcom = malloc(std::mem::size_of_val(&(*(doomcom))));
[INFO] [stdout]     |                   ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::malloc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:345:9
[INFO] [stdout]     |
[INFO] [stdout] 345 |         memset(doomcom, 0, std::mem::size_of_val(&(*(doomcom))));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `ioctl` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:428:9
[INFO] [stdout]     |
[INFO] [stdout] 428 |         ioctl(insocket, FIONBIO, (&(trueval) as *const _ as *mut _));
[INFO] [stdout]     |         ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::ioctl;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FIONBIO` in this scope
[INFO] [stdout]    --> doom_rs/src/i_net.rs:428:25
[INFO] [stdout]     |
[INFO] [stdout] 428 |         ioctl(insocket, FIONBIO, (&(trueval) as *const _ as *mut _));
[INFO] [stdout]     |                         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::FIONBIO;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `ioctl` in this scope
[INFO] [stdout]    --> doom_rs/src/i_sound.rs:146:14
[INFO] [stdout]     |
[INFO] [stdout] 146 |         rc = ioctl(fd, command, arg);
[INFO] [stdout]     |              ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::ioctl;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sprintf` in this scope
[INFO] [stdout]    --> doom_rs/src/i_sound.rs:188:9
[INFO] [stdout]     |
[INFO] [stdout] 188 |         sprintf(name, (c"ds%s").as_ptr(), sfxname);
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::sprintf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memcpy` in this scope
[INFO] [stdout]    --> doom_rs/src/i_sound.rs:211:9
[INFO] [stdout]     |
[INFO] [stdout] 211 |         memcpy(paddedsfx, sfx, size);
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memcpy;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sprintf` in this scope
[INFO] [stdout]    --> doom_rs/src/i_sound.rs:416:9
[INFO] [stdout]     |
[INFO] [stdout] 416 |         sprintf(namebuf, (c"ds%s").as_ptr(), (*sfx).name);
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::sprintf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: cannot find function `write` in this scope
[INFO] [stdout]    --> doom_rs/src/i_sound.rs:567:9
[INFO] [stdout]     |
[INFO] [stdout] 567 |         write(audio_fd, mixbuffer, (SAMPLECOUNT * BUFMUL));
[INFO] [stdout]     |         ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout]     = note: a macro named `write` exists in another namespace
[INFO] [stdout] help: use `!` to invoke the macro
[INFO] [stdout]     |
[INFO] [stdout] 567 |         write!(audio_fd, mixbuffer, (SAMPLECOUNT * BUFMUL));
[INFO] [stdout]     |              +
[INFO] [stdout] help: consider importing one of these functions instead
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::fmt::write;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::fs::write;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::ptr::write;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use core::fmt::write;
[INFO] [stdout]     |
[INFO] [stdout]     = and 2 other candidates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stdout]    --> doom_rs/src/i_sound.rs:705:16
[INFO] [stdout]     |
[INFO] [stdout] 705 |         data = NULL;
[INFO] [stdout]     |                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `itimerval` in this scope
[INFO] [stdout]    --> doom_rs/src/i_sound.rs:761:24
[INFO] [stdout]     |
[INFO] [stdout] 761 |         let mut value: itimerval = unsafe {
[INFO] [stdout]     |                        ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::itimerval;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `itimerval` in this scope
[INFO] [stdout]    --> doom_rs/src/i_sound.rs:764:25
[INFO] [stdout]     |
[INFO] [stdout] 764 |         let mut ovalue: itimerval = unsafe {
[INFO] [stdout]     |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::itimerval;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `sigaction` in this scope
[INFO] [stdout]    --> doom_rs/src/i_sound.rs:767:22
[INFO] [stdout]     |
[INFO] [stdout] 767 |         let mut act: sigaction = unsafe {
[INFO] [stdout]     |                      ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::sigaction;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `sigaction` in this scope
[INFO] [stdout]    --> doom_rs/src/i_sound.rs:770:23
[INFO] [stdout]     |
[INFO] [stdout] 770 |         let mut oact: sigaction = unsafe {
[INFO] [stdout]     |                       ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::sigaction;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SA_RESTART` in this scope
[INFO] [stdout]    --> doom_rs/src/i_sound.rs:777:24
[INFO] [stdout]     |
[INFO] [stdout] 777 |         act.sa_flags = SA_RESTART;
[INFO] [stdout]     |                        ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::SA_RESTART;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sigaction` in this scope
[INFO] [stdout]    --> doom_rs/src/i_sound.rs:778:9
[INFO] [stdout]     |
[INFO] [stdout] 778 |         sigaction(
[INFO] [stdout]     |         ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::sigaction;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `setitimer` in this scope
[INFO] [stdout]    --> doom_rs/src/i_sound.rs:787:15
[INFO] [stdout]     |
[INFO] [stdout] 787 |         res = setitimer(
[INFO] [stdout]     |               ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named static `itimer` defined here
[INFO] [stdout]    --> doom_rs/src/i_sound.rs:727:1
[INFO] [stdout]     |
[INFO] [stdout] 727 | static mut itimer: std::ffi::c_int = unsafe { libc::ITIMER_REAL };
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a static with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 787 -         res = setitimer(
[INFO] [stdout] 787 +         res = itimer(
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::setitimer;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `malloc` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:124:18
[INFO] [stdout]     |
[INFO] [stdout] 124 |         return ((malloc((*(size)))) as *mut byte);
[INFO] [stdout]     |                  ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::malloc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `timeval` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:134:21
[INFO] [stdout]     |
[INFO] [stdout] 134 |         let mut tp: timeval = unsafe {
[INFO] [stdout]     |                     ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::timeval;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `timezone` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:137:22
[INFO] [stdout]     |
[INFO] [stdout] 137 |         let mut tzp: timezone = unsafe {
[INFO] [stdout]     |                      ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::timezone;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `gettimeofday` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:144:9
[INFO] [stdout]     |
[INFO] [stdout] 144 |         gettimeofday(
[INFO] [stdout]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::gettimeofday;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `exit` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:179:9
[INFO] [stdout]     |
[INFO] [stdout] 179 |         exit(0);
[INFO] [stdout]     |         ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::process::exit;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::exit;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `usleep` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:188:9
[INFO] [stdout]     |
[INFO] [stdout] 188 |         usleep((count * (1000000 / 70)));
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::usleep;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `malloc` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:213:17
[INFO] [stdout]     |
[INFO] [stdout] 213 |         mem = ((malloc(length)) as *mut byte);
[INFO] [stdout]     |                 ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::malloc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `memset` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:214:9
[INFO] [stdout]     |
[INFO] [stdout] 214 |         memset(mem, 0, length);
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::memset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `argptr` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:233:18
[INFO] [stdout]     |
[INFO] [stdout] 233 |         va_start(argptr, error);
[INFO] [stdout]     |                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `fprintf` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:234:9
[INFO] [stdout]     |
[INFO] [stdout] 234 |         fprintf(stderr, (c"Error: ").as_ptr());
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::fprintf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stderr` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:234:17
[INFO] [stdout]     |
[INFO] [stdout] 234 |         fprintf(stderr, (c"Error: ").as_ptr());
[INFO] [stdout]     |                 ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::stderr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stderr` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:235:18
[INFO] [stdout]     |
[INFO] [stdout] 235 |         vfprintf(stderr, error, argptr);
[INFO] [stdout]     |                  ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::stderr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `argptr` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:235:33
[INFO] [stdout]     |
[INFO] [stdout] 235 |         vfprintf(stderr, error, argptr);
[INFO] [stdout]     |                                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `fprintf` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:236:9
[INFO] [stdout]     |
[INFO] [stdout] 236 |         fprintf(stderr, (c"\n").as_ptr());
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libc::fprintf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stderr` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:236:17
[INFO] [stdout]     |
[INFO] [stdout] 236 |         fprintf(stderr, (c"\n").as_ptr());
[INFO] [stdout]     |                 ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::stderr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `va_end` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:237:9
[INFO] [stdout]     |
[INFO] [stdout] 237 |         va_end(argptr);
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::intrinsics::va_end;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `argptr` in this scope
[INFO] [stdout]    --> doom_rs/src/i_system.rs:237:16
[INFO] [stdout]     |
[INFO] [stdout] 237 |         va_end(argptr);
[INFO] [stdout]     |                ^^^^^^ not found in this scope
[WARN] too many lines in the log, truncating it
