[INFO] cloning repository https://github.com/renoob21/dire
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/renoob21/dire" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frenoob21%2Fdire", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frenoob21%2Fdire'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7c5946794d1e11d4c1db189702b831ea2b423713
[INFO] checking renoob21/dire against 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d for pr-159598
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frenoob21%2Fdire" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/renoob21/dire
[INFO] finished tweaking git repo https://github.com/renoob21/dire
[INFO] tweaked toml for git repo https://github.com/renoob21/dire written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/renoob21/dire on toolchain 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/renoob21/dire 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" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "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-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] fdc9830fb3905fa3f8a5e5043539c941c98602cb5664cb4004358713e1105ef0
[INFO] running `Command { std: "docker" "start" "fdc9830fb3905fa3f8a5e5043539c941c98602cb5664cb4004358713e1105ef0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fdc9830fb3905fa3f8a5e5043539c941c98602cb5664cb4004358713e1105ef0", 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" "fdc9830fb3905fa3f8a5e5043539c941c98602cb5664cb4004358713e1105ef0" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fdc9830fb3905fa3f8a5e5043539c941c98602cb5664cb4004358713e1105ef0", 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" "fdc9830fb3905fa3f8a5e5043539c941c98602cb5664cb4004358713e1105ef0" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.53.0
[INFO] [stderr]     Checking windows-targets v0.53.3
[INFO] [stderr]     Checking windows-sys v0.60.2
[INFO] [stderr]     Checking dire v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> src/reader.rs:1:41
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{ffi::OsStr, io::{Result}, os::windows::ffi::OsStrExt, ptr};
[INFO] [stdout]   |                                         ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/reader.rs:15:34
[INFO] [stdout]    |
[INFO] [stdout] 14 |           let wide_path: Vec<u16> = OsStr::new(path)
[INFO] [stdout]    |  ___________________________________-
[INFO] [stdout] 15 | |                                 .encode_wide()
[INFO] [stdout]    | |                                 -^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout]    | |_________________________________|
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> src/reader.rs:1:41
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{ffi::OsStr, io::{Result}, os::windows::ffi::OsStrExt, ptr};
[INFO] [stdout]   |                                         ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/file_identifier.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let mut file_bytes = reader_factory(bytes_to_read as usize)(&disk_path, start_sector)?;
[INFO] [stdout]    |             ----^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[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 `dire` (bin "dire") due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/reader.rs:15:34
[INFO] [stdout]    |
[INFO] [stdout] 14 |           let wide_path: Vec<u16> = OsStr::new(path)
[INFO] [stdout]    |  ___________________________________-
[INFO] [stdout] 15 | |                                 .encode_wide()
[INFO] [stdout]    | |                                 -^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout]    | |_________________________________|
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/file_identifier.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let mut file_bytes = reader_factory(bytes_to_read as usize)(&disk_path, start_sector)?;
[INFO] [stdout]    |             ----^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dire` (bin "dire" test) due to 2 previous errors; 1 warning emitted
[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] running `Command { std: "docker" "inspect" "fdc9830fb3905fa3f8a5e5043539c941c98602cb5664cb4004358713e1105ef0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fdc9830fb3905fa3f8a5e5043539c941c98602cb5664cb4004358713e1105ef0", kill_on_drop: false }`
[INFO] [stdout] fdc9830fb3905fa3f8a5e5043539c941c98602cb5664cb4004358713e1105ef0
