[INFO] cloning repository https://github.com/ArtByteFilip/nirvana-notject
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ArtByteFilip/nirvana-notject" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArtByteFilip%2Fnirvana-notject", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArtByteFilip%2Fnirvana-notject'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1b1011682f23abefc841cfb75c05c6be7e9153b5
[INFO] testing ArtByteFilip/nirvana-notject against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArtByteFilip%2Fnirvana-notject" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ArtByteFilip/nirvana-notject
[INFO] finished tweaking git repo https://github.com/ArtByteFilip/nirvana-notject
[INFO] tweaked toml for git repo https://github.com/ArtByteFilip/nirvana-notject written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ArtByteFilip/nirvana-notject on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ArtByteFilip/nirvana-notject 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a0f3f0e45a7eb36b8ab862ef493f63b1f1c33df915f7b4fe0fdd86edf9c794e3
[INFO] running `Command { std: "docker" "start" "-a" "a0f3f0e45a7eb36b8ab862ef493f63b1f1c33df915f7b4fe0fdd86edf9c794e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a0f3f0e45a7eb36b8ab862ef493f63b1f1c33df915f7b4fe0fdd86edf9c794e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a0f3f0e45a7eb36b8ab862ef493f63b1f1c33df915f7b4fe0fdd86edf9c794e3", kill_on_drop: false }`
[INFO] [stdout] a0f3f0e45a7eb36b8ab862ef493f63b1f1c33df915f7b4fe0fdd86edf9c794e3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5b582e934eb4bd0647608fc650d2650c6e5d5bb9ea0ed477c3e3a4cb35cd91ad
[INFO] running `Command { std: "docker" "start" "-a" "5b582e934eb4bd0647608fc650d2650c6e5d5bb9ea0ed477c3e3a4cb35cd91ad", kill_on_drop: false }`
[INFO] [stderr]    Compiling nirvana-notject v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::ptr`
[INFO] [stdout]  --> src/memory.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ptr;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `is_writable`, `is_executable`, and `protection` are never read
[INFO] [stdout]   --> src/memory.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct MemoryRegion {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub is_writable: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 55 |     pub is_executable: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 56 |     pub protection: u32,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MemoryRegion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_memory` is never used
[INFO] [stdout]    --> src/memory.rs:137:12
[INFO] [stdout]     |
[INFO] [stdout] 64  | impl Memory {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn write_memory<T>(&self, address: usize, value: T) -> io::Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `WriteProcessMemory` is never used
[INFO] [stdout]   --> src/memory.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn WriteProcessMemory(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/tmp/rustcxktpiA/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "-lkernel32" "-Wl,-Bstatic" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcxktpiA/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,-znostart-stop-gc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/nirvana_notject-e202050e6b0fbe5c" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: unable to find library -lkernel32
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nirvana-notject` (bin "nirvana-notject") due to 1 previous error; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "5b582e934eb4bd0647608fc650d2650c6e5d5bb9ea0ed477c3e3a4cb35cd91ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5b582e934eb4bd0647608fc650d2650c6e5d5bb9ea0ed477c3e3a4cb35cd91ad", kill_on_drop: false }`
[INFO] [stdout] 5b582e934eb4bd0647608fc650d2650c6e5d5bb9ea0ed477c3e3a4cb35cd91ad
