[INFO] fetching crate javawithrust 0.2.0...
[INFO] testing javawithrust-0.2.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate javawithrust 0.2.0 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate javawithrust 0.2.0
[INFO] finished tweaking crates.io crate javawithrust 0.2.0
[INFO] tweaked toml for crates.io crate javawithrust 0.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate javawithrust 0.2.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 46 packages to latest compatible versions
[INFO] [stderr]       Adding j4rs v0.13.0 (available: v0.23.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 509afa24f67847064f29f982118d5bf49b89493d73b5af9579b2ee1f1f0c77cb
[INFO] running `Command { std: "docker" "start" "-a" "509afa24f67847064f29f982118d5bf49b89493d73b5af9579b2ee1f1f0c77cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "509afa24f67847064f29f982118d5bf49b89493d73b5af9579b2ee1f1f0c77cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "509afa24f67847064f29f982118d5bf49b89493d73b5af9579b2ee1f1f0c77cb", kill_on_drop: false }`
[INFO] [stdout] 509afa24f67847064f29f982118d5bf49b89493d73b5af9579b2ee1f1f0c77cb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] da41454b36dfad98a957d11324aaf70680c05cc9889c9906e01ffe6e6ff56015
[INFO] running `Command { std: "docker" "start" "-a" "da41454b36dfad98a957d11324aaf70680c05cc9889c9906e01ffe6e6ff56015", kill_on_drop: false }`
[INFO] [stderr]    Compiling opaque-debug v0.3.1
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling generic-array v0.14.9
[INFO] [stderr]    Compiling java-locator v0.1.9
[INFO] [stderr]    Compiling libloading v0.6.7
[INFO] [stderr]    Compiling dirs-sys v0.3.7
[INFO] [stderr]    Compiling cesu8 v1.1.0
[INFO] [stderr]    Compiling jni-sys v0.3.0
[INFO] [stderr]    Compiling j4rs_derive v0.1.1
[INFO] [stderr]    Compiling javawithrust_macro v0.2.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling dirs v3.0.2
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling j4rs v0.13.0
[INFO] [stderr]    Compiling javawithrust v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.37s
[INFO] running `Command { std: "docker" "inspect" "da41454b36dfad98a957d11324aaf70680c05cc9889c9906e01ffe6e6ff56015", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "da41454b36dfad98a957d11324aaf70680c05cc9889c9906e01ffe6e6ff56015", kill_on_drop: false }`
[INFO] [stdout] da41454b36dfad98a957d11324aaf70680c05cc9889c9906e01ffe6e6ff56015
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c38b57cd62b9a76a0845cf0da45ab73bce933bfb5e5ae41440357d4c06414e7d
[INFO] running `Command { std: "docker" "start" "-a" "c38b57cd62b9a76a0845cf0da45ab73bce933bfb5e5ae41440357d4c06414e7d", kill_on_drop: false }`
[INFO] [stderr]    Compiling javawithrust v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.46s
[INFO] running `Command { std: "docker" "inspect" "c38b57cd62b9a76a0845cf0da45ab73bce933bfb5e5ae41440357d4c06414e7d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c38b57cd62b9a76a0845cf0da45ab73bce933bfb5e5ae41440357d4c06414e7d", kill_on_drop: false }`
[INFO] [stdout] c38b57cd62b9a76a0845cf0da45ab73bce933bfb5e5ae41440357d4c06414e7d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 97bbe894d3b730f38a7062dbddb4bf86546f2e403cf02a19e68c21a0497a4e29
[INFO] running `Command { std: "docker" "start" "-a" "97bbe894d3b730f38a7062dbddb4bf86546f2e403cf02a19e68c21a0497a4e29", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/javawithrust-f630e56e1332f118)
[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] [stderr]    Doc-tests javawithrust
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/lib.rs - prelude (line 98) ... ok
[INFO] [stdout] test src/lib.rs - (line 24) ... FAILED
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 24) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `JNIEnv` in this scope
[INFO] [stdout]   --> src/lib.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | #[jfuncs]
[INFO] [stdout]    | ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing one of these type aliases:
[INFO] [stdout]            j4rs::prelude::JNIEnv
[INFO] [stdout]            javawithrust::prelude::JNIEnv
[INFO] [stdout]    = note: this error originates in the attribute macro `::javawithrust::prelude::call_from_java` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stdout]   --> src/lib.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | #[jfuncs]
[INFO] [stdout]    | ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing one of these items:
[INFO] [stdout]            std::ffi::c_void
[INFO] [stdout]            std::os::raw::c_void
[INFO] [stdout]            core::ffi::c_void
[INFO] [stdout]            j4rs::prelude::c_void
[INFO] [stdout]            javawithrust::prelude::c_void
[INFO] [stdout]    = note: this error originates in the attribute macro `::javawithrust::prelude::call_from_java` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `jobject` in this scope
[INFO] [stdout]   --> src/lib.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | #[jfuncs]
[INFO] [stdout]    | ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing one of these type aliases:
[INFO] [stdout]            j4rs::prelude::jobject
[INFO] [stdout]            javawithrust::prelude::jobject
[INFO] [stdout]    = note: this error originates in the attribute macro `::javawithrust::prelude::call_from_java` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Jvm`
[INFO] [stdout]   --> src/lib.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | #[jfuncs]
[INFO] [stdout]    | ^^^^^^^^^ use of undeclared type `Jvm`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing one of these structs:
[INFO] [stdout]            j4rs::Jvm
[INFO] [stdout]            javawithrust::prelude::Jvm
[INFO] [stdout]    = note: this error originates in the attribute macro `::javawithrust::prelude::call_from_java` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ptr`
[INFO] [stdout]   --> src/lib.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | #[jfuncs]
[INFO] [stdout]    | ^^^^^^^^^
[INFO] [stdout]    | |
[INFO] [stdout]    | use of unresolved module or unlinked crate `ptr`
[INFO] [stdout]    | help: a builtin type with a similar name exists: `str`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `ptr`, use `cargo add ptr` to add it to your `Cargo.toml`
[INFO] [stdout]    = help: consider importing one of these modules:
[INFO] [stdout]            std::ptr
[INFO] [stdout]            j4rs::prelude::ptr
[INFO] [stdout]            javawithrust::prelude::ptr
[INFO] [stdout]    = note: this error originates in the attribute macro `::javawithrust::prelude::call_from_java` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JNIEnv` in this scope
[INFO] [stdout]   --> src/lib.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | #[jfuncs]
[INFO] [stdout]    | ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing one of these type aliases:
[INFO] [stdout]            j4rs::prelude::JNIEnv
[INFO] [stdout]            javawithrust::prelude::JNIEnv
[INFO] [stdout]    = note: this error originates in the attribute macro `::javawithrust::prelude::call_from_java` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stdout]   --> src/lib.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | #[jfuncs]
[INFO] [stdout]    | ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing one of these items:
[INFO] [stdout]            std::ffi::c_void
[INFO] [stdout]            std::os::raw::c_void
[INFO] [stdout]            core::ffi::c_void
[INFO] [stdout]            j4rs::prelude::c_void
[INFO] [stdout]            javawithrust::prelude::c_void
[INFO] [stdout]    = note: this error originates in the attribute macro `::javawithrust::prelude::call_from_java` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `jobject` in this scope
[INFO] [stdout]   --> src/lib.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | #[jfuncs]
[INFO] [stdout]    | ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing one of these type aliases:
[INFO] [stdout]            j4rs::prelude::jobject
[INFO] [stdout]            javawithrust::prelude::jobject
[INFO] [stdout]    = note: this error originates in the attribute macro `::javawithrust::prelude::call_from_java` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Jvm`
[INFO] [stdout]   --> src/lib.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | #[jfuncs]
[INFO] [stdout]    | ^^^^^^^^^ use of undeclared type `Jvm`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing one of these structs:
[INFO] [stdout]            j4rs::Jvm
[INFO] [stdout]            javawithrust::prelude::Jvm
[INFO] [stdout]    = note: this error originates in the attribute macro `::javawithrust::prelude::call_from_java` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]   --> src/lib.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | #[jfuncs]
[INFO] [stdout]    | ^^^^^^^^^ use of undeclared type `Instance`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing one of these structs:
[INFO] [stdout]            j4rs::Instance
[INFO] [stdout]            javawithrust::prelude::Instance
[INFO] [stdout]    = note: this error originates in the attribute macro `::javawithrust::prelude::call_from_java` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ptr`
[INFO] [stdout]   --> src/lib.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | #[jfuncs]
[INFO] [stdout]    | ^^^^^^^^^
[INFO] [stdout]    | |
[INFO] [stdout]    | use of unresolved module or unlinked crate `ptr`
[INFO] [stdout]    | help: a builtin type with a similar name exists: `str`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `ptr`, use `cargo add ptr` to add it to your `Cargo.toml`
[INFO] [stdout]    = help: consider importing one of these modules:
[INFO] [stdout]            std::ptr
[INFO] [stdout]            j4rs::prelude::ptr
[INFO] [stdout]            javawithrust::prelude::ptr
[INFO] [stdout]    = note: this error originates in the attribute macro `::javawithrust::prelude::call_from_java` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | #[jfuncs]
[INFO] [stdout]    | ^^^^^^^^^ cannot infer type
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `::javawithrust::prelude::call_from_java` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CustomRustStruct`
[INFO] [stdout]   --> src/lib.rs:34:6
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl CustomRustStruct {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^ use of undeclared type `CustomRustStruct`
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | #[jfuncs]
[INFO] [stdout]    | ^^^^^^^^^ cannot infer type
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `::javawithrust::prelude::call_from_java` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 24)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "97bbe894d3b730f38a7062dbddb4bf86546f2e403cf02a19e68c21a0497a4e29", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "97bbe894d3b730f38a7062dbddb4bf86546f2e403cf02a19e68c21a0497a4e29", kill_on_drop: false }`
[INFO] [stdout] 97bbe894d3b730f38a7062dbddb4bf86546f2e403cf02a19e68c21a0497a4e29
