[INFO] fetching crate java-lang 0.1.0... [INFO] testing java-lang-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate java-lang 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate java-lang 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate java-lang 0.1.0 [INFO] tweaked toml for crates.io crate java-lang 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate java-lang 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate java-lang 0.1.0 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22997c4f3028f84b52e6f833fca1a7e60b5aa846dd36a02b44b454ab857b6a7c [INFO] running `Command { std: "docker" "start" "-a" "22997c4f3028f84b52e6f833fca1a7e60b5aa846dd36a02b44b454ab857b6a7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22997c4f3028f84b52e6f833fca1a7e60b5aa846dd36a02b44b454ab857b6a7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22997c4f3028f84b52e6f833fca1a7e60b5aa846dd36a02b44b454ab857b6a7c", kill_on_drop: false }` [INFO] [stdout] 22997c4f3028f84b52e6f833fca1a7e60b5aa846dd36a02b44b454ab857b6a7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25629f6e083aefadc7f920ae7c3c0e04e6efeefceaf7f728aaf1e864cc128fd0 [INFO] running `Command { std: "docker" "start" "-a" "25629f6e083aefadc7f920ae7c3c0e04e6efeefceaf7f728aaf1e864cc128fd0", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling java-lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tree/node/compilation_unit.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn package(&self) -> Option<&PackageDeclaration> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | pub fn package(&self) -> Option<&PackageDeclaration<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tree/node/compilation_unit.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn imports(&self) -> &[ImportDeclaration] { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided 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] 42 | pub fn imports(&self) -> &[ImportDeclaration<'_>] { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.02s [INFO] running `Command { std: "docker" "inspect" "25629f6e083aefadc7f920ae7c3c0e04e6efeefceaf7f728aaf1e864cc128fd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25629f6e083aefadc7f920ae7c3c0e04e6efeefceaf7f728aaf1e864cc128fd0", kill_on_drop: false }` [INFO] [stdout] 25629f6e083aefadc7f920ae7c3c0e04e6efeefceaf7f728aaf1e864cc128fd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 155e6ca4754c7307d34e9e50f1270f5bb7e8fb794e19d6ffb7b764b24267e7f8 [INFO] running `Command { std: "docker" "start" "-a" "155e6ca4754c7307d34e9e50f1270f5bb7e8fb794e19d6ffb7b764b24267e7f8", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tree/node/compilation_unit.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn package(&self) -> Option<&PackageDeclaration> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | pub fn package(&self) -> Option<&PackageDeclaration<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tree/node/compilation_unit.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn imports(&self) -> &[ImportDeclaration] { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided 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] 42 | pub fn imports(&self) -> &[ImportDeclaration<'_>] { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling java-lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tree/node/compilation_unit.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn package(&self) -> Option<&PackageDeclaration> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | pub fn package(&self) -> Option<&PackageDeclaration<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tree/node/compilation_unit.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn imports(&self) -> &[ImportDeclaration] { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided 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] 42 | pub fn imports(&self) -> &[ImportDeclaration<'_>] { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.47s [INFO] running `Command { std: "docker" "inspect" "155e6ca4754c7307d34e9e50f1270f5bb7e8fb794e19d6ffb7b764b24267e7f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "155e6ca4754c7307d34e9e50f1270f5bb7e8fb794e19d6ffb7b764b24267e7f8", kill_on_drop: false }` [INFO] [stdout] 155e6ca4754c7307d34e9e50f1270f5bb7e8fb794e19d6ffb7b764b24267e7f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8224087d1283f9997a7aee6723a5b89c7106443f4fb762af0b9bc43c6eb09efe [INFO] running `Command { std: "docker" "start" "-a" "8224087d1283f9997a7aee6723a5b89c7106443f4fb762af0b9bc43c6eb09efe", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/tree/node/compilation_unit.rs:30:20 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn package(&self) -> Option<&PackageDeclaration> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | || [INFO] [stderr] | | |the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 30 | pub fn package(&self) -> Option<&PackageDeclaration<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/tree/node/compilation_unit.rs:42:20 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn imports(&self) -> &[ImportDeclaration] { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided 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] 42 | pub fn imports(&self) -> &[ImportDeclaration<'_>] { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `java-lang` (lib) generated 2 warnings (run `cargo fix --lib -p java-lang` to apply 2 suggestions) [INFO] [stderr] warning: `java-lang` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/java_lang-0cafc121771894bc) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test tree::parser::compilation_unit::tests::test_compile_unit ... ok [INFO] [stdout] test tree::parser::package::tests::test_package_declaration ... ok [INFO] [stdout] test tree::parser::import::tests::test_import_declaration ... ok [INFO] [stdout] test tree::parser::import::tests::test_import_declarations ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests java_lang [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/tree/parser/package.rs - tree::parser::package::package_declaration (line 20) ... ok [INFO] [stdout] test src/tree/parser/import.rs - tree::parser::import::import_declaration (line 26) ... ok [INFO] [stdout] test src/tree/parser/compilation_unit.rs - tree::parser::compilation_unit::compilation_unit_declaration (line 22) ... ok [INFO] [stdout] test src/tree/parser/import.rs - tree::parser::import::import_declarations (line 82) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.54s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8224087d1283f9997a7aee6723a5b89c7106443f4fb762af0b9bc43c6eb09efe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8224087d1283f9997a7aee6723a5b89c7106443f4fb762af0b9bc43c6eb09efe", kill_on_drop: false }` [INFO] [stdout] 8224087d1283f9997a7aee6723a5b89c7106443f4fb762af0b9bc43c6eb09efe