[INFO] fetching crate more-di 3.1.0... [INFO] testing more-di-3.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate more-di 3.1.0 into /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate more-di 3.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 31 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded more-di-macros v3.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 897f3f828247c2d3c197428550272dccc9e80c142bd68c74aefb9a8966314286 [INFO] running `Command { std: "docker" "start" "-a" "897f3f828247c2d3c197428550272dccc9e80c142bd68c74aefb9a8966314286", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "897f3f828247c2d3c197428550272dccc9e80c142bd68c74aefb9a8966314286", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "897f3f828247c2d3c197428550272dccc9e80c142bd68c74aefb9a8966314286", kill_on_drop: false }` [INFO] [stdout] 897f3f828247c2d3c197428550272dccc9e80c142bd68c74aefb9a8966314286 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ef2e134d6fb7737432b813d1ade730396bbb27c1e0b7c82d7a5dafa0dc81ebb [INFO] running `Command { std: "docker" "start" "-a" "2ef2e134d6fb7737432b813d1ade730396bbb27c1e0b7c82d7a5dafa0dc81ebb", kill_on_drop: false }` [INFO] [stderr] Compiling spin v0.9.8 [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:104:55 [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:120:58 [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 6.17s [INFO] running `Command { std: "docker" "inspect" "2ef2e134d6fb7737432b813d1ade730396bbb27c1e0b7c82d7a5dafa0dc81ebb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ef2e134d6fb7737432b813d1ade730396bbb27c1e0b7c82d7a5dafa0dc81ebb", kill_on_drop: false }` [INFO] [stdout] 2ef2e134d6fb7737432b813d1ade730396bbb27c1e0b7c82d7a5dafa0dc81ebb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efaa806a653f25da112a5e5efe6250809a41b3ec41b3690dc348a8ddb2d421e2 [INFO] running `Command { std: "docker" "start" "-a" "efaa806a653f25da112a5e5efe6250809a41b3ec41b3690dc348a8ddb2d421e2", 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:104:55 [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:120:58 [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 2.06s [INFO] running `Command { std: "docker" "inspect" "efaa806a653f25da112a5e5efe6250809a41b3ec41b3690dc348a8ddb2d421e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efaa806a653f25da112a5e5efe6250809a41b3ec41b3690dc348a8ddb2d421e2", kill_on_drop: false }` [INFO] [stdout] efaa806a653f25da112a5e5efe6250809a41b3ec41b3690dc348a8ddb2d421e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9b5b1780997299d68c9b2bd41205a453d8ef027bdfc01dd7c1042340d47ce324 [INFO] running `Command { std: "docker" "start" "-a" "9b5b1780997299d68c9b2bd41205a453d8ef027bdfc01dd7c1042340d47ce324", kill_on_drop: false }` [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> provider.rs:104:55 [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:120:58 [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.09s [INFO] [stderr] Running unittests lib.rs (/opt/rustwide/target/debug/deps/di-442d3bd6956e68c3) [INFO] [stdout] [INFO] [stdout] running 46 tests [INFO] [stdout] test collection::tests::is_empty_should_return_true_when_empty ... ok [INFO] [stdout] test collection::tests::is_empty_should_return_false_when_not_empty ... ok [INFO] [stdout] test collection::tests::length_should_return_zero_when_empty ... ok [INFO] [stdout] test collection::tests::length_should_return_count_when_not_empty ... ok [INFO] [stdout] test collection::tests::remove_all_should_remove_registered_services ... ok [INFO] [stdout] test collection::tests::replace_should_replace_first_registered_service ... ok [INFO] [stdout] test collection::tests::try_add_all_should_only_add_descriptors_for_unregistered_implementations ... 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::clear_should_remove_all_elements ... ok [INFO] [stdout] test collection::tests::remove_should_remove_element_at_index ... ok [INFO] [stdout] test collection::tests::try_replace_should_do_nothing_when_service_is_registered ... ok [INFO] [stdout] test inject::tests::inject_should_invoke_constructor_injection ... ok [INFO] [stdout] test provider::tests::clone_should_be_shallow ... ok [INFO] [stdout] test provider::tests::get_by_key_should_return_registered_service ... 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 provider::tests::get_all_by_key_should_return_all_services ... ok [INFO] [stdout] test provider::tests::get_required_by_key_should_return_registered_service ... ok [INFO] [stdout] test provider::tests::get_should_return_different_instances_for_transient_service ... ok [INFO] [stdout] test collection::tests::service_collection_should_not_drop_service_if_never_instantiated ... ok [INFO] [stdout] test collection::tests::service_collection_should_drop_existing_as_service ... ok [INFO] [stdout] test provider::tests::get_should_return_none_when_service_is_unregistered ... ok [INFO] [stdout] test provider::tests::get_should_return_same_instance_for_singleton_service ... ok [INFO] [stdout] test provider::tests::parent_child_scoped_service_providers_should_create_different_instances ... ok [INFO] [stdout] test provider::tests::scoped_service_provider_should_have_same_singleton_when_eager_created_in_parent ... ok [INFO] [stdout] test provider::tests::scoped_service_provider_should_have_same_singleton_when_lazy_created_in_parent ... ok [INFO] [stdout] test provider::tests::two_scoped_service_providers_should_create_different_instances ... 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 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 validation::tests::validate_should_ignore_missing_optional_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_missing_required_type ... ok [INFO] [stdout] test validation::tests::validate_should_report_missing_required_keyed_type ... ok [INFO] [stdout] test validation::tests::validate_should_report_multiple_issues ... ok [INFO] [stdout] test validation::tests::validate_should_report_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_transitive_scoped_service_in_singleton ... ok [INFO] [stdout] test provider::tests::get_required_should_return_registered_service ... ok [INFO] [stdout] test provider::tests::get_should_return_registered_service ... 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.06s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9b5b1780997299d68c9b2bd41205a453d8ef027bdfc01dd7c1042340d47ce324", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b5b1780997299d68c9b2bd41205a453d8ef027bdfc01dd7c1042340d47ce324", kill_on_drop: false }` [INFO] [stdout] 9b5b1780997299d68c9b2bd41205a453d8ef027bdfc01dd7c1042340d47ce324