[INFO] cloning repository https://github.com/HaoboGu/cherryusb-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HaoboGu/cherryusb-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaoboGu%2Fcherryusb-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaoboGu%2Fcherryusb-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e5bc4e8f05ba53da34036b58d62ad0767ab27939
[INFO] checking HaoboGu/cherryusb-rs/e5bc4e8f05ba53da34036b58d62ad0767ab27939 against 67854e511de21d881bb16426996cd4259d44aa2e for pr-161154
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaoboGu%2Fcherryusb-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-5-tc1/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/HaoboGu/cherryusb-rs
[INFO] finished tweaking git repo https://github.com/HaoboGu/cherryusb-rs
[INFO] tweaked toml for git repo https://github.com/HaoboGu/cherryusb-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/HaoboGu/cherryusb-rs on toolchain 67854e511de21d881bb16426996cd4259d44aa2e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+67854e511de21d881bb16426996cd4259d44aa2e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/HaoboGu/cherryusb-rs 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" "+67854e511de21d881bb16426996cd4259d44aa2e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bitfield v0.13.2
[INFO] [stderr]   Downloaded ssmarshal v1.0.0
[INFO] [stderr]   Downloaded usbd-hid v0.7.0
[INFO] [stderr]   Downloaded usbd-hid-descriptors v0.1.2
[INFO] [stderr]   Downloaded usbd-hid-macros v0.6.0
[INFO] [stderr]   Downloaded libloading v0.8.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f54bd4a0af6f87d69e055644abcf1812c7572853120f2e7b7d24a19c7f9f0af0
[INFO] running `Command { std: "docker" "start" "f54bd4a0af6f87d69e055644abcf1812c7572853120f2e7b7d24a19c7f9f0af0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f54bd4a0af6f87d69e055644abcf1812c7572853120f2e7b7d24a19c7f9f0af0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f54bd4a0af6f87d69e055644abcf1812c7572853120f2e7b7d24a19c7f9f0af0" "/opt/rustwide/cargo-home/bin/cargo" "+67854e511de21d881bb16426996cd4259d44aa2e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f54bd4a0af6f87d69e055644abcf1812c7572853120f2e7b7d24a19c7f9f0af0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f54bd4a0af6f87d69e055644abcf1812c7572853120f2e7b7d24a19c7f9f0af0" "/opt/rustwide/cargo-home/bin/cargo" "+67854e511de21d881bb16426996cd4259d44aa2e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling prettyplease v0.2.20
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling syn v2.0.71
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling libloading v0.8.4
[INFO] [stderr]    Compiling serde v1.0.204
[INFO] [stderr]    Compiling bindgen v0.69.4
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]    Compiling portable-atomic v1.6.0
[INFO] [stderr]    Compiling cc v1.1.2
[INFO] [stderr]     Checking hash32 v0.3.1
[INFO] [stderr]    Compiling heapless v0.8.0
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling bitfield v0.13.2
[INFO] [stderr]    Compiling usbd-hid-descriptors v0.1.2
[INFO] [stderr]    Compiling regex-automata v0.4.7
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]     Checking encode_unicode v0.3.6
[INFO] [stderr]     Checking usb-device v0.3.2
[INFO] [stderr]    Compiling cherryusb-rs v0.1.0 (/opt/rustwide/workdir/cherryusb-rs)
[INFO] [stderr]    Compiling regex v1.10.5
[INFO] [stderr]     Checking ssmarshal v1.0.0
[INFO] [stderr]    Compiling usbd-hid-macros v0.6.0
[INFO] [stderr]     Checking usbd-hid v0.7.0
[INFO] [stderr]    Compiling cherryusb-rs-sys v0.1.0 (/opt/rustwide/workdir/cherryusb-rs-sys)
[INFO] [stdout] warning: function `add_all_c_files_in_dir_to_cc` is never used
[INFO] [stdout]   --> cherryusb-rs-sys/build.rs:57:4
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn add_all_c_files_in_dir_to_cc(build: &mut Build, path: impl AsRef<Path>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_all_h_files_to_bindgen` is never used
[INFO] [stdout]   --> cherryusb-rs-sys/build.rs:66:4
[INFO] [stdout]    |
[INFO] [stdout] 66 | fn add_all_h_files_to_bindgen(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_bindings` is never used
[INFO] [stdout]   --> cherryusb-rs-sys/build.rs:80:4
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn generate_bindings(mut target: &str, out_path: PathBuf) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_lib` is never used
[INFO] [stdout]    --> cherryusb-rs-sys/build.rs:165:4
[INFO] [stdout]     |
[INFO] [stdout] 165 | fn generate_lib(target: &str, out_path: PathBuf) {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_libs_for_all_targets` is never used
[INFO] [stdout]    --> cherryusb-rs-sys/build.rs:243:4
[INFO] [stdout]     |
[INFO] [stdout] 243 | fn generate_libs_for_all_targets() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_cherryusb_class_c_files_to_cc` is never used
[INFO] [stdout]    --> cherryusb-rs-sys/build.rs:266:4
[INFO] [stdout]     |
[INFO] [stdout] 266 | fn add_cherryusb_class_c_files_to_cc(build: &mut Build) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_cfg` is never used
[INFO] [stdout]  --> cherryusb-rs-sys/precompile_bindings.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn generate_cfg() -> String {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: failed to run custom build command for `cherryusb-rs-sys v0.1.0 (/opt/rustwide/workdir/cherryusb-rs-sys)`
[INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/cherryusb-rs-sys/1b20d21c6135a60a/out/build_script_build` (exit status: 101)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   cargo:rustc-cfg=CURRENT_TARGET="x86_64-unknown-linux-gnu"
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr] 
[INFO] [stderr]   thread 'main' (588) panicked at cherryusb-rs-sys/build.rs:43:21:
[INFO] [stderr]   Cannot find pre-compiled library for target: x86_64-unknown-linux-gnu
[INFO] [stderr] 
[INFO] [stderr]   stack backtrace:
[INFO] [stderr]      0:     0x642e3bfbc701 - std[7d4159f0da463c2b]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stderr]                                  at /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stderr]      1:     0x642e3bfbc701 - std[7d4159f0da463c2b]::backtrace_rs::backtrace::trace_unsynchronized::<std[7d4159f0da463c2b]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stderr]                                  at /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stderr]      2:     0x642e3bfbc701 - std[7d4159f0da463c2b]::sys::backtrace::_print_fmt
[INFO] [stderr]                                  at /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/std/src/sys/backtrace.rs:74:9
[INFO] [stderr]      3:     0x642e3bfbc701 - <<std[7d4159f0da463c2b]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[de7a050920cc59b0]::fmt::Display>::fmt
[INFO] [stderr]                                  at /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/std/src/sys/backtrace.rs:44:26
[INFO] [stderr]      4:     0x642e3bfcd21a - <core[de7a050920cc59b0]::fmt::rt::Argument>::fmt
[INFO] [stderr]                                  at /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/core/src/fmt/rt.rs:152:76
[INFO] [stderr]      5:     0x642e3bfcd21a - core[de7a050920cc59b0]::fmt::write
[INFO] [stderr]      6:     0x642e3bfc004c - core[de7a050920cc59b0]::io::write::default_write_fmt::<std[7d4159f0da463c2b]::sys::stdio::unix::Stderr>
[INFO] [stderr]                                  at /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/core/src/io/write.rs:402:11
[INFO] [stderr]      7:     0x642e3bfc004c - <std[7d4159f0da463c2b]::sys::stdio::unix::Stderr as core[de7a050920cc59b0]::io::write::Write>::write_fmt
[INFO] [stderr]                                  at /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/core/src/io/write.rs:335:13
[INFO] [stderr]      8:     0x642e3bfa5f66 - <std[7d4159f0da463c2b]::sys::backtrace::BacktraceLock>::print
[INFO] [stderr]                                  at /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/std/src/sys/backtrace.rs:47:9
[INFO] [stderr]      9:     0x642e3bfa5f66 - std[7d4159f0da463c2b]::panicking::default_hook::{closure#0}
[INFO] [stderr]                                  at /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/std/src/panicking.rs:292:27
[INFO] [stderr]     10:     0x642e3bfb88b1 - std[7d4159f0da463c2b]::panicking::default_hook
[INFO] [stderr]                                  at /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/std/src/panicking.rs:319:9
[INFO] [stderr]     11:     0x642e3bfb8a6b - std[7d4159f0da463c2b]::panicking::panic_with_hook
[INFO] [stderr]                                  at /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/std/src/panicking.rs:815:13
[INFO] [stderr]     12:     0x642e3bfa6012 - std[7d4159f0da463c2b]::panicking::panic_handler::{closure#0}
[INFO] [stderr]                                  at /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/std/src/panicking.rs:688:13
[INFO] [stderr]     13:     0x642e3bf9ef79 - std[7d4159f0da463c2b]::sys::backtrace::__rust_end_short_backtrace::<std[7d4159f0da463c2b]::panicking::panic_handler::{closure#0}, !>
[INFO] [stderr]                                  at /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/std/src/sys/backtrace.rs:182:18
[INFO] [stderr]     14:     0x642e3bfa680d - __rustc[cc4518d9523add6d]::rust_begin_unwind
[INFO] [stderr]                                  at /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/std/src/panicking.rs:679:5
[INFO] [stderr]     15:     0x642e3bfcd94c - core[de7a050920cc59b0]::panicking::panic_fmt
[INFO] [stderr]                                  at /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/core/src/panicking.rs:80:14
[INFO] [stderr]     16:     0x642e3bf93b88 - build_script_build[ab208821d4566a8b]::main
[INFO] [stderr]     17:     0x642e3bf93e83 - <fn() as core[de7a050920cc59b0]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr]     18:     0x642e3bf92fbe - std[7d4159f0da463c2b]::sys::backtrace::__rust_begin_short_backtrace::<fn(), ()>
[INFO] [stderr]     19:     0x642e3bf92fc9 - std[7d4159f0da463c2b]::rt::lang_start::<()>::{closure#0}
[INFO] [stderr]     20:     0x642e3bfb8019 - <&dyn core[de7a050920cc59b0]::ops::function::Fn<(), Output = i32> + core[de7a050920cc59b0]::panic::unwind_safe::RefUnwindSafe + core[de7a050920cc59b0]::marker::Sync as core[de7a050920cc59b0]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr]                                  at /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/core/src/ops/function.rs:287:21
[INFO] [stderr]     21:     0x642e3bfb8019 - std[7d4159f0da463c2b]::panicking::catch_unwind::do_call::<&dyn core[de7a050920cc59b0]::ops::function::Fn<(), Output = i32> + core[de7a050920cc59b0]::panic::unwind_safe::RefUnwindSafe + core[de7a050920cc59b0]::marker::Sync, i32>
[INFO] [stderr]                                  at /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/std/src/panicking.rs:576:43
[INFO] [stderr]     22:     0x642e3bfb8019 - std[7d4159f0da463c2b]::panicking::catch_unwind::<i32, &dyn core[de7a050920cc59b0]::ops::function::Fn<(), Output = i32> + core[de7a050920cc59b0]::panic::unwind_safe::RefUnwindSafe + core[de7a050920cc59b0]::marker::Sync>
[INFO] [stderr]                                  at /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/std/src/panicking.rs:544:19
[INFO] [stderr]     23:     0x642e3bfb8019 - std[7d4159f0da463c2b]::panic::catch_unwind::<&dyn core[de7a050920cc59b0]::ops::function::Fn<(), Output = i32> + core[de7a050920cc59b0]::panic::unwind_safe::RefUnwindSafe + core[de7a050920cc59b0]::marker::Sync, i32>
[INFO] [stderr]                                  at /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/std/src/panic.rs:359:14
[INFO] [stderr]     24:     0x642e3bfb8019 - std[7d4159f0da463c2b]::rt::lang_start_internal::{closure#0}
[INFO] [stderr]                                  at /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/std/src/rt.rs:175:24
[INFO] [stderr]     25:     0x642e3bfb8019 - std[7d4159f0da463c2b]::panicking::catch_unwind::do_call::<std[7d4159f0da463c2b]::rt::lang_start_internal::{closure#0}, isize>
[INFO] [stderr]                                  at /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/std/src/panicking.rs:576:43
[INFO] [stderr]     26:     0x642e3bfb8019 - std[7d4159f0da463c2b]::panicking::catch_unwind::<isize, std[7d4159f0da463c2b]::rt::lang_start_internal::{closure#0}>
[INFO] [stderr]                                  at /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/std/src/panicking.rs:544:19
[INFO] [stderr]     27:     0x642e3bfb8019 - std[7d4159f0da463c2b]::panic::catch_unwind::<std[7d4159f0da463c2b]::rt::lang_start_internal::{closure#0}, isize>
[INFO] [stderr]                                  at /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/std/src/panic.rs:359:14
[INFO] [stderr]     28:     0x642e3bfb8019 - std[7d4159f0da463c2b]::rt::lang_start_internal
[INFO] [stderr]                                  at /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/std/src/rt.rs:171:5
[INFO] [stderr]     29:     0x642e3bf92fb1 - std[7d4159f0da463c2b]::rt::lang_start::<()>
[INFO] [stderr]     30:     0x642e3bf93ec5 - main
[INFO] [stderr]     31:     0x78452799d601 - <unknown>
[INFO] [stderr]     32:     0x78452799d718 - __libc_start_main
[INFO] [stderr]     33:     0x642e3bf92e35 - _start
[INFO] [stderr]     34:                0x0 - <unknown>
[INFO] running `Command { std: "docker" "inspect" "f54bd4a0af6f87d69e055644abcf1812c7572853120f2e7b7d24a19c7f9f0af0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f54bd4a0af6f87d69e055644abcf1812c7572853120f2e7b7d24a19c7f9f0af0", kill_on_drop: false }`
[INFO] [stdout] f54bd4a0af6f87d69e055644abcf1812c7572853120f2e7b7d24a19c7f9f0af0
