[INFO] updating cached repository https://github.com/nika-begiashvili/rustnpp
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 8c2d5f31555a36283ee664f2280c1c8c38d5eecc
[INFO] checking nika-begiashvili/rustnpp against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnika-begiashvili%2Frustnpp" "/workspace/builds/worker-7/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/nika-begiashvili/rustnpp on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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-7/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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /workspace/builds/worker-7/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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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] dbe6705245543350f573dbdfd3793d693b95ba952fef1fa2f0d351ac338da0a7
[INFO] running `"docker" "start" "-a" "dbe6705245543350f573dbdfd3793d693b95ba952fef1fa2f0d351ac338da0a7"`
[INFO] [stderr]    Compiling winapi v0.3.8
[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] 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<u16> = to_wide_chars("Rust plugin");
[INFO] [stderr] 23 | |     static ref FUNC_ITEMS: Vec<FuncItem> = 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<u16> = to_wide_chars("Rust plugin");
[INFO] [stderr] 23 | |     static ref FUNC_ITEMS: Vec<FuncItem> = 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<u16> = to_wide_chars("Rust plugin");
[INFO] [stderr] 23 | |     static ref FUNC_ITEMS: Vec<FuncItem> = 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<u16> = to_wide_chars("Rust plugin");
[INFO] [stderr] 23 | |     static ref FUNC_ITEMS: Vec<FuncItem> = 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[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<u16> = to_wide_chars("Rust plugin");
[INFO] [stderr] 23 | |     static ref FUNC_ITEMS: Vec<FuncItem> = 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<u16> = to_wide_chars("Rust plugin");
[INFO] [stderr] 23 | |     static ref FUNC_ITEMS: Vec<FuncItem> = 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<u16> = to_wide_chars("Rust plugin");
[INFO] [stderr] 23 | |     static ref FUNC_ITEMS: Vec<FuncItem> = 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<u16> = to_wide_chars("Rust plugin");
[INFO] [stderr] 23 | |     static ref FUNC_ITEMS: Vec<FuncItem> = 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::<Vec<_>>()
[INFO] [stderr]    |                   ^^^^^^^^^^^ method not found in `&std::ffi::OsStr`
[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::<Vec<_>>()
[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[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
[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: aborting due to 10 previous errors
[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] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rustnpp`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "dbe6705245543350f573dbdfd3793d693b95ba952fef1fa2f0d351ac338da0a7"`
[INFO] running `"docker" "rm" "-f" "dbe6705245543350f573dbdfd3793d693b95ba952fef1fa2f0d351ac338da0a7"`
[INFO] [stdout] dbe6705245543350f573dbdfd3793d693b95ba952fef1fa2f0d351ac338da0a7
