[INFO] fetching crate read 0.1.1... [INFO] testing read-0.1.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate read 0.1.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate read 0.1.1 [INFO] finished tweaking crates.io crate read 0.1.1 [INFO] tweaked toml for crates.io crate read 0.1.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate read 0.1.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7d3876f3c3e74968327647802a5823d4e4d9e7e1423c0eafaf7680dc2afff0a [INFO] running `Command { std: "docker" "start" "-a" "e7d3876f3c3e74968327647802a5823d4e4d9e7e1423c0eafaf7680dc2afff0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7d3876f3c3e74968327647802a5823d4e4d9e7e1423c0eafaf7680dc2afff0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7d3876f3c3e74968327647802a5823d4e4d9e7e1423c0eafaf7680dc2afff0a", kill_on_drop: false }` [INFO] [stdout] e7d3876f3c3e74968327647802a5823d4e4d9e7e1423c0eafaf7680dc2afff0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9c4b1d333c977d28996574775eb73162691ade1986693287d30b1402f5a7dbcc [INFO] running `Command { std: "docker" "start" "-a" "9c4b1d333c977d28996574775eb73162691ade1986693287d30b1402f5a7dbcc", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling read v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | use winapi::um::{minwinbase::LMEM_MOVEABLE, winnt::{LPCWSTR, LONG, HANDLE}}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/main.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | use winapi::shared::windowsx as winx; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | use winapi::shared::windef::{HWND, HMENU, HBRUSH, HICON, HFONT, HGDIOBJ, HBITMAP, HDC, RECT, POINT}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | use winapi::shared::minwindef::{INT, UINT, DWORD, MAX_PATH, HINSTANCE, HGLOBAL, LRESULT, LPVOID, WPARAM, LPARAM, HIWORD, LOWORD}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:40:95 [INFO] [stdout] | [INFO] [stdout] 40 | use std::{ptr, mem, io::{Read, Write}, fs::File, ffi::OsStr, sync::Mutex, string::String, os::windows::ffi::OsStrExt}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:120:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/main.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | use winapi::um::{shellapi as shell, winuser as user, wingdi as gdi, winbase as win}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | use std::{ptr, mem, io::{Read, Write}, fs::File, ffi::OsStr, sync::Mutex, string::String, os::windows::ffi::OsStrExt}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/main.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | return OsStr::new(str).encode_wide().chain(Some(0).into_iter()).collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stdout] --> src/main.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 134 | *POS.lock().unwrap() = POINT{x:0, y:0}; [INFO] [stdout] | ^^^^ method not found in `POS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stdout] --> src/main.rs:169:16 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 169 | let y = {POS.lock().unwrap().y}; [INFO] [stdout] | ^^^^ method not found in `POS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stdout] --> src/main.rs:178:16 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 178 | let y = {POS.lock().unwrap().y}; [INFO] [stdout] | ^^^^ method not found in `POS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stdout] --> src/main.rs:202:16 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 202 | let x = {POS.lock().unwrap().x}; [INFO] [stdout] | ^^^^ method not found in `POS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stdout] --> src/main.rs:203:16 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 203 | let y = {POS.lock().unwrap().y}; [INFO] [stdout] | ^^^^ method not found in `POS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stdout] --> src/main.rs:212:16 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 212 | let x = {POS.lock().unwrap().x}; [INFO] [stdout] | ^^^^ method not found in `POS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stdout] --> src/main.rs:213:16 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 213 | let y = {POS.lock().unwrap().y}; [INFO] [stdout] | ^^^^ method not found in `POS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `CHX` in the current scope [INFO] [stdout] --> src/main.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 303 | let w = {*CHX.lock().unwrap()}; [INFO] [stdout] | ^^^^ method not found in `CHX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `CHY` in the current scope [INFO] [stdout] --> src/main.rs:304:17 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 304 | let h = {*CHY.lock().unwrap()}; [INFO] [stdout] | ^^^^ method not found in `CHY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stdout] --> src/main.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 312 | POS.lock().unwrap().x -= 1; [INFO] [stdout] | ^^^^ method not found in `POS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stdout] --> src/main.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 316 | POS.lock().unwrap().y -= 1; [INFO] [stdout] | ^^^^ method not found in `POS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stdout] --> src/main.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 317 | POS.lock().unwrap().x = lastx; [INFO] [stdout] | ^^^^ method not found in `POS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `CHX` in the current scope [INFO] [stdout] --> src/main.rs:323:17 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 323 | let w = {*CHX.lock().unwrap()}; [INFO] [stdout] | ^^^^ method not found in `CHX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `CHY` in the current scope [INFO] [stdout] --> src/main.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 324 | let h = {*CHY.lock().unwrap()}; [INFO] [stdout] | ^^^^ method not found in `CHY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stdout] --> src/main.rs:332:24 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 332 | fn setposx(x :i32){POS.lock().unwrap().x = x;} fn setposy(y :i32){POS.lock().unwrap().y = y;} [INFO] [stdout] | ^^^^ method not found in `POS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stdout] --> src/main.rs:332:82 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 332 | fn setposx(x :i32){POS.lock().unwrap().x = x;} fn setposy(y :i32){POS.lock().unwrap().y = y;} [INFO] [stdout] | ^^^^ method not found in `POS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stdout] --> src/main.rs:333:25 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 333 | fn setposmx(x :i32){POS.lock().unwrap().x -= x;} fn setpospx(x :i32){POS.lock().unwrap().x += x;} [INFO] [stdout] | ^^^^ method not found in `POS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stdout] --> src/main.rs:333:83 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 333 | fn setposmx(x :i32){POS.lock().unwrap().x -= x;} fn setpospx(x :i32){POS.lock().unwrap().x += x;} [INFO] [stdout] | ^^^^ method not found in `POS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stdout] --> src/main.rs:334:25 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 334 | fn setposmy(y :i32){POS.lock().unwrap().y -= y;} fn setpospy(y :i32){POS.lock().unwrap().y += y;} [INFO] [stdout] | ^^^^ method not found in `POS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stdout] --> src/main.rs:334:83 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 334 | fn setposmy(y :i32){POS.lock().unwrap().y -= y;} fn setpospy(y :i32){POS.lock().unwrap().y += y;} [INFO] [stdout] | ^^^^ method not found in `POS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stdout] --> src/main.rs:335:26 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 335 | fn getposx() -> i32 {POS.lock().unwrap().x} fn getposy() -> i32 {POS.lock().unwrap().y} [INFO] [stdout] | ^^^^ method not found in `POS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stdout] --> src/main.rs:335:84 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 335 | fn getposx() -> i32 {POS.lock().unwrap().x} fn getposy() -> i32 {POS.lock().unwrap().y} [INFO] [stdout] | ^^^^ method not found in `POS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `CHX` in the current scope [INFO] [stdout] --> src/main.rs:336:24 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 336 | fn getw() -> i32 {*CHX.lock().unwrap()} fn geth() -> i32 {*CHY.lock().unwrap()} [INFO] [stdout] | ^^^^ method not found in `CHX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `CHY` in the current scope [INFO] [stdout] --> src/main.rs:336:82 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 336 | fn getw() -> i32 {*CHX.lock().unwrap()} fn geth() -> i32 {*CHY.lock().unwrap()} [INFO] [stdout] | ^^^^ method not found in `CHY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `SCREEN` in the current scope [INFO] [stdout] --> src/main.rs:482:31 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 482 | let screen = {*SCREEN.lock().unwrap()}; [INFO] [stdout] | ^^^^ method not found in `SCREEN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `DEY` in the current scope [INFO] [stdout] --> src/main.rs:635:21 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 635 | let delta = {*DEY.lock().unwrap()} as isize; [INFO] [stdout] | ^^^^ method not found in `DEY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `DEY` in the current scope [INFO] [stdout] --> src/main.rs:639:8 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 639 | *DEY.lock().unwrap() += 2; [INFO] [stdout] | ^^^^ method not found in `DEY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `DEY` in the current scope [INFO] [stdout] --> src/main.rs:640:21 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 640 | let delta = {*DEY.lock().unwrap()} as isize; [INFO] [stdout] | ^^^^ method not found in `DEY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `DEY` in the current scope [INFO] [stdout] --> src/main.rs:657:8 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 657 | *DEY.lock().unwrap() -= 2; [INFO] [stdout] | ^^^^ method not found in `DEY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `DEY` in the current scope [INFO] [stdout] --> src/main.rs:658:21 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 658 | let delta = {*DEY.lock().unwrap()} as isize; [INFO] [stdout] | ^^^^ method not found in `DEY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `CHY` in the current scope [INFO] [stdout] --> src/main.rs:748:20 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 748 | let ch_h = {*CHY.lock().unwrap()}; [INFO] [stdout] | ^^^^ method not found in `CHY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `CHY` in the current scope [INFO] [stdout] --> src/main.rs:1192:24 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1192 | let ch_h = {*CHY.lock().unwrap()} as u16; [INFO] [stdout] | ^^^^ method not found in `CHY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `SCREEN` in the current scope [INFO] [stdout] --> src/main.rs:1193:29 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1193 | if ch_h != 0 {*SCREEN.lock().unwrap() = (w_h / ch_h) as i32 ;} [INFO] [stdout] | ^^^^ method not found in `SCREEN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `CHX` in the current scope [INFO] [stdout] --> src/main.rs:1278:10 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1278 | *CHX.lock().unwrap() = char_w; [INFO] [stdout] | ^^^^ method not found in `CHX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `CHY` in the current scope [INFO] [stdout] --> src/main.rs:1279:10 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 55 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 67 | | static ref RBUFFER: Mutex = Mutex::new(String::new()); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1279 | *CHY.lock().unwrap() = tm.tmHeight; [INFO] [stdout] | ^^^^ method not found in `CHY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:238:7 [INFO] [stdout] | [INFO] [stdout] 238 | for i in s..(e+1){rstring.push(vec.pop().unwrap().c)} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `read` (bin "read") due to 42 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9c4b1d333c977d28996574775eb73162691ade1986693287d30b1402f5a7dbcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c4b1d333c977d28996574775eb73162691ade1986693287d30b1402f5a7dbcc", kill_on_drop: false }` [INFO] [stdout] 9c4b1d333c977d28996574775eb73162691ade1986693287d30b1402f5a7dbcc