[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#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnika-begiashvili%2Frustnpp" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nika-begiashvili/rustnpp on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-4-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded user32-sys v0.1.2 [INFO] [stderr] Downloaded lazy_static v0.1.16 [INFO] [stderr] Downloaded winapi v0.2.6 [INFO] [stderr] Downloaded libc v0.2.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5a05cc473ce39130e2d3d67e3c07a2ce0e9e6da3523240b0ded958147770ce4 [INFO] running `Command { std: "docker" "start" "-a" "c5a05cc473ce39130e2d3d67e3c07a2ce0e9e6da3523240b0ded958147770ce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5a05cc473ce39130e2d3d67e3c07a2ce0e9e6da3523240b0ded958147770ce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5a05cc473ce39130e2d3d67e3c07a2ce0e9e6da3523240b0ded958147770ce4", kill_on_drop: false }` [INFO] [stdout] c5a05cc473ce39130e2d3d67e3c07a2ce0e9e6da3523240b0ded958147770ce4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d6e25d82ccbf20ca34153ea373c6082418e9ff4a2110cb457f8e93322156041 [INFO] running `Command { std: "docker" "start" "-a" "4d6e25d82ccbf20ca34153ea373c6082418e9ff4a2110cb457f8e93322156041", kill_on_drop: false }` [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::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[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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/os/mod.rs:53:9 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/os/mod.rs:100:9 [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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/os/mod.rs:53:9 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/os/mod.rs:100:9 [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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/os/mod.rs:53:9 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/os/mod.rs:100:9 [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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/os/mod.rs:53:9 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/os/mod.rs:100:9 [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::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::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] 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: the item `std` is imported redundantly [INFO] [stdout] --> src/def.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/plugindata.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/helpers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/def.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/plugindata.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/helpers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [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: `#[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] 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 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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/ffi/os_str.rs:143: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] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/plugindata.rs:31:41 [INFO] [stdout] | [INFO] [stdout] 31 | _pShKey: unsafe{ std::mem::transmute( &mut SHORT_KEY_F10 as *mut ShortcutKey ) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 31 | _pShKey: unsafe{ std::mem::transmute( addr_of_mut!(SHORT_KEY_F10) as *mut ShortcutKey ) } [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/plugindata.rs:41:41 [INFO] [stdout] | [INFO] [stdout] 41 | _pShKey: unsafe{ std::mem::transmute( &mut SHORT_KEY_CTRL_F10 as *mut ShortcutKey ) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 41 | _pShKey: unsafe{ std::mem::transmute( addr_of_mut!(SHORT_KEY_CTRL_F10) as *mut ShortcutKey ) } [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/ffi/os_str.rs:143: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] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/plugindata.rs:31:41 [INFO] [stdout] | [INFO] [stdout] 31 | _pShKey: unsafe{ std::mem::transmute( &mut SHORT_KEY_F10 as *mut ShortcutKey ) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 31 | _pShKey: unsafe{ std::mem::transmute( addr_of_mut!(SHORT_KEY_F10) as *mut ShortcutKey ) } [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/plugindata.rs:41:41 [INFO] [stdout] | [INFO] [stdout] 41 | _pShKey: unsafe{ std::mem::transmute( &mut SHORT_KEY_CTRL_F10 as *mut ShortcutKey ) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 41 | _pShKey: unsafe{ std::mem::transmute( addr_of_mut!(SHORT_KEY_CTRL_F10) as *mut ShortcutKey ) } [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] 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: aborting due to 11 previous errors; 9 warnings emitted [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] [stdout] error: aborting due to 11 previous errors; 9 warnings emitted [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 12 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rustnpp` (lib test) due to 12 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4d6e25d82ccbf20ca34153ea373c6082418e9ff4a2110cb457f8e93322156041", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d6e25d82ccbf20ca34153ea373c6082418e9ff4a2110cb457f8e93322156041", kill_on_drop: false }` [INFO] [stdout] 4d6e25d82ccbf20ca34153ea373c6082418e9ff4a2110cb457f8e93322156041