[INFO] crate win32_notification 0.1.0 is already in cache [INFO] testing win32_notification-0.1.0 against 1.44.0 for beta-1.45-1 [INFO] extracting crate win32_notification 0.1.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate win32_notification 0.1.0 on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate win32_notification 0.1.0 [INFO] finished tweaking crates.io crate win32_notification 0.1.0 [INFO] tweaked toml for crates.io crate win32_notification 0.1.0 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate crates.io crate win32_notification 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] de3d526d3014e0d045d04a4a9af08140e314512cc31c40828363ecedbe9d95f7 [INFO] running `"docker" "start" "-a" "de3d526d3014e0d045d04a4a9af08140e314512cc31c40828363ecedbe9d95f7"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling win32_notification v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/lib.rs:4:14 [INFO] [stderr] | [INFO] [stderr] 4 | use std::os::windows::ffi::{OsStrExt, OsStringExt}; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/lib.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::shared::guiddef::GUID; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/lib.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::um::combaseapi::CoCreateGuid; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/lib.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::shared` [INFO] [stderr] --> src/lib.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::shared::winerror; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/lib.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::um::shellapi::{self, Shell_NotifyIconW, NOTIFYICONDATAW}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::um` [INFO] [stderr] --> src/lib.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::um::shellapi::{self, Shell_NotifyIconW, NOTIFYICONDATAW}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GUID` in this scope [INFO] [stderr] --> src/lib.rs:35:30 [INFO] [stderr] | [INFO] [stderr] 35 | fn generate_guid() -> Result { [INFO] [stderr] | - ^^^^ not found in this scope [INFO] [stderr] | | [INFO] [stderr] | help: you might be missing a type parameter: `` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GUID` in this scope [INFO] [stderr] --> src/lib.rs:37:27 [INFO] [stderr] | [INFO] [stderr] 37 | let mut gen_guid: GUID = Default::default(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CoCreateGuid` in this scope [INFO] [stderr] --> src/lib.rs:38:22 [INFO] [stderr] | [INFO] [stderr] 38 | let result = CoCreateGuid(&mut gen_guid); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NOTIFYICONDATAW` in this scope [INFO] [stderr] --> src/lib.rs:59:33 [INFO] [stderr] | [INFO] [stderr] 59 | pub struct Notification(RefCell); [INFO] [stderr] | - ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | | [INFO] [stderr] | help: you might be missing a type parameter: `` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Shell_NotifyIconW` in this scope [INFO] [stderr] --> src/lib.rs:97:32 [INFO] [stderr] | [INFO] [stderr] 97 | let success = unsafe { Shell_NotifyIconW(shellapi::NIM_ADD, &mut *descriptor) != 0 }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stderr] --> src/lib.rs:99:37 [INFO] [stderr] | [INFO] [stderr] 99 | let last_err = unsafe { GetLastError() }; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Shell_NotifyIconW` in this scope [INFO] [stderr] --> src/lib.rs:109:32 [INFO] [stderr] | [INFO] [stderr] 109 | let success = unsafe { Shell_NotifyIconW(shellapi::NIM_DELETE, &mut *descriptor) != 0 }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stderr] --> src/lib.rs:111:37 [INFO] [stderr] | [INFO] [stderr] 111 | let last_err = unsafe { GetLastError() }; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NOTIFYICONDATAW` in this scope [INFO] [stderr] --> src/lib.rs:126:32 [INFO] [stderr] | [INFO] [stderr] 126 | pub struct NotificationBuilder(NOTIFYICONDATAW); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `NOTIFYICONDATAW` in this scope [INFO] [stderr] --> src/lib.rs:137:39 [INFO] [stderr] | [INFO] [stderr] 137 | let notification_descriptor = NOTIFYICONDATAW { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NOTIFYICONDATAW` in this scope [INFO] [stderr] --> src/lib.rs:138:41 [INFO] [stderr] | [INFO] [stderr] 134 | impl NotificationBuilder { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 138 | cbSize: std::mem::size_of::() as u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_wide` found for struct `std::ffi::OsString` in the current scope [INFO] [stderr] --> src/lib.rs:69:28 [INFO] [stderr] | [INFO] [stderr] 69 | &OsString::from_wide(&descriptor.szInfo[..]) [INFO] [stderr] | ^^^^^^^^^ function or associated item not found in `std::ffi::OsString` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_wide` found for struct `std::ffi::OsString` in the current scope [INFO] [stderr] --> src/lib.rs:81:28 [INFO] [stderr] | [INFO] [stderr] 81 | &OsString::from_wide(&descriptor.szInfoTitle[..]) [INFO] [stderr] | ^^^^^^^^^ function or associated item not found in `std::ffi::OsString` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/lib.rs:18:14 [INFO] [stderr] | [INFO] [stderr] 18 | .encode_wide() [INFO] [stderr] | ^^^^^^^^^^^ method not found in `&std::ffi::OsStr` [INFO] [stderr] ... [INFO] [stderr] 151 | let buffer = encode_string_wide!(text, INFO_BUFFER_LEN); [INFO] [stderr] | ------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/lib.rs:18:14 [INFO] [stderr] | [INFO] [stderr] 18 | .encode_wide() [INFO] [stderr] | ^^^^^^^^^^^ method not found in `&std::ffi::OsStr` [INFO] [stderr] ... [INFO] [stderr] 161 | let buffer = encode_string_wide!(text, TITLE_BUFFER_LEN); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 22 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `win32_notification`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "de3d526d3014e0d045d04a4a9af08140e314512cc31c40828363ecedbe9d95f7"` [INFO] running `"docker" "rm" "-f" "de3d526d3014e0d045d04a4a9af08140e314512cc31c40828363ecedbe9d95f7"` [INFO] [stdout] de3d526d3014e0d045d04a4a9af08140e314512cc31c40828363ecedbe9d95f7