[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] checking nika-begiashvili/rustnpp against master#4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 for pr-134276 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnika-begiashvili%2Frustnpp" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nika-begiashvili/rustnpp on toolchain 4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "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-3-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f80301296f569c974f24c7e1d3d3df02ad1c530f3284959b8b5d3d8a821b6a3 [INFO] running `Command { std: "docker" "start" "-a" "4f80301296f569c974f24c7e1d3d3df02ad1c530f3284959b8b5d3d8a821b6a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f80301296f569c974f24c7e1d3d3df02ad1c530f3284959b8b5d3d8a821b6a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f80301296f569c974f24c7e1d3d3df02ad1c530f3284959b8b5d3d8a821b6a3", kill_on_drop: false }` [INFO] [stdout] 4f80301296f569c974f24c7e1d3d3df02ad1c530f3284959b8b5d3d8a821b6a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0850df286ded8005ed5a7faf534597a27ef46bec0464351c40b4c9171c10e97a [INFO] running `Command { std: "docker" "start" "-a" "0850df286ded8005ed5a7faf534597a27ef46bec0464351c40b4c9171c10e97a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.6 [INFO] [stderr] Checking libc v0.2.10 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Compiling user32-sys v0.1.2 [INFO] [stderr] Checking 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] note: found an item that was configured out [INFO] [stdout] --> /rustc/4847d6a9d07d4be9ba3196f6ad444af2d7bdde72/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/4847d6a9d07d4be9ba3196f6ad444af2d7bdde72/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/4847d6a9d07d4be9ba3196f6ad444af2d7bdde72/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/4847d6a9d07d4be9ba3196f6ad444af2d7bdde72/library/std/src/os/mod.rs:120:1 [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] note: found an item that was configured out [INFO] [stdout] --> /rustc/4847d6a9d07d4be9ba3196f6ad444af2d7bdde72/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/4847d6a9d07d4be9ba3196f6ad444af2d7bdde72/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/4847d6a9d07d4be9ba3196f6ad444af2d7bdde72/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/4847d6a9d07d4be9ba3196f6ad444af2d7bdde72/library/std/src/os/mod.rs:120:1 [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] help: consider importing this unresolved item through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 6 | use minwindef; [INFO] [stdout] | ~~~~~~~~~ [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] help: consider importing this unresolved item through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 7 | use minwindef; [INFO] [stdout] | ~~~~~~~~~ [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: unexpected `cfg` condition value: `nightly` [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: no expected values for `feature` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` 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: unexpected `cfg` condition value: `nightly` [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: no expected values for `feature` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `nightly` [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: no expected values for `feature` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `nightly` [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: no expected values for `feature` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [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 `Once::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] 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] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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 `Once::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 `Once::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[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] note: found an item that was configured out [INFO] [stdout] --> /rustc/4847d6a9d07d4be9ba3196f6ad444af2d7bdde72/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/4847d6a9d07d4be9ba3196f6ad444af2d7bdde72/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/4847d6a9d07d4be9ba3196f6ad444af2d7bdde72/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/4847d6a9d07d4be9ba3196f6ad444af2d7bdde72/library/std/src/os/mod.rs:120:1 [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] note: found an item that was configured out [INFO] [stdout] --> /rustc/4847d6a9d07d4be9ba3196f6ad444af2d7bdde72/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/4847d6a9d07d4be9ba3196f6ad444af2d7bdde72/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/4847d6a9d07d4be9ba3196f6ad444af2d7bdde72/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/4847d6a9d07d4be9ba3196f6ad444af2d7bdde72/library/std/src/os/mod.rs:120:1 [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] help: consider importing this unresolved item through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 6 | use minwindef; [INFO] [stdout] | ~~~~~~~~~ [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] help: consider importing this unresolved item through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 7 | use minwindef; [INFO] [stdout] | ~~~~~~~~~ [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: unexpected `cfg` condition value: `nightly` [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: no expected values for `feature` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` 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: unexpected `cfg` condition value: `nightly` [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: no expected values for `feature` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `nightly` [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: no expected values for `feature` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `nightly` [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: no expected values for `feature` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [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 `Once::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 `Once::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 `Once::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 `Once::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] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/4847d6a9d07d4be9ba3196f6ad444af2d7bdde72/library/std/src/ffi/os_str.rs:140:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 49 | OsString::from_iter(slice).to_string_lossy().into_owned() [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] --> 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[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> src/lib.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe { *nbF = std::mem::transmute( FUNC_ITEMS.len() ) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `usize` (64 bits) [INFO] [stdout] = note: target type: `i32` (32 bits) [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] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/4847d6a9d07d4be9ba3196f6ad444af2d7bdde72/library/std/src/ffi/os_str.rs:140:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 49 | OsString::from_iter(slice).to_string_lossy().into_owned() [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> src/lib.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe { *nbF = std::mem::transmute( FUNC_ITEMS.len() ) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `usize` (64 bits) [INFO] [stdout] = note: target type: `i32` (32 bits) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0512, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustnpp` (lib) due to 11 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0512, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustnpp` (lib test) due to 11 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0850df286ded8005ed5a7faf534597a27ef46bec0464351c40b4c9171c10e97a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0850df286ded8005ed5a7faf534597a27ef46bec0464351c40b4c9171c10e97a", kill_on_drop: false }` [INFO] [stdout] 0850df286ded8005ed5a7faf534597a27ef46bec0464351c40b4c9171c10e97a