[INFO] fetching crate uni_jnihelpers 0.0.2...
[INFO] testing uni_jnihelpers-0.0.2 against beta-2021-08-01 for beta-1.55-1
[INFO] extracting crate uni_jnihelpers 0.0.2 into /workspace/builds/worker-8/source
[INFO] validating manifest of crates.io crate uni_jnihelpers 0.0.2 on toolchain beta-2021-08-01
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate uni_jnihelpers 0.0.2
[INFO] finished tweaking crates.io crate uni_jnihelpers 0.0.2
[INFO] tweaked toml for crates.io crate uni_jnihelpers 0.0.2 written to /workspace/builds/worker-8/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "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" "+beta-2021-08-01" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7800805cf96343fb38e3664a88daeb8759e6ecc0d7ac5ae5960a27554f6c41e9
[INFO] running `Command { std: "docker" "start" "-a" "7800805cf96343fb38e3664a88daeb8759e6ecc0d7ac5ae5960a27554f6c41e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7800805cf96343fb38e3664a88daeb8759e6ecc0d7ac5ae5960a27554f6c41e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7800805cf96343fb38e3664a88daeb8759e6ecc0d7ac5ae5960a27554f6c41e9", kill_on_drop: false }`
[INFO] [stdout] 7800805cf96343fb38e3664a88daeb8759e6ecc0d7ac5ae5960a27554f6c41e9
[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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 02d11f9d08849e5185c9963062b6636d00e58fc2e8df7ddaee062cabd8ec19b3
[INFO] running `Command { std: "docker" "start" "-a" "02d11f9d08849e5185c9963062b6636d00e58fc2e8df7ddaee062cabd8ec19b3", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling smallvec v1.6.1
[INFO] [stderr]    Compiling bytes v1.0.1
[INFO] [stderr]    Compiling cesu8 v1.1.0
[INFO] [stderr]    Compiling jni-sys v0.3.0
[INFO] [stderr]    Compiling instant v0.1.10
[INFO] [stderr]    Compiling uni_tmp_jni v0.18.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.26
[INFO] [stderr]    Compiling lock_api v0.4.4
[INFO] [stderr]    Compiling parking_lot_core v0.8.3
[INFO] [stderr]    Compiling combine v4.6.0
[INFO] [stderr]    Compiling parking_lot v0.11.1
[INFO] [stderr]    Compiling thiserror v1.0.26
[INFO] [stderr]    Compiling uni_jnihelpers v0.0.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 16.64s
[INFO] running `Command { std: "docker" "inspect" "02d11f9d08849e5185c9963062b6636d00e58fc2e8df7ddaee062cabd8ec19b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "02d11f9d08849e5185c9963062b6636d00e58fc2e8df7ddaee062cabd8ec19b3", kill_on_drop: false }`
[INFO] [stdout] 02d11f9d08849e5185c9963062b6636d00e58fc2e8df7ddaee062cabd8ec19b3
[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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a0164f798ffdd111d18b73e0518690921dda1c63e1edf68e60809135036c1ef1
[INFO] running `Command { std: "docker" "start" "-a" "a0164f798ffdd111d18b73e0518690921dda1c63e1edf68e60809135036c1ef1", kill_on_drop: false }`
[INFO] [stderr]    Compiling uni_jnihelpers v0.0.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.72s
[INFO] running `Command { std: "docker" "inspect" "a0164f798ffdd111d18b73e0518690921dda1c63e1edf68e60809135036c1ef1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a0164f798ffdd111d18b73e0518690921dda1c63e1edf68e60809135036c1ef1", kill_on_drop: false }`
[INFO] [stdout] a0164f798ffdd111d18b73e0518690921dda1c63e1edf68e60809135036c1ef1
[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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 71a740d56778e3c29ab9a6e73d74e39aa2fd10c387effb1e754383c0063fc637
[INFO] running `Command { std: "docker" "start" "-a" "71a740d56778e3c29ab9a6e73d74e39aa2fd10c387effb1e754383c0063fc637", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests (/opt/rustwide/target/debug/deps/uni_jnihelpers-14691116acb44fd1)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests uni_jnihelpers
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/macroses.rs - get_java_class (line 15) ... FAILED
[INFO] [stdout] test src/macroses.rs - get_java_method (line 65) ... FAILED
[INFO] [stdout] test src/macroses.rs - get_java_static_method (line 124) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/macroses.rs - get_java_class (line 15) stdout ----
[INFO] [stdout] error: cannot find macro `get_java_class` in this scope
[INFO] [stdout]  --> src/macroses.rs:17:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | class = get_java_class!(jni_env, "my/class/full/Name");
[INFO] [stdout]   |         ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: consider importing this macro:
[INFO] [stdout]           uni_jnihelpers::get_java_class
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `jni`
[INFO] [stdout]  --> src/macroses.rs:16:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | let class: Result<jni::objects::JClass<'static>, uni_jnihelpers::JniError>;
[INFO] [stdout]   |                   ^^^ use of undeclared crate or module `jni`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/macroses.rs - get_java_method (line 65) stdout ----
[INFO] [stdout] error: cannot find macro `get_java_method` in this scope
[INFO] [stdout]  --> src/macroses.rs:66:35
[INFO] [stdout]   |
[INFO] [stdout] 3 | let method: jni::sys::jmethodID = get_java_method!(
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: consider importing this macro:
[INFO] [stdout]           uni_jnihelpers::get_java_method
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `jni`
[INFO] [stdout]  --> src/macroses.rs:66:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | let method: jni::sys::jmethodID = get_java_method!(
[INFO] [stdout]   |             ^^^ use of undeclared crate or module `jni`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/macroses.rs:71:2
[INFO] [stdout]     |
[INFO] [stdout] 2   |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_macroses_rs_65_0() {
[INFO] [stdout]     |  ______________________________________-
[INFO] [stdout] 3   | | let method: jni::sys::jmethodID = get_java_method!(
[INFO] [stdout] 4   | |     jni_env,
[INFO] [stdout] 5   | |     class_ref,  // jni::objects::JClass
[INFO] [stdout] ...   |
[INFO] [stdout] 8   | | )?;
[INFO] [stdout]     | |  ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 9   | | } _doctest_main_src_macroses_rs_65_0() }
[INFO] [stdout]     | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/macroses.rs - get_java_static_method (line 124) stdout ----
[INFO] [stdout] error: cannot find macro `get_java_static_method` in this scope
[INFO] [stdout]  --> src/macroses.rs:125:35
[INFO] [stdout]   |
[INFO] [stdout] 3 | let method: jni::sys::jmethodID = get_java_static_method!(
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: consider importing this macro:
[INFO] [stdout]           uni_jnihelpers::get_java_static_method
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `jni`
[INFO] [stdout]  --> src/macroses.rs:125:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | let method: jni::sys::jmethodID = get_java_static_method!(
[INFO] [stdout]   |             ^^^ use of undeclared crate or module `jni`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/macroses.rs:130:2
[INFO] [stdout]     |
[INFO] [stdout] 2   |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_macroses_rs_124_0() {
[INFO] [stdout]     |  ______________________________________-
[INFO] [stdout] 3   | | let method: jni::sys::jmethodID = get_java_static_method!(
[INFO] [stdout] 4   | |     jni_env,
[INFO] [stdout] 5   | |     class_ref,  // jni::objects::JClass
[INFO] [stdout] ...   |
[INFO] [stdout] 8   | | )?;
[INFO] [stdout]     | |  ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 9   | | } _doctest_main_src_macroses_rs_124_0() }
[INFO] [stdout]     | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/macroses.rs - get_java_class (line 15)
[INFO] [stdout]     src/macroses.rs - get_java_method (line 65)
[INFO] [stdout]     src/macroses.rs - get_java_static_method (line 124)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `Command { std: "docker" "inspect" "71a740d56778e3c29ab9a6e73d74e39aa2fd10c387effb1e754383c0063fc637", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "71a740d56778e3c29ab9a6e73d74e39aa2fd10c387effb1e754383c0063fc637", kill_on_drop: false }`
[INFO] [stdout] 71a740d56778e3c29ab9a6e73d74e39aa2fd10c387effb1e754383c0063fc637
