[INFO] cloning repository https://github.com/NathanMer/RFSMP [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NathanMer/RFSMP" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNathanMer%2FRFSMP", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNathanMer%2FRFSMP'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 482f3931ad13ef191514e658976d2781d55b3b41 [INFO] checking NathanMer/RFSMP against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNathanMer%2FRFSMP" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NathanMer/RFSMP on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/NathanMer/RFSMP [INFO] finished tweaking git repo https://github.com/NathanMer/RFSMP [INFO] tweaked toml for git repo https://github.com/NathanMer/RFSMP written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/NathanMer/RFSMP already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c40ef0d13395dd16279bd805c3fd120f5762294a9d0391b51f2f6cb2d6c1083 [INFO] running `Command { std: "docker" "start" "-a" "9c40ef0d13395dd16279bd805c3fd120f5762294a9d0391b51f2f6cb2d6c1083", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c40ef0d13395dd16279bd805c3fd120f5762294a9d0391b51f2f6cb2d6c1083", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c40ef0d13395dd16279bd805c3fd120f5762294a9d0391b51f2f6cb2d6c1083", kill_on_drop: false }` [INFO] [stdout] 9c40ef0d13395dd16279bd805c3fd120f5762294a9d0391b51f2f6cb2d6c1083 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d12c79ea1cfd30830088cee381b092b9b9de049f0d45157ab4496e96e6caba52 [INFO] running `Command { std: "docker" "start" "-a" "d12c79ea1cfd30830088cee381b092b9b9de049f0d45157ab4496e96e6caba52", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.15 [INFO] [stderr] Compiling gstreamer v0.6.333 [INFO] [stderr] Checking regex-syntax v0.3.4 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking argparse v0.2.1 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking ncurses v5.80.0 [INFO] [stderr] Checking thread_local v0.2.6 [INFO] [stderr] Checking aho-corasick v0.5.2 [INFO] [stderr] Checking regex v0.1.73 [INFO] [stderr] Checking rfsmp v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | if try!(fs::metadata(&song)).is_dir() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | for entry in try!(fs::read_dir(song)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:48:52 [INFO] [stdout] | [INFO] [stdout] 48 | let memes = String::from(match try!(entry).path().to_str() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | try!(recurse_songs(&mut contents, recurse, false)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/main.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | 'outer: loop { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | if try!(fs::metadata(&song)).is_dir() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | for entry in try!(fs::read_dir(song)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:48:52 [INFO] [stdout] | [INFO] [stdout] 48 | let memes = String::from(match try!(entry).path().to_str() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | try!(recurse_songs(&mut contents, recurse, false)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/main.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | 'outer: loop { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | nodelay(stdscr, true); [INFO] [stdout] | ^^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | cols: COLS, [INFO] [stdout] | ^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | lines: LINES, [INFO] [stdout] | ^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | if self.cols != COLS || self.lines != LINES { [INFO] [stdout] | ^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:79:47 [INFO] [stdout] | [INFO] [stdout] 79 | if self.cols != COLS || self.lines != LINES { [INFO] [stdout] | ^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | self.cols = COLS; [INFO] [stdout] | ^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | self.lines = LINES; [INFO] [stdout] | ^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:92:34 [INFO] [stdout] | [INFO] [stdout] 92 | if song_name.len() > COLS as usize { [INFO] [stdout] | ^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:93:60 [INFO] [stdout] | [INFO] [stdout] 93 | song_name = format!("{}...", &song_name[..(COLS-3) as usize]); [INFO] [stdout] | ^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | mvprintw(LINES-4, 0, &*format!("{:^1$}", song_name, COLS as usize)); [INFO] [stdout] | ^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:95:65 [INFO] [stdout] | [INFO] [stdout] 95 | mvprintw(LINES-4, 0, &*format!("{:^1$}", song_name, COLS as usize)); [INFO] [stdout] | ^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:101:40 [INFO] [stdout] | [INFO] [stdout] 101 | if playlist.songs.len() > (LINES-4) as usize { [INFO] [stdout] | ^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:102:58 [INFO] [stdout] | [INFO] [stdout] 102 | let mut to_take = playlist.song_index - (LINES-4)/2; [INFO] [stdout] | ^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:103:60 [INFO] [stdout] | [INFO] [stdout] 103 | if playlist.songs.len() as i32 - to_take < LINES-4 { [INFO] [stdout] | ^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:104:62 [INFO] [stdout] | [INFO] [stdout] 104 | to_take = playlist.songs.len() as i32 - (LINES-4); [INFO] [stdout] | ^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | for i in 0..LINES-4 { [INFO] [stdout] | ^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:124:30 [INFO] [stdout] | [INFO] [stdout] 124 | if x.len() > COLS as usize { [INFO] [stdout] | ^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:125:54 [INFO] [stdout] | [INFO] [stdout] 125 | visable = format!("{}...", &x[..(COLS-3) as usize]); [INFO] [stdout] | ^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:128:52 [INFO] [stdout] | [INFO] [stdout] 128 | visable = format!("{:<1$}", x, COLS as usize); [INFO] [stdout] | ^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | squares = COLS as usize; [INFO] [stdout] | ^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:157:61 [INFO] [stdout] | [INFO] [stdout] 157 | squares = (time as f64 / totaltime as f64 * COLS as f64) as usize; [INFO] [stdout] | ^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:161:22 [INFO] [stdout] | [INFO] [stdout] 161 | mvprintw(LINES-3, 0, &*format!("{:>1$}", split_time(totaltime), COLS as usize)); [INFO] [stdout] | ^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:161:77 [INFO] [stdout] | [INFO] [stdout] 161 | mvprintw(LINES-3, 0, &*format!("{:>1$}", split_time(totaltime), COLS as usize)); [INFO] [stdout] | ^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:163:22 [INFO] [stdout] | [INFO] [stdout] 163 | mvprintw(LINES-3, 0, &*split_time(time)); [INFO] [stdout] | ^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:167:22 [INFO] [stdout] | [INFO] [stdout] 167 | mvprintw(LINES-2, 0, &*format!("{:#<1$}{0:<2$}", "", squares, COLS as usize-squares)); [INFO] [stdout] | ^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:167:75 [INFO] [stdout] | [INFO] [stdout] 167 | mvprintw(LINES-2, 0, &*format!("{:#<1$}{0:<2$}", "", squares, COLS as usize-squares)); [INFO] [stdout] | ^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | nodelay(stdscr, true); [INFO] [stdout] | ^^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | cols: COLS, [INFO] [stdout] | ^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | lines: LINES, [INFO] [stdout] | ^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | if self.cols != COLS || self.lines != LINES { [INFO] [stdout] | ^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:79:47 [INFO] [stdout] | [INFO] [stdout] 79 | if self.cols != COLS || self.lines != LINES { [INFO] [stdout] | ^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | self.cols = COLS; [INFO] [stdout] | ^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | self.lines = LINES; [INFO] [stdout] | ^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:92:34 [INFO] [stdout] | [INFO] [stdout] 92 | if song_name.len() > COLS as usize { [INFO] [stdout] | ^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:93:60 [INFO] [stdout] | [INFO] [stdout] 93 | song_name = format!("{}...", &song_name[..(COLS-3) as usize]); [INFO] [stdout] | ^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | mvprintw(LINES-4, 0, &*format!("{:^1$}", song_name, COLS as usize)); [INFO] [stdout] | ^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:95:65 [INFO] [stdout] | [INFO] [stdout] 95 | mvprintw(LINES-4, 0, &*format!("{:^1$}", song_name, COLS as usize)); [INFO] [stdout] | ^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:101:40 [INFO] [stdout] | [INFO] [stdout] 101 | if playlist.songs.len() > (LINES-4) as usize { [INFO] [stdout] | ^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:102:58 [INFO] [stdout] | [INFO] [stdout] 102 | let mut to_take = playlist.song_index - (LINES-4)/2; [INFO] [stdout] | ^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:103:60 [INFO] [stdout] | [INFO] [stdout] 103 | if playlist.songs.len() as i32 - to_take < LINES-4 { [INFO] [stdout] | ^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:104:62 [INFO] [stdout] | [INFO] [stdout] 104 | to_take = playlist.songs.len() as i32 - (LINES-4); [INFO] [stdout] | ^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | for i in 0..LINES-4 { [INFO] [stdout] | ^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:124:30 [INFO] [stdout] | [INFO] [stdout] 124 | if x.len() > COLS as usize { [INFO] [stdout] | ^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:125:54 [INFO] [stdout] | [INFO] [stdout] 125 | visable = format!("{}...", &x[..(COLS-3) as usize]); [INFO] [stdout] | ^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:128:52 [INFO] [stdout] | [INFO] [stdout] 128 | visable = format!("{:<1$}", x, COLS as usize); [INFO] [stdout] | ^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | squares = COLS as usize; [INFO] [stdout] | ^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:157:61 [INFO] [stdout] | [INFO] [stdout] 157 | squares = (time as f64 / totaltime as f64 * COLS as f64) as usize; [INFO] [stdout] | ^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:161:22 [INFO] [stdout] | [INFO] [stdout] 161 | mvprintw(LINES-3, 0, &*format!("{:>1$}", split_time(totaltime), COLS as usize)); [INFO] [stdout] | ^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:161:77 [INFO] [stdout] | [INFO] [stdout] 161 | mvprintw(LINES-3, 0, &*format!("{:>1$}", split_time(totaltime), COLS as usize)); [INFO] [stdout] | ^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:163:22 [INFO] [stdout] | [INFO] [stdout] 163 | mvprintw(LINES-3, 0, &*split_time(time)); [INFO] [stdout] | ^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:167:22 [INFO] [stdout] | [INFO] [stdout] 167 | mvprintw(LINES-2, 0, &*format!("{:#<1$}{0:<2$}", "", squares, COLS as usize-squares)); [INFO] [stdout] | ^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/ncurse_ui.rs:167:75 [INFO] [stdout] | [INFO] [stdout] 167 | mvprintw(LINES-2, 0, &*format!("{:#<1$}{0:<2$}", "", squares, COLS as usize-squares)); [INFO] [stdout] | ^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rfsmp` due to 27 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d12c79ea1cfd30830088cee381b092b9b9de049f0d45157ab4496e96e6caba52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d12c79ea1cfd30830088cee381b092b9b9de049f0d45157ab4496e96e6caba52", kill_on_drop: false }` [INFO] [stdout] d12c79ea1cfd30830088cee381b092b9b9de049f0d45157ab4496e96e6caba52