[INFO] fetching crate jni-mangle 0.1.3...
[INFO] testing jni-mangle-0.1.3 against 1.98.0-beta.8 for beta-1.99-5
[INFO] extracting crate jni-mangle 0.1.3 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate jni-mangle 0.1.3 on toolchain 1.98.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.8" "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" "+1.98.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded unicode-ident v1.0.22
[INFO] [stderr]   Downloaded regex v1.12.2
[INFO] [stderr]   Downloaded quote v1.0.42
[INFO] [stderr]   Downloaded darling_macro v0.20.11
[INFO] [stderr]   Downloaded ident_case v1.0.1
[INFO] [stderr]   Downloaded proc-macro2 v1.0.103
[INFO] [stderr]   Downloaded darling v0.20.11
[INFO] [stderr]   Downloaded darling_core v0.20.11
[INFO] [stderr]   Downloaded memchr v2.7.6
[INFO] [stderr]   Downloaded aho-corasick v1.1.4
[INFO] [stderr]   Downloaded syn v2.0.111
[INFO] [stderr]   Downloaded regex-syntax v0.8.8
[INFO] [stderr]   Downloaded regex-automata v0.4.13
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2304c2725445ab16ea4e39f58b8837be683b19dcbfb60d4a84eccb92556d4248
[INFO] running `Command { std: "docker" "start" "2304c2725445ab16ea4e39f58b8837be683b19dcbfb60d4a84eccb92556d4248", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2304c2725445ab16ea4e39f58b8837be683b19dcbfb60d4a84eccb92556d4248", 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" "2304c2725445ab16ea4e39f58b8837be683b19dcbfb60d4a84eccb92556d4248" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2304c2725445ab16ea4e39f58b8837be683b19dcbfb60d4a84eccb92556d4248", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2304c2725445ab16ea4e39f58b8837be683b19dcbfb60d4a84eccb92556d4248" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.27s
[INFO] running `Command { std: "docker" "inspect" "2304c2725445ab16ea4e39f58b8837be683b19dcbfb60d4a84eccb92556d4248", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2304c2725445ab16ea4e39f58b8837be683b19dcbfb60d4a84eccb92556d4248" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling 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: 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: `#[warn(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]     Finished `test` profile [unoptimized + debuginfo] target(s) in 11.90s
[INFO] running `Command { std: "docker" "inspect" "2304c2725445ab16ea4e39f58b8837be683b19dcbfb60d4a84eccb92556d4248", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2304c2725445ab16ea4e39f58b8837be683b19dcbfb60d4a84eccb92556d4248" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `syn::Block`
[INFO] [stderr]  --> src/lib.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use syn::Block;
[INFO] [stderr]   |     ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `jni-mangle` (lib) generated 1 warning (run `cargo fix --lib -p jni-mangle` to apply 1 suggestion)
[INFO] [stderr] warning: functions generic over types or consts must be mangled
[INFO] [stderr]   --> examples/example.rs:26:1
[INFO] [stderr]    |
[INFO] [stderr] 25 |   #[mangle(package = "com.example", class = "Example")]
[INFO] [stderr]    |   ----------------------------------------------------- help: remove this attribute
[INFO] [stderr] 26 | / pub fn test_fn<'a, T>(var: &'a T) -> String
[INFO] [stderr] 27 | | where
[INFO] [stderr] 28 | |     T: ToString,
[INFO] [stderr]    | |________________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(no_mangle_generic_items)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `String`, which is not FFI-safe
[INFO] [stderr]   --> examples/example.rs:26:38
[INFO] [stderr]    |
[INFO] [stderr] 26 | pub fn test_fn<'a, T>(var: &'a T) -> String
[INFO] [stderr]    |                                      ^^^^^^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stderr]    = note: this struct has unspecified layout
[INFO] [stderr]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `jni-mangle` (example "example") generated 2 warnings
[INFO] [stderr] warning: `jni-mangle` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/jni_mangle-478e7833e173d725)
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test utils::escape::tests::test_basic_escapes ... ok
[INFO] [stdout] test utils::escape::tests::test_non_ascii_escapes ... ok
[INFO] [stdout] test utils::validators::tests::test_valid_packages ... ok
[INFO] [stdout] test utils::validators::tests::test_invalid_methods ... ok
[INFO] [stdout] test utils::validators::tests::test_invalid_packages ... ok
[INFO] [stdout] test utils::validators::tests::test_valid_methods ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests jni_mangle
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/lib.rs - (line 11) ... ok
[INFO] [stdout] test src/lib.rs - (line 21) ... ok
[INFO] [stdout] test src/lib.rs - mangle (line 47) ... FAILED
[INFO] [stdout] test src/lib.rs - mangle_raw (line 130) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - mangle (line 47) stdout ----
[INFO] [stdout] Test executable failed (signal: 6 (SIGABRT) (core dumped)).
[INFO] [stdout] 
[INFO] [stdout] stderr:
[INFO] [stdout] 
[INFO] [stdout] thread 'main' (847) has overflowed its stack
[INFO] [stdout] fatal runtime error: stack overflow, aborting
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - mangle_raw (line 130) stdout ----
[INFO] [stdout] Test executable failed (signal: 6 (SIGABRT) (core dumped)).
[INFO] [stdout] 
[INFO] [stdout] stderr:
[INFO] [stdout] 
[INFO] [stdout] thread 'main' (846) has overflowed its stack
[INFO] [stdout] fatal runtime error: stack overflow, aborting
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - mangle (line 47)
[INFO] [stdout]     src/lib.rs - mangle_raw (line 130)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "2304c2725445ab16ea4e39f58b8837be683b19dcbfb60d4a84eccb92556d4248", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2304c2725445ab16ea4e39f58b8837be683b19dcbfb60d4a84eccb92556d4248", kill_on_drop: false }`
[INFO] [stdout] 2304c2725445ab16ea4e39f58b8837be683b19dcbfb60d4a84eccb92556d4248
