[INFO] updating cached repository https://github.com/huangjj27/ime-conversion-vim [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 83d9c658c2c88e3004cefe9515105a426f54b2b1 [INFO] testing huangjj27/ime-conversion-vim against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuangjj27%2Fime-conversion-vim" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/huangjj27/ime-conversion-vim on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/huangjj27/ime-conversion-vim [INFO] finished tweaking git repo https://github.com/huangjj27/ime-conversion-vim [INFO] tweaked toml for git repo https://github.com/huangjj27/ime-conversion-vim written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/huangjj27/ime-conversion-vim already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+beta-2020-06-03" "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] c51960d397ef940877dad43dc7f60912f4602aaa013d9cf61534ea0b3321bf2e [INFO] running `"docker" "start" "-a" "c51960d397ef940877dad43dc7f60912f4602aaa013d9cf61534ea0b3321bf2e"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling proc-macro2 v1.0.15 [INFO] [stderr] Compiling syn v1.0.23 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling winapi v0.3.8 (https://github.com/LNSEAB/winapi-rs?branch=imm#9a022182) [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling structopt-derive v0.4.7 [INFO] [stderr] Compiling structopt v0.3.14 [INFO] [stderr] Compiling ime-conversion-vim v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/ime.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::shared::minwindef::DWORD; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/ime.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::shared::minwindef::FALSE; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/ime.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::shared::minwindef::TRUE; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/ime.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::shared::windef::HWND; [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/ime.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::um::imm::ImmGetContext; [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/ime.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::um::imm::ImmGetConversionStatus; [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/ime.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::um::imm::ImmReleaseContext; [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/ime.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::um::imm::ImmSetConversionStatus; [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/ime.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | use winapi::um::imm::HIMC; [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/ime.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | use winapi::um::winuser::GetForegroundWindow; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | use winapi::shared::minwindef::DWORD; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/ime.rs:22:21 [INFO] [stderr] | [INFO] [stderr] 22 | type WindowHandle = HWND; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HIMC` in this scope [INFO] [stderr] --> src/ime.rs:23:18 [INFO] [stderr] | [INFO] [stderr] 23 | type ImeHandle = HIMC; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/ime.rs:24:25 [INFO] [stderr] | [INFO] [stderr] 24 | type ConversionStatus = DWORD; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in this scope [INFO] [stderr] --> src/ime.rs:29:29 [INFO] [stderr] | [INFO] [stderr] 29 | let hwnd = unsafe { GetForegroundWindow() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ImmGetConversionStatus` in this scope [INFO] [stderr] --> src/ime.rs:37:24 [INFO] [stderr] | [INFO] [stderr] 37 | match unsafe { ImmGetConversionStatus(self.handle, &mut c, &mut s) } { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ImmSetConversionStatus` in this scope [INFO] [stderr] --> src/ime.rs:46:24 [INFO] [stderr] | [INFO] [stderr] 46 | match unsafe { ImmSetConversionStatus(self.handle, cs, 0) } { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/ime.rs:53:31 [INFO] [stderr] | [INFO] [stderr] 53 | fn for_window(win_handle: HWND) -> Self { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ImmGetContext` in this scope [INFO] [stderr] --> src/ime.rs:55:29 [INFO] [stderr] | [INFO] [stderr] 55 | let himc = unsafe { ImmGetContext(win_handle) }; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ImmReleaseContext` in this scope [INFO] [stderr] --> src/ime.rs:67:24 [INFO] [stderr] | [INFO] [stderr] 67 | match unsafe { ImmReleaseContext(self.win, self.handle) } { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/main.rs:30:21 [INFO] [stderr] | [INFO] [stderr] 30 | conversion: DWORD, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0282]: type annotations needed [INFO] [stderr] --> src/main.rs:30:21 [INFO] [stderr] | [INFO] [stderr] 29 | #[structopt()] [INFO] [stderr] | - this method call resolves to `T` [INFO] [stderr] 30 | conversion: DWORD, [INFO] [stderr] | ^^^^^ cannot infer type for type parameter `U` declared on the associated function `map` [INFO] [stderr] [INFO] [stderr] error: aborting due to 22 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0282, E0412, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0282`. [INFO] [stderr] error: could not compile `ime-conversion-vim`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c51960d397ef940877dad43dc7f60912f4602aaa013d9cf61534ea0b3321bf2e"` [INFO] running `"docker" "rm" "-f" "c51960d397ef940877dad43dc7f60912f4602aaa013d9cf61534ea0b3321bf2e"` [INFO] [stdout] c51960d397ef940877dad43dc7f60912f4602aaa013d9cf61534ea0b3321bf2e