[INFO] updating cached repository luser/test-getspecialfolderlocation [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/luser/test-getspecialfolderlocation [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/luser/test-getspecialfolderlocation" "work/ex/beta-1.38-1/sources/1.37.0/gh/luser/test-getspecialfolderlocation"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/luser/test-getspecialfolderlocation'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/luser/test-getspecialfolderlocation" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/luser/test-getspecialfolderlocation"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/luser/test-getspecialfolderlocation'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] fca7821bbc667c6dfd85f7fc051fdd80d4dab6df [INFO] sha for GitHub repo luser/test-getspecialfolderlocation: fca7821bbc667c6dfd85f7fc051fdd80d4dab6df [INFO] validating manifest of luser/test-getspecialfolderlocation on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of luser/test-getspecialfolderlocation on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing luser/test-getspecialfolderlocation [INFO] finished frobbing luser/test-getspecialfolderlocation [INFO] frobbed toml for luser/test-getspecialfolderlocation written to work/ex/beta-1.38-1/sources/1.37.0/gh/luser/test-getspecialfolderlocation/Cargo.toml [INFO] started frobbing luser/test-getspecialfolderlocation [INFO] finished frobbing luser/test-getspecialfolderlocation [INFO] frobbed toml for luser/test-getspecialfolderlocation written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/luser/test-getspecialfolderlocation/Cargo.toml [INFO] crate luser/test-getspecialfolderlocation already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing luser/test-getspecialfolderlocation against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/luser/test-getspecialfolderlocation:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 08692926ad6d7b4e5849da496eca57b41e6f2c42a5385bb2c5be252dbf729020 [INFO] running `"docker" "start" "-a" "08692926ad6d7b4e5849da496eca57b41e6f2c42a5385bb2c5be252dbf729020"` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling shell32-sys v0.1.1 [INFO] [stderr] Compiling test-getspecialfolderlocation v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/main.rs:6:14 [INFO] [stderr] | [INFO] [stderr] 6 | use std::os::windows::ffi::OsStringExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `shell32::SHGetSpecialFolderLocation`, `shell32::SHGetPathFromIDListW` [INFO] [stderr] --> src/main.rs:7:15 [INFO] [stderr] | [INFO] [stderr] 7 | use shell32::{SHGetSpecialFolderLocation, SHGetPathFromIDListW}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ no `SHGetPathFromIDListW` in the root [INFO] [stderr] | | [INFO] [stderr] | no `SHGetSpecialFolderLocation` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::wchar_t` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::wchar_t; [INFO] [stderr] | ^^^^^^^^^^^^^^^ no `wchar_t` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::winerror` [INFO] [stderr] --> src/main.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::winerror::S_OK; [INFO] [stderr] | ^^^^^^^^ could not find `winerror` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::shtypes` [INFO] [stderr] --> src/main.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::shtypes::{LPITEMIDLIST, PCIDLIST_ABSOLUTE}; [INFO] [stderr] | ^^^^^^^ could not find `shtypes` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::minwindef` [INFO] [stderr] --> src/main.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | use winapi::minwindef::{TRUE, MAX_PATH}; [INFO] [stderr] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::winnt` [INFO] [stderr] --> src/main.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | use winapi::winnt::LPWSTR; [INFO] [stderr] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shlobj` in `winapi` [INFO] [stderr] --> src/main.rs:16:76 [INFO] [stderr] | [INFO] [stderr] 16 | let res = unsafe { SHGetSpecialFolderLocation(ptr::null_mut(), winapi::shlobj::CSIDL_APPDATA, &mut itemidlist) }; [INFO] [stderr] | ^^^^^^ could not find `shlobj` in `winapi` [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::windows::ffi::OsStringExt` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::os::windows::ffi::OsStringExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_wide` found for type `std::ffi::OsString` in the current scope [INFO] [stderr] --> src/main.rs:21:31 [INFO] [stderr] | [INFO] [stderr] 21 | let s = OsString::from_wide(first); [INFO] [stderr] | ^^^^^^^^^ function or associated item not found in `std::ffi::OsString` [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: Could not compile `test-getspecialfolderlocation`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "08692926ad6d7b4e5849da496eca57b41e6f2c42a5385bb2c5be252dbf729020"` [INFO] running `"docker" "rm" "-f" "08692926ad6d7b4e5849da496eca57b41e6f2c42a5385bb2c5be252dbf729020"` [INFO] [stdout] 08692926ad6d7b4e5849da496eca57b41e6f2c42a5385bb2c5be252dbf729020