[INFO] cloning repository https://github.com/AlexRasch/NoAllocWinHttp
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlexRasch/NoAllocWinHttp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexRasch%2FNoAllocWinHttp", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexRasch%2FNoAllocWinHttp'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4c9ee5671ab6cd25733ab90e81080ad7a9d89b63
[INFO] testing AlexRasch/NoAllocWinHttp against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexRasch%2FNoAllocWinHttp" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AlexRasch/NoAllocWinHttp
[INFO] finished tweaking git repo https://github.com/AlexRasch/NoAllocWinHttp
[INFO] tweaked toml for git repo https://github.com/AlexRasch/NoAllocWinHttp written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AlexRasch/NoAllocWinHttp on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AlexRasch/NoAllocWinHttp 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a0c1dc5413bfc64a21c1c2dbac8d3f710143ca29244892e9d3a993cb02bda288
[INFO] running `Command { std: "docker" "start" "-a" "a0c1dc5413bfc64a21c1c2dbac8d3f710143ca29244892e9d3a993cb02bda288", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a0c1dc5413bfc64a21c1c2dbac8d3f710143ca29244892e9d3a993cb02bda288", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a0c1dc5413bfc64a21c1c2dbac8d3f710143ca29244892e9d3a993cb02bda288", kill_on_drop: false }`
[INFO] [stdout] a0c1dc5413bfc64a21c1c2dbac8d3f710143ca29244892e9d3a993cb02bda288
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8cd6f2c199af593bb926baec4e81e18b64f511cb6487b74d93fd889a9e96030f
[INFO] running `Command { std: "docker" "start" "-a" "8cd6f2c199af593bb926baec4e81e18b64f511cb6487b74d93fd889a9e96030f", kill_on_drop: false }`
[INFO] [stderr]    Compiling NoAlloc v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:273:11
[INFO] [stdout]     |
[INFO] [stdout] 273 |         if(stdout.is_null()){
[INFO] [stdout]     |           ^                ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 273 -         if(stdout.is_null()){
[INFO] [stdout] 273 +         if stdout.is_null() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GENERIC_WRITE` is never used
[INFO] [stdout]    --> src/main.rs:118:7
[INFO] [stdout]     |
[INFO] [stdout] 118 | const GENERIC_WRITE: u32 = 0x40000000;
[INFO] [stdout]     |       ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FILE_SHARE_READ` is never used
[INFO] [stdout]    --> src/main.rs:119:7
[INFO] [stdout]     |
[INFO] [stdout] 119 | const FILE_SHARE_READ: u32 = 0x00000001;
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CREATE_ALWAYS` is never used
[INFO] [stdout]    --> src/main.rs:120:7
[INFO] [stdout]     |
[INFO] [stdout] 120 | const CREATE_ALWAYS: u32 = 2;
[INFO] [stdout]     |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FILE_ATTRIBUTE_NORMAL` is never used
[INFO] [stdout]    --> src/main.rs:121:7
[INFO] [stdout]     |
[INFO] [stdout] 121 | const FILE_ATTRIBUTE_NORMAL: u32 = 0x80;
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `CreateFileA` is never used
[INFO] [stdout]   --> src/main.rs:85:8
[INFO] [stdout]    |
[INFO] [stdout] 85 |     fn CreateFileA(
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `WriteFile` is never used
[INFO] [stdout]   --> src/main.rs:95:8
[INFO] [stdout]    |
[INFO] [stdout] 95 |     fn WriteFile(
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `CloseHandle` is never used
[INFO] [stdout]    --> src/main.rs:103:8
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn CloseHandle(hObject: *mut c_void) -> i32;
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "<1 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "-lWinhttp" "-lkernel32" "-Wl,-Bstatic" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcSrVlvI/raw-dylibs" "-Wl,-Bdynamic" "-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/NoAlloc-b77d631ad3aab491" "-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 -lWinhttp
[INFO] [stdout]           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 `NoAlloc` (bin "NoAlloc") due to 1 previous error; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8cd6f2c199af593bb926baec4e81e18b64f511cb6487b74d93fd889a9e96030f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8cd6f2c199af593bb926baec4e81e18b64f511cb6487b74d93fd889a9e96030f", kill_on_drop: false }`
[INFO] [stdout] 8cd6f2c199af593bb926baec4e81e18b64f511cb6487b74d93fd889a9e96030f
