[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6a572bfc6dbca2e43ddd31ad1997f86b7825080f [INFO] testing AnickaBurova/game-kb-driver against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnickaBurova%2Fgame-kb-driver" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AnickaBurova/game-kb-driver on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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-8/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-8/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d01c693364c60a3b56cddc715905af06c3555f3df3ef5ccbe226f877419f76b8 [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" "d01c693364c60a3b56cddc715905af06c3555f3df3ef5ccbe226f877419f76b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d01c693364c60a3b56cddc715905af06c3555f3df3ef5ccbe226f877419f76b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d01c693364c60a3b56cddc715905af06c3555f3df3ef5ccbe226f877419f76b8", kill_on_drop: false }` [INFO] [stdout] d01c693364c60a3b56cddc715905af06c3555f3df3ef5ccbe226f877419f76b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=forbid" "-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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f79f71c931ee87822e90d3fcf9087bafac8002819d56d2de89c9470ab670831f [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" "f79f71c931ee87822e90d3fcf9087bafac8002819d56d2de89c9470ab670831f", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling libxdo-sys v0.11.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling arc-swap v0.3.11 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.12 [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 bit-set v0.2.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling libusb v0.3.0 [INFO] [stderr] Compiling flate2 v1.0.16 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling serde_derive v0.9.15 [INFO] [stderr] Compiling libxdo v0.6.0 [INFO] [stderr] Compiling serde_yaml v0.6.2 [INFO] [stderr] Compiling serde-value v0.5.3 [INFO] [stderr] Compiling serde_yaml v0.8.13 [INFO] [stderr] Compiling serde_json v1.0.56 [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/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/game_kb_driver-d6d360aa5a6228eb.game_kb_driver.dfwxubff-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/game_kb_driver-d6d360aa5a6228eb.game_kb_driver.dfwxubff-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/game_kb_driver-d6d360aa5a6228eb.game_kb_driver.dfwxubff-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/game_kb_driver-d6d360aa5a6228eb.game_kb_driver.dfwxubff-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/game_kb_driver-d6d360aa5a6228eb.game_kb_driver.dfwxubff-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/game_kb_driver-d6d360aa5a6228eb.game_kb_driver.dfwxubff-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/game_kb_driver-d6d360aa5a6228eb.game_kb_driver.dfwxubff-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/game_kb_driver-d6d360aa5a6228eb.game_kb_driver.dfwxubff-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/game_kb_driver-d6d360aa5a6228eb.game_kb_driver.dfwxubff-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/game_kb_driver-d6d360aa5a6228eb.game_kb_driver.dfwxubff-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/game_kb_driver-d6d360aa5a6228eb.game_kb_driver.dfwxubff-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/game_kb_driver-d6d360aa5a6228eb.game_kb_driver.dfwxubff-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/game_kb_driver-d6d360aa5a6228eb.game_kb_driver.dfwxubff-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/game_kb_driver-d6d360aa5a6228eb.game_kb_driver.dfwxubff-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/game_kb_driver-d6d360aa5a6228eb.game_kb_driver.dfwxubff-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/game_kb_driver-d6d360aa5a6228eb.game_kb_driver.dfwxubff-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/game_kb_driver-d6d360aa5a6228eb" "/opt/rustwide/target/debug/deps/game_kb_driver-d6d360aa5a6228eb.arwij7o4zeacarv.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/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libserde_yaml-fa18f0a4178f4e30.rlib" "/opt/rustwide/target/debug/deps/libyaml_rust-66843609197bb753.rlib" "/opt/rustwide/target/debug/deps/libserde-7e8afa775189f150.rlib" "/opt/rustwide/target/debug/deps/liblinked_hash_map-569d661714412199.rlib" "/opt/rustwide/target/debug/deps/liblibxdo-9093236c681ff1bc.rlib" "/opt/rustwide/target/debug/deps/liblibxdo_sys-06fa9e408646e2a3.rlib" "/opt/rustwide/target/debug/deps/libx11-c701f2a8a16ec01c.rlib" "/opt/rustwide/target/debug/deps/liblibusb-db2a87aff7a66340.rlib" "/opt/rustwide/target/debug/deps/liblibusb_sys-5f359764a51ba5bf.rlib" "/opt/rustwide/target/debug/deps/libbit_set-e6e3582d857f79cf.rlib" "/opt/rustwide/target/debug/deps/libbit_vec-c3b962a44a510451.rlib" "/opt/rustwide/target/debug/deps/liblog4rs-31fe3e369e51abf8.rlib" "/opt/rustwide/target/debug/deps/libtypemap-30baf50f5f506fa6.rlib" "/opt/rustwide/target/debug/deps/libunsafe_any-e19c50ace9e800d2.rlib" "/opt/rustwide/target/debug/deps/libtraitobject-8164d52edf4bc3db.rlib" "/opt/rustwide/target/debug/deps/libthread_id-b01423a1316ac660.rlib" "/opt/rustwide/target/debug/deps/libserde_yaml-7712e3ca4fa2f705.rlib" "/opt/rustwide/target/debug/deps/libdtoa-691522b5ffa538ef.rlib" "/opt/rustwide/target/debug/deps/libyaml_rust-568cf2a8dc50546d.rlib" "/opt/rustwide/target/debug/deps/liblinked_hash_map-b600d4703f5109f1.rlib" "/opt/rustwide/target/debug/deps/libserde_value-4c956ca6ad05146d.rlib" "/opt/rustwide/target/debug/deps/libordered_float-0be727ca7a28bbf9.rlib" "/opt/rustwide/target/debug/deps/libserde_json-9b14465ccc417cc9.rlib" "/opt/rustwide/target/debug/deps/libryu-49c6c0501005e538.rlib" "/opt/rustwide/target/debug/deps/libitoa-0bb3ac5f88513111.rlib" "/opt/rustwide/target/debug/deps/liblog_mdc-1cfe907c5e21156b.rlib" "/opt/rustwide/target/debug/deps/liblog-ce46dcca7cd54dc4.rlib" "/opt/rustwide/target/debug/deps/libserde-be07ac6d8497077b.rlib" "/opt/rustwide/target/debug/deps/libhumantime-5af4e11a831f9349.rlib" "/opt/rustwide/target/debug/deps/libquick_error-04f7773cc8ada14a.rlib" "/opt/rustwide/target/debug/deps/libfnv-4e1f361c8239009e.rlib" "/opt/rustwide/target/debug/deps/libflate2-7df80c313f84990f.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-85a6bfd53150a7d5.rlib" "/opt/rustwide/target/debug/deps/libadler-746afea0cbfb13c4.rlib" "/opt/rustwide/target/debug/deps/libcrc32fast-730991321300d642.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-b00c34326580381c.rlib" "/opt/rustwide/target/debug/deps/libchrono-6d5d58b20fc14f5a.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-49350da46e37c98a.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-e12337c0c1337062.rlib" "/opt/rustwide/target/debug/deps/libtime-d1455a7f0e4a7d2b.rlib" "/opt/rustwide/target/debug/deps/libantidote-27577543322f8e81.rlib" "/opt/rustwide/target/debug/deps/libarc_swap-fa530a727c33b700.rlib" "/opt/rustwide/target/debug/deps/libclap-ad4d6241e4410e2c.rlib" "/opt/rustwide/target/debug/deps/libvec_map-afdbc8d9b39dae03.rlib" "/opt/rustwide/target/debug/deps/libtextwrap-ddf62bc6813c8c73.rlib" "/opt/rustwide/target/debug/deps/libunicode_width-4f447c2431100104.rlib" "/opt/rustwide/target/debug/deps/libstrsim-e44af4ab13090443.rlib" "/opt/rustwide/target/debug/deps/libbitflags-56eca94422237621.rlib" "/opt/rustwide/target/debug/deps/libatty-42a96c4a05dc48c3.rlib" "/opt/rustwide/target/debug/deps/liblibc-e834449672905d13.rlib" "/opt/rustwide/target/debug/deps/libansi_term-22553bc1a6ab7a23.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-5989bcf78182f65e.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-4d6da34bc177af8d.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-10e0d6c948699482.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-c2318e2415657781.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-3815b93ed84badbb.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-d7999143d95238cb.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-c58298a0d40df8b8.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-b7de97e2ba6fb4e2.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-6f71c9f654d72cce.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-95ea48ddc44a311b.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-7402cd4761aebc14.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-68f423c59dc48a40.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-54580c7798bf2225.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-95a4d456339b7385.rlib" "-Wl,-Bdynamic" "-lxdo" "-lusb-1.0" "-lutil" "-ldl" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [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" "f79f71c931ee87822e90d3fcf9087bafac8002819d56d2de89c9470ab670831f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f79f71c931ee87822e90d3fcf9087bafac8002819d56d2de89c9470ab670831f", kill_on_drop: false }` [INFO] [stdout] f79f71c931ee87822e90d3fcf9087bafac8002819d56d2de89c9470ab670831f