[INFO] fetching crate ndk-context 0.1.1...
[INFO] testing ndk-context-0.1.1 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] extracting crate ndk-context 0.1.1 into /workspace/builds/worker-3-tc2/source
[INFO] started tweaking crates.io crate ndk-context 0.1.1
[INFO] finished tweaking crates.io crate ndk-context 0.1.1
[INFO] tweaked toml for crates.io crate ndk-context 0.1.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate ndk-context 0.1.1 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 62218a27ada238e485b5b485fb7add7213168f941a9353c30fcf56645d52706f
[INFO] running `Command { std: "docker" "start" "-a" "62218a27ada238e485b5b485fb7add7213168f941a9353c30fcf56645d52706f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "62218a27ada238e485b5b485fb7add7213168f941a9353c30fcf56645d52706f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "62218a27ada238e485b5b485fb7add7213168f941a9353c30fcf56645d52706f", kill_on_drop: false }`
[INFO] [stdout] 62218a27ada238e485b5b485fb7add7213168f941a9353c30fcf56645d52706f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 75f18ee2e2b56e7964b03cc74c5b3e9c3cd38641b166bd045a9e8abf605beed1
[INFO] running `Command { std: "docker" "start" "-a" "75f18ee2e2b56e7964b03cc74c5b3e9c3cd38641b166bd045a9e8abf605beed1", kill_on_drop: false }`
[INFO] [stderr]    Compiling ndk-context v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:83:20
[INFO] [stdout]    |
[INFO] [stdout] 83 |       let previous = ANDROID_CONTEXT.replace(AndroidContext {
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 84 | |         java_vm,
[INFO] [stdout] 85 | |         context_jobject,
[INFO] [stdout] 86 | |     });
[INFO] [stdout]    | |______^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:98:20
[INFO] [stdout]    |
[INFO] [stdout] 98 |     let previous = ANDROID_CONTEXT.take();
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s
[INFO] running `Command { std: "docker" "inspect" "75f18ee2e2b56e7964b03cc74c5b3e9c3cd38641b166bd045a9e8abf605beed1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "75f18ee2e2b56e7964b03cc74c5b3e9c3cd38641b166bd045a9e8abf605beed1", kill_on_drop: false }`
[INFO] [stdout] 75f18ee2e2b56e7964b03cc74c5b3e9c3cd38641b166bd045a9e8abf605beed1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b7a863fbbe608426b465063420c5504441b5ea851b053f17025ef53455553c74
[INFO] running `Command { std: "docker" "start" "-a" "b7a863fbbe608426b465063420c5504441b5ea851b053f17025ef53455553c74", kill_on_drop: false }`
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:83:20
[INFO] [stdout]    |
[INFO] [stdout] 83 |       let previous = ANDROID_CONTEXT.replace(AndroidContext {
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 84 | |         java_vm,
[INFO] [stdout] 85 | |         context_jobject,
[INFO] [stdout] 86 | |     });
[INFO] [stdout]    | |______^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:98:20
[INFO] [stdout]    |
[INFO] [stdout] 98 |     let previous = ANDROID_CONTEXT.take();
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling ndk-context v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:83:20
[INFO] [stdout]    |
[INFO] [stdout] 83 |       let previous = ANDROID_CONTEXT.replace(AndroidContext {
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 84 | |         java_vm,
[INFO] [stdout] 85 | |         context_jobject,
[INFO] [stdout] 86 | |     });
[INFO] [stdout]    | |______^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:98:20
[INFO] [stdout]    |
[INFO] [stdout] 98 |     let previous = ANDROID_CONTEXT.take();
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s
[INFO] running `Command { std: "docker" "inspect" "b7a863fbbe608426b465063420c5504441b5ea851b053f17025ef53455553c74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b7a863fbbe608426b465063420c5504441b5ea851b053f17025ef53455553c74", kill_on_drop: false }`
[INFO] [stdout] b7a863fbbe608426b465063420c5504441b5ea851b053f17025ef53455553c74
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 6e120a3034c7c87be06a08a5a29dda5e9cd89fb00f9fc928b2d0d336afc9358a
[INFO] running `Command { std: "docker" "start" "-a" "6e120a3034c7c87be06a08a5a29dda5e9cd89fb00f9fc928b2d0d336afc9358a", kill_on_drop: false }`
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> src/lib.rs:83:20
[INFO] [stderr]    |
[INFO] [stderr] 83 |       let previous = ANDROID_CONTEXT.replace(AndroidContext {
[INFO] [stderr]    |  ____________________^
[INFO] [stderr] 84 | |         java_vm,
[INFO] [stderr] 85 | |         context_jobject,
[INFO] [stderr] 86 | |     });
[INFO] [stderr]    | |______^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> src/lib.rs:98:20
[INFO] [stderr]    |
[INFO] [stderr] 98 |     let previous = ANDROID_CONTEXT.take();
[INFO] [stderr]    |                    ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: `ndk-context` (lib) generated 2 warnings
[INFO] [stderr] warning: `ndk-context` (lib test) generated 2 warnings (2 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ndk_context-3c96720605ae3c3c)
[INFO] [stderr]    Doc-tests ndk_context
[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] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/lib.rs - AndroidContext::context (line 50) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 6) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - AndroidContext::vm (line 37) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - AndroidContext::context (line 50) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jni`
[INFO] [stdout]   --> src/lib.rs:53:19
[INFO] [stdout]    |
[INFO] [stdout] 53 | let vm = unsafe { jni::JavaVM::from_raw(ctx.vm().cast()) }?;
[INFO] [stdout]    |                   ^^^ use of unresolved module or unlinked crate `jni`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `jni`, use `cargo add jni` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jni`
[INFO] [stdout]   --> src/lib.rs:59:26
[INFO] [stdout]    |
[INFO] [stdout] 59 |         ctx.context() as jni::sys::jobject,
[INFO] [stdout]    |                          ^^^ use of unresolved module or unlinked crate `jni`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `jni`, use `cargo add jni` to add it to your `Cargo.toml`
[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/lib.rs - (line 6) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jni`
[INFO] [stdout]  --> src/lib.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 | let vm = unsafe { jni::JavaVM::from_raw(ctx.vm().cast()) }?;
[INFO] [stdout]   |                   ^^^ use of unresolved module or unlinked crate `jni`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `jni`, use `cargo add jni` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jni`
[INFO] [stdout]   --> src/lib.rs:15:26
[INFO] [stdout]    |
[INFO] [stdout] 15 |         ctx.context() as jni::sys::jobject,
[INFO] [stdout]    |                          ^^^ use of unresolved module or unlinked crate `jni`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `jni`, use `cargo add jni` to add it to your `Cargo.toml`
[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/lib.rs - AndroidContext::vm (line 37) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jni`
[INFO] [stdout]   --> src/lib.rs:40:19
[INFO] [stdout]    |
[INFO] [stdout] 40 | let vm = unsafe { jni::JavaVM::from_raw(ctx.vm().cast()) }?;
[INFO] [stdout]    |                   ^^^ use of unresolved module or unlinked crate `jni`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `jni`, use `cargo add jni` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 6)
[INFO] [stdout]     src/lib.rs - AndroidContext::context (line 50)
[INFO] [stdout]     src/lib.rs - AndroidContext::vm (line 37)
[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: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "6e120a3034c7c87be06a08a5a29dda5e9cd89fb00f9fc928b2d0d336afc9358a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6e120a3034c7c87be06a08a5a29dda5e9cd89fb00f9fc928b2d0d336afc9358a", kill_on_drop: false }`
[INFO] [stdout] 6e120a3034c7c87be06a08a5a29dda5e9cd89fb00f9fc928b2d0d336afc9358a
