[INFO] fetching crate jni-mangle 0.1.3...
[INFO] checking jni-mangle-0.1.3 against try#ac4c3613be2acd5395b65d85e5657b81e3c982f0 for pr-154585
[INFO] extracting crate jni-mangle 0.1.3 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate jni-mangle 0.1.3
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate jni-mangle 0.1.3
[INFO] tweaked toml for crates.io crate jni-mangle 0.1.3 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate jni-mangle 0.1.3 on toolchain ac4c3613be2acd5395b65d85e5657b81e3c982f0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate jni-mangle 0.1.3 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" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 966d69f4d79bc86957f3980c264bfa71814a9153130fd466ca564dae1f55174e
[INFO] running `Command { std: "docker" "start" "-a" "966d69f4d79bc86957f3980c264bfa71814a9153130fd466ca564dae1f55174e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "966d69f4d79bc86957f3980c264bfa71814a9153130fd466ca564dae1f55174e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "966d69f4d79bc86957f3980c264bfa71814a9153130fd466ca564dae1f55174e", kill_on_drop: false }`
[INFO] [stdout] 966d69f4d79bc86957f3980c264bfa71814a9153130fd466ca564dae1f55174e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1b06796c8db8f2519bc01f2f489b0c68a3bbee9398a10cdc5ff58effa4869175
[INFO] running `Command { std: "docker" "start" "-a" "1b06796c8db8f2519bc01f2f489b0c68a3bbee9398a10cdc5ff58effa4869175", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]     Checking ident_case v1.0.1
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]     Checking regex v1.12.2
[INFO] [stderr]     Checking darling_core v0.20.11
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]     Checking darling v0.20.11
[INFO] [stderr]     Checking jni-mangle v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `syn::Block`
[INFO] [stdout]  --> src/lib.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use syn::Block;
[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: `syn::Block`
[INFO] [stdout]  --> src/lib.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use syn::Block;
[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: `syn::Block`
[INFO] [stdout]  --> src/lib.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use syn::Block;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: functions generic over types or consts must be mangled
[INFO] [stdout]   --> examples/example.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 25 |   #[mangle(package = "com.example", class = "Example")]
[INFO] [stdout]    |   ----------------------------------------------------- help: remove this attribute
[INFO] [stdout] 26 | / pub fn test_fn<'a, T>(var: &'a T) -> String
[INFO] [stdout] 27 | | where
[INFO] [stdout] 28 | |     T: ToString,
[INFO] [stdout]    | |________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(no_mangle_generic_items)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `String`, which is not FFI-safe
[INFO] [stdout]   --> examples/example.rs:26:38
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn test_fn<'a, T>(var: &'a T) -> String
[INFO] [stdout]    |                                      ^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]    = note: this struct has unspecified layout
[INFO] [stdout]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jni-mangle` (example "example") due to 1 previous error; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "1b06796c8db8f2519bc01f2f489b0c68a3bbee9398a10cdc5ff58effa4869175", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1b06796c8db8f2519bc01f2f489b0c68a3bbee9398a10cdc5ff58effa4869175", kill_on_drop: false }`
[INFO] [stdout] 1b06796c8db8f2519bc01f2f489b0c68a3bbee9398a10cdc5ff58effa4869175
