[INFO] cloning repository https://github.com/juebanlin/java_rust_ffi
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/juebanlin/java_rust_ffi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuebanlin%2Fjava_rust_ffi", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuebanlin%2Fjava_rust_ffi'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 76a75bb98a077647a37ce89467c723562d1bc1bd
[INFO] checking juebanlin/java_rust_ffi against 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa for pr-159356
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuebanlin%2Fjava_rust_ffi" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/juebanlin/java_rust_ffi
[INFO] finished tweaking git repo https://github.com/juebanlin/java_rust_ffi
[INFO] tweaked toml for git repo https://github.com/juebanlin/java_rust_ffi written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/juebanlin/java_rust_ffi on toolchain 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/juebanlin/java_rust_ffi already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /workspace/builds/worker-5-tc2/source/rustffi/Cargo.toml
[INFO] [stderr] workspace: /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /workspace/builds/worker-5-tc2/source/rustjni/Cargo.toml
[INFO] [stderr] workspace: /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking juebanlin/java_rust_ffi against 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa for pr-159356
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuebanlin%2Fjava_rust_ffi" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/juebanlin/java_rust_ffi
[INFO] finished tweaking git repo https://github.com/juebanlin/java_rust_ffi
[INFO] tweaked toml for git repo https://github.com/juebanlin/java_rust_ffi written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/juebanlin/java_rust_ffi on toolchain 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/juebanlin/java_rust_ffi already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /workspace/builds/worker-5-tc2/source/rustffi/Cargo.toml
[INFO] [stderr] workspace: /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /workspace/builds/worker-5-tc2/source/rustjni/Cargo.toml
[INFO] [stderr] workspace: /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded syn v1.0.76
[INFO] [stderr]   Downloaded combine v4.6.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:c36f533e8924a726b63f9d01e781fa8c8c28c96d1d595403829afb31452ee0f5" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7ecc25662e0a30c4b0bc471185d7987bc7055f7d778f54844b67fbf78dd41655
[INFO] running `Command { std: "docker" "start" "7ecc25662e0a30c4b0bc471185d7987bc7055f7d778f54844b67fbf78dd41655", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7ecc25662e0a30c4b0bc471185d7987bc7055f7d778f54844b67fbf78dd41655", kill_on_drop: false }`
[INFO] running `Command { std: "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" "7ecc25662e0a30c4b0bc471185d7987bc7055f7d778f54844b67fbf78dd41655" "/opt/rustwide/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7ecc25662e0a30c4b0bc471185d7987bc7055f7d778f54844b67fbf78dd41655", kill_on_drop: false }`
[INFO] running `Command { std: "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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7ecc25662e0a30c4b0bc471185d7987bc7055f7d778f54844b67fbf78dd41655" "/opt/rustwide/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /opt/rustwide/workdir/rustffi/Cargo.toml
[INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /opt/rustwide/workdir/rustjni/Cargo.toml
[INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling syn v1.0.76
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]     Checking jni-sys v0.3.0
[INFO] [stderr]    Compiling rustffi v0.1.0 (/opt/rustwide/workdir/rustffi)
[INFO] [stderr]     Checking cesu8 v1.1.0
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]  --> rustffi/src/ffi.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::borrow::BorrowMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> rustffi/src/ffi.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::hash_map::RandomState`
[INFO] [stdout]  --> rustffi/src/ffi.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::hash_map::RandomState;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HashMap` and `HashSet`
[INFO] [stdout]  --> rustffi/src/ffi.rs:7:24
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                        ^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `City`
[INFO] [stdout]   --> rustffi/src/ffi.rs:13:21
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::{Entity, City};
[INFO] [stdout]    |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Write`
[INFO] [stdout]   --> rustffi/src/ffi.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::fmt::Write;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the `#![feature]` attribute can only be used at the crate root
[INFO] [stdout]  --> rustffi/src/ffi.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(slice_ptr_len)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: the crate root is at `rustffi/src/lib.rs`
[INFO] [stdout]   = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the `#![feature]` attribute can only be used at the crate root
[INFO] [stdout]  --> rustffi/src/ffi.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | #![feature(slice_ptr_get)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: the crate root is at `rustffi/src/lib.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]  --> rustffi/src/ffi.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::borrow::BorrowMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> rustffi/src/ffi.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::hash_map::RandomState`
[INFO] [stdout]  --> rustffi/src/ffi.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::hash_map::RandomState;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HashMap` and `HashSet`
[INFO] [stdout]  --> rustffi/src/ffi.rs:7:24
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                        ^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `City`
[INFO] [stdout]   --> rustffi/src/ffi.rs:13:21
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::{Entity, City};
[INFO] [stdout]    |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Write`
[INFO] [stdout]   --> rustffi/src/ffi.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::fmt::Write;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the `#![feature]` attribute can only be used at the crate root
[INFO] [stdout]  --> rustffi/src/ffi.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(slice_ptr_len)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: the crate root is at `rustffi/src/lib.rs`
[INFO] [stdout]   = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the `#![feature]` attribute can only be used at the crate root
[INFO] [stdout]  --> rustffi/src/ffi.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | #![feature(slice_ptr_get)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: the crate root is at `rustffi/src/lib.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> rustffi/src/ffi.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let mut list = slice_from_raw_parts_mut::<f32>(array, clen as usize);
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `getX`, `getY`, and `getZ` are never used
[INFO] [stdout]   --> rustffi/src/lib.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl City {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] 14 |     fn getX(&self) -> f32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     fn getY(&self) -> f32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn getZ(&self) -> f32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `getAoiX`, `getAoiY`, and `getAoiRange` are never used
[INFO] [stdout]   --> rustffi/src/lib.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl Entity {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] 32 |     fn getAoiX(&self) -> f32 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     fn getAoiY(&self) -> f32 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     fn getAoiRange(&self) -> f32 {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `getX` should have a snake case name
[INFO] [stdout]   --> rustffi/src/lib.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn getX(&self) -> f32 {
[INFO] [stdout]    |        ^^^^ help: convert the identifier to snake case: `get_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `getY` should have a snake case name
[INFO] [stdout]   --> rustffi/src/lib.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn getY(&self) -> f32 {
[INFO] [stdout]    |        ^^^^ help: convert the identifier to snake case: `get_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `getZ` should have a snake case name
[INFO] [stdout]   --> rustffi/src/lib.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn getZ(&self) -> f32 {
[INFO] [stdout]    |        ^^^^ help: convert the identifier to snake case: `get_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `getAoiX` should have a snake case name
[INFO] [stdout]   --> rustffi/src/lib.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn getAoiX(&self) -> f32 {
[INFO] [stdout]    |        ^^^^^^^ help: convert the identifier to snake case: `get_aoi_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `getAoiY` should have a snake case name
[INFO] [stdout]   --> rustffi/src/lib.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn getAoiY(&self) -> f32 {
[INFO] [stdout]    |        ^^^^^^^ help: convert the identifier to snake case: `get_aoi_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `getAoiRange` should have a snake case name
[INFO] [stdout]   --> rustffi/src/lib.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn getAoiRange(&self) -> f32 {
[INFO] [stdout]    |        ^^^^^^^^^^^ help: convert the identifier to snake case: `get_aoi_range`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing
[INFO] [stdout]   --> rustffi/src/ffi.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 49 |     mem::forget(slice);
[INFO] [stdout]    |     ^^^^^^^^^^^^-----^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 argument has type `*const [f32]`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(forgetting_copy_types)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]    |
[INFO] [stdout] 49 -     mem::forget(slice);
[INFO] [stdout] 49 +     let _ = slice;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing
[INFO] [stdout]   --> rustffi/src/ffi.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 64 |     mem::forget(list);
[INFO] [stdout]    |     ^^^^^^^^^^^^----^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 argument has type `*mut [f32]`
[INFO] [stdout]    |
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]    |
[INFO] [stdout] 64 -     mem::forget(list);
[INFO] [stdout] 64 +     let _ = list;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> rustffi/src/ffi.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let mut list = slice_from_raw_parts_mut::<f32>(array, clen as usize);
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `getX`, `getY`, and `getZ` are never used
[INFO] [stdout]   --> rustffi/src/lib.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl City {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] 14 |     fn getX(&self) -> f32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     fn getY(&self) -> f32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn getZ(&self) -> f32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `getAoiX`, `getAoiY`, and `getAoiRange` are never used
[INFO] [stdout]   --> rustffi/src/lib.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl Entity {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] 32 |     fn getAoiX(&self) -> f32 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     fn getAoiY(&self) -> f32 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     fn getAoiRange(&self) -> f32 {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `getX` should have a snake case name
[INFO] [stdout]   --> rustffi/src/lib.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn getX(&self) -> f32 {
[INFO] [stdout]    |        ^^^^ help: convert the identifier to snake case: `get_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `getY` should have a snake case name
[INFO] [stdout]   --> rustffi/src/lib.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn getY(&self) -> f32 {
[INFO] [stdout]    |        ^^^^ help: convert the identifier to snake case: `get_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `getZ` should have a snake case name
[INFO] [stdout]   --> rustffi/src/lib.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn getZ(&self) -> f32 {
[INFO] [stdout]    |        ^^^^ help: convert the identifier to snake case: `get_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `getAoiX` should have a snake case name
[INFO] [stdout]   --> rustffi/src/lib.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn getAoiX(&self) -> f32 {
[INFO] [stdout]    |        ^^^^^^^ help: convert the identifier to snake case: `get_aoi_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `getAoiY` should have a snake case name
[INFO] [stdout]   --> rustffi/src/lib.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn getAoiY(&self) -> f32 {
[INFO] [stdout]    |        ^^^^^^^ help: convert the identifier to snake case: `get_aoi_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `getAoiRange` should have a snake case name
[INFO] [stdout]   --> rustffi/src/lib.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn getAoiRange(&self) -> f32 {
[INFO] [stdout]    |        ^^^^^^^^^^^ help: convert the identifier to snake case: `get_aoi_range`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing
[INFO] [stdout]   --> rustffi/src/ffi.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 49 |     mem::forget(slice);
[INFO] [stdout]    |     ^^^^^^^^^^^^-----^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 argument has type `*const [f32]`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(forgetting_copy_types)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]    |
[INFO] [stdout] 49 -     mem::forget(slice);
[INFO] [stdout] 49 +     let _ = slice;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing
[INFO] [stdout]   --> rustffi/src/ffi.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 64 |     mem::forget(list);
[INFO] [stdout]    |     ^^^^^^^^^^^^----^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 argument has type `*mut [f32]`
[INFO] [stdout]    |
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]    |
[INFO] [stdout] 64 -     mem::forget(list);
[INFO] [stdout] 64 +     let _ = list;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling jni v0.19.0
[INFO] [stderr]     Checking combine v4.6.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.29
[INFO] [stderr]     Checking thiserror v1.0.29
[INFO] [stderr]     Checking rustjni v0.1.0 (/opt/rustwide/workdir/rustjni)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.00s
[INFO] running `Command { std: "docker" "inspect" "7ecc25662e0a30c4b0bc471185d7987bc7055f7d778f54844b67fbf78dd41655", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7ecc25662e0a30c4b0bc471185d7987bc7055f7d778f54844b67fbf78dd41655", kill_on_drop: false }`
[INFO] [stdout] 7ecc25662e0a30c4b0bc471185d7987bc7055f7d778f54844b67fbf78dd41655
