[INFO] cloning repository https://github.com/AnickaBurova/game-kb-driver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AnickaBurova/game-kb-driver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnickaBurova%2Fgame-kb-driver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnickaBurova%2Fgame-kb-driver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6a572bfc6dbca2e43ddd31ad1997f86b7825080f [INFO] testing AnickaBurova/game-kb-driver against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnickaBurova%2Fgame-kb-driver" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AnickaBurova/game-kb-driver on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AnickaBurova/game-kb-driver [INFO] finished tweaking git repo https://github.com/AnickaBurova/game-kb-driver [INFO] tweaked toml for git repo https://github.com/AnickaBurova/game-kb-driver written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/AnickaBurova/game-kb-driver already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3c771508894c0e5f0d6fd5f77627d0dc790ddf1abd04611f87329781b7b4626 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e3c771508894c0e5f0d6fd5f77627d0dc790ddf1abd04611f87329781b7b4626", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3c771508894c0e5f0d6fd5f77627d0dc790ddf1abd04611f87329781b7b4626", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3c771508894c0e5f0d6fd5f77627d0dc790ddf1abd04611f87329781b7b4626", kill_on_drop: false }` [INFO] [stdout] e3c771508894c0e5f0d6fd5f77627d0dc790ddf1abd04611f87329781b7b4626 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef0f23d5edbbf788774ec6e964354dc3d9e4364c0927cccac00cdc838c7ce714 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ef0f23d5edbbf788774ec6e964354dc3d9e4364c0927cccac00cdc838c7ce714", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling syn v1.0.52 [INFO] [stderr] Compiling libxdo-sys v0.11.0 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling arc-swap v0.3.11 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Compiling libusb-sys v0.2.3 [INFO] [stderr] Compiling yaml-rust v0.4.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling bit-set v0.2.0 [INFO] [stderr] Compiling libusb v0.3.0 [INFO] [stderr] Compiling serde_derive v0.9.15 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling libxdo v0.6.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_yaml v0.6.2 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling serde-value v0.5.3 [INFO] [stderr] Compiling serde_yaml v0.8.14 [INFO] [stderr] Compiling log4rs v0.8.3 [INFO] [stderr] Compiling game-kb-driver v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/device_input.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 46 | / match (handle, iet) { [INFO] [stdout] 47 | | (Some(mut handle), Some((i,e,t))) => { [INFO] [stdout] 48 | | if iotry!(handle.kernel_driver_active(i)) { [INFO] [stdout] 49 | | let _ = iotry!(handle.detach_kernel_driver(i)); [INFO] [stdout] ... | [INFO] [stdout] 80 | | _ => unreachable!(), [INFO] [stdout] 81 | | } [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 82 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit code: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/game_kb_driver-c9009b7fae6b9d5c.game_kb_driver.4msjflht-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/game_kb_driver-c9009b7fae6b9d5c.game_kb_driver.4msjflht-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/game_kb_driver-c9009b7fae6b9d5c.game_kb_driver.4msjflht-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/game_kb_driver-c9009b7fae6b9d5c.game_kb_driver.4msjflht-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/game_kb_driver-c9009b7fae6b9d5c.game_kb_driver.4msjflht-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/game_kb_driver-c9009b7fae6b9d5c.game_kb_driver.4msjflht-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/game_kb_driver-c9009b7fae6b9d5c.game_kb_driver.4msjflht-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/game_kb_driver-c9009b7fae6b9d5c.game_kb_driver.4msjflht-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/game_kb_driver-c9009b7fae6b9d5c.game_kb_driver.4msjflht-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/game_kb_driver-c9009b7fae6b9d5c.game_kb_driver.4msjflht-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/game_kb_driver-c9009b7fae6b9d5c.game_kb_driver.4msjflht-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/game_kb_driver-c9009b7fae6b9d5c.game_kb_driver.4msjflht-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/game_kb_driver-c9009b7fae6b9d5c.game_kb_driver.4msjflht-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/game_kb_driver-c9009b7fae6b9d5c.game_kb_driver.4msjflht-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/game_kb_driver-c9009b7fae6b9d5c.game_kb_driver.4msjflht-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/game_kb_driver-c9009b7fae6b9d5c.game_kb_driver.4msjflht-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/game_kb_driver-c9009b7fae6b9d5c" "/opt/rustwide/target/debug/deps/game_kb_driver-c9009b7fae6b9d5c.3j1dd4li5xhbf9mh.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libserde_yaml-e17c59117a4480ca.rlib" "/opt/rustwide/target/debug/deps/libyaml_rust-8a6dcf7640286025.rlib" "/opt/rustwide/target/debug/deps/libserde-0067c2fd2aa0aaad.rlib" "/opt/rustwide/target/debug/deps/liblinked_hash_map-1caafe859e257b2a.rlib" "/opt/rustwide/target/debug/deps/liblibxdo-f7ddb2a2338f25f1.rlib" "/opt/rustwide/target/debug/deps/liblibxdo_sys-48f42e6acbedd66f.rlib" "/opt/rustwide/target/debug/deps/libx11-cd615372c12c484d.rlib" "/opt/rustwide/target/debug/deps/liblibusb-a9ad87784d5f805d.rlib" "/opt/rustwide/target/debug/deps/liblibusb_sys-0a004f61dbf4eee0.rlib" "/opt/rustwide/target/debug/deps/libbit_set-7d72f793c252a273.rlib" "/opt/rustwide/target/debug/deps/libbit_vec-784d394f06160948.rlib" "/opt/rustwide/target/debug/deps/liblog4rs-7517e62abec34ce3.rlib" "/opt/rustwide/target/debug/deps/libtypemap-5efcc5c6a79a6588.rlib" "/opt/rustwide/target/debug/deps/libunsafe_any-37fc53395d4709b6.rlib" "/opt/rustwide/target/debug/deps/libtraitobject-0b05b1821ec7acd4.rlib" "/opt/rustwide/target/debug/deps/libthread_id-ac8760d37d3c5277.rlib" "/opt/rustwide/target/debug/deps/libserde_yaml-d4827b1ced254538.rlib" "/opt/rustwide/target/debug/deps/libdtoa-e04dfd1e33732084.rlib" "/opt/rustwide/target/debug/deps/libyaml_rust-d8869110a2b26608.rlib" "/opt/rustwide/target/debug/deps/liblinked_hash_map-3e7e69af43a36744.rlib" "/opt/rustwide/target/debug/deps/libserde_value-2df87308e59ca491.rlib" "/opt/rustwide/target/debug/deps/libordered_float-2e7f6a9ece1ab0ac.rlib" "/opt/rustwide/target/debug/deps/libserde_json-acc08f1967fb9b99.rlib" "/opt/rustwide/target/debug/deps/libryu-bc3a68e8fbaa57e5.rlib" "/opt/rustwide/target/debug/deps/libitoa-a6b26c0a10370aa4.rlib" "/opt/rustwide/target/debug/deps/liblog_mdc-8eef90dff5907c78.rlib" "/opt/rustwide/target/debug/deps/liblog-3864baf352815bee.rlib" "/opt/rustwide/target/debug/deps/libserde-9b3bcded3e5a9462.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-4c6be1962c556cf0.rlib" "/opt/rustwide/target/debug/deps/libhumantime-ba33ab49bc09a22b.rlib" "/opt/rustwide/target/debug/deps/libquick_error-dac6356ab0901515.rlib" "/opt/rustwide/target/debug/deps/libfnv-eef866999c50c67e.rlib" "/opt/rustwide/target/debug/deps/libflate2-690c6f78f2b226c6.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-ff0e19ca06b205c8.rlib" "/opt/rustwide/target/debug/deps/libadler-11fd58e8b682d48a.rlib" "/opt/rustwide/target/debug/deps/libcrc32fast-516f19d8f84806f9.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-2909e55669d95bfc.rlib" "/opt/rustwide/target/debug/deps/libchrono-b6522a843a419fdc.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-8c72271fec4c8fc5.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-5c3c8c2899e7c350.rlib" "/opt/rustwide/target/debug/deps/libtime-aaf3a97d08c5b649.rlib" "/opt/rustwide/target/debug/deps/libantidote-74e156747a51c677.rlib" "/opt/rustwide/target/debug/deps/libarc_swap-48410204b27994fc.rlib" "/opt/rustwide/target/debug/deps/libclap-9899065a67510b7b.rlib" "/opt/rustwide/target/debug/deps/libvec_map-a7654c802e273934.rlib" "/opt/rustwide/target/debug/deps/libtextwrap-b5ffc34867b86ba0.rlib" "/opt/rustwide/target/debug/deps/libunicode_width-85f6c02835e49e35.rlib" "/opt/rustwide/target/debug/deps/libstrsim-802379fb3524d342.rlib" "/opt/rustwide/target/debug/deps/libbitflags-df474a8ca45884a8.rlib" "/opt/rustwide/target/debug/deps/libatty-e9990643e384daa5.rlib" "/opt/rustwide/target/debug/deps/liblibc-e41c2d10207ee17e.rlib" "/opt/rustwide/target/debug/deps/libansi_term-5e807deedeef1036.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-c659455244c9d2ca.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-448643d99e633b5d.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-c7c3d631a525883a.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d7659a11bb201e01.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-9aceb6f83a33a9b6.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-876c3057c8a2a7c2.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-2f02aa3e24d2aa49.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-1d4694108f8cb543.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-79eaa6e630880f50.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-0df1a4ec96f80cf7.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-bba9b0f0f4d77257.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-f848f9c987265235.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0d5ea4f2d39b8e27.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-c22053fa5fc00a3b.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-c52e5d6301e1bd59.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-2675a9a46b5cec89.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-6e3d052afeb9f711.rlib" "-Wl,-Bdynamic" "-lxdo" "-lusb-1.0" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lxdo [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `game-kb-driver` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "ef0f23d5edbbf788774ec6e964354dc3d9e4364c0927cccac00cdc838c7ce714", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef0f23d5edbbf788774ec6e964354dc3d9e4364c0927cccac00cdc838c7ce714", kill_on_drop: false }` [INFO] [stdout] ef0f23d5edbbf788774ec6e964354dc3d9e4364c0927cccac00cdc838c7ce714