[INFO] fetching crate xtypes 0.1.0... [INFO] testing xtypes-0.1.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate xtypes 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate xtypes 0.1.0 [INFO] finished tweaking crates.io crate xtypes 0.1.0 [INFO] tweaked toml for crates.io crate xtypes 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate xtypes 0.1.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 130 packages to latest compatible versions [INFO] [stderr] Adding insta v0.6.3 (available: v1.43.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded console v0.7.7 [INFO] [stderr] Downloaded termios v0.3.3 [INFO] [stderr] Downloaded clicolors-control v1.0.1 [INFO] [stderr] Downloaded ron v0.4.2 [INFO] [stderr] Downloaded insta v0.6.3 [INFO] [stderr] Downloaded jens_derive v0.6.0 [INFO] [stderr] Downloaded jens v0.6.0 [INFO] [stderr] Downloaded ci_info v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 422ea3c9fbedbaaca84086d4cc6a1c6ff94a551f2b2e5d5dc4859ef051be5fdf [INFO] running `Command { std: "docker" "start" "-a" "422ea3c9fbedbaaca84086d4cc6a1c6ff94a551f2b2e5d5dc4859ef051be5fdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "422ea3c9fbedbaaca84086d4cc6a1c6ff94a551f2b2e5d5dc4859ef051be5fdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "422ea3c9fbedbaaca84086d4cc6a1c6ff94a551f2b2e5d5dc4859ef051be5fdf", kill_on_drop: false }` [INFO] [stdout] 422ea3c9fbedbaaca84086d4cc6a1c6ff94a551f2b2e5d5dc4859ef051be5fdf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7148e5e271f6ed50d2a9aa2dab971fa060f7488c90d12ff51dabdf8d68779816 [INFO] running `Command { std: "docker" "start" "-a" "7148e5e271f6ed50d2a9aa2dab971fa060f7488c90d12ff51dabdf8d68779816", kill_on_drop: false }` [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling pest v2.8.2 [INFO] [stderr] Compiling pest_meta v2.8.2 [INFO] [stderr] Compiling pest_generator v2.8.2 [INFO] [stderr] Compiling pest_derive v2.8.2 [INFO] [stderr] Compiling jens v0.6.0 [INFO] [stderr] Compiling jens_derive v0.6.0 [INFO] [stderr] Compiling xtypes v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.46s [INFO] running `Command { std: "docker" "inspect" "7148e5e271f6ed50d2a9aa2dab971fa060f7488c90d12ff51dabdf8d68779816", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7148e5e271f6ed50d2a9aa2dab971fa060f7488c90d12ff51dabdf8d68779816", kill_on_drop: false }` [INFO] [stdout] 7148e5e271f6ed50d2a9aa2dab971fa060f7488c90d12ff51dabdf8d68779816 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ef95c268d45cb47de9bd631e88edc69e870c8a0d551aa3da0efa3f53f891e78 [INFO] running `Command { std: "docker" "start" "-a" "2ef95c268d45cb47de9bd631e88edc69e870c8a0d551aa3da0efa3f53f891e78", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termios v0.3.3 [INFO] [stderr] Compiling ci_info v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling console v0.7.7 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling ron v0.4.2 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling insta v0.6.3 [INFO] [stderr] Compiling xtypes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `modules` [INFO] [stdout] --> src/linker.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let modules = load_file_and_imports(file_path, &mut files); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modules` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.39s [INFO] running `Command { std: "docker" "inspect" "2ef95c268d45cb47de9bd631e88edc69e870c8a0d551aa3da0efa3f53f891e78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ef95c268d45cb47de9bd631e88edc69e870c8a0d551aa3da0efa3f53f891e78", kill_on_drop: false }` [INFO] [stdout] 2ef95c268d45cb47de9bd631e88edc69e870c8a0d551aa3da0efa3f53f891e78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 499ce31b1800441ecd20535e6c3e19404ad1fe00a898e29504577ad016cd8352 [INFO] running `Command { std: "docker" "start" "-a" "499ce31b1800441ecd20535e6c3e19404ad1fe00a898e29504577ad016cd8352", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `modules` [INFO] [stderr] --> src/linker.rs:56:9 [INFO] [stderr] | [INFO] [stderr] 56 | let modules = load_file_and_imports(file_path, &mut files); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modules` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `xtypes` (lib test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/xtypes-ce6da81d97956f93) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test linker::test_load_file_and_imports ... FAILED [INFO] [stdout] test parser::test_parse_sample_1 ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- linker::test_load_file_and_imports stdout ---- [INFO] [stdout] Reading file "/opt/rustwide/workdir/src/sample.xt" [INFO] [stdout] Reading file "/opt/rustwide/workdir/src/prelude.xt" [INFO] [stdout] Unhandled typedef [INFO] [stdout] Unhandled typedef [INFO] [stdout] Unhandled typedef [INFO] [stdout] Unhandled typedef [INFO] [stdout] Unhandled typedef [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/linker__load_file_and_imports.snap [INFO] [stdout] Snapshot: load_file_and_imports [INFO] [stdout] Source: src/linker.rs:57 [INFO] [stdout] Old: Wed, 27 Feb 2019 09:26:14 +0000 [INFO] [stdout] New: Wed, 1 Oct 2025 20:38:59 +0000 [INFO] [stdout] [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] files [INFO] [stdout] ──────┬───────────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │ { [INFO] [stdout] 2 │- "/Users/jordan/Projects/src/github.com/jordwest/xtypes/src/sample.xt": XtFile { [INFO] [stdout] 3 │+ "/opt/rustwide/workdir/src/prelude.xt": XtFile { [INFO] [stdout] 4 │ module_info: ModuleInfo { [INFO] [stdout] 5 │+ name: "XTypes.Prelude", [INFO] [stdout] 6 │+ attrs: [], [INFO] [stdout] 7 │+ }, [INFO] [stdout] 8 │+ imports: [], [INFO] [stdout] 9 │+ messages: [], [INFO] [stdout] 10 │+ }, [INFO] [stdout] 11 │+ "/opt/rustwide/workdir/src/sample.xt": XtFile { [INFO] [stdout] 12 │+ module_info: ModuleInfo { [INFO] [stdout] 13 │ name: "Sample.Test", [INFO] [stdout] 14 │ attrs: [ [INFO] [stdout] 15 │ Attribute { [INFO] [stdout] 16 │ name: "output", [INFO] [stdout] 17 │- value: "/sample/test/somefile.txt" [INFO] [stdout] 18 │- } [INFO] [stdout] 19 │- ] [INFO] [stdout] 20 │+ value: "/sample/test/somefile.txt", [INFO] [stdout] 21 │+ }, [INFO] [stdout] 22 │+ ], [INFO] [stdout] 23 │ }, [INFO] [stdout] 24 │ imports: [ [INFO] [stdout] 25 │ ModuleImport { [INFO] [stdout] 26 │ path: "./prelude.xt", [INFO] [stdout] 27 │- attrs: [] [INFO] [stdout] 28 │- } [INFO] [stdout] 29 │+ attrs: [], [INFO] [stdout] 30 │+ }, [INFO] [stdout] 31 │ ], [INFO] [stdout] 32 │ messages: [ [INFO] [stdout] 33 │ Message { [INFO] [stdout] 34 │ name: "EnumSample", [INFO] [stdout] 35 │ attrs: [ [INFO] [stdout] 36 │ Attribute { [INFO] [stdout] 37 │ name: "doc", [INFO] [stdout] 38 │- value: "This message could be one of three shapes" [INFO] [stdout] 39 │- } [INFO] [stdout] 40 │+ value: "This message could be one of three shapes", [INFO] [stdout] 41 │+ }, [INFO] [stdout] 42 │ ], [INFO] [stdout] 43 │ value: Enum( [INFO] [stdout] 44 │ EnumMessage { [INFO] [stdout] 45 │ variants: [ [INFO] [stdout] 46 │ EnumVariant { [INFO] [stdout] 47 │ name: "One", [INFO] [stdout] 48 │ attrs: [ [INFO] [stdout] 49 │ Attribute { [INFO] [stdout] 50 │ name: "thing.stuff", [INFO] [stdout] 51 │- value: "xyz" [INFO] [stdout] 52 │+ value: "xyz", [INFO] [stdout] 53 │ }, [INFO] [stdout] 54 │ Attribute { [INFO] [stdout] 55 │ name: "json.tag", [INFO] [stdout] 56 │- value: "A" [INFO] [stdout] 57 │- } [INFO] [stdout] 58 │+ value: "A", [INFO] [stdout] 59 │+ }, [INFO] [stdout] 60 │ ], [INFO] [stdout] 61 │- content: None [INFO] [stdout] 62 │+ content: None, [INFO] [stdout] 63 │ }, [INFO] [stdout] 64 │ EnumVariant { [INFO] [stdout] 65 │ name: "Two", [INFO] [stdout] 66 │ attrs: [ [INFO] [stdout] 67 │ Attribute { [INFO] [stdout] 68 │ name: "blah", [INFO] [stdout] 69 │- value: "X" [INFO] [stdout] 70 │- } [INFO] [stdout] 71 │+ value: "X", [INFO] [stdout] 72 │+ }, [INFO] [stdout] 73 │ ], [INFO] [stdout] 74 │ content: Some( [INFO] [stdout] 75 │ Tuple( [INFO] [stdout] 76 │ [ [INFO] [stdout] 77 │ "StructSample", [INFO] [stdout] 78 │- "Boolean" [INFO] [stdout] 79 │- ] [INFO] [stdout] 80 │- ) [INFO] [stdout] 81 │- ) [INFO] [stdout] 82 │+ "Boolean", [INFO] [stdout] 83 │+ ], [INFO] [stdout] 84 │+ ), [INFO] [stdout] 85 │+ ), [INFO] [stdout] 86 │ }, [INFO] [stdout] 87 │ EnumVariant { [INFO] [stdout] 88 │ name: "Three", [INFO] [stdout] 89 │ attrs: [], [INFO] [stdout] 90 │- content: None [INFO] [stdout] 91 │- } [INFO] [stdout] 92 │- ] [INFO] [stdout] 93 │- } [INFO] [stdout] 94 │- ) [INFO] [stdout] 95 │+ content: None, [INFO] [stdout] 96 │+ }, [INFO] [stdout] 97 │+ ], [INFO] [stdout] 98 │+ }, [INFO] [stdout] 99 │+ ), [INFO] [stdout] 100 │ }, [INFO] [stdout] 101 │ Message { [INFO] [stdout] 102 │ name: "StructSample", [INFO] [stdout] 103 │ attrs: [ [INFO] [stdout] 104 │ Attribute { [INFO] [stdout] 105 │ name: "doc", [INFO] [stdout] 106 │- value: "Example of a struct/record type" [INFO] [stdout] 107 │+ value: "Example of a struct/record type", [INFO] [stdout] 108 │ }, [INFO] [stdout] 109 │ Attribute { [INFO] [stdout] 110 │ name: "http.method", [INFO] [stdout] 111 │- value: "GET" [INFO] [stdout] 112 │- } [INFO] [stdout] 113 │+ value: "GET", [INFO] [stdout] 114 │+ }, [INFO] [stdout] 115 │ ], [INFO] [stdout] 116 │ value: Struct( [INFO] [stdout] 117 │ StructMessage { [INFO] [stdout] 118 │ fields: [ [INFO] [stdout] 119 │ StructField { [INFO] [stdout] 122 │ "Thing", [INFO] [stdout] 123 │ Generic( [INFO] [stdout] 124 │ "Array", [INFO] [stdout] 125 │ Concrete( [INFO] [stdout] 126 │- "string" [INFO] [stdout] 127 │- ) [INFO] [stdout] 128 │- ) [INFO] [stdout] 129 │+ "string", [INFO] [stdout] 130 │+ ), [INFO] [stdout] 131 │+ ), [INFO] [stdout] 132 │ ), [INFO] [stdout] 133 │ is_optional: false, [INFO] [stdout] 134 │ attrs: [ [INFO] [stdout] 135 │ Attribute { [INFO] [stdout] 136 │ name: "json.key", [INFO] [stdout] 137 │- value: "X" [INFO] [stdout] 138 │- } [INFO] [stdout] 139 │- ] [INFO] [stdout] 140 │+ value: "X", [INFO] [stdout] 141 │+ }, [INFO] [stdout] 142 │+ ], [INFO] [stdout] 143 │ }, [INFO] [stdout] 144 │ StructField { [INFO] [stdout] 145 │ name: "optional_field", [INFO] [stdout] 146 │ type_name: Concrete( [INFO] [stdout] 147 │- "type" [INFO] [stdout] 148 │+ "type", [INFO] [stdout] 149 │ ), [INFO] [stdout] 150 │ is_optional: true, [INFO] [stdout] 151 │ attrs: [ [INFO] [stdout] 152 │ Attribute { [INFO] [stdout] 153 │ name: "json.key", [INFO] [stdout] 154 │- value: "Y" [INFO] [stdout] 155 │- } [INFO] [stdout] 156 │- ] [INFO] [stdout] 157 │- } [INFO] [stdout] 158 │- ] [INFO] [stdout] 159 │- } [INFO] [stdout] 160 │- ) [INFO] [stdout] 161 │- } [INFO] [stdout] 162 │- ] [INFO] [stdout] 163 │+ value: "Y", [INFO] [stdout] 164 │+ }, [INFO] [stdout] 165 │+ ], [INFO] [stdout] 166 │+ }, [INFO] [stdout] 167 │+ ], [INFO] [stdout] 168 │+ }, [INFO] [stdout] 169 │+ ), [INFO] [stdout] 170 │+ }, [INFO] [stdout] 171 │+ ], [INFO] [stdout] 172 │ }, [INFO] [stdout] 173 │- "/Users/jordan/Projects/src/github.com/jordwest/xtypes/src/prelude.xt": XtFile { [INFO] [stdout] 174 │- module_info: ModuleInfo { [INFO] [stdout] 175 │- name: "XTypes.Prelude", [INFO] [stdout] 176 │- attrs: [] [INFO] [stdout] 177 │- }, [INFO] [stdout] 178 │- imports: [], [INFO] [stdout] 179 │- messages: [] [INFO] [stdout] 180 │- } [INFO] [stdout] 181 │ } [INFO] [stdout] ──────┴───────────────────────────────────────────────────────────────────────── [INFO] [stdout] To update snapshots run `cargo insta review` [INFO] [stdout] [INFO] [stdout] thread 'linker::test_load_file_and_imports' (25) panicked at src/linker.rs:57:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] [INFO] [stdout] 0: failure::backtrace::internal::InternalBacktrace::new [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/failure-0.1.8/src/backtrace/internal.rs:46:44 [INFO] [stdout] 1: failure::backtrace::Backtrace::new [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/failure-0.1.8/src/backtrace/mod.rs:121:35 [INFO] [stdout] 2: >::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/failure-0.1.8/src/error/error_impl.rs:19:17 [INFO] [stdout] 3: >::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/failure-0.1.8/src/error/mod.rs:36:18 [INFO] [stdout] 4: as core::ops::try_trait::FromResidual>>::from_residual [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:2177:27 [INFO] [stdout] 5: insta::snapshot::Snapshot::save [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-0.6.3/src/snapshot.rs:235:21 [INFO] [stdout] 6: insta::runtime::assert_snapshot [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-0.6.3/src/runtime.rs:442:21 [INFO] [stdout] 7: xtypes::linker::test_load_file_and_imports [INFO] [stdout] at src/linker.rs:57:5 [INFO] [stdout] 8: xtypes::linker::test_load_file_and_imports::{{closure}} [INFO] [stdout] at src/linker.rs:52:32 [INFO] [stdout] 9: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 10: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 11: test::run_test_in_process::{{closure}} [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] std::panicking::catch_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] std::panic::catch_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] test::run_test_in_process [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] test::run_test::{{closure}} [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 12: test::run_test::{{closure}} [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] std::sys::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 13: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] std::panicking::catch_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] std::panic::catch_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 14: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] std::sys::thread::unix::Thread::new::thread_start [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 15: [INFO] [stdout] 16: clone [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d464ff1e142 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d464ff1e142 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d464ff1e142 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d464ff1e142 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d464ff301ff - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d464ff301ff - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d464feea111 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d464feea111 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d464fef67d2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d464fefbb6f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d464fefba01 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d464fe9d1be - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x5d464fe9d1be - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d464fefc22f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x5d464fefc22f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d464fefc08a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d464fef6909 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d464fedd43d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d464ff3a300 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x5d464ff39526 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x5d464fc8cf5a - core::result::Result::unwrap::h1148bd210ef6fdd9 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x5d464fc8cf5a - xtypes::linker::test_load_file_and_imports::hf71607f01cc95017 [INFO] [stdout] at /opt/rustwide/workdir/src/linker.rs:57:5 [INFO] [stdout] 22: 0x5d464fc8d027 - xtypes::linker::test_load_file_and_imports::{{closure}}::h54c397e8001088a0 [INFO] [stdout] at /opt/rustwide/workdir/src/linker.rs:52:32 [INFO] [stdout] 23: 0x5d464fc7e4e6 - core::ops::function::FnOnce::call_once::h1b4a6a4e3f5a596a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5d464fe9cfeb - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d464fe9cfeb - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5d464feb2bc5 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5d464feb2bc5 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5d464feb2bc5 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5d464feb2bc5 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5d464feb2bc5 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5d464feb2bc5 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5d464feb2bc5 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5d464fe893d4 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5d464fe893d4 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5d464fe8cc9a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5d464fe8cc9a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5d464fe8cc9a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5d464fe8cc9a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5d464fe8cc9a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5d464fe8cc9a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5d464fe8cc9a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5d464fef185f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 43: 0x5d464fef185f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x7bd45affbaa4 - [INFO] [stdout] 45: 0x7bd45b088a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- parser::test_parse_sample_1 stdout ---- [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/parser__sample.xt.snap [INFO] [stdout] Snapshot: sample.xt [INFO] [stdout] Source: src/parser.rs:266 [INFO] [stdout] Old: Wed, 27 Feb 2019 08:59:50 +0000 [INFO] [stdout] New: Wed, 1 Oct 2025 20:38:59 +0000 [INFO] [stdout] [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] file [INFO] [stdout] ──────┬───────────────────────────────────────────────────────────────────────── [INFO] [stdout] 3 │ name: "Sample.Test", [INFO] [stdout] 4 │ attrs: [ [INFO] [stdout] 5 │ Attribute { [INFO] [stdout] 6 │ name: "output", [INFO] [stdout] 7 │- value: "/sample/test/somefile.txt" [INFO] [stdout] 8 │- } [INFO] [stdout] 9 │- ] [INFO] [stdout] 10 │+ value: "/sample/test/somefile.txt", [INFO] [stdout] 11 │+ }, [INFO] [stdout] 12 │+ ], [INFO] [stdout] 13 │ }, [INFO] [stdout] 14 │ imports: [ [INFO] [stdout] 15 │ ModuleImport { [INFO] [stdout] 16 │ path: "./prelude.xt", [INFO] [stdout] 17 │- attrs: [] [INFO] [stdout] 18 │- } [INFO] [stdout] 19 │+ attrs: [], [INFO] [stdout] 20 │+ }, [INFO] [stdout] 21 │ ], [INFO] [stdout] 22 │ messages: [ [INFO] [stdout] 23 │ Message { [INFO] [stdout] 24 │ name: "EnumSample", [INFO] [stdout] 25 │ attrs: [ [INFO] [stdout] 26 │ Attribute { [INFO] [stdout] 27 │ name: "doc", [INFO] [stdout] 28 │- value: "This message could be one of three shapes" [INFO] [stdout] 29 │- } [INFO] [stdout] 30 │+ value: "This message could be one of three shapes", [INFO] [stdout] 31 │+ }, [INFO] [stdout] 32 │ ], [INFO] [stdout] 33 │ value: Enum( [INFO] [stdout] 34 │ EnumMessage { [INFO] [stdout] 35 │ variants: [ [INFO] [stdout] 36 │ EnumVariant { [INFO] [stdout] 37 │ name: "One", [INFO] [stdout] 38 │ attrs: [ [INFO] [stdout] 39 │ Attribute { [INFO] [stdout] 40 │ name: "thing.stuff", [INFO] [stdout] 41 │- value: "xyz" [INFO] [stdout] 42 │+ value: "xyz", [INFO] [stdout] 43 │ }, [INFO] [stdout] 44 │ Attribute { [INFO] [stdout] 45 │ name: "json.tag", [INFO] [stdout] 46 │- value: "A" [INFO] [stdout] 47 │- } [INFO] [stdout] 48 │+ value: "A", [INFO] [stdout] 49 │+ }, [INFO] [stdout] 50 │ ], [INFO] [stdout] 51 │- content: None [INFO] [stdout] 52 │+ content: None, [INFO] [stdout] 53 │ }, [INFO] [stdout] 54 │ EnumVariant { [INFO] [stdout] 55 │ name: "Two", [INFO] [stdout] 56 │ attrs: [ [INFO] [stdout] 57 │ Attribute { [INFO] [stdout] 58 │ name: "blah", [INFO] [stdout] 59 │- value: "X" [INFO] [stdout] 60 │- } [INFO] [stdout] 61 │+ value: "X", [INFO] [stdout] 62 │+ }, [INFO] [stdout] 63 │ ], [INFO] [stdout] 64 │ content: Some( [INFO] [stdout] 65 │ Tuple( [INFO] [stdout] 66 │ [ [INFO] [stdout] 67 │ "StructSample", [INFO] [stdout] 68 │- "Boolean" [INFO] [stdout] 69 │- ] [INFO] [stdout] 70 │- ) [INFO] [stdout] 71 │- ) [INFO] [stdout] 72 │+ "Boolean", [INFO] [stdout] 73 │+ ], [INFO] [stdout] 74 │+ ), [INFO] [stdout] 75 │+ ), [INFO] [stdout] 76 │ }, [INFO] [stdout] 77 │ EnumVariant { [INFO] [stdout] 78 │ name: "Three", [INFO] [stdout] 79 │ attrs: [], [INFO] [stdout] 80 │- content: None [INFO] [stdout] 81 │- } [INFO] [stdout] 82 │- ] [INFO] [stdout] 83 │- } [INFO] [stdout] 84 │- ) [INFO] [stdout] 85 │+ content: None, [INFO] [stdout] 86 │+ }, [INFO] [stdout] 87 │+ ], [INFO] [stdout] 88 │+ }, [INFO] [stdout] 89 │+ ), [INFO] [stdout] 90 │ }, [INFO] [stdout] 91 │ Message { [INFO] [stdout] 92 │ name: "StructSample", [INFO] [stdout] 93 │ attrs: [ [INFO] [stdout] 94 │ Attribute { [INFO] [stdout] 95 │ name: "doc", [INFO] [stdout] 96 │- value: "Example of a struct/record type" [INFO] [stdout] 97 │+ value: "Example of a struct/record type", [INFO] [stdout] 98 │ }, [INFO] [stdout] 99 │ Attribute { [INFO] [stdout] 100 │ name: "http.method", [INFO] [stdout] 101 │- value: "GET" [INFO] [stdout] 102 │- } [INFO] [stdout] 103 │+ value: "GET", [INFO] [stdout] 104 │+ }, [INFO] [stdout] 105 │ ], [INFO] [stdout] 106 │ value: Struct( [INFO] [stdout] 107 │ StructMessage { [INFO] [stdout] 108 │ fields: [ [INFO] [stdout] 109 │ StructField { [INFO] [stdout] 112 │ "Thing", [INFO] [stdout] 113 │ Generic( [INFO] [stdout] 114 │ "Array", [INFO] [stdout] 115 │ Concrete( [INFO] [stdout] 116 │- "string" [INFO] [stdout] 117 │- ) [INFO] [stdout] 118 │- ) [INFO] [stdout] 119 │+ "string", [INFO] [stdout] 120 │+ ), [INFO] [stdout] 121 │+ ), [INFO] [stdout] 122 │ ), [INFO] [stdout] 123 │ is_optional: false, [INFO] [stdout] 124 │ attrs: [ [INFO] [stdout] 125 │ Attribute { [INFO] [stdout] 126 │ name: "json.key", [INFO] [stdout] 127 │- value: "X" [INFO] [stdout] 128 │- } [INFO] [stdout] 129 │- ] [INFO] [stdout] 130 │+ value: "X", [INFO] [stdout] 131 │+ }, [INFO] [stdout] 132 │+ ], [INFO] [stdout] 133 │ }, [INFO] [stdout] 134 │ StructField { [INFO] [stdout] 135 │ name: "optional_field", [INFO] [stdout] 136 │ type_name: Concrete( [INFO] [stdout] 137 │- "type" [INFO] [stdout] 138 │+ "type", [INFO] [stdout] 139 │ ), [INFO] [stdout] 140 │ is_optional: true, [INFO] [stdout] 141 │ attrs: [ [INFO] [stdout] 142 │ Attribute { [INFO] [stdout] 143 │ name: "json.key", [INFO] [stdout] 144 │- value: "Y" [INFO] [stdout] 145 │- } [INFO] [stdout] 146 │- ] [INFO] [stdout] 147 │- } [INFO] [stdout] 148 │- ] [INFO] [stdout] 149 │- } [INFO] [stdout] 150 │- ) [INFO] [stdout] 151 │- } [INFO] [stdout] 152 │- ] [INFO] [stdout] 153 │+ value: "Y", [INFO] [stdout] 154 │+ }, [INFO] [stdout] 155 │+ ], [INFO] [stdout] 156 │+ }, [INFO] [stdout] 157 │+ ], [INFO] [stdout] 158 │+ }, [INFO] [stdout] 159 │+ ), [INFO] [stdout] 160 │+ }, [INFO] [stdout] 161 │+ ], [INFO] [stdout] 162 │ } [INFO] [stdout] ──────┴───────────────────────────────────────────────────────────────────────── [INFO] [stdout] To update snapshots run `cargo insta review` [INFO] [stdout] [INFO] [stdout] thread 'parser::test_parse_sample_1' (26) panicked at src/parser.rs:266:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] [INFO] [stdout] 0: failure::backtrace::internal::InternalBacktrace::new [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/failure-0.1.8/src/backtrace/internal.rs:46:44 [INFO] [stdout] 1: failure::backtrace::Backtrace::new [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/failure-0.1.8/src/backtrace/mod.rs:121:35 [INFO] [stdout] 2: >::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/failure-0.1.8/src/error/error_impl.rs:19:17 [INFO] [stdout] 3: >::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/failure-0.1.8/src/error/mod.rs:36:18 [INFO] [stdout] 4: as core::ops::try_trait::FromResidual>>::from_residual [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:2177:27 [INFO] [stdout] 5: insta::snapshot::Snapshot::save [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-0.6.3/src/snapshot.rs:235:21 [INFO] [stdout] 6: insta::runtime::assert_snapshot [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-0.6.3/src/runtime.rs:442:21 [INFO] [stdout] 7: xtypes::parser::test_parse_sample_1 [INFO] [stdout] at src/parser.rs:266:5 [INFO] [stdout] 8: xtypes::parser::test_parse_sample_1::{{closure}} [INFO] [stdout] at src/parser.rs:262:25 [INFO] [stdout] 9: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 10: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 11: test::run_test_in_process::{{closure}} [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] std::panicking::catch_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] std::panic::catch_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] test::run_test_in_process [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] test::run_test::{{closure}} [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 12: test::run_test::{{closure}} [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] std::sys::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 13: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] std::panicking::catch_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] std::panic::catch_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 14: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] std::sys::thread::unix::Thread::new::thread_start [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 15: [INFO] [stdout] 16: clone [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d464ff1e142 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d464ff1e142 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d464ff1e142 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d464ff1e142 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d464ff301ff - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d464ff301ff - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d464feea111 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d464feea111 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d464fef67d2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d464fefbb6f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d464fefba01 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d464fe9d1be - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x5d464fe9d1be - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d464fefc22f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x5d464fefc22f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d464fefc08a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d464fef6909 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d464fedd43d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d464ff3a300 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x5d464ff39526 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x5d464fc70e9c - core::result::Result::unwrap::h1148bd210ef6fdd9 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x5d464fc70e9c - xtypes::parser::test_parse_sample_1::hde269c0a72763b35 [INFO] [stdout] at /opt/rustwide/workdir/src/parser.rs:266:5 [INFO] [stdout] 22: 0x5d464fc70f47 - xtypes::parser::test_parse_sample_1::{{closure}}::h7ff45b057ca2a806 [INFO] [stdout] at /opt/rustwide/workdir/src/parser.rs:262:25 [INFO] [stdout] 23: 0x5d464fc7e6b6 - core::ops::function::FnOnce::call_once::hfc48d39348318054 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5d464fe9cfeb - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d464fe9cfeb - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5d464feb2bc5 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5d464feb2bc5 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5d464feb2bc5 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5d464feb2bc5 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5d464feb2bc5 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5d464feb2bc5 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5d464feb2bc5 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5d464fe893d4 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5d464fe893d4 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5d464fe8cc9a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5d464fe8cc9a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5d464fe8cc9a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5d464fe8cc9a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5d464fe8cc9a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5d464fe8cc9a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5d464fe8cc9a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5d464fef185f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 43: 0x5d464fef185f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x7bd45affbaa4 - [INFO] [stdout] 45: 0x7bd45b088a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] linker::test_load_file_and_imports [INFO] [stdout] parser::test_parse_sample_1 [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.50s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "499ce31b1800441ecd20535e6c3e19404ad1fe00a898e29504577ad016cd8352", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "499ce31b1800441ecd20535e6c3e19404ad1fe00a898e29504577ad016cd8352", kill_on_drop: false }` [INFO] [stdout] 499ce31b1800441ecd20535e6c3e19404ad1fe00a898e29504577ad016cd8352