[INFO] cloning repository https://github.com/tanin47/javaparser.rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tanin47/javaparser.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanin47%2Fjavaparser.rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanin47%2Fjavaparser.rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7165b63bd596e5ecfb1e1f16f21b0b9a6ce20650
[INFO] testing tanin47/javaparser.rs against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanin47%2Fjavaparser.rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tanin47/javaparser.rs
[INFO] finished tweaking git repo https://github.com/tanin47/javaparser.rs
[INFO] tweaked toml for git repo https://github.com/tanin47/javaparser.rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tanin47/javaparser.rs on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tanin47/javaparser.rs 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1675b0d79c5ef083290332dbe1fff48761b4054f668b803afcf56c135afc7b7f
[INFO] running `Command { std: "docker" "start" "-a" "1675b0d79c5ef083290332dbe1fff48761b4054f668b803afcf56c135afc7b7f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1675b0d79c5ef083290332dbe1fff48761b4054f668b803afcf56c135afc7b7f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1675b0d79c5ef083290332dbe1fff48761b4054f668b803afcf56c135afc7b7f", kill_on_drop: false }`
[INFO] [stdout] 1675b0d79c5ef083290332dbe1fff48761b4054f668b803afcf56c135afc7b7f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] c90017f66de88ecc292d6b64e8c6aa3c43c42b6fe729c8b5078b5e0e8cbefe78
[INFO] running `Command { std: "docker" "start" "-a" "c90017f66de88ecc292d6b64e8c6aa3c43c42b6fe729c8b5078b5e0e8cbefe78", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling libc v0.2.62
[INFO] [stderr]    Compiling cfg-if v0.1.9
[INFO] [stderr]    Compiling either v1.5.2
[INFO] [stderr]    Compiling crossbeam-utils v0.6.6
[INFO] [stderr]    Compiling crossbeam-queue v0.1.2
[INFO] [stderr]    Compiling num_cpus v1.10.1
[INFO] [stderr]    Compiling javaparser v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the feature `thread_spawn_unchecked` has been stable since 1.82.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | #![feature(thread_spawn_unchecked)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `maybe_uninit_extra` has been stable since 1.60.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | #![feature(maybe_uninit_extra)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.deref()` on a double reference, which returns `*const definition::Class<'_>` instead of dereferencing the inner type
[INFO] [stdout]   --> src/analyze/definition.rs:65:38
[INFO] [stdout]    |
[INFO] [stdout] 65 |                     return Some(class.deref() as *const Class<'a>);
[INFO] [stdout]    |                                      ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(suspicious_double_ref_op)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.deref()` on a double reference, which returns `*const definition::Class<'_>` instead of dereferencing the inner type
[INFO] [stdout]    --> src/analyze/resolve/scope.rs:370:73
[INFO] [stdout]     |
[INFO] [stdout] 370 | ...                   return Some(EnclosingTypeDef::Class(subclass.deref()));
[INFO] [stdout]     |                                                                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `tree::CompilationUnit<'_>` does not permit zero-initialization
[INFO] [stdout]   --> src/parse/mod.rs:46:24
[INFO] [stdout]    |
[INFO] [stdout] 46 |         unit: unsafe { std::mem::MaybeUninit::zeroed().assume_init() },
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        this code causes undefined behavior when executed
[INFO] [stdout]    |                        help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]    |
[INFO] [stdout] note: `std::ptr::Unique<u8>` must be non-null (in this struct field)
[INFO] [stdout]   --> src/parse/tree.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub imports: Vec<Import<'a>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: because `std::ptr::NonNull<u8>` must be non-null
[INFO] [stdout]    = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.43s
[INFO] running `Command { std: "docker" "inspect" "c90017f66de88ecc292d6b64e8c6aa3c43c42b6fe729c8b5078b5e0e8cbefe78", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c90017f66de88ecc292d6b64e8c6aa3c43c42b6fe729c8b5078b5e0e8cbefe78", kill_on_drop: false }`
[INFO] [stdout] c90017f66de88ecc292d6b64e8c6aa3c43c42b6fe729c8b5078b5e0e8cbefe78
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 0d3deed4ec6e9a52601461711905346b1e2b3680645f9d471b8f047c169430a6
[INFO] running `Command { std: "docker" "start" "-a" "0d3deed4ec6e9a52601461711905346b1e2b3680645f9d471b8f047c169430a6", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stdout] warning: the feature `thread_spawn_unchecked` has been stable since 1.82.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | #![feature(thread_spawn_unchecked)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `maybe_uninit_extra` has been stable since 1.60.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | #![feature(maybe_uninit_extra)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.deref()` on a double reference, which returns `*const definition::Class<'_>` instead of dereferencing the inner type
[INFO] [stdout]   --> src/analyze/definition.rs:65:38
[INFO] [stdout]    |
[INFO] [stdout] 65 |                     return Some(class.deref() as *const Class<'a>);
[INFO] [stdout]    |                                      ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(suspicious_double_ref_op)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.deref()` on a double reference, which returns `*const definition::Class<'_>` instead of dereferencing the inner type
[INFO] [stdout]    --> src/analyze/resolve/scope.rs:370:73
[INFO] [stdout]     |
[INFO] [stdout] 370 | ...                   return Some(EnclosingTypeDef::Class(subclass.deref()));
[INFO] [stdout]     |                                                                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `tree::CompilationUnit<'_>` does not permit zero-initialization
[INFO] [stdout]   --> src/parse/mod.rs:46:24
[INFO] [stdout]    |
[INFO] [stdout] 46 |         unit: unsafe { std::mem::MaybeUninit::zeroed().assume_init() },
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        this code causes undefined behavior when executed
[INFO] [stdout]    |                        help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]    |
[INFO] [stdout] note: `std::ptr::Unique<u8>` must be non-null (in this struct field)
[INFO] [stdout]   --> src/parse/tree.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub imports: Vec<Import<'a>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: because `std::ptr::NonNull<u8>` must be non-null
[INFO] [stdout]    = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling same-file v1.0.5
[INFO] [stderr]    Compiling walkdir v2.2.9
[INFO] [stderr]    Compiling javaparser v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> tests/parse/acceptance_test.rs:22:31
[INFO] [stdout]    |
[INFO] [stdout] 22 |           assert!(file.is_ok(), {
[INFO] [stdout]    |  _______________________________^
[INFO] [stdout] 23 | |             let remainder = file.err().unwrap();
[INFO] [stdout] 24 | |             format!(
[INFO] [stdout] 25 | |                 "Parsed {} failed at line {} and column {}",
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |         });
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 22 |         assert!(file.is_ok(), "{}", {
[INFO] [stdout]    |                               +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> tests/parse/simple_test.rs:26:29
[INFO] [stdout]    |
[INFO] [stdout] 26 |     assert!(result.is_ok(), format!("{:#?}", result));
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 26 -     assert!(result.is_ok(), format!("{:#?}", result));
[INFO] [stdout] 26 +     assert!(result.is_ok(), "{:#?}", result);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> tests/parse/simple_test.rs:48:29
[INFO] [stdout]    |
[INFO] [stdout] 48 |     assert!(result.is_ok(), format!("{:#?}", result));
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 48 -     assert!(result.is_ok(), format!("{:#?}", result));
[INFO] [stdout] 48 +     assert!(result.is_ok(), "{:#?}", result);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `thread_spawn_unchecked` has been stable since 1.82.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | #![feature(thread_spawn_unchecked)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `maybe_uninit_extra` has been stable since 1.60.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | #![feature(maybe_uninit_extra)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]  --> src/test_common.rs:9:48
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn span(line: usize, col: usize, fragment: &str) -> Span {
[INFO] [stdout]   |                                                ^^^^     ^^^^ the same lifetime is hidden here
[INFO] [stdout]   |                                                |
[INFO] [stdout]   |                                                the lifetime is elided here
[INFO] [stdout]   |
[INFO] [stdout]   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn span(line: usize, col: usize, fragment: &str) -> Span<'_> {
[INFO] [stdout]   |                                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/test_common.rs:27:34
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn generate_tokens(fragment: &str) -> Vec<Token> {
[INFO] [stdout]    |                                  ^^^^         ^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn generate_tokens(fragment: &str) -> Vec<Token<'_>> {
[INFO] [stdout]    |                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/test_common.rs:33:49
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn primitive(line: usize, col: usize, name: &str) -> Type {
[INFO] [stdout]    |                                                 ^^^^     ^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                                 |
[INFO] [stdout]    |                                                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn primitive(line: usize, col: usize, name: &str) -> Type<'_> {
[INFO] [stdout]    |                                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/test_common.rs:121:36
[INFO] [stdout]     |
[INFO] [stdout] 121 | pub fn apply_analyze_build(source: &str) -> CompilationUnit {
[INFO] [stdout]     |                                    ^^^^     ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 121 | pub fn apply_analyze_build(source: &str) -> CompilationUnit<'_> {
[INFO] [stdout]     |                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.deref()` on a double reference, which returns `*const definition::Class<'_>` instead of dereferencing the inner type
[INFO] [stdout]   --> src/analyze/definition.rs:65:38
[INFO] [stdout]    |
[INFO] [stdout] 65 |                     return Some(class.deref() as *const Class<'a>);
[INFO] [stdout]    |                                      ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(suspicious_double_ref_op)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.deref()` on a double reference, which returns `*const definition::Class<'_>` instead of dereferencing the inner type
[INFO] [stdout]    --> src/analyze/resolve/scope.rs:370:73
[INFO] [stdout]     |
[INFO] [stdout] 370 | ...                   return Some(EnclosingTypeDef::Class(subclass.deref()));
[INFO] [stdout]     |                                                                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/extract/test_common.rs:86:57
[INFO] [stdout]    |
[INFO] [stdout] 86 | ...                   s.push_str(&format!("{}", id.deref()));
[INFO] [stdout]    |                                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `usize` does not implement `Deref`, so calling `deref` on `&usize` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/extract/test_common.rs:99:57
[INFO] [stdout]    |
[INFO] [stdout] 99 | ...                   s.push_str(&format!("{}", id.deref()));
[INFO] [stdout]    |                                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `usize` does not implement `Deref`, so calling `deref` on `&usize` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `tree::CompilationUnit<'_>` does not permit zero-initialization
[INFO] [stdout]   --> src/parse/mod.rs:46:24
[INFO] [stdout]    |
[INFO] [stdout] 46 |         unit: unsafe { std::mem::MaybeUninit::zeroed().assume_init() },
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        this code causes undefined behavior when executed
[INFO] [stdout]    |                        help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]    |
[INFO] [stdout] note: `std::ptr::Unique<u8>` must be non-null (in this struct field)
[INFO] [stdout]   --> src/parse/tree.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub imports: Vec<Import<'a>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: because `std::ptr::NonNull<u8>` must be non-null
[INFO] [stdout]    = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/tokenize/mod.rs:444:23
[INFO] [stdout]     |
[INFO] [stdout] 444 |     fn apply(content: &str) -> Result<Vec<Token>, Span> {
[INFO] [stdout]     |                       ^^^^                ^^^^^   ^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                       |                   |
[INFO] [stdout]     |                       |                   the same lifetime is hidden here
[INFO] [stdout]     |                       the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 444 |     fn apply(content: &str) -> Result<Vec<Token<'_>>, Span<'_>> {
[INFO] [stdout]     |                                                ++++       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.12s
[INFO] running `Command { std: "docker" "inspect" "0d3deed4ec6e9a52601461711905346b1e2b3680645f9d471b8f047c169430a6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0d3deed4ec6e9a52601461711905346b1e2b3680645f9d471b8f047c169430a6", kill_on_drop: false }`
[INFO] [stdout] 0d3deed4ec6e9a52601461711905346b1e2b3680645f9d471b8f047c169430a6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] cc8b32fc41791af29583da52a406ab7fc47ea0c738da912b5dbe2b18a4365b7e
[INFO] running `Command { std: "docker" "start" "-a" "cc8b32fc41791af29583da52a406ab7fc47ea0c738da912b5dbe2b18a4365b7e", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: the feature `thread_spawn_unchecked` has been stable since 1.82.0 and no longer requires an attribute to enable
[INFO] [stderr]  --> src/lib.rs:3:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | #![feature(thread_spawn_unchecked)]
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(stable_features)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: the feature `maybe_uninit_extra` has been stable since 1.60.0 and no longer requires an attribute to enable
[INFO] [stderr]  --> src/lib.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | #![feature(maybe_uninit_extra)]
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: using `.deref()` on a double reference, which returns `*const definition::Class<'_>` instead of dereferencing the inner type
[INFO] [stderr]   --> src/analyze/definition.rs:65:38
[INFO] [stderr]    |
[INFO] [stderr] 65 |                     return Some(class.deref() as *const Class<'a>);
[INFO] [stderr]    |                                      ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(suspicious_double_ref_op)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: using `.deref()` on a double reference, which returns `*const definition::Class<'_>` instead of dereferencing the inner type
[INFO] [stderr]    --> src/analyze/resolve/scope.rs:370:73
[INFO] [stderr]     |
[INFO] [stderr] 370 | ...                   return Some(EnclosingTypeDef::Class(subclass.deref()));
[INFO] [stderr]     |                                                                   ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: the type `tree::CompilationUnit<'_>` does not permit zero-initialization
[INFO] [stderr]   --> src/parse/mod.rs:46:24
[INFO] [stderr]    |
[INFO] [stderr] 46 |         unit: unsafe { std::mem::MaybeUninit::zeroed().assume_init() },
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |                        |
[INFO] [stderr]    |                        this code causes undefined behavior when executed
[INFO] [stderr]    |                        help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stderr]    |
[INFO] [stderr] note: `std::ptr::Unique<u8>` must be non-null (in this struct field)
[INFO] [stderr]   --> src/parse/tree.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 |     pub imports: Vec<Import<'a>>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: because `std::ptr::NonNull<u8>` must be non-null
[INFO] [stderr]    = note: `#[warn(invalid_value)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `javaparser` (lib) generated 5 warnings
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]   --> tests/parse/acceptance_test.rs:22:31
[INFO] [stderr]    |
[INFO] [stderr] 22 |           assert!(file.is_ok(), {
[INFO] [stderr]    |  _______________________________^
[INFO] [stderr] 23 | |             let remainder = file.err().unwrap();
[INFO] [stderr] 24 | |             format!(
[INFO] [stderr] 25 | |                 "Parsed {} failed at line {} and column {}",
[INFO] [stderr] ...  |
[INFO] [stderr] 30 | |         });
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stderr] help: add a "{}" format string to `Display` the message
[INFO] [stderr]    |
[INFO] [stderr] 22 |         assert!(file.is_ok(), "{}", {
[INFO] [stderr]    |                               +++++
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]   --> tests/parse/simple_test.rs:26:29
[INFO] [stderr]    |
[INFO] [stderr] 26 |     assert!(result.is_ok(), format!("{:#?}", result));
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stderr] help: remove the `format!(..)` macro call
[INFO] [stderr]    |
[INFO] [stderr] 26 -     assert!(result.is_ok(), format!("{:#?}", result));
[INFO] [stderr] 26 +     assert!(result.is_ok(), "{:#?}", result);
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]   --> tests/parse/simple_test.rs:48:29
[INFO] [stderr]    |
[INFO] [stderr] 48 |     assert!(result.is_ok(), format!("{:#?}", result));
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stderr] help: remove the `format!(..)` macro call
[INFO] [stderr]    |
[INFO] [stderr] 48 -     assert!(result.is_ok(), format!("{:#?}", result));
[INFO] [stderr] 48 +     assert!(result.is_ok(), "{:#?}", result);
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]  --> src/test_common.rs:9:48
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub fn span(line: usize, col: usize, fragment: &str) -> Span {
[INFO] [stderr]   |                                                ^^^^     ^^^^ the same lifetime is hidden here
[INFO] [stderr]   |                                                |
[INFO] [stderr]   |                                                the lifetime is elided here
[INFO] [stderr]   |
[INFO] [stderr]   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub fn span(line: usize, col: usize, fragment: &str) -> Span<'_> {
[INFO] [stderr]   |                                                             ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/test_common.rs:27:34
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub fn generate_tokens(fragment: &str) -> Vec<Token> {
[INFO] [stderr]    |                                  ^^^^         ^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                                  |
[INFO] [stderr]    |                                  the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub fn generate_tokens(fragment: &str) -> Vec<Token<'_>> {
[INFO] [stderr]    |                                                    ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/test_common.rs:33:49
[INFO] [stderr]    |
[INFO] [stderr] 33 | pub fn primitive(line: usize, col: usize, name: &str) -> Type {
[INFO] [stderr]    |                                                 ^^^^     ^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                                                 |
[INFO] [stderr]    |                                                 the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 33 | pub fn primitive(line: usize, col: usize, name: &str) -> Type<'_> {
[INFO] [stderr]    |                                                              ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/test_common.rs:121:36
[INFO] [stderr]     |
[INFO] [stderr] 121 | pub fn apply_analyze_build(source: &str) -> CompilationUnit {
[INFO] [stderr]     |                                    ^^^^     ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                                    |
[INFO] [stderr]     |                                    the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 121 | pub fn apply_analyze_build(source: &str) -> CompilationUnit<'_> {
[INFO] [stderr]     |                                                            ++++
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.deref()` on a reference in this situation does nothing
[INFO] [stderr]   --> src/extract/test_common.rs:86:57
[INFO] [stderr]    |
[INFO] [stderr] 86 | ...                   s.push_str(&format!("{}", id.deref()));
[INFO] [stderr]    |                                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]    |
[INFO] [stderr]    = note: the type `usize` does not implement `Deref`, so calling `deref` on `&usize` copies the reference, which does not do anything and can be removed
[INFO] [stderr]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.deref()` on a reference in this situation does nothing
[INFO] [stderr]   --> src/extract/test_common.rs:99:57
[INFO] [stderr]    |
[INFO] [stderr] 99 | ...                   s.push_str(&format!("{}", id.deref()));
[INFO] [stderr]    |                                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]    |
[INFO] [stderr]    = note: the type `usize` does not implement `Deref`, so calling `deref` on `&usize` copies the reference, which does not do anything and can be removed
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/tokenize/mod.rs:444:23
[INFO] [stderr]     |
[INFO] [stderr] 444 |     fn apply(content: &str) -> Result<Vec<Token>, Span> {
[INFO] [stderr]     |                       ^^^^                ^^^^^   ^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                       |                   |
[INFO] [stderr]     |                       |                   the same lifetime is hidden here
[INFO] [stderr]     |                       the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 444 |     fn apply(content: &str) -> Result<Vec<Token<'_>>, Span<'_>> {
[INFO] [stderr]     |                                                ++++       ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `javaparser` (test "main") generated 3 warnings (run `cargo fix --test "main" -p javaparser` to apply 3 suggestions)
[INFO] [stderr] warning: `javaparser` (lib test) generated 12 warnings (5 duplicates) (run `cargo fix --lib -p javaparser --tests` to apply 7 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/javaparser/7f286d345b292766/deps/javaparser-7f286d345b292766)
[INFO] [stdout] 
[INFO] [stdout] running 43 tests
[INFO] [stdout] test parse::expr::atom::literal_char::tests::test_string ... ok
[INFO] [stdout] test parse::def::imports::tests::test_wildcard ... ok
[INFO] [stdout] test parse::expr::atom::number::tests::test_int ... ok
[INFO] [stdout] test parse::expr::atom::string::tests::test_string ... ok
[INFO] [stdout] test extract::expr::field_access::tests::test_static_parameterized ... ok
[INFO] [stdout] test extract::expr::field_access::tests::test_array ... ok
[INFO] [stdout] test extract::expr::field_access::tests::test_static_class ... ok
[INFO] [stdout] test extract::expr::field_access::tests::test_var ... ok
[INFO] [stdout] test semantics::expr::field_access::tests::test_array_field ... ok
[INFO] [stdout] test tokenize::tests::test_bit ... ok
[INFO] [stdout] test semantics::expr::lambda::tests::test_simple ... ok
[INFO] [stdout] test tokenize::tests::test_complex ... ok
[INFO] [stdout] test tokenize::tests::test_double ... ok
[INFO] [stdout] test tokenize::tests::test_char ... ok
[INFO] [stdout] test tokenize::tests::test_empty_char ... ok
[INFO] [stdout] test semantics::expr::method_call::tests::test_infer ... ok
[INFO] [stdout] test semantics::import::tests::test ... ok
[INFO] [stdout] test semantics::expr::field_access::tests::test_static_class ... ok
[INFO] [stdout] test semantics::expr::field_access::tests::test_static_parameterized ... ok
[INFO] [stdout] test tokenize::tests::test_escaped_backslash_char ... ok
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/javaparser/7f286d345b292766/deps/javaparser-7f286d345b292766` (signal: 11, SIGSEGV: invalid memory reference)
[INFO] running `Command { std: "docker" "inspect" "cc8b32fc41791af29583da52a406ab7fc47ea0c738da912b5dbe2b18a4365b7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cc8b32fc41791af29583da52a406ab7fc47ea0c738da912b5dbe2b18a4365b7e", kill_on_drop: false }`
[INFO] [stdout] cc8b32fc41791af29583da52a406ab7fc47ea0c738da912b5dbe2b18a4365b7e
