[INFO] fetching crate uni_jnihelpers 0.0.2... [INFO] testing uni_jnihelpers-0.0.2 against beta-2021-09-08 for beta-1.56-1 [INFO] extracting crate uni_jnihelpers 0.0.2 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate uni_jnihelpers 0.0.2 on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-09-08" "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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c6e1a20cf96421bcb9a056d209c40124f2aa937ff6b04b8630ea567a0720f5d [INFO] running `Command { std: "docker" "start" "-a" "9c6e1a20cf96421bcb9a056d209c40124f2aa937ff6b04b8630ea567a0720f5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c6e1a20cf96421bcb9a056d209c40124f2aa937ff6b04b8630ea567a0720f5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c6e1a20cf96421bcb9a056d209c40124f2aa937ff6b04b8630ea567a0720f5d", kill_on_drop: false }` [INFO] [stdout] 9c6e1a20cf96421bcb9a056d209c40124f2aa937ff6b04b8630ea567a0720f5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42567f76f3f6e8bd81157a455823d87bbd7f8300c58bf54cf52172b9dbb59287 [INFO] running `Command { std: "docker" "start" "-a" "42567f76f3f6e8bd81157a455823d87bbd7f8300c58bf54cf52172b9dbb59287", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bytes v1.1.0 [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 lock_api v0.4.5 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling uni_tmp_jni v0.18.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling combine v4.6.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling uni_jnihelpers v0.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.91s [INFO] running `Command { std: "docker" "inspect" "42567f76f3f6e8bd81157a455823d87bbd7f8300c58bf54cf52172b9dbb59287", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42567f76f3f6e8bd81157a455823d87bbd7f8300c58bf54cf52172b9dbb59287", kill_on_drop: false }` [INFO] [stdout] 42567f76f3f6e8bd81157a455823d87bbd7f8300c58bf54cf52172b9dbb59287 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0263f940ebd2a38b479a3bcd6a2dc79daefcbbab1d8fa8dcea7c2d9b5781477 [INFO] running `Command { std: "docker" "start" "-a" "f0263f940ebd2a38b479a3bcd6a2dc79daefcbbab1d8fa8dcea7c2d9b5781477", 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.32s [INFO] running `Command { std: "docker" "inspect" "f0263f940ebd2a38b479a3bcd6a2dc79daefcbbab1d8fa8dcea7c2d9b5781477", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0263f940ebd2a38b479a3bcd6a2dc79daefcbbab1d8fa8dcea7c2d9b5781477", kill_on_drop: false }` [INFO] [stdout] f0263f940ebd2a38b479a3bcd6a2dc79daefcbbab1d8fa8dcea7c2d9b5781477 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 65216e3cd7b70ff5b9a0b8bcaf01015eed194acc88c9a116da3184681f6cfea4 [INFO] running `Command { std: "docker" "start" "-a" "65216e3cd7b70ff5b9a0b8bcaf01015eed194acc88c9a116da3184681f6cfea4", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/uni_jnihelpers-6e57ff6efe01a73d) [INFO] [stdout] [INFO] [stderr] Doc-tests uni_jnihelpers [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] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/macroses.rs - macroses::get_java_class (line 15) ... FAILED [INFO] [stdout] test src/macroses.rs - macroses::get_java_method (line 65) ... FAILED [INFO] [stdout] test src/macroses.rs - macroses::get_java_static_method (line 124) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/macroses.rs - macroses::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, 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 - macroses::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 - macroses::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 - macroses::get_java_class (line 15) [INFO] [stdout] src/macroses.rs - macroses::get_java_method (line 65) [INFO] [stdout] src/macroses.rs - macroses::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.17s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "65216e3cd7b70ff5b9a0b8bcaf01015eed194acc88c9a116da3184681f6cfea4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65216e3cd7b70ff5b9a0b8bcaf01015eed194acc88c9a116da3184681f6cfea4", kill_on_drop: false }` [INFO] [stdout] 65216e3cd7b70ff5b9a0b8bcaf01015eed194acc88c9a116da3184681f6cfea4