[INFO] fetching crate ut181a-cli 0.2.0... [INFO] testing ut181a-cli-0.2.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate ut181a-cli 0.2.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate ut181a-cli 0.2.0 [INFO] finished tweaking crates.io crate ut181a-cli 0.2.0 [INFO] tweaked toml for crates.io crate ut181a-cli 0.2.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ut181a-cli 0.2.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 61 packages to latest compatible versions [INFO] [stderr] Adding ansi_term v0.10.2 (available: v0.12.1) [INFO] [stderr] Adding clap v2.29.4 (available: v2.34.0) [INFO] [stderr] Adding error-chain v0.11.0 (available: v0.12.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hidapi-sys v0.1.4 [INFO] [stderr] Downloaded ut181a v0.2.1 [INFO] [stderr] Downloaded hid v0.4.1 [INFO] [stderr] Downloaded strsim v0.7.0 [INFO] [stderr] Downloaded nom v3.2.1 [INFO] [stderr] Downloaded clap v2.29.4 [INFO] [stderr] Downloaded ansi_term v0.10.2 [INFO] [stderr] Downloaded cp211x_uart v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 861ace288ff2924aa98e4d10cce67c98a791142d5128190682e6956fb925a6ce [INFO] running `Command { std: "docker" "start" "-a" "861ace288ff2924aa98e4d10cce67c98a791142d5128190682e6956fb925a6ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "861ace288ff2924aa98e4d10cce67c98a791142d5128190682e6956fb925a6ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "861ace288ff2924aa98e4d10cce67c98a791142d5128190682e6956fb925a6ce", kill_on_drop: false }` [INFO] [stdout] 861ace288ff2924aa98e4d10cce67c98a791142d5128190682e6956fb925a6ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36a48e74c83615b9f8072eba8f69088b5d615baf277ded69c44f845f1da61d21 [INFO] running `Command { std: "docker" "start" "-a" "36a48e74c83615b9f8072eba8f69088b5d615baf277ded69c44f845f1da61d21", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.10.2 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling hidapi-sys v0.1.4 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling hid v0.4.1 [INFO] [stderr] Compiling clap v2.29.4 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling cp211x_uart v0.2.2 [INFO] [stderr] Compiling ut181a v0.2.1 [INFO] [stderr] Compiling ut181a-cli v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | links { [INFO] [stdout] 3 | | Dmm(::ut181a::Error, ::ut181a::ErrorKind); [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | links { [INFO] [stdout] 3 | | Dmm(::ut181a::Error, ::ut181a::ErrorKind); [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcTNmXrj/symbols.o" "<4 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libut181a-7948013ef06b4d00,libnom-f64700a6c73e8cd9,libmemchr-9fe932cc95713768,libcp211x_uart-e53ecaf60f2a548d,libchrono-93fa291e31182156,libiana_time_zone-54997521cde77023,libnum_traits-6a9f211205bd6663,libbyteorder-1efcbe4f07366651,libhid-cacef06b09a5ca9e,libhidapi_sys-13d90c752ea736a7,liberror_chain-72fa272f9effa2c6,libbacktrace-fd6796e435def34d,libminiz_oxide-dc1393c4a01d0126,libadler2-6c84652b4f76062c,libobject-6ed96b0fe1b8ed07,libmemchr-09d2cd1aad239956,libaddr2line-4e787d18316ae865,libgimli-3f9d212b917c832b,libcfg_if-666d36e5ee0df220,librustc_demangle-5999d1fab1f5d4fa,libclap-a0574364249c8377,libvec_map-ecbce826993378bd,libtextwrap-be5ded8099f2fcdc,libunicode_width-08b963676a6677c5,libstrsim-72496009c2ea080e,libbitflags-e2b4db6c651223da,libatty-5a249fafa4a971b6,liblibc-64e05ccd974e1a0c,libansi_term-36af66e2bdf26052}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-ludev" "-lhidapi-libusb" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcTNmXrj/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/ut181a_cli-283048e040d508df" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lhidapi-libusb [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ut181a-cli` (bin "ut181a-cli") due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "36a48e74c83615b9f8072eba8f69088b5d615baf277ded69c44f845f1da61d21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36a48e74c83615b9f8072eba8f69088b5d615baf277ded69c44f845f1da61d21", kill_on_drop: false }` [INFO] [stdout] 36a48e74c83615b9f8072eba8f69088b5d615baf277ded69c44f845f1da61d21