[INFO] cloning repository https://github.com/Starz0r/melatonin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Starz0r/melatonin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStarz0r%2Fmelatonin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStarz0r%2Fmelatonin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fbcab5b2cb06ce236999e98545cc2073cff2c20d [INFO] checking Starz0r/melatonin/fbcab5b2cb06ce236999e98545cc2073cff2c20d against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStarz0r%2Fmelatonin" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Starz0r/melatonin on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Starz0r/melatonin [INFO] finished tweaking git repo https://github.com/Starz0r/melatonin [INFO] tweaked toml for git repo https://github.com/Starz0r/melatonin written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Starz0r/melatonin 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sysinfo v0.15.5 [INFO] [stderr] Downloaded indenter v0.3.2 [INFO] [stderr] Downloaded native-windows-derive v1.0.2 [INFO] [stderr] Downloaded native-windows-gui v1.0.7 [INFO] [stderr] Downloaded djin v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d71e73e8f5ddfb57ca9725e21c6dc6d2b0643c4d008581488c188475751f046 [INFO] running `Command { std: "docker" "start" "-a" "1d71e73e8f5ddfb57ca9725e21c6dc6d2b0643c4d008581488c188475751f046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d71e73e8f5ddfb57ca9725e21c6dc6d2b0643c4d008581488c188475751f046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d71e73e8f5ddfb57ca9725e21c6dc6d2b0643c4d008581488c188475751f046", kill_on_drop: false }` [INFO] [stdout] 1d71e73e8f5ddfb57ca9725e21c6dc6d2b0643c4d008581488c188475751f046 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ec8f3633a82d0c84b5ba3f4769ecb424d153ab21512c5137eb104e9b8318568 [INFO] running `Command { std: "docker" "start" "-a" "3ec8f3633a82d0c84b5ba3f4769ecb424d153ab21512c5137eb104e9b8318568", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling native-windows-gui v1.0.7 [INFO] [stderr] Compiling eyre v0.6.5 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling sysinfo v0.15.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking indenter v0.3.2 [INFO] [stderr] Checking djin v0.1.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stdout] error: this crate is only meant to be used for windows targets [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/djin-0.1.1/src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | compile_error!("this crate is only meant to be used for windows targets"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/djin-0.1.1/src/windows_prelude.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/djin-0.1.1/src/windows_prelude.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/djin-0.1.1/src/windows_prelude.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | pub 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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:100:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/djin-0.1.1/src/imp/util.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | winapi::um::errhandlingapi::GetLastError() [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/djin-0.1.1/src/imp/mod.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | bail_if_null!(alloc); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail_if_null` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/djin-0.1.1/src/imp/util.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | winapi::um::errhandlingapi::GetLastError() [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/djin-0.1.1/src/imp/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | / bail_if_zero!(WriteProcessMemory( [INFO] [stdout] 121 | | process, [INFO] [stdout] 122 | | alloc as _, [INFO] [stdout] 123 | | ptr!(SHELLCODE), [INFO] [stdout] 124 | | SHELLCODE.len(), [INFO] [stdout] 125 | | NULL as _ [INFO] [stdout] 126 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail_if_zero` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/djin-0.1.1/src/imp/util.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | winapi::um::errhandlingapi::GetLastError() [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/djin-0.1.1/src/imp/mod.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | / bail_if_zero!(WriteProcessMemory( [INFO] [stdout] 129 | | process, [INFO] [stdout] 130 | | alloc.add(SHELLCODE.len()) as _, [INFO] [stdout] 131 | | &pointers as *const _ as _, [INFO] [stdout] 132 | | plen, [INFO] [stdout] 133 | | NULL as _, [INFO] [stdout] 134 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail_if_zero` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/djin-0.1.1/src/imp/util.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | winapi::um::errhandlingapi::GetLastError() [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/djin-0.1.1/src/imp/mod.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | / bail_if_zero!(WriteProcessMemory( [INFO] [stdout] 137 | | process, [INFO] [stdout] 138 | | alloc.add(SHELLCODE.len() + plen) as _, [INFO] [stdout] 139 | | ptr!(dllstr), [INFO] [stdout] ... | [INFO] [stdout] 142 | | NULL as _ [INFO] [stdout] 143 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail_if_zero` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/djin-0.1.1/src/imp/util.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | winapi::um::errhandlingapi::GetLastError() [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/djin-0.1.1/src/imp/mod.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | / bail_if_zero!(WriteProcessMemory( [INFO] [stdout] 148 | | process, [INFO] [stdout] 149 | | alloc.add(SHELLCODE.len() + plen + dlllen) as _, [INFO] [stdout] 150 | | ptr!(function), [INFO] [stdout] 151 | | fnlen - 1, [INFO] [stdout] 152 | | NULL as _ [INFO] [stdout] 153 | | )); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail_if_zero` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/djin-0.1.1/src/imp/util.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | winapi::um::errhandlingapi::GetLastError() [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/djin-0.1.1/src/imp/mod.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | bail_if_null!(thread); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail_if_null` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/djin-0.1.1/src/imp/util.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | winapi::um::errhandlingapi::GetLastError() [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/djin-0.1.1/src/imp/mod.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | bail_if_nonzero!(result); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail_if_nonzero` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/djin-0.1.1/src/imp/util.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | winapi::um::errhandlingapi::GetLastError() [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/djin-0.1.1/src/imp/mod.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | / bail_if_zero!(ReadProcessMemory( [INFO] [stdout] 175 | | process, [INFO] [stdout] 176 | | alloc.add(SHELLCODE.len() + plen - std::mem::size_of::()) as _, [INFO] [stdout] 177 | | &mut error as *mut _ as _, [INFO] [stdout] 178 | | 4, [INFO] [stdout] 179 | | NULL as _ [INFO] [stdout] 180 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail_if_zero` (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 struct `OsString` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/djin-0.1.1/src/imp/mod.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 99 | let dllstr: Vec = dll [INFO] [stdout] | ________________________________- [INFO] [stdout] 100 | | .canonicalize() [INFO] [stdout] 101 | | .unwrap() [INFO] [stdout] 102 | | .into_os_string() [INFO] [stdout] 103 | | .encode_wide() [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `OsString` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `djin` (lib) due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "3ec8f3633a82d0c84b5ba3f4769ecb424d153ab21512c5137eb104e9b8318568", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ec8f3633a82d0c84b5ba3f4769ecb424d153ab21512c5137eb104e9b8318568", kill_on_drop: false }` [INFO] [stdout] 3ec8f3633a82d0c84b5ba3f4769ecb424d153ab21512c5137eb104e9b8318568