[INFO] cloning repository https://github.com/AlexanderSchuetz97/jni-simple
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlexanderSchuetz97/jni-simple" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexanderSchuetz97%2Fjni-simple", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexanderSchuetz97%2Fjni-simple'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 709404c1690d4e4a96e4fc07e7127b4549a0a081
[INFO] checking AlexanderSchuetz97/jni-simple against try#44f3504e96c944ae54fc72b5f5008f53f7eda001 for pr-136776
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexanderSchuetz97%2Fjni-simple" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/AlexanderSchuetz97/jni-simple on toolchain 44f3504e96c944ae54fc72b5f5008f53f7eda001
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/AlexanderSchuetz97/jni-simple
[INFO] finished tweaking git repo https://github.com/AlexanderSchuetz97/jni-simple
[INFO] tweaked toml for git repo https://github.com/AlexanderSchuetz97/jni-simple written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/AlexanderSchuetz97/jni-simple 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" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e6f50cb57db85a5b483629082a6d3ac78f85b771661168dd45e0306ef215a6e0
[INFO] running `Command { std: "docker" "start" "-a" "e6f50cb57db85a5b483629082a6d3ac78f85b771661168dd45e0306ef215a6e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e6f50cb57db85a5b483629082a6d3ac78f85b771661168dd45e0306ef215a6e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e6f50cb57db85a5b483629082a6d3ac78f85b771661168dd45e0306ef215a6e0", kill_on_drop: false }`
[INFO] [stdout] e6f50cb57db85a5b483629082a6d3ac78f85b771661168dd45e0306ef215a6e0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2c62581eb245926b1a415a33f32e7e0cc33f92a6de90b4a7673872d54058b110
[INFO] running `Command { std: "docker" "start" "-a" "2c62581eb245926b1a415a33f32e7e0cc33f92a6de90b4a7673872d54058b110", kill_on_drop: false }`
[INFO] [stderr]     Checking sync-ptr v0.1.1
[INFO] [stderr]     Checking once_cell v1.20.2
[INFO] [stderr]     Checking jni-simple v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: a dangling pointer will be produced because the temporary `[jtype; 5]` will be dropped
[INFO] [stdout]   --> tests/macro_test.rs:15:85
[INFO] [stdout]    |
[INFO] [stdout] 15 |         assert_ne!(0usize, std::hint::black_box(jtypes!(1i32, 2i32, 3i32, 4f64, m)).as_ptr() as usize)
[INFO] [stdout]    |                            -------------------------------------------------------- ^^^^^^ this pointer will immediately be invalid
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            this `[jtype; 5]` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `[jtype; 5]` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: you must make sure that the variable you bind the `[jtype; 5]` to lives at least as long as the pointer returned by the call to `as_ptr`
[INFO] [stdout]    = help: in particular, if this pointer is returned from the current function, binding the `[jtype; 5]` inside the function will not suffice
[INFO] [stdout]    = help: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout]    = note: `#[warn(dangling_pointers_from_temporaries)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.67s
[INFO] running `Command { std: "docker" "inspect" "2c62581eb245926b1a415a33f32e7e0cc33f92a6de90b4a7673872d54058b110", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2c62581eb245926b1a415a33f32e7e0cc33f92a6de90b4a7673872d54058b110", kill_on_drop: false }`
[INFO] [stdout] 2c62581eb245926b1a415a33f32e7e0cc33f92a6de90b4a7673872d54058b110
