[INFO] fetching crate more-di 3.1.0... [INFO] testing more-di-3.1.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate more-di 3.1.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate more-di 3.1.0 [INFO] finished tweaking crates.io crate more-di 3.1.0 [INFO] tweaked toml for crates.io crate more-di 3.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate more-di 3.1.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 32 packages to latest compatible versions [INFO] [stderr] Adding colored v2.2.0 (available: v3.0.0) [INFO] [stderr] Adding spin v0.9.8 (available: v0.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5661a773431d2ef9da05779253540326476bde4fdcced32744d0c0cd3e55c351 [INFO] running `Command { std: "docker" "start" "-a" "5661a773431d2ef9da05779253540326476bde4fdcced32744d0c0cd3e55c351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5661a773431d2ef9da05779253540326476bde4fdcced32744d0c0cd3e55c351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5661a773431d2ef9da05779253540326476bde4fdcced32744d0c0cd3e55c351", kill_on_drop: false }` [INFO] [stdout] 5661a773431d2ef9da05779253540326476bde4fdcced32744d0c0cd3e55c351 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3961515706cf98c337db7c0822bbbbd88ec619ff3379e15c9b9ee9038ae5bcb [INFO] running `Command { std: "docker" "start" "-a" "b3961515706cf98c337db7c0822bbbbd88ec619ff3379e15c9b9ee9038ae5bcb", kill_on_drop: false }` [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling more-di-macros v3.1.0 [INFO] [stderr] Compiling more-di v3.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> provider.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 104 | ) -> impl Iterator> + '_ [INFO] [stdout] | -- the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 104 - ) -> impl Iterator> + '_ [INFO] [stdout] 104 + ) -> impl Iterator> + 'a [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> provider.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 120 | ) -> impl Iterator> + '_ [INFO] [stdout] | -- the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 120 - ) -> impl Iterator> + '_ [INFO] [stdout] 120 + ) -> impl Iterator> + 'a [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.48s [INFO] running `Command { std: "docker" "inspect" "b3961515706cf98c337db7c0822bbbbd88ec619ff3379e15c9b9ee9038ae5bcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3961515706cf98c337db7c0822bbbbd88ec619ff3379e15c9b9ee9038ae5bcb", kill_on_drop: false }` [INFO] [stdout] b3961515706cf98c337db7c0822bbbbd88ec619ff3379e15c9b9ee9038ae5bcb [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 073a480d8a565d95aa1c00e27dd1e4411d2529a45f9341061fa27a11ccb23595 [INFO] running `Command { std: "docker" "start" "-a" "073a480d8a565d95aa1c00e27dd1e4411d2529a45f9341061fa27a11ccb23595", kill_on_drop: false }` [INFO] [stderr] Compiling more-di v3.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> provider.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 104 | ) -> impl Iterator> + '_ [INFO] [stdout] | -- the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 104 - ) -> impl Iterator> + '_ [INFO] [stdout] 104 + ) -> impl Iterator> + 'a [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> provider.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 120 | ) -> impl Iterator> + '_ [INFO] [stdout] | -- the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 120 - ) -> impl Iterator> + '_ [INFO] [stdout] 120 + ) -> impl Iterator> + 'a [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.32s [INFO] running `Command { std: "docker" "inspect" "073a480d8a565d95aa1c00e27dd1e4411d2529a45f9341061fa27a11ccb23595", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "073a480d8a565d95aa1c00e27dd1e4411d2529a45f9341061fa27a11ccb23595", kill_on_drop: false }` [INFO] [stdout] 073a480d8a565d95aa1c00e27dd1e4411d2529a45f9341061fa27a11ccb23595 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 36e28410226ad44df8c0f9afd589c73e1a3af3da7120590c7a3fc0bc5d787573 [INFO] running `Command { std: "docker" "start" "-a" "36e28410226ad44df8c0f9afd589c73e1a3af3da7120590c7a3fc0bc5d787573", kill_on_drop: false }` [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> provider.rs:103:10 [INFO] [stderr] | [INFO] [stderr] 103 | &'a self, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 104 | ) -> impl Iterator> + '_ [INFO] [stderr] | -- the same 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: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 104 - ) -> impl Iterator> + '_ [INFO] [stderr] 104 + ) -> impl Iterator> + 'a [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> provider.rs:119:10 [INFO] [stderr] | [INFO] [stderr] 119 | &'a self, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 120 | ) -> impl Iterator> + '_ [INFO] [stderr] | -- the same 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: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 120 - ) -> impl Iterator> + '_ [INFO] [stderr] 120 + ) -> impl Iterator> + 'a [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `more-di` (lib test) generated 2 warnings (run `cargo fix --lib -p more-di --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests lib.rs (/opt/rustwide/target/debug/deps/di-8f504c590fcda727) [INFO] [stdout] [INFO] [stdout] running 46 tests [INFO] [stdout] test collection::tests::clear_should_remove_all_elements ... ok [INFO] [stdout] test collection::tests::is_empty_should_return_false_when_not_empty ... ok [INFO] [stdout] test collection::tests::length_should_return_count_when_not_empty ... ok [INFO] [stdout] test collection::tests::length_should_return_zero_when_empty ... ok [INFO] [stdout] test collection::tests::is_empty_should_return_true_when_empty ... ok [INFO] [stdout] test collection::tests::remove_should_remove_element_at_index ... ok [INFO] [stdout] test collection::tests::try_add_all_should_only_add_descriptors_for_unregistered_implementations ... ok [INFO] [stdout] test inject::tests::inject_should_invoke_constructor_injection ... ok [INFO] [stdout] test collection::tests::try_replace_should_do_nothing_when_service_is_registered ... ok [INFO] [stdout] test collection::tests::try_add_should_do_nothing_when_service_is_registered ... ok [INFO] [stdout] test collection::tests::try_add_to_all_should_add_descriptor_when_implementation_is_unregistered ... ok [INFO] [stdout] test collection::tests::try_add_to_all_should_not_add_descriptor_when_implementation_is_registered ... ok [INFO] [stdout] test provider::tests::get_all_should_return_all_services ... ok [INFO] [stdout] test provider::tests::get_by_key_should_return_none_when_service_is_unregistered ... ok [INFO] [stdout] test collection::tests::service_collection_should_drop_existing_as_service ... ok [INFO] [stdout] test collection::tests::service_collection_should_not_drop_service_if_never_instantiated ... ok [INFO] [stdout] test provider::tests::get_required_should_return_registered_service ... ok [INFO] [stdout] test collection::tests::replace_should_replace_first_registered_service ... ok [INFO] [stdout] test collection::tests::remove_all_should_remove_registered_services ... ok [INFO] [stdout] test provider::tests::get_required_by_key_should_return_registered_service ... ok [INFO] [stdout] test provider::tests::get_by_key_should_return_registered_service ... ok [INFO] [stdout] test provider::tests::get_should_return_different_instances_for_transient_service ... ok [INFO] [stdout] test provider::tests::get_should_return_same_instance_for_singleton_service ... ok [INFO] [stdout] test provider::tests::clone_should_be_shallow ... ok [INFO] [stdout] test provider::tests::get_should_return_registered_service ... ok [INFO] [stdout] test provider::tests::scoped_service_provider_should_have_same_singleton_when_lazy_created_in_parent ... ok [INFO] [stdout] test provider::tests::service_provider_should_drop_existing_as_service ... ok [INFO] [stdout] test provider::tests::service_provider_should_drop_lazy_initialized_service ... ok [INFO] [stdout] test provider::tests::two_scoped_service_providers_should_create_different_instances ... ok [INFO] [stdout] test validation::tests::validate_should_ignore_missing_optional_keyed_type ... ok [INFO] [stdout] test validation::tests::validate_should_ignore_missing_optional_type ... ok [INFO] [stdout] test validation::tests::validate_should_report_circular_dependency ... ok [INFO] [stdout] test validation::tests::validate_should_not_report_circular_dependency_when_visited_multiple_times ... ok [INFO] [stdout] test provider::tests::get_all_by_key_should_return_all_services ... ok [INFO] [stdout] test provider::tests::scoped_service_provider_should_have_same_singleton_when_eager_created_in_parent ... ok [INFO] [stdout] test provider::tests::parent_child_scoped_service_providers_should_create_different_instances ... ok [INFO] [stdout] test provider::tests::get_should_return_none_when_service_is_unregistered ... ok [INFO] [stdout] test validation::tests::validate_should_report_missing_required_keyed_type ... ok [INFO] [stdout] test validation::tests::validate_should_report_circular_dependency_in_complex_dependency_tree ... ok [INFO] [stdout] test validation::tests::validate_should_report_scoped_service_in_singleton ... ok [INFO] [stdout] test validation::tests::validate_should_report_missing_required_type ... ok [INFO] [stdout] test validation::tests::validate_should_report_transitive_scoped_service_in_singleton ... ok [INFO] [stdout] test provider::tests::service_provider_should_not_drop_service_if_never_instantiated ... ok [INFO] [stdout] test validation::tests::validate_should_report_multiple_issues ... ok [INFO] [stdout] test provider::tests::get_required_by_key_should_panic_when_service_is_unregistered - should panic ... ok [INFO] [stdout] test provider::tests::get_required_should_panic_when_service_is_unregistered - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 46 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "36e28410226ad44df8c0f9afd589c73e1a3af3da7120590c7a3fc0bc5d787573", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36e28410226ad44df8c0f9afd589c73e1a3af3da7120590c7a3fc0bc5d787573", kill_on_drop: false }` [INFO] [stdout] 36e28410226ad44df8c0f9afd589c73e1a3af3da7120590c7a3fc0bc5d787573