[INFO] cloning repository https://github.com/nika-begiashvili/rustnpp [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnika-begiashvili%2Frustnpp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8c2d5f31555a36283ee664f2280c1c8c38d5eecc [INFO] testing nika-begiashvili/rustnpp against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnika-begiashvili%2Frustnpp" "/workspace/builds/worker-17/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-17/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nika-begiashvili/rustnpp on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-17/source/Cargo.toml [INFO] crate git repo https://github.com/nika-begiashvili/rustnpp already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27484db5284c918afff55f5f26cee3d62110fc206dc40c888287dadcb4b1057a [INFO] running `Command { std: "docker" "start" "-a" "27484db5284c918afff55f5f26cee3d62110fc206dc40c888287dadcb4b1057a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27484db5284c918afff55f5f26cee3d62110fc206dc40c888287dadcb4b1057a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27484db5284c918afff55f5f26cee3d62110fc206dc40c888287dadcb4b1057a", kill_on_drop: false }` [INFO] [stdout] 27484db5284c918afff55f5f26cee3d62110fc206dc40c888287dadcb4b1057a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b27221ae0cfb6cf794e1879ad7471e6973fad86eb9b96f1e4f239f99ac970c1 [INFO] running `Command { std: "docker" "start" "-a" "4b27221ae0cfb6cf794e1879ad7471e6973fad86eb9b96f1e4f239f99ac970c1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.6 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling libc v0.2.10 [INFO] [stderr] Compiling user32-sys v0.1.2 [INFO] [stderr] Compiling rustnpp v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `winapi::minwindef` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::minwindef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `minwindef` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::windef` [INFO] [stdout] --> src/def.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::windef; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `windef` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/def.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | 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: could not find `windows` in `os` [INFO] [stdout] --> src/def.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::minwindef` [INFO] [stdout] --> src/def.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::minwindef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `minwindef` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::winuser` [INFO] [stdout] --> src/helpers.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::winuser; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `winuser` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::minwindef` [INFO] [stdout] --> src/helpers.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::minwindef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `minwindef` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `user32::SendMessageW` [INFO] [stdout] --> src/helpers.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use user32::SendMessageW; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `SendMessageW` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | static ref PROG_NAME: Vec = to_wide_chars("Rust plugin"); [INFO] [stdout] 23 | | static ref FUNC_ITEMS: Vec = vec![ [INFO] [stdout] 24 | | plugindata::FuncItem_Run(), [INFO] [stdout] 25 | | plugindata::FuncItem_Build(), [INFO] [stdout] 26 | | ]; [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | static ref PROG_NAME: Vec = to_wide_chars("Rust plugin"); [INFO] [stdout] 23 | | static ref FUNC_ITEMS: Vec = vec![ [INFO] [stdout] 24 | | plugindata::FuncItem_Run(), [INFO] [stdout] 25 | | plugindata::FuncItem_Build(), [INFO] [stdout] 26 | | ]; [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | static ref PROG_NAME: Vec = to_wide_chars("Rust plugin"); [INFO] [stdout] 23 | | static ref FUNC_ITEMS: Vec = vec![ [INFO] [stdout] 24 | | plugindata::FuncItem_Run(), [INFO] [stdout] 25 | | plugindata::FuncItem_Build(), [INFO] [stdout] 26 | | ]; [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | static ref PROG_NAME: Vec = to_wide_chars("Rust plugin"); [INFO] [stdout] 23 | | static ref FUNC_ITEMS: Vec = vec![ [INFO] [stdout] 24 | | plugindata::FuncItem_Run(), [INFO] [stdout] 25 | | plugindata::FuncItem_Build(), [INFO] [stdout] 26 | | ]; [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/def.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | OsStr::new(s).encode_wide().chain(Some(0).into_iter()).collect::>() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/def.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | OsString::from_wide(slice).to_string_lossy().into_owned() [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustnpp` due to 11 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4b27221ae0cfb6cf794e1879ad7471e6973fad86eb9b96f1e4f239f99ac970c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b27221ae0cfb6cf794e1879ad7471e6973fad86eb9b96f1e4f239f99ac970c1", kill_on_drop: false }` [INFO] [stdout] 4b27221ae0cfb6cf794e1879ad7471e6973fad86eb9b96f1e4f239f99ac970c1