[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] checking tanin47/javaparser.rs against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanin47%2Fjavaparser.rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tanin47/javaparser.rs on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc1/source/Cargo.toml [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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7fc2d5a7e730eab8e40dd84fbfc624115d6accac27a018939344a7ff7f49fc2f [INFO] running `Command { std: "docker" "start" "-a" "7fc2d5a7e730eab8e40dd84fbfc624115d6accac27a018939344a7ff7f49fc2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fc2d5a7e730eab8e40dd84fbfc624115d6accac27a018939344a7ff7f49fc2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fc2d5a7e730eab8e40dd84fbfc624115d6accac27a018939344a7ff7f49fc2f", kill_on_drop: false }` [INFO] [stdout] 7fc2d5a7e730eab8e40dd84fbfc624115d6accac27a018939344a7ff7f49fc2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33eb1c88edeaf1f1522097cf3349a06004e0b93f0646e0de4238a364f581b8f6 [INFO] running `Command { std: "docker" "start" "-a" "33eb1c88edeaf1f1522097cf3349a06004e0b93f0646e0de4238a364f581b8f6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking javaparser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `thread_spawn_unchecked` has been stable since 1.82.0-nightly 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: the feature `thread_spawn_unchecked` has been stable since 1.82.0-nightly 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` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: `std::ptr::Unique` must be non-null (in this struct field) [INFO] [stdout] --> src/parse/tree.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub imports: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: because `std::ptr::NonNull` must be non-null [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [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] 29 | | ) [INFO] [stdout] 30 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] | [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 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` 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: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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: 3 warnings emitted [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` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: `std::ptr::Unique` must be non-null (in this struct field) [INFO] [stdout] --> src/parse/tree.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub imports: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: because `std::ptr::NonNull` must be non-null [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.48s [INFO] running `Command { std: "docker" "inspect" "33eb1c88edeaf1f1522097cf3349a06004e0b93f0646e0de4238a364f581b8f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33eb1c88edeaf1f1522097cf3349a06004e0b93f0646e0de4238a364f581b8f6", kill_on_drop: false }` [INFO] [stdout] 33eb1c88edeaf1f1522097cf3349a06004e0b93f0646e0de4238a364f581b8f6