[INFO] fetching crate hidapi-alt-for-hidapi-issue-127 1.2.1... [INFO] testing hidapi-alt-for-hidapi-issue-127-1.2.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate hidapi-alt-for-hidapi-issue-127 1.2.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate hidapi-alt-for-hidapi-issue-127 1.2.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hidapi-alt-for-hidapi-issue-127 1.2.1 [INFO] finished tweaking crates.io crate hidapi-alt-for-hidapi-issue-127 1.2.1 [INFO] tweaked toml for crates.io crate hidapi-alt-for-hidapi-issue-127 1.2.1 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate crates.io crate hidapi-alt-for-hidapi-issue-127 1.2.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77df917ed13f727cfbf53e807ff7cf0d3c7d3baf2b411b311a098dd31da10959 [INFO] running `Command { std: "docker" "start" "-a" "77df917ed13f727cfbf53e807ff7cf0d3c7d3baf2b411b311a098dd31da10959", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77df917ed13f727cfbf53e807ff7cf0d3c7d3baf2b411b311a098dd31da10959", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77df917ed13f727cfbf53e807ff7cf0d3c7d3baf2b411b311a098dd31da10959", kill_on_drop: false }` [INFO] [stdout] 77df917ed13f727cfbf53e807ff7cf0d3c7d3baf2b411b311a098dd31da10959 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7aa4347b9c632ac36b6c364834893ce9f1126d1f1931c34f6f5cb7eb27ad573d [INFO] running `Command { std: "docker" "start" "-a" "7aa4347b9c632ac36b6c364834893ce9f1126d1f1931c34f6f5cb7eb27ad573d", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling hidapi-alt-for-hidapi-issue-127 v1.2.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: etc/hidapi/libusb/hid.c: In function 'hid_error': [INFO] [stderr] warning: etc/hidapi/libusb/hid.c:1299:68: warning: unused parameter 'dev' [-Wunused-parameter] [INFO] [stderr] warning: 1299 | HID_API_EXPORT const wchar_t * HID_API_CALL hid_error(hid_device *dev) [INFO] [stderr] warning: | ~~~~~~~~~~~~^~~ [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.89s [INFO] running `Command { std: "docker" "inspect" "7aa4347b9c632ac36b6c364834893ce9f1126d1f1931c34f6f5cb7eb27ad573d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7aa4347b9c632ac36b6c364834893ce9f1126d1f1931c34f6f5cb7eb27ad573d", kill_on_drop: false }` [INFO] [stdout] 7aa4347b9c632ac36b6c364834893ce9f1126d1f1931c34f6f5cb7eb27ad573d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d81e13a058ba2b0a9d5d5b19c79beeacf4975050a1e57c3aa7e0dd524e945512 [INFO] running `Command { std: "docker" "start" "-a" "d81e13a058ba2b0a9d5d5b19c79beeacf4975050a1e57c3aa7e0dd524e945512", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: etc/hidapi/libusb/hid.c: In function 'hid_error': [INFO] [stderr] warning: etc/hidapi/libusb/hid.c:1299:68: warning: unused parameter 'dev' [-Wunused-parameter] [INFO] [stderr] warning: 1299 | HID_API_EXPORT const wchar_t * HID_API_CALL hid_error(hid_device *dev) [INFO] [stderr] warning: | ~~~~~~~~~~~~^~~ [INFO] [stderr] Compiling hidapi-alt-for-hidapi-issue-127 v1.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `hidapi` [INFO] [stdout] --> examples/readhid.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate hidapi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `hidapi` [INFO] [stdout] --> examples/static_lifetime_bound.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate hidapi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `hidapi` [INFO] [stdout] --> examples/co2mon.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate hidapi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HidApi` [INFO] [stdout] --> examples/co2mon.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 89 | let api = HidApi::new().expect("HID API object creation failed"); [INFO] [stdout] | ^^^^^^ use of undeclared type `HidApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HidApi` in this scope [INFO] [stdout] --> examples/co2mon.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | fn open_device(api: &HidApi) -> HidDevice { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HidDevice` in this scope [INFO] [stdout] --> examples/co2mon.rs:76:33 [INFO] [stdout] | [INFO] [stdout] 76 | fn open_device(api: &HidApi) -> HidDevice { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HidApi` [INFO] [stdout] --> examples/readhid.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | let api = HidApi::new().expect("Failed to create API instance"); [INFO] [stdout] | ^^^^^^ use of undeclared type `HidApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HidApi` [INFO] [stdout] --> examples/static_lifetime_bound.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | let api = HidApi::new().expect("Hidapi init failed"); [INFO] [stdout] | ^^^^^^ use of undeclared type `HidApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HidDevice` in this scope [INFO] [stdout] --> examples/static_lifetime_bound.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | fn test_lt() -> Rc { [INFO] [stdout] | - ^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `hidapi` [INFO] [stdout] --> examples/lshid.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate hidapi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HidApi` [INFO] [stdout] --> examples/lshid.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | match HidApi::new() { [INFO] [stdout] | ^^^^^^ use of undeclared type `HidApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `hidapi` [INFO] [stdout] --> examples/open_first_device.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate hidapi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Rc<_>` in the current scope [INFO] [stdout] --> examples/static_lifetime_bound.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let dev_1 = dev.clone(); [INFO] [stdout] | ^^^^^ method not found in `Rc<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: etc/hidapi/libusb/hid.c: In function 'hid_error': [INFO] [stderr] warning: etc/hidapi/libusb/hid.c:1299:68: warning: unused parameter 'dev' [-Wunused-parameter] [INFO] [stderr] warning: 1299 | HID_API_EXPORT const wchar_t * HID_API_CALL hid_error(hid_device *dev) [INFO] [stderr] warning: | ~~~~~~~~~~~~^~~ [INFO] [stderr] [INFO] [stderr] error: could not compile `hidapi-alt-for-hidapi-issue-127` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HidApi` [INFO] [stdout] --> examples/open_first_device.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | let hidapi = HidApi::new()?; [INFO] [stdout] | ^^^^^^ use of undeclared type `HidApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0412]: cannot find type `HidError` in this scope [INFO] [stdout] --> examples/open_first_device.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | fn run() -> Result<(), HidError> { [INFO] [stdout] | - ^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: etc/hidapi/libusb/hid.c: In function 'hid_error': [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: etc/hidapi/libusb/hid.c:1299:68: warning: unused parameter 'dev' [-Wunused-parameter] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463, E0599. [INFO] [stdout] [INFO] [stderr] warning: 1299 | HID_API_EXPORT const wchar_t * HID_API_CALL hid_error(hid_device *dev) [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] warning: | ~~~~~~~~~~~~^~~ [INFO] [stderr] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: etc/hidapi/libusb/hid.c: In function 'hid_error': [INFO] [stderr] warning: etc/hidapi/libusb/hid.c:1299:68: warning: unused parameter 'dev' [-Wunused-parameter] [INFO] [stderr] warning: 1299 | HID_API_EXPORT const wchar_t * HID_API_CALL hid_error(hid_device *dev) [INFO] [stderr] warning: | ~~~~~~~~~~~~^~~ [INFO] [stderr] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] warning: etc/hidapi/libusb/hid.c: In function 'hid_error': [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: etc/hidapi/libusb/hid.c:1299:68: warning: unused parameter 'dev' [-Wunused-parameter] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] [INFO] [stderr] warning: 1299 | HID_API_EXPORT const wchar_t * HID_API_CALL hid_error(hid_device *dev) [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] warning: | ~~~~~~~~~~~~^~~ [INFO] [stderr] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: etc/hidapi/libusb/hid.c: In function 'hid_error': [INFO] [stderr] warning: etc/hidapi/libusb/hid.c:1299:68: warning: unused parameter 'dev' [-Wunused-parameter] [INFO] [stderr] warning: 1299 | HID_API_EXPORT const wchar_t * HID_API_CALL hid_error(hid_device *dev) [INFO] [stderr] warning: | ~~~~~~~~~~~~^~~ [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d81e13a058ba2b0a9d5d5b19c79beeacf4975050a1e57c3aa7e0dd524e945512", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d81e13a058ba2b0a9d5d5b19c79beeacf4975050a1e57c3aa7e0dd524e945512", kill_on_drop: false }` [INFO] [stdout] d81e13a058ba2b0a9d5d5b19c79beeacf4975050a1e57c3aa7e0dd524e945512