[INFO] cloning repository https://github.com/king54346/mtp_utils [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/king54346/mtp_utils" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fking54346%2Fmtp_utils", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fking54346%2Fmtp_utils'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa437467a72dbda02b69e0f74300db557414ebd9 [INFO] testing king54346/mtp_utils against beta-2025-09-21 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fking54346%2Fmtp_utils" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/king54346/mtp_utils [INFO] finished tweaking git repo https://github.com/king54346/mtp_utils [INFO] tweaked toml for git repo https://github.com/king54346/mtp_utils written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/king54346/mtp_utils on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/king54346/mtp_utils 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: source [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21088d10a5810b2b26a00d189f1c7aba7e971dd8917399475c569d3c0b59eff0 [INFO] running `Command { std: "docker" "start" "-a" "21088d10a5810b2b26a00d189f1c7aba7e971dd8917399475c569d3c0b59eff0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21088d10a5810b2b26a00d189f1c7aba7e971dd8917399475c569d3c0b59eff0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21088d10a5810b2b26a00d189f1c7aba7e971dd8917399475c569d3c0b59eff0", kill_on_drop: false }` [INFO] [stdout] 21088d10a5810b2b26a00d189f1c7aba7e971dd8917399475c569d3c0b59eff0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5667131abad5bb4478658bbacd64e2abba3cb54bd8f4b2fe504b4ff8266e0d22 [INFO] running `Command { std: "docker" "start" "-a" "5667131abad5bb4478658bbacd64e2abba3cb54bd8f4b2fe504b4ff8266e0d22", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: source [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling windows-targets v0.52.6 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling windows-result v0.2.0 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling windows-strings v0.1.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling clap_builder v4.5.18 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling windows-interface v0.58.0 [INFO] [stderr] Compiling windows-implement v0.58.0 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling windows-core v0.58.0 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling windows v0.58.0 [INFO] [stderr] Compiling clap v4.5.18 [INFO] [stderr] Compiling wintest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/list.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use windows::core::Error; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/wpd/manager.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::Win32::Devices::PortableDevices::{IPortableDeviceManager, PortableDeviceManager}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/wpd/manager.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::Win32::System::Com::{CoCreateInstance, CLSCTX_ALL}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/wpd/manager.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use windows::core::{Error, PWSTR}; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/wpd/device.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::core::imp::{PROPVARIANT}; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/wpd/device.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::Win32::Devices::PortableDevices::{IEnumPortableDeviceObjectIDs, IPortableDevice, IPortableDeviceContent, IPortableDeviceKeyC... [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/wpd/device.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::Foundation::S_OK; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/wpd/device.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use windows::Win32::System::Com::{CoCreateInstance, CLSCTX_ALL, IStream}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/wpd/device.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use windows::core::{Error, GUID, PWSTR, PROPVARIANT as propvar, PCWSTR}; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/wpd/resource_stream.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use windows::Win32::Devices::PortableDevices::IPortableDeviceDataStream; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/wpd/resource_stream.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::Win32::System::Com::{IStream, STGC_DEFAULT}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/copy_operate/file_info.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | os::windows::prelude::MetadataExt, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/os/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/os/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/wpd/resource_stream.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use windows::core::{Error, Interface}; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/copy_operate/local_copy_processor.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fs::File, os::windows::prelude::MetadataExt}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/os/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/os/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use windows::Win32::System::Com::{COINIT_MULTITHREADED, CoInitializeEx}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/copy_operate/device_folder_imp.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use windows::core::Error; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UNIX_EPOCH` [INFO] [stdout] --> src/copy_operate/local_folder_imp.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `file_attributes` found for reference `&std::fs::Metadata` in the current scope [INFO] [stdout] --> src/copy_operate/file_info.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 51 | let file_attr = metadata.file_attributes(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `file_type` with a similar name [INFO] [stdout] | [INFO] [stdout] 51 - let file_attr = metadata.file_attributes(); [INFO] [stdout] 51 + let file_attr = metadata.file_type(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `file_size` found for reference `&std::fs::Metadata` in the current scope [INFO] [stdout] --> src/copy_operate/file_info.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | metadata.file_size() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `file_type` with a similar name [INFO] [stdout] | [INFO] [stdout] 55 - metadata.file_size() [INFO] [stdout] 55 + metadata.file_type() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `file_attributes` found for struct `std::fs::Metadata` in the current scope [INFO] [stdout] --> src/copy_operate/local_copy_processor.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | let file_attr = metadata.file_attributes(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `file_type` with a similar name [INFO] [stdout] | [INFO] [stdout] 51 - let file_attr = metadata.file_attributes(); [INFO] [stdout] 51 + let file_attr = metadata.file_type(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metadata` [INFO] [stdout] --> src/copy_operate/local_folder_imp.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let mut metadata = fs::metadata(path)?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `created_time` [INFO] [stdout] --> src/copy_operate/local_folder_imp.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | if let Some(created_time) = created { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_created_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modified_time` [INFO] [stdout] --> src/copy_operate/local_folder_imp.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | if let Some(modified_time) = modified { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modified_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/copy_operate/local_folder_imp.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | let mut metadata = fs::metadata(path)?; [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: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wintest` (bin "wintest") due to 19 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5667131abad5bb4478658bbacd64e2abba3cb54bd8f4b2fe504b4ff8266e0d22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5667131abad5bb4478658bbacd64e2abba3cb54bd8f4b2fe504b4ff8266e0d22", kill_on_drop: false }` [INFO] [stdout] 5667131abad5bb4478658bbacd64e2abba3cb54bd8f4b2fe504b4ff8266e0d22