[INFO] fetching crate windows-file-info 0.4.0... [INFO] checking windows-file-info-0.4.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate windows-file-info 0.4.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate windows-file-info 0.4.0 [INFO] finished tweaking crates.io crate windows-file-info 0.4.0 [INFO] tweaked toml for crates.io crate windows-file-info 0.4.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate windows-file-info 0.4.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f0e1ad4935c05cc76f455c8e5d7cc07ee48c962a0f627958ed08f394bc2de56 [INFO] running `Command { std: "docker" "start" "-a" "9f0e1ad4935c05cc76f455c8e5d7cc07ee48c962a0f627958ed08f394bc2de56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f0e1ad4935c05cc76f455c8e5d7cc07ee48c962a0f627958ed08f394bc2de56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f0e1ad4935c05cc76f455c8e5d7cc07ee48c962a0f627958ed08f394bc2de56", kill_on_drop: false }` [INFO] [stdout] 9f0e1ad4935c05cc76f455c8e5d7cc07ee48c962a0f627958ed08f394bc2de56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 887f59c485f6c8cad0de855420d224298e411cf204d3d2c78097c9937ac27a30 [INFO] running `Command { std: "docker" "start" "-a" "887f59c485f6c8cad0de855420d224298e411cf204d3d2c78097c9937ac27a30", kill_on_drop: false }` [INFO] [stderr] Checking windows-file-info v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `WindowsEntity` in this scope [INFO] [stdout] --> src/lib.rs:296:61 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn find_entity(name: &str, search_dest: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 4 | #[derive(Debug, Clone)] [INFO] [stdout] 5 | pub struct WindowsEntity { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 296 | pub fn find_entity(name: &str, search_dest: &str) -> Result { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WindowsEntity` in this scope [INFO] [stdout] --> src/lib.rs:319:67 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn find_entities(name: &str, search_dest: &str) -> Result, std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 4 | #[derive(Debug, Clone)] [INFO] [stdout] 5 | pub struct WindowsEntity { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 319 | pub fn find_entities(name: &str, search_dest: &str) -> Result, std::io::Error> { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Command`, `Output`, `env::current_dir`, `io::Error`, and `str::from_utf8` [INFO] [stdout] --> src/lib.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{process::{Command, Output}, str::from_utf8, io::Error, env::current_dir}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WindowsEntity` in this scope [INFO] [stdout] --> src/lib.rs:296:61 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn find_entity(name: &str, search_dest: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 4 | #[derive(Debug, Clone)] [INFO] [stdout] 5 | pub struct WindowsEntity { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 296 | pub fn find_entity(name: &str, search_dest: &str) -> Result { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WindowsEntity` in this scope [INFO] [stdout] --> src/lib.rs:319:67 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn find_entities(name: &str, search_dest: &str) -> Result, std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 4 | #[derive(Debug, Clone)] [INFO] [stdout] 5 | pub struct WindowsEntity { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 319 | pub fn find_entities(name: &str, search_dest: &str) -> Result, std::io::Error> { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Command`, `Output`, `env::current_dir`, `io::Error`, and `str::from_utf8` [INFO] [stdout] --> src/lib.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{process::{Command, Output}, str::from_utf8, io::Error, env::current_dir}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_windows_entity` in this scope [INFO] [stdout] --> src/lib.rs:308:25 [INFO] [stdout] | [INFO] [stdout] 308 | let lines = create_windows_entity(parse_answer.split("\n").collect::>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:147:4 [INFO] [stdout] | [INFO] [stdout] 146 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 147 | fn create_windows_entity(get_splitted_line: Vec<&str>) -> WindowsEntity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_windows_entity` in this scope [INFO] [stdout] --> src/lib.rs:308:25 [INFO] [stdout] | [INFO] [stdout] 308 | let lines = create_windows_entity(parse_answer.split("\n").collect::>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:147:4 [INFO] [stdout] | [INFO] [stdout] 146 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 147 | fn create_windows_entity(get_splitted_line: Vec<&str>) -> WindowsEntity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `format_the_output` in this scope [INFO] [stdout] --> src/lib.rs:333:52 [INFO] [stdout] | [INFO] [stdout] 333 | let lines = split_the_formatted_output(format_the_output(parse_answer.split("\n").collect::>())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 101 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 102 | fn format_the_output(lines_of_output: Vec<&str>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `split_the_formatted_output` in this scope [INFO] [stdout] --> src/lib.rs:333:25 [INFO] [stdout] | [INFO] [stdout] 333 | let lines = split_the_formatted_output(format_the_output(parse_answer.split("\n").collect::>())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 131 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 132 | fn split_the_formatted_output(formatted_output: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `format_the_output` in this scope [INFO] [stdout] --> src/lib.rs:333:52 [INFO] [stdout] | [INFO] [stdout] 333 | let lines = split_the_formatted_output(format_the_output(parse_answer.split("\n").collect::>())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 101 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 102 | fn format_the_output(lines_of_output: Vec<&str>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `split_the_formatted_output` in this scope [INFO] [stdout] --> src/lib.rs:333:25 [INFO] [stdout] | [INFO] [stdout] 333 | let lines = split_the_formatted_output(format_the_output(parse_answer.split("\n").collect::>())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 131 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 132 | fn split_the_formatted_output(formatted_output: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `windows-file-info` (lib test) due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `windows-file-info` (lib) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "887f59c485f6c8cad0de855420d224298e411cf204d3d2c78097c9937ac27a30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "887f59c485f6c8cad0de855420d224298e411cf204d3d2c78097c9937ac27a30", kill_on_drop: false }` [INFO] [stdout] 887f59c485f6c8cad0de855420d224298e411cf204d3d2c78097c9937ac27a30