[INFO] cloning repository https://github.com/cronosun/atrofac [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cronosun/atrofac" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcronosun%2Fatrofac", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcronosun%2Fatrofac'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1c7ff3d83f7068972b3e7f793517babc39bc204f [INFO] checking cronosun/atrofac against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcronosun%2Fatrofac" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cronosun/atrofac on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cronosun/atrofac [INFO] finished tweaking git repo https://github.com/cronosun/atrofac [INFO] tweaked toml for git repo https://github.com/cronosun/atrofac written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/cronosun/atrofac already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded adler v0.2.2 [INFO] [stderr] Downloaded winres v0.1.11 [INFO] [stderr] Downloaded serde_yaml v0.8.12 [INFO] [stderr] Downloaded exitcode v1.1.2 [INFO] [stderr] Downloaded msgbox v0.4.0 [INFO] [stderr] Downloaded flexi_logger v0.15.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8bc9542c25db8a53477a1cb9efa64a3c3a67709cf9c2bbdc1be0ced5ef9db5b2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8bc9542c25db8a53477a1cb9efa64a3c3a67709cf9c2bbdc1be0ced5ef9db5b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8bc9542c25db8a53477a1cb9efa64a3c3a67709cf9c2bbdc1be0ced5ef9db5b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bc9542c25db8a53477a1cb9efa64a3c3a67709cf9c2bbdc1be0ced5ef9db5b2", kill_on_drop: false }` [INFO] [stdout] 8bc9542c25db8a53477a1cb9efa64a3c3a67709cf9c2bbdc1be0ced5ef9db5b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4696c5ba346e14f600f0e91f38c0afecafc2a6da16f9da923346ebeaa0f72961 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4696c5ba346e14f600f0e91f38c0afecafc2a6da16f9da923346ebeaa0f72961", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling syn v1.0.23 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling gio v0.4.1 [INFO] [stderr] Compiling gdk-pixbuf v0.4.0 [INFO] [stderr] Compiling cairo-rs v0.4.1 [INFO] [stderr] Checking c_vec v1.3.3 [INFO] [stderr] Compiling gdk v0.8.0 [INFO] [stderr] Checking adler v0.2.2 [INFO] [stderr] Compiling gtk v0.4.1 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking exitcode v1.1.2 [INFO] [stderr] Compiling glib-sys v0.6.0 [INFO] [stderr] Compiling gobject-sys v0.6.0 [INFO] [stderr] Compiling gio-sys v0.6.0 [INFO] [stderr] Compiling cairo-sys-rs v0.6.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.6.0 [INFO] [stderr] Compiling pango-sys v0.6.0 [INFO] [stderr] Compiling gdk-sys v0.6.0 [INFO] [stderr] Compiling atk-sys v0.6.0 [INFO] [stderr] Compiling gtk-sys v0.6.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Checking miniz_oxide v0.4.0 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking filetime v0.2.10 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking flate2 v1.0.16 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Checking glib v0.5.0 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking pango v0.4.0 [INFO] [stderr] Checking atrofac-library v0.1.0 (/opt/rustwide/workdir/library) [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> library/src/device_control.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> library/src/device_control.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> library/src/device_control.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> library/src/device_control.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::fileapi::CreateFileW; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> library/src/device_control.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> library/src/device_control.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::ioapiset::DeviceIoControl; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> library/src/device_control.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winnt::HANDLE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> library/src/err.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::_core::fmt::Formatter; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> library/src/err.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::_core::num::TryFromIntError; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> library/src/device_control.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> library/src/device_control.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> library/src/device_control.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> library/src/device_control.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::fileapi::CreateFileW; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> library/src/device_control.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> library/src/device_control.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::ioapiset::DeviceIoControl; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> library/src/device_control.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winnt::HANDLE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> library/src/err.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::_core::fmt::Formatter; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> library/src/err.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::_core::num::TryFromIntError; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> library/src/device_control.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileW` in this scope [INFO] [stdout] --> library/src/device_control.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | CreateFileW( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> library/src/device_control.rs:53:36 [INFO] [stdout] | [INFO] [stdout] 53 | let in_buffer_c_void: *mut c_void = in_buffer as *mut _ as *mut c_void; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> library/src/device_control.rs:53:73 [INFO] [stdout] | [INFO] [stdout] 53 | let in_buffer_c_void: *mut c_void = in_buffer as *mut _ as *mut c_void; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> library/src/device_control.rs:54:37 [INFO] [stdout] | [INFO] [stdout] 54 | let out_buffer_c_void: *mut c_void = out_buffer as *mut _ as *mut c_void; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> library/src/device_control.rs:54:75 [INFO] [stdout] | [INFO] [stdout] 54 | let out_buffer_c_void: *mut c_void = out_buffer as *mut _ as *mut c_void; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope [INFO] [stdout] --> library/src/device_control.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | DeviceIoControl( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> library/src/device_control.rs:70:39 [INFO] [stdout] | [INFO] [stdout] 70 | let last_error = unsafe { GetLastError() }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> library/src/device_control.rs:82:32 [INFO] [stdout] | [INFO] [stdout] 82 | let success = unsafe { CloseHandle(self.handle) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Formatter` in this scope [INFO] [stdout] --> library/src/err.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::err::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TryFromIntError` in this scope [INFO] [stdout] --> library/src/err.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | fn from(_: TryFromIntError) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::num::TryFromIntError; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::err::fmt::str::iter::option::convert::num::TryFromIntError; [INFO] [stdout] | [INFO] [stdout] 1 | use std::num::TryFromIntError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> library/src/device_control.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileW` in this scope [INFO] [stdout] --> library/src/device_control.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | CreateFileW( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> library/src/device_control.rs:53:36 [INFO] [stdout] | [INFO] [stdout] 53 | let in_buffer_c_void: *mut c_void = in_buffer as *mut _ as *mut c_void; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> library/src/device_control.rs:53:73 [INFO] [stdout] | [INFO] [stdout] 53 | let in_buffer_c_void: *mut c_void = in_buffer as *mut _ as *mut c_void; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> library/src/device_control.rs:54:37 [INFO] [stdout] | [INFO] [stdout] 54 | let out_buffer_c_void: *mut c_void = out_buffer as *mut _ as *mut c_void; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> library/src/device_control.rs:54:75 [INFO] [stdout] | [INFO] [stdout] 54 | let out_buffer_c_void: *mut c_void = out_buffer as *mut _ as *mut c_void; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope [INFO] [stdout] --> library/src/device_control.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | DeviceIoControl( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> library/src/device_control.rs:70:39 [INFO] [stdout] | [INFO] [stdout] 70 | let last_error = unsafe { GetLastError() }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> library/src/device_control.rs:82:32 [INFO] [stdout] | [INFO] [stdout] 82 | let success = unsafe { CloseHandle(self.handle) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Formatter` in this scope [INFO] [stdout] --> library/src/err.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::err::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TryFromIntError` in this scope [INFO] [stdout] --> library/src/err.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | fn from(_: TryFromIntError) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::num::TryFromIntError; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::err::fmt::str::iter::option::convert::num::TryFromIntError; [INFO] [stdout] | [INFO] [stdout] 1 | use std::num::TryFromIntError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> library/src/device_control.rs:21:52 [INFO] [stdout] | [INFO] [stdout] 21 | let wide_file: Vec = OsStr::new(file).encode_wide().chain(once(0)).collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `atrofac-library` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> library/src/device_control.rs:21:52 [INFO] [stdout] | [INFO] [stdout] 21 | let wide_file: Vec = OsStr::new(file).encode_wide().chain(once(0)).collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4696c5ba346e14f600f0e91f38c0afecafc2a6da16f9da923346ebeaa0f72961", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4696c5ba346e14f600f0e91f38c0afecafc2a6da16f9da923346ebeaa0f72961", kill_on_drop: false }` [INFO] [stdout] 4696c5ba346e14f600f0e91f38c0afecafc2a6da16f9da923346ebeaa0f72961