[INFO] fetching crate android-usbser 0.2.3...
[INFO] testing android-usbser-0.2.3 against 1.100.0-beta.13+cargoflags=--release for beta-release-1.101-2
[INFO] extracting crate android-usbser 0.2.3 into /workspace/builds/worker-4-tc1/source
[INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml
[INFO] started tweaking crates.io crate android-usbser 0.2.3
[INFO] finished tweaking crates.io crate android-usbser 0.2.3
[INFO] tweaked toml for crates.io crate android-usbser 0.2.3 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate android-usbser 0.2.3 on toolchain 1.100.0-beta.13
[INFO] running `"cargo" "+1.100.0-beta.13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate crates.io crate android-usbser 0.2.3 already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded io-kit-sys v0.4.1
[INFO] [stderr]   Downloaded libudev v0.3.0
[INFO] [stderr]   Downloaded serialport v4.7.2
[INFO] [stderr]   Downloaded windows-targets v0.53.2
[INFO] [stderr]   Downloaded android-build v0.1.3
[INFO] [stderr]   Downloaded getset v0.1.6
[INFO] [stderr]   Downloaded slab v0.4.10
[INFO] [stderr]   Downloaded jni-min-helper v0.3.1
[INFO] [stderr]   Downloaded glob v0.3.2
[INFO] [stderr]   Downloaded unescaper v0.1.6
[INFO] [stderr]   Downloaded futures-lite v2.6.0
[INFO] [stderr]   Downloaded nusb v0.1.14
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 4fe3488c80cad61c7d0827b54d714b0dc6240cb7b3f6942173ce2c6156dfb51c
[INFO] running `"docker" "start" "4fe3488c80cad61c7d0827b54d714b0dc6240cb7b3f6942173ce2c6156dfb51c"`
[INFO] running `"docker" "inspect" "4fe3488c80cad61c7d0827b54d714b0dc6240cb7b3f6942173ce2c6156dfb51c"`
[INFO] running `"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" "4fe3488c80cad61c7d0827b54d714b0dc6240cb7b3f6942173ce2c6156dfb51c" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "4fe3488c80cad61c7d0827b54d714b0dc6240cb7b3f6942173ce2c6156dfb51c"`
[INFO] running `"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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4fe3488c80cad61c7d0827b54d714b0dc6240cb7b3f6942173ce2c6156dfb51c" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling glob v0.3.2
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]    Compiling android-build v0.1.3
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling java-locator v0.1.9
[INFO] [stderr]    Compiling jni-sys v0.3.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling cesu8 v1.1.0
[INFO] [stderr]    Compiling jni-min-helper v0.3.1
[INFO] [stderr]    Compiling slab v0.4.10
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling combine v4.6.7
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling futures-lite v2.6.0
[INFO] [stderr]    Compiling nix v0.26.4
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]    Compiling libudev v0.3.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling getset v0.1.6
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling unescaper v0.1.6
[INFO] [stderr]    Compiling serialport v4.7.2
[INFO] [stderr]    Compiling nusb v0.1.14
[INFO] [stderr]    Compiling jni v0.21.1
[INFO] [stderr]    Compiling android-usbser v0.2.3 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `jni_min_helper::block_for_timeout`
[INFO] [stdout]  --> usb_sync.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use jni_min_helper::block_for_timeout;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^-----------------
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     no `block_for_timeout` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `BroadcastWaiter` in this scope
[INFO] [stdout]    --> usb_conn.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 |     waiter: BroadcastWaiter,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `BroadcastWaiter` in this scope
[INFO] [stdout]    --> usb_conn.rs:346:13
[INFO] [stdout]     |
[INFO] [stdout] 346 |     waiter: BroadcastWaiter,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `android_context` in this scope
[INFO] [stdout]   --> usb_conn.rs:33:23
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let context = android_context();
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `android_context` in this scope
[INFO] [stdout]   --> usb_conn.rs:63:24
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let activity = android_context();
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `BroadcastReceiver` in this scope
[INFO] [stdout]   --> usb_conn.rs:70:30
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let action_startup = BroadcastReceiver::get_intent_action(&intent_startup, env)?;
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^ use of undeclared type `BroadcastReceiver`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `BroadcastWaiter` in this scope
[INFO] [stdout]    --> usb_conn.rs:109:5
[INFO] [stdout]     |
[INFO] [stdout] 109 |     BroadcastWaiter::build([ACTION_USB_DEVICE_ATTACHED, ACTION_USB_DEVICE_DETACHED])
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ use of undeclared type `BroadcastWaiter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `block_for_timeout` in this scope
[INFO] [stdout]    --> usb_conn.rs:149:9
[INFO] [stdout]     |
[INFO] [stdout] 149 |         block_for_timeout(fut, timeout)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `BroadcastWaiter` in this scope
[INFO] [stdout]    --> usb_conn.rs:163:30
[INFO] [stdout]     |
[INFO] [stdout] 163 |                 let action = BroadcastWaiter::get_intent_action(&intent, env)?;
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^ use of undeclared type `BroadcastWaiter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `android_context` in this scope
[INFO] [stdout]    --> usb_conn.rs:242:27
[INFO] [stdout]     |
[INFO] [stdout] 242 |             let context = android_context();
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `android_api_level` in this scope
[INFO] [stdout]    --> usb_conn.rs:253:28
[INFO] [stdout]     |
[INFO] [stdout] 253 |             let flags = if android_api_level() < 31 {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `BroadcastWaiter` in this scope
[INFO] [stdout]    --> usb_conn.rs:282:9
[INFO] [stdout]     |
[INFO] [stdout] 282 |         BroadcastWaiter::build([ACTION_USB_PERMISSION])
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ use of undeclared type `BroadcastWaiter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `block_for_timeout` in this scope
[INFO] [stdout]    --> usb_conn.rs:364:9
[INFO] [stdout]     |
[INFO] [stdout] 364 |         block_for_timeout(self, Duration::from_millis(10))
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: try calling `block_for_timeout` as a method
[INFO] [stdout]     |
[INFO] [stdout] 364 -         block_for_timeout(self, Duration::from_millis(10))
[INFO] [stdout] 364 +         self.block_for_timeout(Duration::from_millis(10))
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `block_for_timeout` in this scope
[INFO] [stdout]    --> usb_conn.rs:370:9
[INFO] [stdout]     |
[INFO] [stdout] 370 |         block_for_timeout(self, timeout).ok_or(Error::from(ErrorKind::TimedOut))
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: try calling `block_for_timeout` as a method
[INFO] [stdout]     |
[INFO] [stdout] 370 -         block_for_timeout(self, timeout).ok_or(Error::from(ErrorKind::TimedOut))
[INFO] [stdout] 370 +         self.block_for_timeout(timeout).ok_or(Error::from(ErrorKind::TimedOut))
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `android_api_level` in this scope
[INFO] [stdout]    --> usb_info.rs:114:12
[INFO] [stdout]     |
[INFO] [stdout] 114 |         if android_api_level() >= 21 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `android_api_level` in this scope
[INFO] [stdout]    --> usb_info.rs:118:37
[INFO] [stdout]     |
[INFO] [stdout] 118 |             info.serial_number = if android_api_level() < 29 {
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `android-usbser` (lib) due to 16 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `"docker" "inspect" "4fe3488c80cad61c7d0827b54d714b0dc6240cb7b3f6942173ce2c6156dfb51c"`
[INFO] running `"docker" "rm" "-f" "4fe3488c80cad61c7d0827b54d714b0dc6240cb7b3f6942173ce2c6156dfb51c"`
[INFO] [stdout] 4fe3488c80cad61c7d0827b54d714b0dc6240cb7b3f6942173ce2c6156dfb51c
