[INFO] fetching crate ra_ap_hir_def 0.0.25... [INFO] testing ra_ap_hir_def-0.0.25 against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] extracting crate ra_ap_hir_def 0.0.25 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate ra_ap_hir_def 0.0.25 on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate ra_ap_hir_def 0.0.25 [INFO] finished tweaking crates.io crate ra_ap_hir_def 0.0.25 [INFO] tweaked toml for crates.io crate ra_ap_hir_def 0.0.25 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fc7b680e874c539b53478a3d493042592529610d3f02d6418eb4aa8bbb3ceb80 [INFO] running `Command { std: "docker" "start" "-a" "fc7b680e874c539b53478a3d493042592529610d3f02d6418eb4aa8bbb3ceb80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc7b680e874c539b53478a3d493042592529610d3f02d6418eb4aa8bbb3ceb80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc7b680e874c539b53478a3d493042592529610d3f02d6418eb4aa8bbb3ceb80", kill_on_drop: false }` [INFO] [stdout] fc7b680e874c539b53478a3d493042592529610d3f02d6418eb4aa8bbb3ceb80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1e5ee05b86a05daf108e70ed272100811bc605ad95bb2fd904af1872d899a52c [INFO] running `Command { std: "docker" "start" "-a" "1e5ee05b86a05daf108e70ed272100811bc605ad95bb2fd904af1872d899a52c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.52 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling salsa-macros v0.16.0 [INFO] [stderr] Compiling salsa v0.16.0 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling smol_str v0.1.17 [INFO] [stderr] Compiling rowan v0.10.0 [INFO] [stderr] Compiling ra_ap_tt v0.0.25 [INFO] [stderr] Compiling ra_ap_cfg v0.0.25 [INFO] [stderr] Compiling ra_ap_test_utils v0.0.25 [INFO] [stderr] Compiling ra_ap_syntax v0.0.25 [INFO] [stderr] Compiling ra_ap_base_db v0.0.25 [INFO] [stderr] Compiling ra_ap_mbe v0.0.25 [INFO] [stderr] Compiling ra_ap_hir_expand v0.0.25 [INFO] [stderr] Compiling ra_ap_hir_def v0.0.25 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 41s [INFO] running `Command { std: "docker" "inspect" "1e5ee05b86a05daf108e70ed272100811bc605ad95bb2fd904af1872d899a52c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e5ee05b86a05daf108e70ed272100811bc605ad95bb2fd904af1872d899a52c", kill_on_drop: false }` [INFO] [stdout] 1e5ee05b86a05daf108e70ed272100811bc605ad95bb2fd904af1872d899a52c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc1f065c8ea2ee905a7bae8415cc196e09b95c4b14d0c3ead35e033e244143f7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "dc1f065c8ea2ee905a7bae8415cc196e09b95c4b14d0c3ead35e033e244143f7", kill_on_drop: false }` [INFO] [stderr] Compiling ra_ap_hir_def v0.0.25 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 29.93s [INFO] running `Command { std: "docker" "inspect" "dc1f065c8ea2ee905a7bae8415cc196e09b95c4b14d0c3ead35e033e244143f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc1f065c8ea2ee905a7bae8415cc196e09b95c4b14d0c3ead35e033e244143f7", kill_on_drop: false }` [INFO] [stdout] dc1f065c8ea2ee905a7bae8415cc196e09b95c4b14d0c3ead35e033e244143f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9f0c751c44d712ad31b61b496d21a393a8a4be6ce7c8899c78a9394b233719f7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9f0c751c44d712ad31b61b496d21a393a8a4be6ce7c8899c78a9394b233719f7", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/ra_ap_hir_def-5ad31160434ec4d5 [INFO] [stdout] [INFO] [stdout] running 155 tests [INFO] [stdout] test body::scope::tests::broken_inner_item ... ok [INFO] [stdout] test body::scope::tests::test_match ... ok [INFO] [stdout] test body::scope::tests::test_loop_scope ... ok [INFO] [stdout] test body::scope::tests::test_call_scope ... ok [INFO] [stdout] test body::scope::tests::test_lambda_scope ... ok [INFO] [stdout] test body::scope::tests::test_method_call_scope ... ok [INFO] [stdout] test body::scope::tests::macro_inner_item ... ok [INFO] [stdout] test body::scope::tests::test_resolve_local_name_declaration ... ok [INFO] [stdout] test body::scope::tests::test_shadow_variable ... ok [INFO] [stdout] test body::scope::tests::test_resolve_local_name_shadow ... ok [INFO] [stdout] test body::scope::tests::test_bindings_after_at ... ok [INFO] [stdout] test body::tests::cfg_diagnostics ... ok [INFO] [stdout] test body::scope::tests::while_let_desugaring ... ok [INFO] [stdout] test body::scope::tests::ref_patterns_contribute_bindings ... ok [INFO] [stdout] test body::scope::tests::test_resolve_local_name ... ok [INFO] [stdout] test find_path::tests::enum_variant ... ok [INFO] [stdout] test find_path::tests::crate_root ... ok [INFO] [stdout] test find_path::tests::discount_private_imports ... ok [INFO] [stdout] test find_path::tests::builtins_are_in_scope ... ok [INFO] [stdout] test find_path::tests::prelude ... ok [INFO] [stdout] test find_path::tests::same_crate_reexport ... ok [INFO] [stdout] test find_path::tests::same_crate_reexport_rename ... ok [INFO] [stdout] test find_path::tests::same_crate ... ok [INFO] [stdout] test find_path::tests::same_module ... ok [INFO] [stdout] test find_path::tests::import_cycle ... ok [INFO] [stdout] test find_path::tests::shortest_path ... ok [INFO] [stdout] test find_path::tests::self_module ... ok [INFO] [stdout] test find_path::tests::sub_module ... ok [INFO] [stdout] test find_path::tests::enum_variant_from_prelude ... ok [INFO] [stdout] test find_path::tests::super_module ... ok [INFO] [stdout] test body::tests::your_stack_belongs_to_me ... ok [INFO] [stdout] test find_path::tests::different_crate_renamed ... ok [INFO] [stdout] test import_map::tests::cyclic_module_reexport ... ok [INFO] [stdout] test import_map::tests::private_macro ... ok [INFO] [stdout] test import_map::tests::prefers_shortest_path ... ok [INFO] [stdout] test import_map::tests::macro_reexport ... ok [INFO] [stdout] test import_map::tests::namespacing ... ok [INFO] [stdout] test find_path::tests::different_crate ... ok [INFO] [stdout] test import_map::tests::module_reexport ... ok [INFO] [stdout] test find_path::tests::different_crate_reexport ... ok [INFO] [stdout] test item_tree::tests::extern_attrs ... FAILED [INFO] [stdout] test import_map::tests::search ... ok [INFO] [stdout] test item_tree::tests::impl_attrs ... FAILED [INFO] [stdout] test item_tree::tests::assoc_item_macros ... FAILED [INFO] [stdout] test item_tree::tests::inner_item_attrs ... FAILED [INFO] [stdout] test item_tree::tests::simple_inner_items ... FAILED [INFO] [stdout] test nameres::collector::tests::test_macro_expand_will_stop_2 ... ignored [INFO] [stdout] test nameres::tests::bogus_paths ... ok [INFO] [stdout] test item_tree::tests::trait_attrs ... FAILED [INFO] [stdout] test nameres::tests::can_import_enum_variant ... ok [INFO] [stdout] test item_tree::tests::cursed_inner_items ... ok [INFO] [stdout] test nameres::tests::cfg_not_test ... ok [INFO] [stdout] test nameres::tests::cfg_the_entire_crate ... ok [INFO] [stdout] test nameres::tests::cfg_test ... ok [INFO] [stdout] test import_map::tests::search_limit ... ok [INFO] [stdout] test nameres::tests::crate_def_map_fn_mod_same_name ... ok [INFO] [stdout] test import_map::tests::search_casing ... ok [INFO] [stdout] test nameres::tests::diagnostics::unresolved_extern_crate ... ok [INFO] [stdout] test nameres::tests::diagnostics::unresolved_import ... ok [INFO] [stdout] test nameres::tests::crate_def_map_super_super ... ok [INFO] [stdout] test item_tree::tests::smoke ... FAILED [INFO] [stdout] test nameres::tests::diagnostics::unresolved_import_in_use_tree ... ok [INFO] [stdout] test nameres::tests::crate_def_map_smoke_test ... ok [INFO] [stdout] test nameres::tests::diagnostics::dedup_unresolved_import_from_unresolved_crate ... ok [INFO] [stdout] test nameres::tests::diagnostics::unresolved_module ... ok [INFO] [stdout] test nameres::tests::edition_2015_imports ... ok [INFO] [stdout] test nameres::tests::globs::glob_across_crates ... ok [INFO] [stdout] test nameres::tests::diagnostics::inactive_item ... ok [INFO] [stdout] test import_map::tests::smoke ... ok [INFO] [stdout] test nameres::tests::extern_crate_rename ... ok [INFO] [stdout] test nameres::tests::globs::glob_2 ... ok [INFO] [stdout] test nameres::tests::globs::glob_enum_group ... ok [INFO] [stdout] test nameres::tests::globs::glob_enum ... ok [INFO] [stdout] test nameres::tests::extern_crate_rename_2015_edition ... ok [INFO] [stdout] test nameres::tests::globs::glob_privacy_across_crates ... ok [INFO] [stdout] test nameres::tests::globs::glob_privacy_2 ... ok [INFO] [stdout] test nameres::tests::globs::glob_1 ... ok [INFO] [stdout] test nameres::tests::globs::glob_privacy_1 ... ok [INFO] [stdout] test nameres::tests::globs::glob_shadowed_def ... ok [INFO] [stdout] test import_map::tests::type_reexport_cross_crate ... ok [INFO] [stdout] test nameres::tests::item_map_using_self ... ok [INFO] [stdout] test nameres::tests::globs::glob_shadowed_def_dependencies ... ok [INFO] [stdout] test nameres::tests::globs::glob_shadowed_def_reversed ... ok [INFO] [stdout] test nameres::tests::incremental::typing_inside_a_function_should_not_invalidate_def_map ... ok [INFO] [stdout] test nameres::tests::item_map_across_crates ... ok [INFO] [stdout] test nameres::tests::macros::expand_derive ... ok [INFO] [stdout] test nameres::tests::infer_multiple_namespace ... ok [INFO] [stdout] test nameres::tests::incremental::typing_inside_a_macro_should_not_invalidate_def_map ... ok [INFO] [stdout] test nameres::tests::macros::macro_rules_from_other_crates_are_visible ... ok [INFO] [stdout] test find_path::tests::partially_imported ... ok [INFO] [stdout] test nameres::tests::macros::macro_use_can_be_aliased ... ok [INFO] [stdout] test nameres::tests::macros::macro_rules_export_with_local_inner_macros_are_visible ... ok [INFO] [stdout] test nameres::tests::macros::path_qualified_macros ... ok [INFO] [stdout] test nameres::tests::macros::macro_dollar_crate_is_correct_in_indirect_deps ... ok [INFO] [stdout] test nameres::tests::macros::prelude_cycle ... ok [INFO] [stdout] test nameres::tests::macros::macro_rules_can_define_modules ... ok [INFO] [stdout] test nameres::tests::macros::macro_rules_from_other_crates_are_visible_with_macro_use ... ok [INFO] [stdout] test nameres::tests::macros::macro_rules_are_globally_visible ... ok [INFO] [stdout] test nameres::tests::macros::macro_dollar_crate_is_correct_in_item ... ok [INFO] [stdout] test nameres::tests::macros::local_inner_macros_makes_local_macros_usable ... ok [INFO] [stdout] test nameres::tests::mod_resolution::module_resolution_decl_empty_path ... ok [INFO] [stdout] test nameres::tests::macros::type_value_macro_live_in_different_scopes ... ok [INFO] [stdout] test nameres::tests::macros::proc_macro_censoring ... ok [INFO] [stdout] test nameres::tests::macros::unexpanded_macro_should_expand_by_fixedpoint_loop ... ok [INFO] [stdout] test nameres::tests::macros::resolves_proc_macros ... ok [INFO] [stdout] test nameres::tests::mod_resolution::module_resolution_decl_inside_inline_module_empty_path ... ok [INFO] [stdout] test nameres::tests::mod_resolution::module_resolution_decl_inside_inline_module_in_crate_root ... ok [INFO] [stdout] test nameres::tests::macros::prelude_is_macro_use ... ok [INFO] [stdout] test nameres::tests::mod_resolution::circular_mods ... ok [INFO] [stdout] test nameres::tests::mod_resolution::module_resolution_decl_inside_inline_module ... ok [INFO] [stdout] test nameres::tests::mod_resolution::module_resolution_decl_inside_inline_module_3 ... ok [INFO] [stdout] test nameres::tests::mod_resolution::module_resolution_decl_inside_inline_module_relative_path ... ok [INFO] [stdout] test nameres::tests::mod_resolution::module_resolution_decl_inside_inline_module_in_mod_rs ... ok [INFO] [stdout] test nameres::tests::mod_resolution::module_resolution_decl_inside_inline_module_in_non_crate_root ... ok [INFO] [stdout] test nameres::tests::mod_resolution::module_resolution_decl_inside_inline_module_2_with_path_attribute ... ok [INFO] [stdout] test nameres::tests::mod_resolution::module_resolution_explicit_path_mod_rs ... ok [INFO] [stdout] test nameres::tests::mod_resolution::module_resolution_explicit_path_mod_rs_with_win_separator ... ok [INFO] [stdout] test nameres::tests::mod_resolution::module_resolution_explicit_path_mod_rs_2 ... ok [INFO] [stdout] test nameres::tests::mod_resolution::module_resolution_decl_inside_inline_module_with_path_attribute ... ok [INFO] [stdout] test nameres::tests::mod_resolution::module_resolution_module_decl_path_super ... ok [INFO] [stdout] test nameres::tests::mod_resolution::module_resolution_decl_inside_module_in_non_crate_root_2 ... ok [INFO] [stdout] test nameres::tests::mod_resolution::module_resolution_decl_path ... ok [INFO] [stdout] test nameres::tests::mod_resolution::module_resolution_works_for_non_standard_filenames ... ok [INFO] [stdout] test nameres::tests::mod_resolution::module_resolution_relative_path_outside_root ... ok [INFO] [stdout] test nameres::tests::mod_resolution::module_resolution_relative_path ... ok [INFO] [stdout] test find_path::tests::prefer_alloc_paths_over_std ... ok [INFO] [stdout] test nameres::tests::mod_resolution::module_resolution_decl_inside_inline_module_in_non_crate_root_2 ... ok [INFO] [stdout] test nameres::tests::mod_resolution::module_resolution_relative_path_2 ... ok [INFO] [stdout] test find_path::tests::prefer_shorter_paths_if_not_alloc ... ok [INFO] [stdout] test nameres::tests::mod_resolution::module_resolution_works_for_raw_modules ... ok [INFO] [stdout] test nameres::tests::mod_resolution::nested_module_resolution ... ok [INFO] [stdout] test nameres::tests::mod_resolution::nested_out_of_line_module_with_path ... ok [INFO] [stdout] test nameres::tests::mod_resolution::nested_out_of_line_module ... ok [INFO] [stdout] test nameres::tests::re_exports ... ok [INFO] [stdout] test nameres::tests::mod_resolution::module_resolution_module_with_path_in_mod_rs ... ok [INFO] [stdout] test nameres::tests::std_prelude ... ok [INFO] [stdout] test nameres::tests::mod_resolution::module_resolution_module_with_path_non_crate_root ... ok [INFO] [stdout] test nameres::tests::underscore_nontrait ... ok [INFO] [stdout] test nameres::tests::mod_resolution::nested_module_resolution_2 ... ok [INFO] [stdout] test nameres::tests::underscore_import ... ok [INFO] [stdout] test nameres::tests::underscore_name_conflict ... ok [INFO] [stdout] test nameres::tests::underscore_reexport ... ok [INFO] [stdout] test nameres::tests::values_dont_shadow_extern_crates ... ok [INFO] [stdout] test nameres::tests::macros::plain_macros_are_legacy_textual_scoped ... ok [INFO] [stdout] test nameres::tests::reexport_across_crates ... ok [INFO] [stdout] test nameres::tests::use_as ... ok [INFO] [stdout] test nameres::tests::std_prelude_takes_precedence_above_core_prelude ... ok [INFO] [stdout] test nameres::tests::primitives::primitive_reexport ... ok [INFO] [stdout] test nameres::tests::mod_resolution::name_res_works_for_broken_modules ... ok [INFO] [stdout] test nameres::tests::underscore_pub_crate_reexport ... ok [INFO] [stdout] test nameres::tests::use_trees ... ok [INFO] [stdout] test find_path::tests::prefer_core_paths_over_std ... ok [INFO] [stdout] test find_path::tests::prefer_std_paths_over_alloc ... ok [INFO] [stdout] test nameres::collector::tests::test_macro_expand_will_stop_1 ... ok [INFO] [stdout] test nameres::tests::macros::macro_expansion_overflow ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- item_tree::tests::extern_attrs stdout ---- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expect test failed [INFO] [stdout] --> src/item_tree/tests.rs:301:9 [INFO] [stdout] [INFO] [stdout] You can update all `expect![[]]` tests by running: [INFO] [stdout] [INFO] [stdout] env UPDATE_EXPECT=1 cargo test [INFO] [stdout] [INFO] [stdout] To update a single test, place the cursor on `expect` token and use `run` feature of rust-analyzer. [INFO] [stdout] [INFO] [stdout] Expect: [INFO] [stdout] ---- [INFO] [stdout] inner attrs: Attrs { entries: None } [INFO] [stdout] [INFO] [stdout] top-level items: [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("attr_a"))] }, input: None }, Attr { path: ModPath { kind: Plain, segments: [Name(Text("block_attr"))] }, input: None }]) }] [INFO] [stdout] Function { name: Name(Text("a")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: true, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(1) } [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("attr_b"))] }, input: None }, Attr { path: ModPath { kind: Plain, segments: [Name(Text("block_attr"))] }, input: None }]) }] [INFO] [stdout] Function { name: Name(Text("b")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: true, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(2) } [INFO] [stdout] [INFO] [stdout] ---- [INFO] [stdout] [INFO] [stdout] Actual: [INFO] [stdout] ---- [INFO] [stdout] inner attrs: Attrs { entries: None } [INFO] [stdout] [INFO] [stdout] top-level items: [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("attr_a"))] }, input: None }, Attr { path: ModPath { kind: Plain, segments: [Name(Text("block_attr"))] }, input: None }]) }] [INFO] [stdout] Function { name: Name(Text("a")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: true, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(1) } [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("attr_b"))] }, input: None }, Attr { path: ModPath { kind: Plain, segments: [Name(Text("block_attr"))] }, input: None }]) }] [INFO] [stdout] Function { name: Name(Text("b")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: true, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(2) } [INFO] [stdout] [INFO] [stdout] ---- [INFO] [stdout] [INFO] [stdout] Diff: [INFO] [stdout] ---- [INFO] [stdout] inner attrs: Attrs { entries: None } [INFO] [stdout] [INFO] [stdout] top-level items: [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("attr_a"))] }, input: None }, Attr { path: ModPath { kind: Plain, segments: [Name(Text("block_attr"))] }, input: None }]) }] [INFO] [stdout] Function { name: Name(Text("a")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: true, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(1) } [INFO] [stdout] Function { name: Name(Text("a")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: true, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(1) } [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("attr_b"))] }, input: None }, Attr { path: ModPath { kind: Plain, segments: [Name(Text("block_attr"))] }, input: None }]) }] [INFO] [stdout] Function { name: Name(Text("b")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: true, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(2) } [INFO] [stdout] Function { name: Name(Text("b")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: true, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(2) } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- item_tree::tests::impl_attrs stdout ---- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expect test failed [INFO] [stdout] --> src/item_tree/tests.rs:351:9 [INFO] [stdout] [INFO] [stdout] Expect: [INFO] [stdout] ---- [INFO] [stdout] inner attrs: Attrs { entries: None } [INFO] [stdout] [INFO] [stdout] top-level items: [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("impl_attr"))] }, input: None }]) }] [INFO] [stdout] Impl { generic_params: GenericParamsId(4294967295), target_trait: None, target_type: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Ty"))] }, generic_args: [None] }), is_negative: false, items: [Function(Idx::(0)), Function(Idx::(1))], ast_id: FileAstId::(0) } [INFO] [stdout] > #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("attr_a"))] }, input: None }]) }] [INFO] [stdout] > Function { name: Name(Text("a")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: false, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(1) } [INFO] [stdout] > #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("attr_b"))] }, input: None }]) }] [INFO] [stdout] > Function { name: Name(Text("b")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: false, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(2) } [INFO] [stdout] [INFO] [stdout] ---- [INFO] [stdout] [INFO] [stdout] Actual: [INFO] [stdout] ---- [INFO] [stdout] inner attrs: Attrs { entries: None } [INFO] [stdout] [INFO] [stdout] top-level items: [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("impl_attr"))] }, input: None }]) }] [INFO] [stdout] Impl { generic_params: GenericParamsId(4294967295), target_trait: None, target_type: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Ty"))] }, generic_args: [None] }), is_negative: false, items: [Function(Idx::(0)), Function(Idx::(1))], ast_id: FileAstId::(0) } [INFO] [stdout] > #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("attr_a"))] }, input: None }]) }] [INFO] [stdout] > Function { name: Name(Text("a")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: false, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(1) } [INFO] [stdout] > #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("attr_b"))] }, input: None }]) }] [INFO] [stdout] > Function { name: Name(Text("b")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: false, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(2) } [INFO] [stdout] [INFO] [stdout] ---- [INFO] [stdout] [INFO] [stdout] Diff: [INFO] [stdout] ---- [INFO] [stdout] inner attrs: Attrs { entries: None } [INFO] [stdout] [INFO] [stdout] top-level items: [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("impl_attr"))] }, input: None }]) }] [INFO] [stdout] Impl { generic_params: GenericParamsId(4294967295), target_trait: None, target_type: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Ty"))] }, generic_args: [None] }), is_negative: false, items: [Function(Idx::(0)), Function(Idx::(1))], ast_id: FileAstId::(0) } [INFO] [stdout] Impl { generic_params: GenericParamsId(4294967295), target_trait: None, target_type: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Ty"))] }, generic_args: [None] }), is_negative: false, items: [Function(Idx::(0)), Function(Idx::(1))], ast_id: FileAstId::(0) } [INFO] [stdout] > #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("attr_a"))] }, input: None }]) }] [INFO] [stdout] > Function { name: Name(Text("a")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: false, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(1) } [INFO] [stdout] > Function { name: Name(Text("a")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: false, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(1) } [INFO] [stdout] > #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("attr_b"))] }, input: None }]) }] [INFO] [stdout] > Function { name: Name(Text("b")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: false, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(2) } [INFO] [stdout] > Function { name: Name(Text("b")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: false, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(2) } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- item_tree::tests::assoc_item_macros stdout ---- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expect test failed [INFO] [stdout] --> src/item_tree/tests.rs:431:9 [INFO] [stdout] [INFO] [stdout] Expect: [INFO] [stdout] ---- [INFO] [stdout] inner attrs: Attrs { entries: None } [INFO] [stdout] [INFO] [stdout] top-level items: [INFO] [stdout] Impl { generic_params: GenericParamsId(4294967295), target_trait: None, target_type: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("S"))] }, generic_args: [None] }), is_negative: false, items: [MacroCall(Idx::(0))], ast_id: FileAstId::(0) } [INFO] [stdout] > MacroCall { name: None, path: ModPath { kind: Plain, segments: [Name(Text("items"))] }, is_export: false, is_local_inner: false, is_builtin: false, ast_id: FileAstId::(1) } [INFO] [stdout] [INFO] [stdout] ---- [INFO] [stdout] [INFO] [stdout] Actual: [INFO] [stdout] ---- [INFO] [stdout] inner attrs: Attrs { entries: None } [INFO] [stdout] [INFO] [stdout] top-level items: [INFO] [stdout] Impl { generic_params: GenericParamsId(4294967295), target_trait: None, target_type: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("S"))] }, generic_args: [None] }), is_negative: false, items: [MacroCall(Idx::(0))], ast_id: FileAstId::(0) } [INFO] [stdout] > MacroCall { name: None, path: ModPath { kind: Plain, segments: [Name(Text("items"))] }, is_export: false, is_local_inner: false, is_builtin: false, ast_id: FileAstId::(1) } [INFO] [stdout] [INFO] [stdout] ---- [INFO] [stdout] [INFO] [stdout] Diff: [INFO] [stdout] ---- [INFO] [stdout] inner attrs: Attrs { entries: None } [INFO] [stdout] [INFO] [stdout] top-level items: [INFO] [stdout] Impl { generic_params: GenericParamsId(4294967295), target_trait: None, target_type: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("S"))] }, generic_args: [None] }), is_negative: false, items: [MacroCall(Idx::(0))], ast_id: FileAstId::(0) } [INFO] [stdout] > MacroCall { name: None, path: ModPath { kind: Plain, segments: [Name(Text("items"))] }, is_export: false, is_local_inner: false, is_builtin: false, ast_id: FileAstId::(1) } [INFO] [stdout] Impl { generic_params: GenericParamsId(4294967295), target_trait: None, target_type: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("S"))] }, generic_args: [None] }), is_negative: false, items: [MacroCall(Idx::(0))], ast_id: FileAstId::(0) } [INFO] [stdout] > MacroCall { name: None, path: ModPath { kind: Plain, segments: [Name(Text("items"))] }, is_export: false, is_local_inner: false, is_builtin: false, ast_id: FileAstId::(1) } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- item_tree::tests::inner_item_attrs stdout ---- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expect test failed [INFO] [stdout] --> src/item_tree/tests.rs:407:9 [INFO] [stdout] [INFO] [stdout] Expect: [INFO] [stdout] ---- [INFO] [stdout] inner attrs: Attrs { entries: None } [INFO] [stdout] [INFO] [stdout] top-level items: [INFO] [stdout] Function { name: Name(Text("foo")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: false, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(0) } [INFO] [stdout] [INFO] [stdout] inner items: [INFO] [stdout] [INFO] [stdout] for AST FileAstId::(1): [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("on_inner"))] }, input: None }]) }] [INFO] [stdout] Function { name: Name(Text("inner")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: false, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(1) } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- [INFO] [stdout] [INFO] [stdout] Actual: [INFO] [stdout] ---- [INFO] [stdout] inner attrs: Attrs { entries: None } [INFO] [stdout] [INFO] [stdout] top-level items: [INFO] [stdout] Function { name: Name(Text("foo")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: false, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(0) } [INFO] [stdout] [INFO] [stdout] inner items: [INFO] [stdout] [INFO] [stdout] for AST FileAstId::(1): [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("on_inner"))] }, input: None }]) }] [INFO] [stdout] Function { name: Name(Text("inner")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: false, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(1) } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- [INFO] [stdout] [INFO] [stdout] Diff: [INFO] [stdout] ---- [INFO] [stdout] inner attrs: Attrs { entries: None } [INFO] [stdout] [INFO] [stdout] top-level items: [INFO] [stdout] Function { name: Name(Text("foo")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: false, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(0) } [INFO] [stdout] Function { name: Name(Text("foo")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: false, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(0) } [INFO] [stdout] [INFO] [stdout] inner items: [INFO] [stdout] [INFO] [stdout] for AST FileAstId::(1): [INFO] [stdout] for AST FileAstId::(1): [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("on_inner"))] }, input: None }]) }] [INFO] [stdout] Function { name: Name(Text("inner")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: false, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(1) } [INFO] [stdout] Function { name: Name(Text("inner")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: false, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(1) } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- item_tree::tests::simple_inner_items stdout ---- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expect test failed [INFO] [stdout] --> src/item_tree/tests.rs:273:9 [INFO] [stdout] [INFO] [stdout] Expect: [INFO] [stdout] ---- [INFO] [stdout] inner attrs: Attrs { entries: None } [INFO] [stdout] [INFO] [stdout] top-level items: [INFO] [stdout] Impl { generic_params: GenericParamsId(0), target_trait: Some(Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("D"))] }, generic_args: [None] })), target_type: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Response"))] }, generic_args: [Some(GenericArgs { args: [Type(Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("T"))] }, generic_args: [None] }))], has_self_type: false, bindings: [] })] }), is_negative: false, items: [Function(Idx::(1))], ast_id: FileAstId::(0) } [INFO] [stdout] > Function { name: Name(Text("foo")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: false, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(1) } [INFO] [stdout] [INFO] [stdout] inner items: [INFO] [stdout] [INFO] [stdout] for AST FileAstId::(2): [INFO] [stdout] Function { name: Name(Text("end")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(1), has_self_param: false, has_body: true, is_unsafe: false, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(2) } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- [INFO] [stdout] [INFO] [stdout] Actual: [INFO] [stdout] ---- [INFO] [stdout] inner attrs: Attrs { entries: None } [INFO] [stdout] [INFO] [stdout] top-level items: [INFO] [stdout] Impl { generic_params: GenericParamsId(0), target_trait: Some(Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("D"))] }, generic_args: [None] })), target_type: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Response"))] }, generic_args: [Some(GenericArgs { args: [Type(Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("T"))] }, generic_args: [None] }))], has_self_type: false, bindings: [] })] }), is_negative: false, items: [Function(Idx::(1))], ast_id: FileAstId::(0) } [INFO] [stdout] > Function { name: Name(Text("foo")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: false, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(1) } [INFO] [stdout] [INFO] [stdout] inner items: [INFO] [stdout] [INFO] [stdout] for AST FileAstId::(2): [INFO] [stdout] Function { name: Name(Text("end")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(1), has_self_param: false, has_body: true, is_unsafe: false, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(2) } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- [INFO] [stdout] [INFO] [stdout] Diff: [INFO] [stdout] ---- [INFO] [stdout] inner attrs: Attrs { entries: None } [INFO] [stdout] [INFO] [stdout] top-level items: [INFO] [stdout] Impl { generic_params: GenericParamsId(0), target_trait: Some(Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("D"))] }, generic_args: [None] })), target_type: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Response"))] }, generic_args: [Some(GenericArgs { args: [Type(Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("T"))] }, generic_args: [None] }))], has_self_type: false, bindings: [] })] }), is_negative: false, items: [Function(Idx::(1))], ast_id: FileAstId::(0) } [INFO] [stdout] > Function { name: Name(Text("foo")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: false, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(1) } [INFO] [stdout] Impl { generic_params: GenericParamsId(0), target_trait: Some(Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("D"))] }, generic_args: [None] })), target_type: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Response"))] }, generic_args: [Some(GenericArgs { args: [Type(Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("T"))] }, generic_args: [None] }))], has_self_type: false, bindings: [] })] }), is_negative: false, items: [Function(Idx::(1))], ast_id: FileAstId::(0) } [INFO] [stdout] > Function { name: Name(Text("foo")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: false, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(1) } [INFO] [stdout] [INFO] [stdout] inner items: [INFO] [stdout] [INFO] [stdout] for AST FileAstId::(2): [INFO] [stdout] Function { name: Name(Text("end")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(1), has_self_param: false, has_body: true, is_unsafe: false, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(2) } [INFO] [stdout] for AST FileAstId::(2): [INFO] [stdout] Function { name: Name(Text("end")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(1), has_self_param: false, has_body: true, is_unsafe: false, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(2) } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- item_tree::tests::trait_attrs stdout ---- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expect test failed [INFO] [stdout] --> src/item_tree/tests.rs:325:9 [INFO] [stdout] [INFO] [stdout] Expect: [INFO] [stdout] ---- [INFO] [stdout] inner attrs: Attrs { entries: None } [INFO] [stdout] [INFO] [stdout] top-level items: [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("trait_attr"))] }, input: None }]) }] [INFO] [stdout] Trait { name: Name(Text("Tr")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(0), auto: false, items: [Function(Idx::(0)), Function(Idx::(1))], ast_id: FileAstId::(0) } [INFO] [stdout] > #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("attr_a"))] }, input: None }]) }] [INFO] [stdout] > Function { name: Name(Text("a")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: false, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(1) } [INFO] [stdout] > #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("attr_b"))] }, input: None }]) }] [INFO] [stdout] > Function { name: Name(Text("b")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: false, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(2) } [INFO] [stdout] [INFO] [stdout] ---- [INFO] [stdout] [INFO] [stdout] Actual: [INFO] [stdout] ---- [INFO] [stdout] inner attrs: Attrs { entries: None } [INFO] [stdout] [INFO] [stdout] top-level items: [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("trait_attr"))] }, input: None }]) }] [INFO] [stdout] Trait { name: Name(Text("Tr")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(0), auto: false, items: [Function(Idx::(0)), Function(Idx::(1))], ast_id: FileAstId::(0) } [INFO] [stdout] > #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("attr_a"))] }, input: None }]) }] [INFO] [stdout] > Function { name: Name(Text("a")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: false, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(1) } [INFO] [stdout] > #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("attr_b"))] }, input: None }]) }] [INFO] [stdout] > Function { name: Name(Text("b")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: false, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(2) } [INFO] [stdout] [INFO] [stdout] ---- [INFO] [stdout] [INFO] [stdout] Diff: [INFO] [stdout] ---- [INFO] [stdout] inner attrs: Attrs { entries: None } [INFO] [stdout] [INFO] [stdout] top-level items: [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("trait_attr"))] }, input: None }]) }] [INFO] [stdout] Trait { name: Name(Text("Tr")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(0), auto: false, items: [Function(Idx::(0)), Function(Idx::(1))], ast_id: FileAstId::(0) } [INFO] [stdout] Trait { name: Name(Text("Tr")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(0), auto: false, items: [Function(Idx::(0)), Function(Idx::(1))], ast_id: FileAstId::(0) } [INFO] [stdout] > #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("attr_a"))] }, input: None }]) }] [INFO] [stdout] > Function { name: Name(Text("a")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: false, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(1) } [INFO] [stdout] > Function { name: Name(Text("a")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: false, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(1) } [INFO] [stdout] > #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("attr_b"))] }, input: None }]) }] [INFO] [stdout] > Function { name: Name(Text("b")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: false, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(2) } [INFO] [stdout] > Function { name: Name(Text("b")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: false, has_body: true, is_unsafe: false, params: [], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(2) } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- item_tree::tests::smoke stdout ---- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expect test failed [INFO] [stdout] --> src/item_tree/tests.rs:226:9 [INFO] [stdout] [INFO] [stdout] Expect: [INFO] [stdout] ---- [INFO] [stdout] inner attrs: Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("attr"))] }, input: None }]) } [INFO] [stdout] [INFO] [stdout] top-level items: [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("attr_on_use"))] }, input: None }]) }] [INFO] [stdout] Import { path: ModPath { kind: Plain, segments: [Name(Text("a"))] }, alias: None, visibility: RawVisibilityId("pub(self)"), is_glob: false, is_prelude: false, ast_id: FileAstId::(0), index: 0 } [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("attr_on_use"))] }, input: None }]) }] [INFO] [stdout] Import { path: ModPath { kind: Plain, segments: [Name(Text("b"))] }, alias: None, visibility: RawVisibilityId("pub(self)"), is_glob: true, is_prelude: false, ast_id: FileAstId::(0), index: 1 } [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("ext_crate"))] }, input: None }]) }] [INFO] [stdout] ExternCrate { name: Name(Text("krate")), alias: None, visibility: RawVisibilityId("pub(self)"), is_macro_use: false, ast_id: FileAstId::(1) } [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("on_trait"))] }, input: None }]) }] [INFO] [stdout] Trait { name: Name(Text("Tr")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(0), auto: false, items: [TypeAlias(Idx::(0)), Const(Idx::(0)), Function(Idx::(0)), Function(Idx::(1))], ast_id: FileAstId::(2) } [INFO] [stdout] > #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("assoc_ty"))] }, input: None }]) }] [INFO] [stdout] > TypeAlias { name: Name(Text("AssocTy")), visibility: RawVisibilityId("pub(self)"), bounds: [Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Tr"))] }, generic_args: [Some(GenericArgs { args: [Type(Tuple([]))], has_self_type: false, bindings: [] })] })], generic_params: GenericParamsId(4294967295), type_ref: None, is_extern: false, ast_id: FileAstId::(8) } [INFO] [stdout] > #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("assoc_const"))] }, input: None }]) }] [INFO] [stdout] > Const { name: Some(Name(Text("CONST"))), visibility: RawVisibilityId("pub(self)"), type_ref: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("u8"))] }, generic_args: [None] }), ast_id: FileAstId::(9) } [INFO] [stdout] > #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("assoc_method"))] }, input: None }]) }] [INFO] [stdout] > Function { name: Name(Text("method")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: true, has_body: false, is_unsafe: false, params: [Reference(Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Self"))] }, generic_args: [None] }), Shared)], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(10) } [INFO] [stdout] > #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("assoc_dfl_method"))] }, input: None }]) }] [INFO] [stdout] > Function { name: Name(Text("dfl_method")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: true, has_body: true, is_unsafe: false, params: [Reference(Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Self"))] }, generic_args: [None] }), Mut)], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(11) } [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("struct0"))] }, input: None }]) }] [INFO] [stdout] Struct { name: Name(Text("Struct0")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(1), fields: Unit, ast_id: FileAstId::(3), kind: Unit } [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("struct1"))] }, input: None }]) }] [INFO] [stdout] Struct { name: Name(Text("Struct1")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(2), fields: Tuple(IdRange::(0..1)), ast_id: FileAstId::(4), kind: Tuple } [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("struct2"))] }, input: None }]) }] [INFO] [stdout] Struct { name: Name(Text("Struct2")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(3), fields: Record(IdRange::(1..2)), ast_id: FileAstId::(5), kind: Record } [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("en"))] }, input: None }]) }] [INFO] [stdout] Enum { name: Name(Text("En")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), variants: IdRange::(0..1), ast_id: FileAstId::(6) } [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("un"))] }, input: None }]) }] [INFO] [stdout] Union { name: Name(Text("Un")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), fields: Record(IdRange::(3..4)), ast_id: FileAstId::(7) } [INFO] [stdout] [INFO] [stdout] ---- [INFO] [stdout] [INFO] [stdout] Actual: [INFO] [stdout] ---- [INFO] [stdout] inner attrs: Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("attr"))] }, input: None }]) } [INFO] [stdout] [INFO] [stdout] top-level items: [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("attr_on_use"))] }, input: None }]) }] [INFO] [stdout] Import { path: ModPath { kind: Plain, segments: [Name(Text("a"))] }, alias: None, visibility: RawVisibilityId("pub(self)"), is_glob: false, is_prelude: false, ast_id: FileAstId::(0), index: 0 } [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("attr_on_use"))] }, input: None }]) }] [INFO] [stdout] Import { path: ModPath { kind: Plain, segments: [Name(Text("b"))] }, alias: None, visibility: RawVisibilityId("pub(self)"), is_glob: true, is_prelude: false, ast_id: FileAstId::(0), index: 1 } [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("ext_crate"))] }, input: None }]) }] [INFO] [stdout] ExternCrate { name: Name(Text("krate")), alias: None, visibility: RawVisibilityId("pub(self)"), is_macro_use: false, ast_id: FileAstId::(1) } [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("on_trait"))] }, input: None }]) }] [INFO] [stdout] Trait { name: Name(Text("Tr")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(0), auto: false, items: [TypeAlias(Idx::(0)), Const(Idx::(0)), Function(Idx::(0)), Function(Idx::(1))], ast_id: FileAstId::(2) } [INFO] [stdout] > #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("assoc_ty"))] }, input: None }]) }] [INFO] [stdout] > TypeAlias { name: Name(Text("AssocTy")), visibility: RawVisibilityId("pub(self)"), bounds: [Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Tr"))] }, generic_args: [Some(GenericArgs { args: [Type(Tuple([]))], has_self_type: false, bindings: [] })] })], generic_params: GenericParamsId(4294967295), type_ref: None, is_extern: false, ast_id: FileAstId::(8) } [INFO] [stdout] > #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("assoc_const"))] }, input: None }]) }] [INFO] [stdout] > Const { name: Some(Name(Text("CONST"))), visibility: RawVisibilityId("pub(self)"), type_ref: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("u8"))] }, generic_args: [None] }), ast_id: FileAstId::(9) } [INFO] [stdout] > #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("assoc_method"))] }, input: None }]) }] [INFO] [stdout] > Function { name: Name(Text("method")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: true, has_body: false, is_unsafe: false, params: [Reference(Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Self"))] }, generic_args: [None] }), Shared)], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(10) } [INFO] [stdout] > #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("assoc_dfl_method"))] }, input: None }]) }] [INFO] [stdout] > Function { name: Name(Text("dfl_method")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: true, has_body: true, is_unsafe: false, params: [Reference(Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Self"))] }, generic_args: [None] }), Mut)], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(11) } [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("struct0"))] }, input: None }]) }] [INFO] [stdout] Struct { name: Name(Text("Struct0")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(1), fields: Unit, ast_id: FileAstId::(3), kind: Unit } [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("struct1"))] }, input: None }]) }] [INFO] [stdout] Struct { name: Name(Text("Struct1")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(2), fields: Tuple(IdRange::(0..1)), ast_id: FileAstId::(4), kind: Tuple } [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("struct2"))] }, input: None }]) }] [INFO] [stdout] Struct { name: Name(Text("Struct2")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(3), fields: Record(IdRange::(1..2)), ast_id: FileAstId::(5), kind: Record } [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("en"))] }, input: None }]) }] [INFO] [stdout] Enum { name: Name(Text("En")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), variants: IdRange::(0..1), ast_id: FileAstId::(6) } [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("un"))] }, input: None }]) }] [INFO] [stdout] Union { name: Name(Text("Un")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), fields: Record(IdRange::(3..4)), ast_id: FileAstId::(7) } [INFO] [stdout] [INFO] [stdout] ---- [INFO] [stdout] [INFO] [stdout] Diff: [INFO] [stdout] ---- [INFO] [stdout] inner attrs: Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("attr"))] }, input: None }]) } [INFO] [stdout] [INFO] [stdout] top-level items: [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("attr_on_use"))] }, input: None }]) }] [INFO] [stdout] Import { path: ModPath { kind: Plain, segments: [Name(Text("a"))] }, alias: None, visibility: RawVisibilityId("pub(self)"), is_glob: false, is_prelude: false, ast_id: FileAstId::(0), index: 0 } [INFO] [stdout] Import { path: ModPath { kind: Plain, segments: [Name(Text("a"))] }, alias: None, visibility: RawVisibilityId("pub(self)"), is_glob: false, is_prelude: false, ast_id: FileAstId::(0), index: 0 } [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("attr_on_use"))] }, input: None }]) }] [INFO] [stdout] Import { path: ModPath { kind: Plain, segments: [Name(Text("b"))] }, alias: None, visibility: RawVisibilityId("pub(self)"), is_glob: true, is_prelude: false, ast_id: FileAstId::(0), index: 1 } [INFO] [stdout] Import { path: ModPath { kind: Plain, segments: [Name(Text("b"))] }, alias: None, visibility: RawVisibilityId("pub(self)"), is_glob: true, is_prelude: false, ast_id: FileAstId::(0), index: 1 } [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("ext_crate"))] }, input: None }]) }] [INFO] [stdout] ExternCrate { name: Name(Text("krate")), alias: None, visibility: RawVisibilityId("pub(self)"), is_macro_use: false, ast_id: FileAstId::(1) } [INFO] [stdout] ExternCrate { name: Name(Text("krate")), alias: None, visibility: RawVisibilityId("pub(self)"), is_macro_use: false, ast_id: FileAstId::(1) } [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("on_trait"))] }, input: None }]) }] [INFO] [stdout] Trait { name: Name(Text("Tr")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(0), auto: false, items: [TypeAlias(Idx::(0)), Const(Idx::(0)), Function(Idx::(0)), Function(Idx::(1))], ast_id: FileAstId::(2) } [INFO] [stdout] Trait { name: Name(Text("Tr")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(0), auto: false, items: [TypeAlias(Idx::(0)), Const(Idx::(0)), Function(Idx::(0)), Function(Idx::(1))], ast_id: FileAstId::(2) } [INFO] [stdout] > #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("assoc_ty"))] }, input: None }]) }] [INFO] [stdout] > TypeAlias { name: Name(Text("AssocTy")), visibility: RawVisibilityId("pub(self)"), bounds: [Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Tr"))] }, generic_args: [Some(GenericArgs { args: [Type(Tuple([]))], has_self_type: false, bindings: [] })] })], generic_params: GenericParamsId(4294967295), type_ref: None, is_extern: false, ast_id: FileAstId::(8) } [INFO] [stdout] > TypeAlias { name: Name(Text("AssocTy")), visibility: RawVisibilityId("pub(self)"), bounds: [Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Tr"))] }, generic_args: [Some(GenericArgs { args: [Type(Tuple([]))], has_self_type: false, bindings: [] })] })], generic_params: GenericParamsId(4294967295), type_ref: None, is_extern: false, ast_id: FileAstId::(8) } [INFO] [stdout] > #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("assoc_const"))] }, input: None }]) }] [INFO] [stdout] > Const { name: Some(Name(Text("CONST"))), visibility: RawVisibilityId("pub(self)"), type_ref: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("u8"))] }, generic_args: [None] }), ast_id: FileAstId::(9) } [INFO] [stdout] > Const { name: Some(Name(Text("CONST"))), visibility: RawVisibilityId("pub(self)"), type_ref: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("u8"))] }, generic_args: [None] }), ast_id: FileAstId::(9) } [INFO] [stdout] > #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("assoc_method"))] }, input: None }]) }] [INFO] [stdout] > Function { name: Name(Text("method")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: true, has_body: false, is_unsafe: false, params: [Reference(Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Self"))] }, generic_args: [None] }), Shared)], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(10) } [INFO] [stdout] > Function { name: Name(Text("method")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: true, has_body: false, is_unsafe: false, params: [Reference(Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Self"))] }, generic_args: [None] }), Shared)], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(10) } [INFO] [stdout] > #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("assoc_dfl_method"))] }, input: None }]) }] [INFO] [stdout] > Function { name: Name(Text("dfl_method")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: true, has_body: true, is_unsafe: false, params: [Reference(Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Self"))] }, generic_args: [None] }), Mut)], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(11) } [INFO] [stdout] > Function { name: Name(Text("dfl_method")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), has_self_param: true, has_body: true, is_unsafe: false, params: [Reference(Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Self"))] }, generic_args: [None] }), Mut)], is_varargs: false, ret_type: Tuple([]), ast_id: FileAstId::(11) } [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("struct0"))] }, input: None }]) }] [INFO] [stdout] Struct { name: Name(Text("Struct0")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(1), fields: Unit, ast_id: FileAstId::(3), kind: Unit } [INFO] [stdout] Struct { name: Name(Text("Struct0")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(1), fields: Unit, ast_id: FileAstId::(3), kind: Unit } [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("struct1"))] }, input: None }]) }] [INFO] [stdout] Struct { name: Name(Text("Struct1")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(2), fields: Tuple(IdRange::(0..1)), ast_id: FileAstId::(4), kind: Tuple } [INFO] [stdout] Struct { name: Name(Text("Struct1")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(2), fields: Tuple(IdRange::(0..1)), ast_id: FileAstId::(4), kind: Tuple } [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("struct2"))] }, input: None }]) }] [INFO] [stdout] Struct { name: Name(Text("Struct2")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(3), fields: Record(IdRange::(1..2)), ast_id: FileAstId::(5), kind: Record } [INFO] [stdout] Struct { name: Name(Text("Struct2")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(3), fields: Record(IdRange::(1..2)), ast_id: FileAstId::(5), kind: Record } [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("en"))] }, input: None }]) }] [INFO] [stdout] Enum { name: Name(Text("En")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), variants: IdRange::(0..1), ast_id: FileAstId::(6) } [INFO] [stdout] Enum { name: Name(Text("En")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), variants: IdRange::(0..1), ast_id: FileAstId::(6) } [INFO] [stdout] #[Attrs { entries: Some([Attr { path: ModPath { kind: Plain, segments: [Name(Text("un"))] }, input: None }]) }] [INFO] [stdout] Union { name: Name(Text("Un")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), fields: Record(IdRange::(3..4)), ast_id: FileAstId::(7) } [INFO] [stdout] Union { name: Name(Text("Un")), visibility: RawVisibilityId("pub(self)"), generic_params: GenericParamsId(4294967295), fields: Record(IdRange::(3..4)), ast_id: FileAstId::(7) } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] item_tree::tests::assoc_item_macros [INFO] [stdout] item_tree::tests::extern_attrs [INFO] [stdout] item_tree::tests::impl_attrs [INFO] [stdout] item_tree::tests::inner_item_attrs [INFO] [stdout] item_tree::tests::simple_inner_items [INFO] [stdout] item_tree::tests::smoke [INFO] [stdout] item_tree::tests::trait_attrs [INFO] [stdout] [INFO] [stdout] test result: FAILED. 147 passed; 7 failed; 1 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "9f0c751c44d712ad31b61b496d21a393a8a4be6ce7c8899c78a9394b233719f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f0c751c44d712ad31b61b496d21a393a8a4be6ce7c8899c78a9394b233719f7", kill_on_drop: false }` [INFO] [stdout] 9f0c751c44d712ad31b61b496d21a393a8a4be6ce7c8899c78a9394b233719f7