[INFO] fetching crate mun_hir 0.4.0...
[INFO] testing mun_hir-0.4.0 against beta-2023-10-04 for beta-1.74-1
[INFO] extracting crate mun_hir 0.4.0 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate mun_hir 0.4.0 on toolchain beta-2023-10-04
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-10-04" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate mun_hir 0.4.0
[INFO] finished tweaking crates.io crate mun_hir 0.4.0
[INFO] tweaked toml for crates.io crate mun_hir 0.4.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-10-04" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-10-04" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8c7f0e7d8f4762204060160e0f4fb4ff468abb4d29598b8332e5073af34bb498
[INFO] running `Command { std: "docker" "start" "-a" "8c7f0e7d8f4762204060160e0f4fb4ff468abb4d29598b8332e5073af34bb498", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8c7f0e7d8f4762204060160e0f4fb4ff468abb4d29598b8332e5073af34bb498", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c7f0e7d8f4762204060160e0f4fb4ff468abb4d29598b8332e5073af34bb498", kill_on_drop: false }`
[INFO] [stdout] 8c7f0e7d8f4762204060160e0f4fb4ff468abb4d29598b8332e5073af34bb498
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 74f53a0b32bc75d562d38d354606d52b06d9f2d9470036f97802e69b45adc631
[INFO] running `Command { std: "docker" "start" "-a" "74f53a0b32bc75d562d38d354606d52b06d9f2d9470036f97802e69b45adc631", kill_on_drop: false }`
[INFO] [stderr]    Compiling smallvec v1.11.1
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]    Compiling memoffset v0.9.0
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling unicode-segmentation v1.10.1
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling extendhash v1.0.10
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling countme v3.0.1
[INFO] [stderr]    Compiling mun_target v0.4.0
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling oorandom v11.1.3
[INFO] [stderr]    Compiling relative-path v1.9.0
[INFO] [stderr]    Compiling drop_bomb v0.1.5
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling ena v0.14.2
[INFO] [stderr]    Compiling mun_paths v0.4.0
[INFO] [stderr]    Compiling mun_abi v0.4.0
[INFO] [stderr]    Compiling text-size v1.1.1
[INFO] [stderr]    Compiling smol_str v0.1.24
[INFO] [stderr]    Compiling rowan v0.15.13
[INFO] [stderr]    Compiling ra_ap_text_edit v0.0.142
[INFO] [stderr]    Compiling mun_syntax v0.4.0
[INFO] [stderr]    Compiling salsa-macros v0.16.0
[INFO] [stderr]    Compiling salsa v0.16.1
[INFO] [stderr]    Compiling mun_hir v0.4.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 11.75s
[INFO] running `Command { std: "docker" "inspect" "74f53a0b32bc75d562d38d354606d52b06d9f2d9470036f97802e69b45adc631", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "74f53a0b32bc75d562d38d354606d52b06d9f2d9470036f97802e69b45adc631", kill_on_drop: false }`
[INFO] [stdout] 74f53a0b32bc75d562d38d354606d52b06d9f2d9470036f97802e69b45adc631
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bca7b3edbace4761201a8650c2892f6bc169e9029f0393cc12b2962d0b51302e
[INFO] running `Command { std: "docker" "start" "-a" "bca7b3edbace4761201a8650c2892f6bc169e9029f0393cc12b2962d0b51302e", kill_on_drop: false }`
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling similar v2.3.0
[INFO] [stderr]    Compiling text_trees v0.1.2
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling insta v1.33.0
[INFO] [stderr]    Compiling mun_hir v0.4.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 10.97s
[INFO] running `Command { std: "docker" "inspect" "bca7b3edbace4761201a8650c2892f6bc169e9029f0393cc12b2962d0b51302e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bca7b3edbace4761201a8650c2892f6bc169e9029f0393cc12b2962d0b51302e", kill_on_drop: false }`
[INFO] [stdout] bca7b3edbace4761201a8650c2892f6bc169e9029f0393cc12b2962d0b51302e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5398ec08956f927a1c668d22a99b4fd6332713b230a4c3a3cca88bad41f675c6
[INFO] running `Command { std: "docker" "start" "-a" "5398ec08956f927a1c668d22a99b4fd6332713b230a4c3a3cca88bad41f675c6", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mun_hir-e055513a88d7502e)
[INFO] [stdout] 
[INFO] [stdout] running 64 tests
[INFO] [stdout] test expr::test::test_integer_literals ... ok
[INFO] [stdout] test expr::test::test_float_literals ... ok
[INFO] [stdout] test code_model::r#struct::validator::tests::test_private_leak_struct_fields ... ok
[INFO] [stdout] test expr::validator::tests::test_uninitialized_access_if ... ok
[INFO] [stdout] test expr::validator::tests::test_private_leak_function_return ... ok
[INFO] [stdout] test expr::validator::tests::test_private_leak_alias ... ok
[INFO] [stdout] test expr::validator::tests::test_private_leak_function_scoped ... ok
[INFO] [stdout] test expr::validator::tests::test_private_leak_function_args ... ok
[INFO] [stdout] test fixture::test::single_fixture ... ok
[INFO] [stdout] test fixture::test::empty_fixture ... ok
[INFO] [stdout] test expr::validator::tests::test_free_type_alias_without_type_ref ... ok
[INFO] [stdout] test expr::validator::tests::test_uninitialized_access_while ... ok
[INFO] [stdout] test fixture::test::multiple_fixtures ... ok
[INFO] [stdout] test line_index::tests::test_line_index ... ok
[INFO] [stdout] test expr::validator::tests::test_uninitialized_access ... ok
[INFO] [stdout] test fixture::test::trim_raw_string_literal ... ok
[INFO] [stdout] test line_index::tests::test_line_offset ... ok
[INFO] [stdout] test line_index::tests::test_text_part ... ok
[INFO] [stdout] test line_index::tests::test_text_part_utf16 ... ok
[INFO] [stdout] test module_tree::test::valid_module_name ... ok
[INFO] [stdout] test module_tree::test::module_path ... ok
[INFO] [stdout] test package_defs::tests::use_ ... ok
[INFO] [stdout] test module_tree::test::module_tree ... ok
[INFO] [stdout] test package_defs::tests::use_self ... ok
[INFO] [stdout] test package_defs::tests::use_cyclic ... ok
[INFO] [stdout] test package_defs::tests::use_duplicate_name ... ok
[INFO] [stdout] test package_defs::tests::use_unresolved ... ok
[INFO] [stdout] test ty::tests::array_element_assignment ... ok
[INFO] [stdout] test package_defs::tests::use_cyclic_wildcard ... ok
[INFO] [stdout] test package_defs::tests::use_wildcard ... ok
[INFO] [stdout] test ty::tests::array_is_place_expr ... ok
[INFO] [stdout] test tests::check_package_defs_does_not_change ... ok
[INFO] [stdout] test package_defs::tests::use_alias ... ok
[INFO] [stdout] test ty::tests::infer_array_structs ... ok
[INFO] [stdout] test ty::tests::extern_fn ... ok
[INFO] [stdout] test ty::tests::infer_basics ... ok
[INFO] [stdout] test ty::tests::infer_invalid_struct_type ... ok
[INFO] [stdout] test ty::tests::infer_conditional_return ... ok
[INFO] [stdout] test ty::tests::infer_branching ... ok
[INFO] [stdout] test ty::tests::comparison_not_implemented_for_struct ... ok
[INFO] [stdout] test ty::tests::infer_array ... ok
[INFO] [stdout] test ty::tests::infer_break ... ok
[INFO] [stdout] test ty::tests::infer_literals ... ok
[INFO] [stdout] test ty::tests::infer_loop ... ok
[INFO] [stdout] test fixture::test::incorrectly_indented_fixture - should panic ... ok
[INFO] [stdout] test ty::tests::infer_unary_ops ... ok
[INFO] [stdout] test ty::tests::infer_type_alias ... ok
[INFO] [stdout] test ty::tests::issue_354 ... ok
[INFO] [stdout] test ty::tests::infer_return ... ok
[INFO] [stdout] test ty::tests::infer_suffix_literals ... ok
[INFO] [stdout] test ty::tests::invalid_unary_ops ... ok
[INFO] [stdout] test ty::tests::infer_while ... ok
[INFO] [stdout] test ty::tests::invalid_binary_ops ... ok
[INFO] [stdout] test ty::tests::place_expressions ... ok
[INFO] [stdout] test ty::tests::recursive_alias ... ok
[INFO] [stdout] test ty::tests::primitives ... ok
[INFO] [stdout] test ty::tests::scoped_path ... ok
[INFO] [stdout] test ty::tests::struct_lit ... ok
[INFO] [stdout] test ty::tests::update_operators ... ok
[INFO] [stdout] test ty::tests::void_return ... ok
[INFO] [stdout] test ty::tests::struct_field_index ... ok
[INFO] [stdout] test ty::tests::struct_decl ... ok
[INFO] [stdout] test ty::tests::private_access ... ok
[INFO] [stdout] test item_tree::tests::top_level_items ... FAILED
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- item_tree::tests::top_level_items stdout ----
[INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━
[INFO] [stdout] Snapshot file: src/item_tree/snapshots/mun_hir__item_tree__tests__top_level_items.snap
[INFO] [stdout] Snapshot: top_level_items
[INFO] [stdout] Source: src/item_tree/tests.rs:61
[INFO] [stdout] ──────────────────────────────────────────────────────────────────────────
[INFO] [stdout] Expression: print_item_tree(r#"
[INFO] [stdout]     fn foo(a:i32, b:u8, c:String) -> i32 {}
[INFO] [stdout]     pub fn bar(a:i32, b:u8, c:String) ->  {}
[INFO] [stdout]     pub(super) fn bar(a:i32, b:u8, c:String) ->  {}
[INFO] [stdout]     pub(package) fn baz(a:i32, b:, c:String) ->  {}
[INFO] [stdout]     extern fn eval(a:String) -> bool;
[INFO] [stdout] 
[INFO] [stdout]     struct Foo {
[INFO] [stdout]         a: i32,
[INFO] [stdout]         b: u8,
[INFO] [stdout]         c: String,
[INFO] [stdout]     }
[INFO] [stdout]     struct Foo2 {
[INFO] [stdout]         a: i32,
[INFO] [stdout]         b: ,
[INFO] [stdout]         c: String,
[INFO] [stdout]     }
[INFO] [stdout]     struct Bar (i32, u32, String)
[INFO] [stdout]     struct Baz;
[INFO] [stdout] 
[INFO] [stdout]     type FooBar = Foo;
[INFO] [stdout]     type FooBar = package::Foo;
[INFO] [stdout]     "#).unwrap()
[INFO] [stdout] ──────────────────────────────────────────────────────────────────────────
[INFO] [stdout] -old snapshot
[INFO] [stdout] +new results
[INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────
[INFO] [stdout]     0     0 │ top-level items:
[INFO] [stdout]     1       │-Function { name: Name(Text("foo")), visibility: RawVisibilityId("pub(self)"), is_extern: false, types: TypeRefMap { type_refs: Arena { len: 4, data: [Path(Path { kind: Plain, segments: [Name(Text("i32"))] }), Path(Path { kind: Plain, segments: [Name(Text("u8"))] }), Path(Path { kind: Plain, segments: [Name(Text("String"))] }), Path(Path { kind: Plain, segments: [Name(Text("i32"))] })] } }, params: [Idx::<TypeRef>(0), Idx::<TypeRef>(1), Idx::<TypeRef>(2)], ret_type: Idx::<TypeRef>(3), ast_id: FileAstId { raw: Idx::<SyntaxNodePtr>(0), _ty: PhantomData } }
[INFO] [stdout]     2       │-Function { name: Name(Text("bar")), visibility: RawVisibilityId("pub"), is_extern: false, types: TypeRefMap { type_refs: Arena { len: 4, data: [Path(Path { kind: Plain, segments: [Name(Text("i32"))] }), Path(Path { kind: Plain, segments: [Name(Text("u8"))] }), Path(Path { kind: Plain, segments: [Name(Text("String"))] }), Tuple([])] } }, params: [Idx::<TypeRef>(0), Idx::<TypeRef>(1), Idx::<TypeRef>(2)], ret_type: Idx::<TypeRef>(3), ast_id: FileAstId { raw: Idx::<SyntaxNodePtr>(1), _ty: PhantomData } }
[INFO] [stdout]     3       │-Function { name: Name(Text("bar")), visibility: RawVisibilityId("pub(super)"), is_extern: false, types: TypeRefMap { type_refs: Arena { len: 4, data: [Path(Path { kind: Plain, segments: [Name(Text("i32"))] }), Path(Path { kind: Plain, segments: [Name(Text("u8"))] }), Path(Path { kind: Plain, segments: [Name(Text("String"))] }), Tuple([])] } }, params: [Idx::<TypeRef>(0), Idx::<TypeRef>(1), Idx::<TypeRef>(2)], ret_type: Idx::<TypeRef>(3), ast_id: FileAstId { raw: Idx::<SyntaxNodePtr>(2), _ty: PhantomData } }
[INFO] [stdout]     4       │-Function { name: Name(Text("baz")), visibility: RawVisibilityId("pub(package)"), is_extern: false, types: TypeRefMap { type_refs: Arena { len: 4, data: [Path(Path { kind: Plain, segments: [Name(Text("i32"))] }), Error, Path(Path { kind: Plain, segments: [Name(Text("String"))] }), Tuple([])] } }, params: [Idx::<TypeRef>(0), Idx::<TypeRef>(1), Idx::<TypeRef>(2)], ret_type: Idx::<TypeRef>(3), ast_id: FileAstId { raw: Idx::<SyntaxNodePtr>(3), _ty: PhantomData } }
[INFO] [stdout]     5       │-Function { name: Name(Text("eval")), visibility: RawVisibilityId("pub(self)"), is_extern: true, types: TypeRefMap { type_refs: Arena { len: 2, data: [Path(Path { kind: Plain, segments: [Name(Text("String"))] }), Path(Path { kind: Plain, segments: [Name(Text("bool"))] })] } }, params: [Idx::<TypeRef>(0)], ret_type: Idx::<TypeRef>(1), ast_id: FileAstId { raw: Idx::<SyntaxNodePtr>(4), _ty: PhantomData } }
[INFO] [stdout]     6       │-Struct { name: Name(Text("Foo")), visibility: RawVisibilityId("pub(self)"), types: TypeRefMap { type_refs: Arena { len: 3, data: [Path(Path { kind: Plain, segments: [Name(Text("i32"))] }), Path(Path { kind: Plain, segments: [Name(Text("u8"))] }), Path(Path { kind: Plain, segments: [Name(Text("String"))] })] } }, fields: Record(IdRange::<mun_hir::item_tree::Field>(0..3)), ast_id: FileAstId { raw: Idx::<SyntaxNodePtr>(5), _ty: PhantomData }, kind: Record }
[INFO] [stdout]           1 │+Function { name: Name(Text("foo")), visibility: RawVisibilityId("pub(self)"), is_extern: false, types: TypeRefMap { type_refs: Arena { len: 4, data: [Path(Path { kind: Plain, segments: [Name(Text("i32"))] }), Path(Path { kind: Plain, segments: [Name(Text("u8"))] }), Path(Path { kind: Plain, segments: [Name(Text("String"))] }), Path(Path { kind: Plain, segments: [Name(Text("i32"))] })] } }, params: [Idx::<TypeRef>(0), Idx::<TypeRef>(1), Idx::<TypeRef>(2)], ret_type: Idx::<TypeRef>(3), ast_id: FileAstId { raw: Idx::<SyntaxNodePtr>(0), _ty: PhantomData<fn() -> mun_syntax::ast::generated::FunctionDef> } }
[INFO] [stdout]           2 │+Function { name: Name(Text("bar")), visibility: RawVisibilityId("pub"), is_extern: false, types: TypeRefMap { type_refs: Arena { len: 4, data: [Path(Path { kind: Plain, segments: [Name(Text("i32"))] }), Path(Path { kind: Plain, segments: [Name(Text("u8"))] }), Path(Path { kind: Plain, segments: [Name(Text("String"))] }), Tuple([])] } }, params: [Idx::<TypeRef>(0), Idx::<TypeRef>(1), Idx::<TypeRef>(2)], ret_type: Idx::<TypeRef>(3), ast_id: FileAstId { raw: Idx::<SyntaxNodePtr>(1), _ty: PhantomData<fn() -> mun_syntax::ast::generated::FunctionDef> } }
[INFO] [stdout]           3 │+Function { name: Name(Text("bar")), visibility: RawVisibilityId("pub(super)"), is_extern: false, types: TypeRefMap { type_refs: Arena { len: 4, data: [Path(Path { kind: Plain, segments: [Name(Text("i32"))] }), Path(Path { kind: Plain, segments: [Name(Text("u8"))] }), Path(Path { kind: Plain, segments: [Name(Text("String"))] }), Tuple([])] } }, params: [Idx::<TypeRef>(0), Idx::<TypeRef>(1), Idx::<TypeRef>(2)], ret_type: Idx::<TypeRef>(3), ast_id: FileAstId { raw: Idx::<SyntaxNodePtr>(2), _ty: PhantomData<fn() -> mun_syntax::ast::generated::FunctionDef> } }
[INFO] [stdout]           4 │+Function { name: Name(Text("baz")), visibility: RawVisibilityId("pub(package)"), is_extern: false, types: TypeRefMap { type_refs: Arena { len: 4, data: [Path(Path { kind: Plain, segments: [Name(Text("i32"))] }), Error, Path(Path { kind: Plain, segments: [Name(Text("String"))] }), Tuple([])] } }, params: [Idx::<TypeRef>(0), Idx::<TypeRef>(1), Idx::<TypeRef>(2)], ret_type: Idx::<TypeRef>(3), ast_id: FileAstId { raw: Idx::<SyntaxNodePtr>(3), _ty: PhantomData<fn() -> mun_syntax::ast::generated::FunctionDef> } }
[INFO] [stdout]           5 │+Function { name: Name(Text("eval")), visibility: RawVisibilityId("pub(self)"), is_extern: true, types: TypeRefMap { type_refs: Arena { len: 2, data: [Path(Path { kind: Plain, segments: [Name(Text("String"))] }), Path(Path { kind: Plain, segments: [Name(Text("bool"))] })] } }, params: [Idx::<TypeRef>(0)], ret_type: Idx::<TypeRef>(1), ast_id: FileAstId { raw: Idx::<SyntaxNodePtr>(4), _ty: PhantomData<fn() -> mun_syntax::ast::generated::FunctionDef> } }
[INFO] [stdout]           6 │+Struct { name: Name(Text("Foo")), visibility: RawVisibilityId("pub(self)"), types: TypeRefMap { type_refs: Arena { len: 3, data: [Path(Path { kind: Plain, segments: [Name(Text("i32"))] }), Path(Path { kind: Plain, segments: [Name(Text("u8"))] }), Path(Path { kind: Plain, segments: [Name(Text("String"))] })] } }, fields: Record(IdRange::<mun_hir::item_tree::Field>(0..3)), ast_id: FileAstId { raw: Idx::<SyntaxNodePtr>(5), _ty: PhantomData<fn() -> mun_syntax::ast::generated::StructDef> }, kind: Record }
[INFO] [stdout]     7     7 │ > Field { name: Name(Text("a")), type_ref: Idx::<TypeRef>(0) }
[INFO] [stdout]     8     8 │ > Field { name: Name(Text("b")), type_ref: Idx::<TypeRef>(1) }
[INFO] [stdout]     9     9 │ > Field { name: Name(Text("c")), type_ref: Idx::<TypeRef>(2) }
[INFO] [stdout]    10       │-Struct { name: Name(Text("Foo2")), visibility: RawVisibilityId("pub(self)"), types: TypeRefMap { type_refs: Arena { len: 3, data: [Path(Path { kind: Plain, segments: [Name(Text("i32"))] }), Error, Path(Path { kind: Plain, segments: [Name(Text("String"))] })] } }, fields: Record(IdRange::<mun_hir::item_tree::Field>(3..6)), ast_id: FileAstId { raw: Idx::<SyntaxNodePtr>(6), _ty: PhantomData }, kind: Record }
[INFO] [stdout]          10 │+Struct { name: Name(Text("Foo2")), visibility: RawVisibilityId("pub(self)"), types: TypeRefMap { type_refs: Arena { len: 3, data: [Path(Path { kind: Plain, segments: [Name(Text("i32"))] }), Error, Path(Path { kind: Plain, segments: [Name(Text("String"))] })] } }, fields: Record(IdRange::<mun_hir::item_tree::Field>(3..6)), ast_id: FileAstId { raw: Idx::<SyntaxNodePtr>(6), _ty: PhantomData<fn() -> mun_syntax::ast::generated::StructDef> }, kind: Record }
[INFO] [stdout]    11    11 │ > Field { name: Name(Text("a")), type_ref: Idx::<TypeRef>(0) }
[INFO] [stdout]    12    12 │ > Field { name: Name(Text("b")), type_ref: Idx::<TypeRef>(1) }
[INFO] [stdout]    13    13 │ > Field { name: Name(Text("c")), type_ref: Idx::<TypeRef>(2) }
[INFO] [stdout]    14       │-Struct { name: Name(Text("Bar")), visibility: RawVisibilityId("pub(self)"), types: TypeRefMap { type_refs: Arena { len: 3, data: [Path(Path { kind: Plain, segments: [Name(Text("i32"))] }), Path(Path { kind: Plain, segments: [Name(Text("u32"))] }), Path(Path { kind: Plain, segments: [Name(Text("String"))] })] } }, fields: Tuple(IdRange::<mun_hir::item_tree::Field>(6..9)), ast_id: FileAstId { raw: Idx::<SyntaxNodePtr>(7), _ty: PhantomData }, kind: Tuple }
[INFO] [stdout]          14 │+Struct { name: Name(Text("Bar")), visibility: RawVisibilityId("pub(self)"), types: TypeRefMap { type_refs: Arena { len: 3, data: [Path(Path { kind: Plain, segments: [Name(Text("i32"))] }), Path(Path { kind: Plain, segments: [Name(Text("u32"))] }), Path(Path { kind: Plain, segments: [Name(Text("String"))] })] } }, fields: Tuple(IdRange::<mun_hir::item_tree::Field>(6..9)), ast_id: FileAstId { raw: Idx::<SyntaxNodePtr>(7), _ty: PhantomData<fn() -> mun_syntax::ast::generated::StructDef> }, kind: Tuple }
[INFO] [stdout]    15    15 │ > Field { name: Name(TupleField(0)), type_ref: Idx::<TypeRef>(0) }
[INFO] [stdout]    16    16 │ > Field { name: Name(TupleField(1)), type_ref: Idx::<TypeRef>(1) }
[INFO] [stdout]    17    17 │ > Field { name: Name(TupleField(2)), type_ref: Idx::<TypeRef>(2) }
[INFO] [stdout]    18       │-Struct { name: Name(Text("Baz")), visibility: RawVisibilityId("pub(self)"), types: TypeRefMap { type_refs: Arena { len: 0, data: [] } }, fields: Unit, ast_id: FileAstId { raw: Idx::<SyntaxNodePtr>(8), _ty: PhantomData }, kind: Unit }
[INFO] [stdout]    19       │-TypeAlias { name: Name(Text("FooBar")), visibility: RawVisibilityId("pub(self)"), types: TypeRefMap { type_refs: Arena { len: 1, data: [Path(Path { kind: Plain, segments: [Name(Text("Foo"))] })] } }, type_ref: Some(Idx::<TypeRef>(0)), ast_id: FileAstId { raw: Idx::<SyntaxNodePtr>(9), _ty: PhantomData } }
[INFO] [stdout]    20       │-TypeAlias { name: Name(Text("FooBar")), visibility: RawVisibilityId("pub(self)"), types: TypeRefMap { type_refs: Arena { len: 1, data: [Path(Path { kind: Package, segments: [Name(Text("Foo"))] })] } }, type_ref: Some(Idx::<TypeRef>(0)), ast_id: FileAstId { raw: Idx::<SyntaxNodePtr>(10), _ty: PhantomData } }
[INFO] [stdout]          18 │+Struct { name: Name(Text("Baz")), visibility: RawVisibilityId("pub(self)"), types: TypeRefMap { type_refs: Arena { len: 0, data: [] } }, fields: Unit, ast_id: FileAstId { raw: Idx::<SyntaxNodePtr>(8), _ty: PhantomData<fn() -> mun_syntax::ast::generated::StructDef> }, kind: Unit }
[INFO] [stdout]          19 │+TypeAlias { name: Name(Text("FooBar")), visibility: RawVisibilityId("pub(self)"), types: TypeRefMap { type_refs: Arena { len: 1, data: [Path(Path { kind: Plain, segments: [Name(Text("Foo"))] })] } }, type_ref: Some(Idx::<TypeRef>(0)), ast_id: FileAstId { raw: Idx::<SyntaxNodePtr>(9), _ty: PhantomData<fn() -> mun_syntax::ast::generated::TypeAliasDef> } }
[INFO] [stdout]          20 │+TypeAlias { name: Name(Text("FooBar")), visibility: RawVisibilityId("pub(self)"), types: TypeRefMap { type_refs: Arena { len: 1, data: [Path(Path { kind: Package, segments: [Name(Text("Foo"))] })] } }, type_ref: Some(Idx::<TypeRef>(0)), ast_id: FileAstId { raw: Idx::<SyntaxNodePtr>(10), _ty: PhantomData<fn() -> mun_syntax::ast::generated::TypeAliasDef> } }
[INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────
[INFO] [stdout] thread 'item_tree::tests::top_level_items' panicked at src/item_tree/tests.rs:61:5:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5645de2d4edc - std::backtrace_rs::backtrace::libunwind::trace::h4defc72db73cd441
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
[INFO] [stdout]    1:     0x5645de2d4edc - std::backtrace_rs::backtrace::trace_unsynchronized::hb1d8a8b488fa82dc
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5645de2d4edc - std::sys_common::backtrace::_print_fmt::h3adc87026f68ef7c
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x5645de2d4edc - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hae0f2018b67c9dd2
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x5645de30143c - core::fmt::rt::Argument::fmt::h0aeca3e83668e143
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/fmt/rt.rs:138:9
[INFO] [stdout]    5:     0x5645de30143c - core::fmt::write::h96bf1b6ef709071f
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/fmt/mod.rs:1114:21
[INFO] [stdout]    6:     0x5645de2d175e - std::io::Write::write_fmt::hcfdabc06f3bbacfb
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/io/mod.rs:1763:15
[INFO] [stdout]    7:     0x5645de2d4cc4 - std::sys_common::backtrace::_print::hd4ef7cdeb67d2ffe
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x5645de2d4cc4 - std::sys_common::backtrace::print::hf4a0f6d32c50b08e
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x5645de2d6a83 - std::panicking::default_hook::{{closure}}::hf64a6c095f9954ab
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:272:22
[INFO] [stdout]   10:     0x5645de2d6727 - std::panicking::default_hook::h81f354a056ffc649
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x5645de1e424c - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h16c22045506fc2d3
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x5645de1e424c - test::test_main::{{closure}}::hd8d5b5bb0900d116
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:136:21
[INFO] [stdout]   13:     0x5645de2d7181 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h2d4fa3dcc7099287
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x5645de2d7181 - std::panicking::rust_panic_with_hook::h1387a687c5711a74
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:735:13
[INFO] [stdout]   15:     0x5645de2d6f01 - std::panicking::begin_panic_handler::{{closure}}::hf2467c63b8ad7371
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:609:13
[INFO] [stdout]   16:     0x5645de2d5406 - std::sys_common::backtrace::__rust_end_short_backtrace::h0b678d0f70fbf3ba
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x5645de2d6c52 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:597:5
[INFO] [stdout]   18:     0x5645ddd92785 - core::panicking::panic_fmt::h8398f9bd40a2efcd
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x5645ddd92d53 - core::result::unwrap_failed::heaac613e95fb85f7
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/result.rs:1652:5
[INFO] [stdout]   20:     0x5645de018eec - core::result::Result<T,E>::unwrap::hf3d81101618eb928
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/result.rs:1077:23
[INFO] [stdout]   21:     0x5645de03fda3 - mun_hir::item_tree::tests::top_level_items::h2f7b0631062dc5e2
[INFO] [stdout]                                at /opt/rustwide/workdir/src/item_tree/tests.rs:61:5
[INFO] [stdout]   22:     0x5645de03fab7 - mun_hir::item_tree::tests::top_level_items::{{closure}}::h9db07f335d097127
[INFO] [stdout]                                at /opt/rustwide/workdir/src/item_tree/tests.rs:60:22
[INFO] [stdout]   23:     0x5645ddf671e6 - core::ops::function::FnOnce::call_once::h45190599ffa0c119
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5645de1e92df - core::ops::function::FnOnce::call_once::h643f2128867058a3
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5645de1e92df - test::__rust_begin_short_backtrace::h5ffb0cd5eda0704e
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:626:18
[INFO] [stdout]   26:     0x5645de1e836e - test::run_test_in_process::{{closure}}::h5f3f2c50e89f10f6
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:649:60
[INFO] [stdout]   27:     0x5645de1e836e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hc7bb05d011c94549
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   28:     0x5645de1e836e - std::panicking::try::do_call::hc2952fe5005bc351
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:504:40
[INFO] [stdout]   29:     0x5645de1e836e - std::panicking::try::hac512ea76b947046
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:468:19
[INFO] [stdout]   30:     0x5645de1e836e - std::panic::catch_unwind::h11d3922f3ba31e4b
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panic.rs:142:14
[INFO] [stdout]   31:     0x5645de1e836e - test::run_test_in_process::h25ad0551c6887d56
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:649:27
[INFO] [stdout]   32:     0x5645de1e836e - test::run_test::{{closure}}::h52dd364f39118330
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:572:43
[INFO] [stdout]   33:     0x5645de1b12c3 - test::run_test::{{closure}}::ha452ffb46088765b
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:600:41
[INFO] [stdout]   34:     0x5645de1b12c3 - std::sys_common::backtrace::__rust_begin_short_backtrace::he611e39b84a68325
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   35:     0x5645de1b64fb - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h1f6f90a021c1ddc7
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   36:     0x5645de1b64fb - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hde337ea7211d438c
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   37:     0x5645de1b64fb - std::panicking::try::do_call::hd7199cb78d8df0a5
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:504:40
[INFO] [stdout]   38:     0x5645de1b64fb - std::panicking::try::hed28d716c8fe6b32
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:468:19
[INFO] [stdout]   39:     0x5645de1b64fb - std::panic::catch_unwind::h8ab888e8615782f1
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panic.rs:142:14
[INFO] [stdout]   40:     0x5645de1b64fb - std::thread::Builder::spawn_unchecked_::{{closure}}::h3acf7202ecbb668e
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   41:     0x5645de1b64fb - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc15bd9319945b48c
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5645de2dba45 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h9281b5fb2305c571
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   43:     0x5645de2dba45 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hae9cb5d464ed2f06
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x5645de2dba45 - std::sys::unix::thread::Thread::new::thread_start::he78e4489414f6551
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   45:     0x7f4228613b43 - <unknown>
[INFO] [stdout]   46:     0x7f42286a4bb4 - __clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     item_tree::tests::top_level_items
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 63 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.15s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "5398ec08956f927a1c668d22a99b4fd6332713b230a4c3a3cca88bad41f675c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5398ec08956f927a1c668d22a99b4fd6332713b230a4c3a3cca88bad41f675c6", kill_on_drop: false }`
[INFO] [stdout] 5398ec08956f927a1c668d22a99b4fd6332713b230a4c3a3cca88bad41f675c6
