[INFO] fetching crate xtypes 0.1.0... [INFO] testing xtypes-0.1.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate xtypes 0.1.0 into /workspace/builds/worker-17/source [INFO] validating manifest of crates.io crate xtypes 0.1.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-17/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded console v0.7.7 [INFO] [stderr] Downloaded ci_info v0.3.1 [INFO] [stderr] Downloaded insta v0.6.3 [INFO] [stderr] Downloaded ron v0.4.2 [INFO] [stderr] Downloaded jens v0.6.0 [INFO] [stderr] Downloaded jens_derive v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f66be4e3fed2686a060fc81b42fe7aa3ee3bb35875119977d5e2559700a1057c [INFO] running `Command { std: "docker" "start" "-a" "f66be4e3fed2686a060fc81b42fe7aa3ee3bb35875119977d5e2559700a1057c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f66be4e3fed2686a060fc81b42fe7aa3ee3bb35875119977d5e2559700a1057c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f66be4e3fed2686a060fc81b42fe7aa3ee3bb35875119977d5e2559700a1057c", kill_on_drop: false }` [INFO] [stdout] f66be4e3fed2686a060fc81b42fe7aa3ee3bb35875119977d5e2559700a1057c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 139e9b808bdf46958ff51c0f538e3fb071bd6230cda8cefb94e4f1e8f57c36a7 [INFO] running `Command { std: "docker" "start" "-a" "139e9b808bdf46958ff51c0f538e3fb071bd6230cda8cefb94e4f1e8f57c36a7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [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 [unoptimized + debuginfo] target(s) in 8.62s [INFO] running `Command { std: "docker" "inspect" "139e9b808bdf46958ff51c0f538e3fb071bd6230cda8cefb94e4f1e8f57c36a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "139e9b808bdf46958ff51c0f538e3fb071bd6230cda8cefb94e4f1e8f57c36a7", kill_on_drop: false }` [INFO] [stdout] 139e9b808bdf46958ff51c0f538e3fb071bd6230cda8cefb94e4f1e8f57c36a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a313d272ba9782b99d6caebd097641ee99325e53a4a2264f2f643ecde0165bc [INFO] running `Command { std: "docker" "start" "-a" "9a313d272ba9782b99d6caebd097641ee99325e53a4a2264f2f643ecde0165bc", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ci_info v0.3.1 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termios v0.3.3 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling yaml-rust v0.4.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 object v0.27.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling console v0.7.7 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_yaml v0.8.23 [INFO] [stderr] Compiling ron v0.4.2 [INFO] [stderr] Compiling uuid v0.7.4 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 11.65s [INFO] running `Command { std: "docker" "inspect" "9a313d272ba9782b99d6caebd097641ee99325e53a4a2264f2f643ecde0165bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a313d272ba9782b99d6caebd097641ee99325e53a4a2264f2f643ecde0165bc", kill_on_drop: false }` [INFO] [stdout] 9a313d272ba9782b99d6caebd097641ee99325e53a4a2264f2f643ecde0165bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2a9ae3f9f8bbb478e57c505ba1dc46fdf3c886a543461dfc9dd18f08f62f9bd9 [INFO] running `Command { std: "docker" "start" "-a" "2a9ae3f9f8bbb478e57c505ba1dc46fdf3c886a543461dfc9dd18f08f62f9bd9", 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)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `xtypes` (lib test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/xtypes-a14e665fe7ad9d98) [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: Thu, 14 Apr 2022 05:59:07 +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/sample.xt": XtFile { [INFO] [stdout] 4 │ module_info: ModuleInfo { [INFO] [stdout] 5 │ name: "Sample.Test", [INFO] [stdout] 6 │ attrs: [ [INFO] [stdout] 7 │ Attribute { [INFO] [stdout] 8 │ name: "output", [INFO] [stdout] 9 │- value: "/sample/test/somefile.txt" [INFO] [stdout] 10 │- } [INFO] [stdout] 11 │- ] [INFO] [stdout] 12 │+ value: "/sample/test/somefile.txt", [INFO] [stdout] 13 │+ }, [INFO] [stdout] 14 │+ ], [INFO] [stdout] 15 │ }, [INFO] [stdout] 16 │ imports: [ [INFO] [stdout] 17 │ ModuleImport { [INFO] [stdout] 18 │ path: "./prelude.xt", [INFO] [stdout] 19 │- attrs: [] [INFO] [stdout] 20 │- } [INFO] [stdout] 21 │+ attrs: [], [INFO] [stdout] 22 │+ }, [INFO] [stdout] 23 │ ], [INFO] [stdout] 24 │ messages: [ [INFO] [stdout] 25 │ Message { [INFO] [stdout] 26 │ name: "EnumSample", [INFO] [stdout] 27 │ attrs: [ [INFO] [stdout] 28 │ Attribute { [INFO] [stdout] 29 │ name: "doc", [INFO] [stdout] 30 │- value: "This message could be one of three shapes" [INFO] [stdout] 31 │- } [INFO] [stdout] 32 │+ value: "This message could be one of three shapes", [INFO] [stdout] 33 │+ }, [INFO] [stdout] 34 │ ], [INFO] [stdout] 35 │ value: Enum( [INFO] [stdout] 36 │ EnumMessage { [INFO] [stdout] 37 │ variants: [ [INFO] [stdout] 38 │ EnumVariant { [INFO] [stdout] 39 │ name: "One", [INFO] [stdout] 40 │ attrs: [ [INFO] [stdout] 41 │ Attribute { [INFO] [stdout] 42 │ name: "thing.stuff", [INFO] [stdout] 43 │- value: "xyz" [INFO] [stdout] 44 │+ value: "xyz", [INFO] [stdout] 45 │ }, [INFO] [stdout] 46 │ Attribute { [INFO] [stdout] 47 │ name: "json.tag", [INFO] [stdout] 48 │- value: "A" [INFO] [stdout] 49 │- } [INFO] [stdout] 50 │+ value: "A", [INFO] [stdout] 51 │+ }, [INFO] [stdout] 52 │ ], [INFO] [stdout] 53 │- content: None [INFO] [stdout] 54 │+ content: None, [INFO] [stdout] 55 │ }, [INFO] [stdout] 56 │ EnumVariant { [INFO] [stdout] 57 │ name: "Two", [INFO] [stdout] 58 │ attrs: [ [INFO] [stdout] 59 │ Attribute { [INFO] [stdout] 60 │ name: "blah", [INFO] [stdout] 61 │- value: "X" [INFO] [stdout] 62 │- } [INFO] [stdout] 63 │+ value: "X", [INFO] [stdout] 64 │+ }, [INFO] [stdout] 65 │ ], [INFO] [stdout] 66 │ content: Some( [INFO] [stdout] 67 │ Tuple( [INFO] [stdout] 68 │ [ [INFO] [stdout] 69 │ "StructSample", [INFO] [stdout] 70 │- "Boolean" [INFO] [stdout] 71 │- ] [INFO] [stdout] 72 │- ) [INFO] [stdout] 73 │- ) [INFO] [stdout] 74 │+ "Boolean", [INFO] [stdout] 75 │+ ], [INFO] [stdout] 76 │+ ), [INFO] [stdout] 77 │+ ), [INFO] [stdout] 78 │ }, [INFO] [stdout] 79 │ EnumVariant { [INFO] [stdout] 80 │ name: "Three", [INFO] [stdout] 81 │ attrs: [], [INFO] [stdout] 82 │- content: None [INFO] [stdout] 83 │- } [INFO] [stdout] 84 │- ] [INFO] [stdout] 85 │- } [INFO] [stdout] 86 │- ) [INFO] [stdout] 87 │+ content: None, [INFO] [stdout] 88 │+ }, [INFO] [stdout] 89 │+ ], [INFO] [stdout] 90 │+ }, [INFO] [stdout] 91 │+ ), [INFO] [stdout] 92 │ }, [INFO] [stdout] 93 │ Message { [INFO] [stdout] 94 │ name: "StructSample", [INFO] [stdout] 95 │ attrs: [ [INFO] [stdout] 96 │ Attribute { [INFO] [stdout] 97 │ name: "doc", [INFO] [stdout] 98 │- value: "Example of a struct/record type" [INFO] [stdout] 99 │+ value: "Example of a struct/record type", [INFO] [stdout] 100 │ }, [INFO] [stdout] 101 │ Attribute { [INFO] [stdout] 102 │ name: "http.method", [INFO] [stdout] 103 │- value: "GET" [INFO] [stdout] 104 │- } [INFO] [stdout] 105 │+ value: "GET", [INFO] [stdout] 106 │+ }, [INFO] [stdout] 107 │ ], [INFO] [stdout] 108 │ value: Struct( [INFO] [stdout] 109 │ StructMessage { [INFO] [stdout] 110 │ fields: [ [INFO] [stdout] 111 │ StructField { [INFO] [stdout] 114 │ "Thing", [INFO] [stdout] 115 │ Generic( [INFO] [stdout] 116 │ "Array", [INFO] [stdout] 117 │ Concrete( [INFO] [stdout] 118 │- "string" [INFO] [stdout] 119 │- ) [INFO] [stdout] 120 │- ) [INFO] [stdout] 121 │+ "string", [INFO] [stdout] 122 │+ ), [INFO] [stdout] 123 │+ ), [INFO] [stdout] 124 │ ), [INFO] [stdout] 125 │ is_optional: false, [INFO] [stdout] 126 │ attrs: [ [INFO] [stdout] 127 │ Attribute { [INFO] [stdout] 128 │ name: "json.key", [INFO] [stdout] 129 │- value: "X" [INFO] [stdout] 130 │- } [INFO] [stdout] 131 │- ] [INFO] [stdout] 132 │+ value: "X", [INFO] [stdout] 133 │+ }, [INFO] [stdout] 134 │+ ], [INFO] [stdout] 135 │ }, [INFO] [stdout] 136 │ StructField { [INFO] [stdout] 137 │ name: "optional_field", [INFO] [stdout] 138 │ type_name: Concrete( [INFO] [stdout] 139 │- "type" [INFO] [stdout] 140 │+ "type", [INFO] [stdout] 141 │ ), [INFO] [stdout] 142 │ is_optional: true, [INFO] [stdout] 143 │ attrs: [ [INFO] [stdout] 144 │ Attribute { [INFO] [stdout] 145 │ name: "json.key", [INFO] [stdout] 146 │- value: "Y" [INFO] [stdout] 147 │- } [INFO] [stdout] 148 │- ] [INFO] [stdout] 149 │- } [INFO] [stdout] 150 │- ] [INFO] [stdout] 151 │- } [INFO] [stdout] 152 │- ) [INFO] [stdout] 153 │- } [INFO] [stdout] 154 │- ] [INFO] [stdout] 155 │+ value: "Y", [INFO] [stdout] 156 │+ }, [INFO] [stdout] 157 │+ ], [INFO] [stdout] 158 │+ }, [INFO] [stdout] 159 │+ ], [INFO] [stdout] 160 │+ }, [INFO] [stdout] 161 │+ ), [INFO] [stdout] 162 │+ }, [INFO] [stdout] 163 │+ ], [INFO] [stdout] 164 │ }, [INFO] [stdout] 165 │- "/Users/jordan/Projects/src/github.com/jordwest/xtypes/src/prelude.xt": XtFile { [INFO] [stdout] 166 │+ "/opt/rustwide/workdir/src/prelude.xt": XtFile { [INFO] [stdout] 167 │ module_info: ModuleInfo { [INFO] [stdout] 168 │ name: "XTypes.Prelude", [INFO] [stdout] 169 │- attrs: [] [INFO] [stdout] 170 │+ attrs: [], [INFO] [stdout] 171 │ }, [INFO] [stdout] 172 │ imports: [], [INFO] [stdout] 173 │- messages: [] [INFO] [stdout] 174 │- } [INFO] [stdout] 175 │+ messages: [], [INFO] [stdout] 176 │+ }, [INFO] [stdout] 177 │ } [INFO] [stdout] ──────┴───────────────────────────────────────────────────────────────────────── [INFO] [stdout] To update snapshots run `cargo insta review` [INFO] [stdout] thread 'linker::test_load_file_and_imports' panicked at '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/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/failure-0.1.8/src/backtrace/mod.rs:121:35 [INFO] [stdout] 2: >::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/failure-0.1.8/src/error/error_impl.rs:19:17 [INFO] [stdout] 3: >::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/result.rs:2064:27 [INFO] [stdout] 5: insta::snapshot::Snapshot::save [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/insta-0.6.3/src/runtime.rs:442:17 [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:1 [INFO] [stdout] 9: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 10: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:575:5 [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] [stdout] 11: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] std::panicking::try::do_call [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] std::panicking::try [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] std::panic::catch_unwind [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] test::run_test_in_process [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:598:18 [INFO] [stdout] test::run_test::run_test_inner::{{closure}} [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:492:39 [INFO] [stdout] 12: test::run_test::run_test_inner::{{closure}} [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:519:37 [INFO] [stdout] std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 13: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] std::panicking::try::do_call [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] std::panicking::try [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] std::panic::catch_unwind [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 14: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 15: start_thread [INFO] [stdout] 16: clone [INFO] [stdout] ', src/linker.rs:57:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55a12256ce8d - std::backtrace_rs::backtrace::libunwind::trace::hee598835bc88d35b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55a12256ce8d - std::backtrace_rs::backtrace::trace_unsynchronized::h9cdc730ba5cf5d72 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55a12256ce8d - std::sys_common::backtrace::_print_fmt::h75aeaf7ed30e43fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55a12256ce8d - ::fmt::h606862f787600875 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55a12259464c - core::fmt::write::he803f0f418caf762 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x55a122567e48 - std::io::Write::write_fmt::hbe7c1a63616291e2 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x55a12256f167 - std::sys_common::backtrace::_print::h64d038cf8ac3e13e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55a12256f167 - std::sys_common::backtrace::print::h359300b4a7fccf65 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55a12256f167 - std::panicking::default_hook::{{closure}}::hf51be35e2f510149 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55a12256ee9c - std::panicking::default_hook::h03ca0f22e1d2d25e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55a12256f8b9 - std::panicking::rust_panic_with_hook::h3b7380e99b825b63 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55a12256f5a7 - std::panicking::begin_panic_handler::{{closure}}::h8e849d0710154ce0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55a12256d354 - std::sys_common::backtrace::__rust_end_short_backtrace::hedcdaddbd4c46cc5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55a12256f2b9 - rust_begin_unwind [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55a1222ae683 - core::panicking::panic_fmt::he1bbc7336d49a357 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55a1222ae773 - core::result::unwrap_failed::h719f957ed74f93fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/result.rs:1749:5 [INFO] [stdout] 16: 0x55a1222c1e98 - core::result::Result::unwrap::hbc5887e5d971bf67 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/result.rs:1065:23 [INFO] [stdout] 17: 0x55a1222eaf8e - xtypes::linker::test_load_file_and_imports::he8c073acc4c24c33 [INFO] [stdout] at /opt/rustwide/workdir/src/linker.rs:57:5 [INFO] [stdout] 18: 0x55a1222eac6a - xtypes::linker::test_load_file_and_imports::{{closure}}::h128ff6719afa6226 [INFO] [stdout] at /opt/rustwide/workdir/src/linker.rs:52:1 [INFO] [stdout] 19: 0x55a1222caf6e - core::ops::function::FnOnce::call_once::h45998ac37c5067d1 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55a122534dc3 - core::ops::function::FnOnce::call_once::h2a47b4b927cb6ca5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55a122534dc3 - test::__rust_begin_short_backtrace::h594ef8055a183b9b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:575:5 [INFO] [stdout] 22: 0x55a122533aa4 - as core::ops::function::FnOnce>::call_once::hb40cbb8bc3e1be15 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 23: 0x55a122533aa4 - as core::ops::function::FnOnce<()>>::call_once::ha4f2bd3b806745a0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x55a122533aa4 - std::panicking::try::do_call::h92af9f8bc77a5987 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x55a122533aa4 - std::panicking::try::h9df49eeae42572b7 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x55a122533aa4 - std::panic::catch_unwind::h101dbadc82bbe0fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x55a122533aa4 - test::run_test_in_process::h2ad7bffb068e750a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:598:18 [INFO] [stdout] 28: 0x55a122533aa4 - test::run_test::run_test_inner::{{closure}}::h384faf46554c5acb [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:492:39 [INFO] [stdout] 29: 0x55a12253d3c1 - test::run_test::run_test_inner::{{closure}}::h17cfe94835a46685 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:519:37 [INFO] [stdout] 30: 0x55a12253d3c1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h82709e5086312627 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x55a122509a3f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hdfea66a201b39571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x55a122509a3f - as core::ops::function::FnOnce<()>>::call_once::h4912df03598e67fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x55a122509a3f - std::panicking::try::do_call::h6d5dc1045d0eade8 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x55a122509a3f - std::panicking::try::hbc897fc717ec6571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x55a122509a3f - std::panic::catch_unwind::h27f1e958c91391ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x55a122509a3f - std::thread::Builder::spawn_unchecked_::{{closure}}::h1b42e48537edc3c0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x55a122509a3f - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9137b3d6d2a88354 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55a122575783 - as core::ops::function::FnOnce>::call_once::hf70ac038171e3e1a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 39: 0x55a122575783 - as core::ops::function::FnOnce>::call_once::he6690128792365ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 40: 0x55a122575783 - std::sys::unix::thread::Thread::new::thread_start::ha07928d93d5a5ec9 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7f584b375609 - start_thread [INFO] [stdout] 42: 0x7f584b4ca163 - clone [INFO] [stdout] 43: 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: Thu, 14 Apr 2022 05:59:07 +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] thread 'parser::test_parse_sample_1' panicked at '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/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/failure-0.1.8/src/backtrace/mod.rs:121:35 [INFO] [stdout] 2: >::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/failure-0.1.8/src/error/error_impl.rs:19:17 [INFO] [stdout] 3: >::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/result.rs:2064:27 [INFO] [stdout] 5: insta::snapshot::Snapshot::save [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/insta-0.6.3/src/runtime.rs:442:17 [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:1 [INFO] [stdout] 9: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 10: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:575:5 [INFO] [stdout] 11: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] std::panicking::try::do_call [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] std::panicking::try [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] std::panic::catch_unwind [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] test::run_test_in_process [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:598:18 [INFO] [stdout] test::run_test::run_test_inner::{{closure}} [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:492:39 [INFO] [stdout] 12: test::run_test::run_test_inner::{{closure}} [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:519:37 [INFO] [stdout] std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 13: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] std::panicking::try::do_call [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] std::panicking::try [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] std::panic::catch_unwind [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 14: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 15: start_thread [INFO] [stdout] 16: clone [INFO] [stdout] ', src/parser.rs:266:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55a12256ce8d - std::backtrace_rs::backtrace::libunwind::trace::hee598835bc88d35b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55a12256ce8d - std::backtrace_rs::backtrace::trace_unsynchronized::h9cdc730ba5cf5d72 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55a12256ce8d - std::sys_common::backtrace::_print_fmt::h75aeaf7ed30e43fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55a12256ce8d - ::fmt::h606862f787600875 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55a12259464c - core::fmt::write::he803f0f418caf762 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x55a122567e48 - std::io::Write::write_fmt::hbe7c1a63616291e2 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x55a12256f167 - std::sys_common::backtrace::_print::h64d038cf8ac3e13e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55a12256f167 - std::sys_common::backtrace::print::h359300b4a7fccf65 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55a12256f167 - std::panicking::default_hook::{{closure}}::hf51be35e2f510149 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55a12256ee9c - std::panicking::default_hook::h03ca0f22e1d2d25e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55a12256f8b9 - std::panicking::rust_panic_with_hook::h3b7380e99b825b63 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55a12256f5a7 - std::panicking::begin_panic_handler::{{closure}}::h8e849d0710154ce0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55a12256d354 - std::sys_common::backtrace::__rust_end_short_backtrace::hedcdaddbd4c46cc5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55a12256f2b9 - rust_begin_unwind [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55a1222ae683 - core::panicking::panic_fmt::he1bbc7336d49a357 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55a1222ae773 - core::result::unwrap_failed::h719f957ed74f93fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/result.rs:1749:5 [INFO] [stdout] 16: 0x55a1222c1e98 - core::result::Result::unwrap::hbc5887e5d971bf67 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/result.rs:1065:23 [INFO] [stdout] 17: 0x55a1222ddf6a - xtypes::parser::test_parse_sample_1::h6ee190dfd9442fcd [INFO] [stdout] at /opt/rustwide/workdir/src/parser.rs:266:5 [INFO] [stdout] 18: 0x55a1222ddd6a - xtypes::parser::test_parse_sample_1::{{closure}}::hbb352a05562aed36 [INFO] [stdout] at /opt/rustwide/workdir/src/parser.rs:262:1 [INFO] [stdout] 19: 0x55a1222cafae - core::ops::function::FnOnce::call_once::hd2b280023f86af43 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55a122534dc3 - core::ops::function::FnOnce::call_once::h2a47b4b927cb6ca5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55a122534dc3 - test::__rust_begin_short_backtrace::h594ef8055a183b9b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:575:5 [INFO] [stdout] 22: 0x55a122533aa4 - as core::ops::function::FnOnce>::call_once::hb40cbb8bc3e1be15 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 23: 0x55a122533aa4 - as core::ops::function::FnOnce<()>>::call_once::ha4f2bd3b806745a0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x55a122533aa4 - std::panicking::try::do_call::h92af9f8bc77a5987 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x55a122533aa4 - std::panicking::try::h9df49eeae42572b7 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x55a122533aa4 - std::panic::catch_unwind::h101dbadc82bbe0fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x55a122533aa4 - test::run_test_in_process::h2ad7bffb068e750a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:598:18 [INFO] [stdout] 28: 0x55a122533aa4 - test::run_test::run_test_inner::{{closure}}::h384faf46554c5acb [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:492:39 [INFO] [stdout] 29: 0x55a12253d3c1 - test::run_test::run_test_inner::{{closure}}::h17cfe94835a46685 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:519:37 [INFO] [stdout] 30: 0x55a12253d3c1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h82709e5086312627 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x55a122509a3f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hdfea66a201b39571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x55a122509a3f - as core::ops::function::FnOnce<()>>::call_once::h4912df03598e67fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x55a122509a3f - std::panicking::try::do_call::h6d5dc1045d0eade8 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x55a122509a3f - std::panicking::try::hbc897fc717ec6571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x55a122509a3f - std::panic::catch_unwind::h27f1e958c91391ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x55a122509a3f - std::thread::Builder::spawn_unchecked_::{{closure}}::h1b42e48537edc3c0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x55a122509a3f - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9137b3d6d2a88354 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55a122575783 - as core::ops::function::FnOnce>::call_once::hf70ac038171e3e1a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 39: 0x55a122575783 - as core::ops::function::FnOnce>::call_once::he6690128792365ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 40: 0x55a122575783 - std::sys::unix::thread::Thread::new::thread_start::ha07928d93d5a5ec9 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7f584b375609 - start_thread [INFO] [stdout] 42: 0x7f584b4ca163 - clone [INFO] [stdout] 43: 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 1.09s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2a9ae3f9f8bbb478e57c505ba1dc46fdf3c886a543461dfc9dd18f08f62f9bd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a9ae3f9f8bbb478e57c505ba1dc46fdf3c886a543461dfc9dd18f08f62f9bd9", kill_on_drop: false }` [INFO] [stdout] 2a9ae3f9f8bbb478e57c505ba1dc46fdf3c886a543461dfc9dd18f08f62f9bd9