[INFO] cloning repository https://github.com/nika-begiashvili/rustnpp [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nika-begiashvili/rustnpp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnika-begiashvili%2Frustnpp"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnika-begiashvili%2Frustnpp'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 8c2d5f31555a36283ee664f2280c1c8c38d5eecc [INFO] checking nika-begiashvili/rustnpp against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnika-begiashvili%2Frustnpp" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nika-begiashvili/rustnpp on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/nika-begiashvili/rustnpp [INFO] finished tweaking git repo https://github.com/nika-begiashvili/rustnpp [INFO] tweaked toml for git repo https://github.com/nika-begiashvili/rustnpp written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/nika-begiashvili/rustnpp already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] da7cc819c0a0de2ff0a99601ec71e829781f90c01fbcc3f1bec43895b72d3205 [INFO] running `"docker" "start" "-a" "da7cc819c0a0de2ff0a99601ec71e829781f90c01fbcc3f1bec43895b72d3205"` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling user32-sys v0.2.0 [INFO] [stderr] Checking rustnpp v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `winapi::minwindef` [INFO] [stderr] --> src/lib.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::minwindef; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `minwindef` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::windef` [INFO] [stderr] --> src/def.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::windef; [INFO] [stderr] | ^^^^^^^^^^^^^^ no `windef` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/def.rs:38:18 [INFO] [stderr] | [INFO] [stderr] 38 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/def.rs:44:18 [INFO] [stderr] | [INFO] [stderr] 44 | use std::os::windows::ffi::OsStringExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::minwindef` [INFO] [stderr] --> src/def.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::minwindef; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `minwindef` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::winuser` [INFO] [stderr] --> src/helpers.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::winuser; [INFO] [stderr] | ^^^^^^^^^^^^^^^ no `winuser` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::minwindef` [INFO] [stderr] --> src/helpers.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::minwindef; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `minwindef` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `user32::SendMessageW` [INFO] [stderr] --> src/helpers.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use user32::SendMessageW; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `SendMessageW` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::minwindef` [INFO] [stderr] --> src/lib.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::minwindef; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `minwindef` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::windef` [INFO] [stderr] --> src/def.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::windef; [INFO] [stderr] | ^^^^^^^^^^^^^^ no `windef` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/def.rs:38:18 [INFO] [stderr] | [INFO] [stderr] 38 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/def.rs:44:18 [INFO] [stderr] | [INFO] [stderr] 44 | use std::os::windows::ffi::OsStringExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::minwindef` [INFO] [stderr] --> src/def.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::minwindef; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `minwindef` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::winuser` [INFO] [stderr] --> src/helpers.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::winuser; [INFO] [stderr] | ^^^^^^^^^^^^^^^ no `winuser` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::minwindef` [INFO] [stderr] --> src/helpers.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::minwindef; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `minwindef` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `user32::SendMessageW` [INFO] [stderr] --> src/helpers.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use user32::SendMessageW; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `SendMessageW` in the root [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | static ref PROG_NAME: Vec = to_wide_chars("Rust plugin"); [INFO] [stderr] 23 | | static ref FUNC_ITEMS: Vec = vec![ [INFO] [stderr] 24 | | plugindata::FuncItem_Run(), [INFO] [stderr] 25 | | plugindata::FuncItem_Build(), [INFO] [stderr] 26 | | ]; [INFO] [stderr] 27 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | static ref PROG_NAME: Vec = to_wide_chars("Rust plugin"); [INFO] [stderr] 23 | | static ref FUNC_ITEMS: Vec = vec![ [INFO] [stderr] 24 | | plugindata::FuncItem_Run(), [INFO] [stderr] 25 | | plugindata::FuncItem_Build(), [INFO] [stderr] 26 | | ]; [INFO] [stderr] 27 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | static ref PROG_NAME: Vec = to_wide_chars("Rust plugin"); [INFO] [stderr] 23 | | static ref FUNC_ITEMS: Vec = vec![ [INFO] [stderr] 24 | | plugindata::FuncItem_Run(), [INFO] [stderr] 25 | | plugindata::FuncItem_Build(), [INFO] [stderr] 26 | | ]; [INFO] [stderr] 27 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | static ref PROG_NAME: Vec = to_wide_chars("Rust plugin"); [INFO] [stderr] 23 | | static ref FUNC_ITEMS: Vec = vec![ [INFO] [stderr] 24 | | plugindata::FuncItem_Run(), [INFO] [stderr] 25 | | plugindata::FuncItem_Build(), [INFO] [stderr] 26 | | ]; [INFO] [stderr] 27 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | static ref PROG_NAME: Vec = to_wide_chars("Rust plugin"); [INFO] [stderr] 23 | | static ref FUNC_ITEMS: Vec = vec![ [INFO] [stderr] 24 | | plugindata::FuncItem_Run(), [INFO] [stderr] 25 | | plugindata::FuncItem_Build(), [INFO] [stderr] 26 | | ]; [INFO] [stderr] 27 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | static ref PROG_NAME: Vec = to_wide_chars("Rust plugin"); [INFO] [stderr] 23 | | static ref FUNC_ITEMS: Vec = vec![ [INFO] [stderr] 24 | | plugindata::FuncItem_Run(), [INFO] [stderr] 25 | | plugindata::FuncItem_Build(), [INFO] [stderr] 26 | | ]; [INFO] [stderr] 27 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | static ref PROG_NAME: Vec = to_wide_chars("Rust plugin"); [INFO] [stderr] 23 | | static ref FUNC_ITEMS: Vec = vec![ [INFO] [stderr] 24 | | plugindata::FuncItem_Run(), [INFO] [stderr] 25 | | plugindata::FuncItem_Build(), [INFO] [stderr] 26 | | ]; [INFO] [stderr] 27 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | static ref PROG_NAME: Vec = to_wide_chars("Rust plugin"); [INFO] [stderr] 23 | | static ref FUNC_ITEMS: Vec = vec![ [INFO] [stderr] 24 | | plugindata::FuncItem_Run(), [INFO] [stderr] 25 | | plugindata::FuncItem_Build(), [INFO] [stderr] 26 | | ]; [INFO] [stderr] 27 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/def.rs:39:19 [INFO] [stderr] | [INFO] [stderr] 39 | OsStr::new(s).encode_wide().chain(Some(0).into_iter()).collect::>() [INFO] [stderr] | ^^^^^^^^^^^ method not found in `&std::ffi::OsStr` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_wide` found for struct `std::ffi::OsString` in the current scope [INFO] [stderr] --> src/def.rs:49:19 [INFO] [stderr] | [INFO] [stderr] 49 | OsString::from_wide(slice).to_string_lossy().into_owned() [INFO] [stderr] | ^^^^^^^^^ function or associated item not found in `std::ffi::OsString` [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/def.rs:39:19 [INFO] [stderr] | [INFO] [stderr] 39 | OsStr::new(s).encode_wide().chain(Some(0).into_iter()).collect::>() [INFO] [stderr] | ^^^^^^^^^^^ method not found in `&std::ffi::OsStr` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_wide` found for struct `std::ffi::OsString` in the current scope [INFO] [stderr] --> src/def.rs:49:19 [INFO] [stderr] | [INFO] [stderr] 49 | OsString::from_wide(slice).to_string_lossy().into_owned() [INFO] [stderr] | ^^^^^^^^^ function or associated item not found in `std::ffi::OsString` [INFO] [stderr] [INFO] [stderr] error: could not compile `rustnpp`. [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] [stderr] error: aborting due to 10 previous errors; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `rustnpp`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "da7cc819c0a0de2ff0a99601ec71e829781f90c01fbcc3f1bec43895b72d3205"` [INFO] running `"docker" "rm" "-f" "da7cc819c0a0de2ff0a99601ec71e829781f90c01fbcc3f1bec43895b72d3205"` [INFO] [stdout] da7cc819c0a0de2ff0a99601ec71e829781f90c01fbcc3f1bec43895b72d3205