[INFO] cloning repository https://github.com/tristanlabelle/kbdc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tristanlabelle/kbdc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristanlabelle%2Fkbdc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristanlabelle%2Fkbdc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d14c6e6dc2bb210f53b9bb52a9c83e297e0eb05 [INFO] building tristanlabelle/kbdc against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristanlabelle%2Fkbdc" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tristanlabelle/kbdc [INFO] finished tweaking git repo https://github.com/tristanlabelle/kbdc [INFO] tweaked toml for git repo https://github.com/tristanlabelle/kbdc written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tristanlabelle/kbdc on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tristanlabelle/kbdc 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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd03e69e3c0e7a64c1c0a891355e66d66f081a756d08444b14cde4bd21494fa6 [INFO] running `Command { std: "docker" "start" "-a" "bd03e69e3c0e7a64c1c0a891355e66d66f081a756d08444b14cde4bd21494fa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd03e69e3c0e7a64c1c0a891355e66d66f081a756d08444b14cde4bd21494fa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd03e69e3c0e7a64c1c0a891355e66d66f081a756d08444b14cde4bd21494fa6", kill_on_drop: false }` [INFO] [stdout] bd03e69e3c0e7a64c1c0a891355e66d66f081a756d08444b14cde4bd21494fa6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 40b327f4d9197c357e6172b5d2ab14a906d61ab43c5fff580e2502e235fd4198 [INFO] running `Command { std: "docker" "start" "-a" "40b327f4d9197c357e6172b5d2ab14a906d61ab43c5fff580e2502e235fd4198", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling windows-targets v0.52.6 [INFO] [stderr] Compiling windows-sys v0.59.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling kbdc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `from_vk_enum` is never used [INFO] [stdout] --> src/model/virtual_keys.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl VirtualKey { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn from_vk_enum(name: &str, include_ascii: bool) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `TYPE_GENERIC101`, `TYPE_JAPAN`, `TYPE_KOREA`, and `TYPE_UNKNOWN` are never used [INFO] [stdout] --> src/model/keyboard_layer.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 38 | impl KeyboardDesc { [INFO] [stdout] | ----------------- associated constants in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub const TYPE_GENERIC101: u32 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | pub const TYPE_JAPAN: u32 = 7; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 55 | pub const TYPE_KOREA: u32 = 8; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 56 | pub const TYPE_UNKNOWN: u32 = 0x51; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `virtual_key_flags` is never read [INFO] [stdout] --> src/model/keyboard_layer.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct PhysicalKeyDesc { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 63 | pub virtual_key_flags: VirtualKeyFlags, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ligature` is never constructed [INFO] [stdout] --> src/model/keyboard_layer.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 136 | pub enum TypingEffect { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 142 | Ligature(Box<[u16]>) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `flags` is never read [INFO] [stdout] --> src/model/keyboard_layer.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct DeadKeyCombo { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 155 | pub flags: u16 [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `deadKey` should have a snake case name [INFO] [stdout] --> src/json_format/json_model.rs:270:15 [INFO] [stdout] | [INFO] [stdout] 270 | DeadKey { deadKey: char }, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `dead_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "__main_void" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<11 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libserde_json-83b828d3b6081315,libmemchr-fce70e7b22dffad4,libitoa-c00a5eb83387cdca,libryu-bcb26aa50f65bbc8,libserde-8ee8f6b6b99fdc95,libwindows_sys-0e9c24aa127f25b8,libwindows_targets-8b88292d3f35a37d,liblazy_static-6cae036cc417a885,libbimap-3c7025996d02e9e7}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/kbdc-7d988f7f2005371c.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/kbdc-7d988f7f2005371c.kbdc.addf41ad5a42db1d-cgu.07.rcgu.o: undefined symbol: LoadLibraryW [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/kbdc-7d988f7f2005371c.kbdc.addf41ad5a42db1d-cgu.07.rcgu.o: undefined symbol: GetProcAddress [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kbdc` (bin "kbdc") due to 1 previous error; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "40b327f4d9197c357e6172b5d2ab14a906d61ab43c5fff580e2502e235fd4198", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40b327f4d9197c357e6172b5d2ab14a906d61ab43c5fff580e2502e235fd4198", kill_on_drop: false }` [INFO] [stdout] 40b327f4d9197c357e6172b5d2ab14a906d61ab43c5fff580e2502e235fd4198