[INFO] cloning repository https://github.com/paulotten/r_small_snake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/paulotten/r_small_snake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulotten%2Fr_small_snake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulotten%2Fr_small_snake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c29b55645308031b18a0340796ed6fbc41bb8e01 [INFO] checking paulotten/r_small_snake against master#336209eef13882bd1e211b24779584cb7ef911eb for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulotten%2Fr_small_snake" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/paulotten/r_small_snake on toolchain 336209eef13882bd1e211b24779584cb7ef911eb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/paulotten/r_small_snake [INFO] finished tweaking git repo https://github.com/paulotten/r_small_snake [INFO] tweaked toml for git repo https://github.com/paulotten/r_small_snake written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/paulotten/r_small_snake 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" "+336209eef13882bd1e211b24779584cb7ef911eb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 859d3bd4ce4549469fe809887721da715d4b4b65c0b9c92f30b59103adecd3e4 [INFO] running `Command { std: "docker" "start" "-a" "859d3bd4ce4549469fe809887721da715d4b4b65c0b9c92f30b59103adecd3e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "859d3bd4ce4549469fe809887721da715d4b4b65c0b9c92f30b59103adecd3e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "859d3bd4ce4549469fe809887721da715d4b4b65c0b9c92f30b59103adecd3e4", kill_on_drop: false }` [INFO] [stdout] 859d3bd4ce4549469fe809887721da715d4b4b65c0b9c92f30b59103adecd3e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1877a169c98ddd7910fadfb16171dc2fc6b81b50b8d5bbb5284db4a5c02c12ea [INFO] running `Command { std: "docker" "start" "-a" "1877a169c98ddd7910fadfb16171dc2fc6b81b50b8d5bbb5284db4a5c02c12ea", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking r_small_snake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/console.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::minwindef::DWORD; [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/console.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::ntdef::VOID; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::wincontypes::INPUT_RECORD; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::wincontypes::KEY_EVENT; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> examples/no_std_printf.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate libc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-01-10; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::wincontypes::KEY_EVENT_RECORD; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::wincontypes::INPUT_RECORD_Event; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/thread.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::minwindef::DWORD; [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/console.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::minwindef::DWORD; [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/console.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::ntdef::VOID; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::wincontypes::INPUT_RECORD; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::wincontypes::KEY_EVENT; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::wincontypes::KEY_EVENT_RECORD; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::wincontypes::INPUT_RECORD_Event; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/thread.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | unsafe { winapi::um::processenv::GetStdHandle(winapi::um::winbase::STD_INPUT_HANDLE) }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `r_small_snake` (example "no_std_printf") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:22:67 [INFO] [stdout] | [INFO] [stdout] 22 | unsafe { winapi::um::processenv::GetStdHandle(winapi::um::winbase::STD_INPUT_HANDLE) }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> examples/no_std_nop.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(lang_items, core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | winapi::um::consoleapi::GetConsoleMode(stdin, mode_ptr); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | unsafe { winapi::um::processenv::GetStdHandle(winapi::um::winbase::STD_INPUT_HANDLE) }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | winapi::um::consoleapi::SetConsoleMode( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:22:67 [INFO] [stdout] | [INFO] [stdout] 22 | unsafe { winapi::um::processenv::GetStdHandle(winapi::um::winbase::STD_INPUT_HANDLE) }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:31:33 [INFO] [stdout] | [INFO] [stdout] 31 | & !(winapi::um::wincon::ENABLE_LINE_INPUT [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | winapi::um::consoleapi::GetConsoleMode(stdin, mode_ptr); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | | winapi::um::wincon::ENABLE_ECHO_INPUT), [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> examples/no_std_nop.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(lang_items, core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | winapi::um::consoleapi::SetConsoleMode( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | winapi::um::consoleapi::PeekConsoleInputA( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:31:33 [INFO] [stdout] | [INFO] [stdout] 31 | & !(winapi::um::wincon::ENABLE_LINE_INPUT [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | winapi::um::consoleapi::ReadConsoleInputA( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | | winapi::um::wincon::ENABLE_ECHO_INPUT), [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:106:30 [INFO] [stdout] | [INFO] [stdout] 106 | unsafe { winapi::um::processenv::GetStdHandle(winapi::um::winbase::STD_OUTPUT_HANDLE) }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | winapi::um::consoleapi::PeekConsoleInputA( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:106:67 [INFO] [stdout] | [INFO] [stdout] 106 | unsafe { winapi::um::processenv::GetStdHandle(winapi::um::winbase::STD_OUTPUT_HANDLE) }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | winapi::um::consoleapi::GetConsoleMode(stdout, mode_ptr); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | winapi::um::consoleapi::ReadConsoleInputA( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | winapi::um::consoleapi::SetConsoleMode( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:114:32 [INFO] [stdout] | [INFO] [stdout] 114 | mode | winapi::um::wincon::ENABLE_VIRTUAL_TERMINAL_PROCESSING, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:106:30 [INFO] [stdout] | [INFO] [stdout] 106 | unsafe { winapi::um::processenv::GetStdHandle(winapi::um::winbase::STD_OUTPUT_HANDLE) }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | winapi::um::consoleapi::WriteConsoleA( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:106:67 [INFO] [stdout] | [INFO] [stdout] 106 | unsafe { winapi::um::processenv::GetStdHandle(winapi::um::winbase::STD_OUTPUT_HANDLE) }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/thread.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | winapi::um::synchapi::Sleep(milliseconds as DWORD); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | winapi::um::consoleapi::GetConsoleMode(stdout, mode_ptr); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | winapi::um::consoleapi::SetConsoleMode( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:114:32 [INFO] [stdout] | [INFO] [stdout] 114 | mode | winapi::um::wincon::ENABLE_VIRTUAL_TERMINAL_PROCESSING, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/main.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / fn panic(_info: &core::panic::PanicInfo) -> ! { [INFO] [stdout] 39 | | loop {} [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `winapi` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/336209eef13882bd1e211b24779584cb7ef911eb/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-d65a5ac20318153f.rlib [INFO] [stdout] = note: second definition in the local crate (`r_small_snake`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | winapi::um::consoleapi::WriteConsoleA( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/thread.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | winapi::um::synchapi::Sleep(milliseconds as DWORD); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `r_small_snake` (bin "r_small_snake") due to 23 previous errors [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/main.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / fn panic(_info: &core::panic::PanicInfo) -> ! { [INFO] [stdout] 39 | | loop {} [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `winapi` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/336209eef13882bd1e211b24779584cb7ef911eb/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-d65a5ac20318153f.rlib [INFO] [stdout] = note: second definition in the local crate (`r_small_snake`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `r_small_snake` (bin "r_small_snake" test) due to 23 previous errors [INFO] running `Command { std: "docker" "inspect" "1877a169c98ddd7910fadfb16171dc2fc6b81b50b8d5bbb5284db4a5c02c12ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1877a169c98ddd7910fadfb16171dc2fc6b81b50b8d5bbb5284db4a5c02c12ea", kill_on_drop: false }` [INFO] [stdout] 1877a169c98ddd7910fadfb16171dc2fc6b81b50b8d5bbb5284db4a5c02c12ea