[INFO] cloning repository https://github.com/iRaiko/hidtest
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iRaiko/hidtest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FiRaiko%2Fhidtest", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FiRaiko%2Fhidtest'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d7ffb93b91a3a1e36415cba8906e1d0b0f2d792a
[INFO] checking iRaiko/hidtest against 615014f15745532730b9ce7a1d9309f8b4756f93 for pr-160491
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FiRaiko%2Fhidtest" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/iRaiko/hidtest
[INFO] finished tweaking git repo https://github.com/iRaiko/hidtest
[INFO] tweaked toml for git repo https://github.com/iRaiko/hidtest written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/iRaiko/hidtest on toolchain 615014f15745532730b9ce7a1d9309f8b4756f93
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/iRaiko/hidtest 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" "+615014f15745532730b9ce7a1d9309f8b4756f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d6d1db2f6d1f06f2ef4f4cc587ea6db158919a824079cb8914544ee414964c41
[INFO] running `Command { std: "docker" "start" "d6d1db2f6d1f06f2ef4f4cc587ea6db158919a824079cb8914544ee414964c41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d6d1db2f6d1f06f2ef4f4cc587ea6db158919a824079cb8914544ee414964c41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d6d1db2f6d1f06f2ef4f4cc587ea6db158919a824079cb8914544ee414964c41" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d6d1db2f6d1f06f2ef4f4cc587ea6db158919a824079cb8914544ee414964c41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d6d1db2f6d1f06f2ef4f4cc587ea6db158919a824079cb8914544ee414964c41" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking hidtest v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]   --> src/main.rs:39:14
[INFO] [stdout]    |
[INFO] [stdout] 39 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]   --> src/main.rs:39:14
[INFO] [stdout]    |
[INFO] [stdout] 39 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:518:34
[INFO] [stdout]     |
[INFO] [stdout] 518 |     let p_max_data: *const u32 = &max_data;
[INFO] [stdout]     |                     ----------   ^^^^^^^^^ expected `*const u32`, found `&u64`
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     expected due to this
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected raw pointer `*const u32`
[INFO] [stdout]                  found reference `&u64`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:518:34
[INFO] [stdout]     |
[INFO] [stdout] 518 |     let p_max_data: *const u32 = &max_data;
[INFO] [stdout]     |                     ----------   ^^^^^^^^^ expected `*const u32`, found `&u64`
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     expected due to this
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected raw pointer `*const u32`
[INFO] [stdout]                  found reference `&u64`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]    --> src/main.rs:530:10
[INFO] [stdout]     |
[INFO] [stdout] 529 |       let v: Vec<u16> = OsStr::new(string)
[INFO] [stdout]     |  _______________________-
[INFO] [stdout] 530 | |         .encode_wide()
[INFO] [stdout]     | |         -^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout]     | |_________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]    --> src/main.rs:530:10
[INFO] [stdout]     |
[INFO] [stdout] 529 |       let v: Vec<u16> = OsStr::new(string)
[INFO] [stdout]     |  _______________________-
[INFO] [stdout] 530 | |         .encode_wide()
[INFO] [stdout]     | |         -^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout]     | |_________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hidtest` (bin "hidtest") due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `hidtest` (bin "hidtest" test) due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "d6d1db2f6d1f06f2ef4f4cc587ea6db158919a824079cb8914544ee414964c41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d6d1db2f6d1f06f2ef4f4cc587ea6db158919a824079cb8914544ee414964c41", kill_on_drop: false }`
[INFO] [stdout] d6d1db2f6d1f06f2ef4f4cc587ea6db158919a824079cb8914544ee414964c41
