[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 try#3fada14ee01d755dc8076e611f11bf65b28ffd21 for pr-154971 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frenoob21%2Fdire" "/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/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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/renoob21/dire on toolchain 3fada14ee01d755dc8076e611f11bf65b28ffd21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "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" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38f8f1ee32cf10dffc352f6529d39845575c1530ccda58a9826e77a7586f81e4 [INFO] running `Command { std: "docker" "start" "-a" "38f8f1ee32cf10dffc352f6529d39845575c1530ccda58a9826e77a7586f81e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38f8f1ee32cf10dffc352f6529d39845575c1530ccda58a9826e77a7586f81e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38f8f1ee32cf10dffc352f6529d39845575c1530ccda58a9826e77a7586f81e4", kill_on_drop: false }` [INFO] [stdout] 38f8f1ee32cf10dffc352f6529d39845575c1530ccda58a9826e77a7586f81e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27679c4eabdc625d5fa30f4df40d7f22f3d36275b5e99d35bbb1db2282b7b781 [INFO] running `Command { std: "docker" "start" "-a" "27679c4eabdc625d5fa30f4df40d7f22f3d36275b5e99d35bbb1db2282b7b781", 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] note: found an item that was configured out [INFO] [stdout] --> /rustc/3fada14ee01d755dc8076e611f11bf65b28ffd21/library/std/src/os/mod.rs:56:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/3fada14ee01d755dc8076e611f11bf65b28ffd21/library/std/src/os/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [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] note: found an item that was configured out [INFO] [stdout] --> /rustc/3fada14ee01d755dc8076e611f11bf65b28ffd21/library/std/src/os/mod.rs:56:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/3fada14ee01d755dc8076e611f11bf65b28ffd21/library/std/src/os/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [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 = 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[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 = 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] [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] 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" test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "27679c4eabdc625d5fa30f4df40d7f22f3d36275b5e99d35bbb1db2282b7b781", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27679c4eabdc625d5fa30f4df40d7f22f3d36275b5e99d35bbb1db2282b7b781", kill_on_drop: false }` [INFO] [stdout] 27679c4eabdc625d5fa30f4df40d7f22f3d36275b5e99d35bbb1db2282b7b781