[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnika-begiashvili%2Frustnpp" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nika-begiashvili/rustnpp on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-5/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-5/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4ee241f69dada1e5482246dc07745057b1aadc42758169519ca66fca135d658 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c4ee241f69dada1e5482246dc07745057b1aadc42758169519ca66fca135d658", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4ee241f69dada1e5482246dc07745057b1aadc42758169519ca66fca135d658", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4ee241f69dada1e5482246dc07745057b1aadc42758169519ca66fca135d658", kill_on_drop: false }` [INFO] [stdout] c4ee241f69dada1e5482246dc07745057b1aadc42758169519ca66fca135d658 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a89a81c9ac498f176f5296976af6c2559484579d0b946971dd15602bbe443f67 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a89a81c9ac498f176f5296976af6c2559484579d0b946971dd15602bbe443f67", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Compiling user32-sys v0.2.0 [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] [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] 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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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[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] [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` [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: build failed [INFO] running `Command { std: "docker" "inspect" "a89a81c9ac498f176f5296976af6c2559484579d0b946971dd15602bbe443f67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a89a81c9ac498f176f5296976af6c2559484579d0b946971dd15602bbe443f67", kill_on_drop: false }` [INFO] [stdout] a89a81c9ac498f176f5296976af6c2559484579d0b946971dd15602bbe443f67