[INFO] cloning repository https://github.com/shivhiremath2303/ubi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shivhiremath2303/ubi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshivhiremath2303%2Fubi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshivhiremath2303%2Fubi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5ccfb4e767267689e9efce5a131a42e6eca1d2ee [INFO] checking shivhiremath2303/ubi against try#804fff1ae95da9d03bd44eee27f258020a575dab for pr-146013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshivhiremath2303%2Fubi" "/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/shivhiremath2303/ubi [INFO] finished tweaking git repo https://github.com/shivhiremath2303/ubi [INFO] tweaked toml for git repo https://github.com/shivhiremath2303/ubi written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/shivhiremath2303/ubi on toolchain 804fff1ae95da9d03bd44eee27f258020a575dab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+804fff1ae95da9d03bd44eee27f258020a575dab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/shivhiremath2303/ubi 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" "+804fff1ae95da9d03bd44eee27f258020a575dab" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+804fff1ae95da9d03bd44eee27f258020a575dab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9a9083bd5e095530556e5bf058db4ed23ddb8f978ef062815bd18c8de323c3f [INFO] running `Command { std: "docker" "start" "-a" "e9a9083bd5e095530556e5bf058db4ed23ddb8f978ef062815bd18c8de323c3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9a9083bd5e095530556e5bf058db4ed23ddb8f978ef062815bd18c8de323c3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9a9083bd5e095530556e5bf058db4ed23ddb8f978ef062815bd18c8de323c3f", kill_on_drop: false }` [INFO] [stdout] e9a9083bd5e095530556e5bf058db4ed23ddb8f978ef062815bd18c8de323c3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+804fff1ae95da9d03bd44eee27f258020a575dab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8134e073c0de21c6cef77cef67323e05f2846aa0b8474c7715676167ca1823b0 [INFO] running `Command { std: "docker" "start" "-a" "8134e073c0de21c6cef77cef67323e05f2846aa0b8474c7715676167ca1823b0", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking thread-id v4.2.2 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking log4rs v1.3.0 [INFO] [stderr] Checking ubi-dbdata v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/logging.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | winapi::um::winuser::MessageBoxA, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/lib.rs:3:63 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{error::Error, ffi::{c_void, CString, OsString}, os::windows::ffi::OsStringExt, path::{Path, PathBuf}, sync::OnceLock}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/804fff1ae95da9d03bd44eee27f258020a575dab/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/804fff1ae95da9d03bd44eee27f258020a575dab/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 `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::{shared::minwindef::{DWORD, HINSTANCE, LPVOID}, um::{libloaderapi::GetModuleFileNameW, winnt::DLL_PROCESS_ATTACH, winuser::Me... [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:5:61 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::{shared::minwindef::{DWORD, HINSTANCE, LPVOID}, um::{libloaderapi::GetModuleFileNameW, winnt::DLL_PROCESS_ATTACH, winuser::Me... [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/logging.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | winapi::um::winuser::MessageBoxA, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/lib.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | let path = OsString::from_wide(&buffer[..len as usize]).into_string().unwrap(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/804fff1ae95da9d03bd44eee27f258020a575dab/library/std/src/ffi/os_str.rs:141:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 17 - let path = OsString::from_wide(&buffer[..len as usize]).into_string().unwrap(); [INFO] [stdout] 17 + let path = OsString::from_iter(&buffer[..len as usize]).into_string().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/lib.rs:3:63 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{error::Error, ffi::{c_void, CString, OsString}, os::windows::ffi::OsStringExt, path::{Path, PathBuf}, sync::OnceLock}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/804fff1ae95da9d03bd44eee27f258020a575dab/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/804fff1ae95da9d03bd44eee27f258020a575dab/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 `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::{shared::minwindef::{DWORD, HINSTANCE, LPVOID}, um::{libloaderapi::GetModuleFileNameW, winnt::DLL_PROCESS_ATTACH, winuser::Me... [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:5:61 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::{shared::minwindef::{DWORD, HINSTANCE, LPVOID}, um::{libloaderapi::GetModuleFileNameW, winnt::DLL_PROCESS_ATTACH, winuser::Me... [INFO] [stdout] | ^^ could not find `um` in `winapi` [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] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/lib.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | let path = OsString::from_wide(&buffer[..len as usize]).into_string().unwrap(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/804fff1ae95da9d03bd44eee27f258020a575dab/library/std/src/ffi/os_str.rs:141:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 17 - let path = OsString::from_wide(&buffer[..len as usize]).into_string().unwrap(); [INFO] [stdout] 17 + let path = OsString::from_iter(&buffer[..len as usize]).into_string().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ubi-dbdata` (lib test) due to 5 previous errors [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 `ubi-dbdata` (lib) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "8134e073c0de21c6cef77cef67323e05f2846aa0b8474c7715676167ca1823b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8134e073c0de21c6cef77cef67323e05f2846aa0b8474c7715676167ca1823b0", kill_on_drop: false }` [INFO] [stdout] 8134e073c0de21c6cef77cef67323e05f2846aa0b8474c7715676167ca1823b0