[INFO] fetching crate xtypes 0.1.0... [INFO] testing xtypes-0.1.0 against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] extracting crate xtypes 0.1.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate xtypes 0.1.0 on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate 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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 51675ba6f78685fbb3bd4a5cb80d2cd3a61fc82118ec39dd9b1f01b0289475a2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "51675ba6f78685fbb3bd4a5cb80d2cd3a61fc82118ec39dd9b1f01b0289475a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51675ba6f78685fbb3bd4a5cb80d2cd3a61fc82118ec39dd9b1f01b0289475a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51675ba6f78685fbb3bd4a5cb80d2cd3a61fc82118ec39dd9b1f01b0289475a2", kill_on_drop: false }` [INFO] [stdout] 51675ba6f78685fbb3bd4a5cb80d2cd3a61fc82118ec39dd9b1f01b0289475a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40f59a2421b094b07204e65d4ab88ebbb6df985ba23d8117dd3db5d5eac47461 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "40f59a2421b094b07204e65d4ab88ebbb6df985ba23d8117dd3db5d5eac47461", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.52 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling quote v0.6.13 [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 24.21s [INFO] running `Command { std: "docker" "inspect" "40f59a2421b094b07204e65d4ab88ebbb6df985ba23d8117dd3db5d5eac47461", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40f59a2421b094b07204e65d4ab88ebbb6df985ba23d8117dd3db5d5eac47461", kill_on_drop: false }` [INFO] [stdout] 40f59a2421b094b07204e65d4ab88ebbb6df985ba23d8117dd3db5d5eac47461 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 281e39b03a3c7eb00ab00b15f7db29a6083ac92768491635b41feb090a3e980c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "281e39b03a3c7eb00ab00b15f7db29a6083ac92768491635b41feb090a3e980c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termios v0.3.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling addr2line v0.14.0 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling console v0.7.7 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling ron v0.4.2 [INFO] [stderr] Compiling serde_yaml v0.8.14 [INFO] [stderr] Compiling chrono v0.4.19 [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 1m 16s [INFO] running `Command { std: "docker" "inspect" "281e39b03a3c7eb00ab00b15f7db29a6083ac92768491635b41feb090a3e980c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "281e39b03a3c7eb00ab00b15f7db29a6083ac92768491635b41feb090a3e980c", kill_on_drop: false }` [INFO] [stdout] 281e39b03a3c7eb00ab00b15f7db29a6083ac92768491635b41feb090a3e980c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e10cf9c346ff069b0357dfe8269582d12ad30fca18e543e87152dda7443e3aa9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e10cf9c346ff069b0357dfe8269582d12ad30fca18e543e87152dda7443e3aa9", 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: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/xtypes-3c5aec109d22cac3 [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] [stdout] test parser::test_parse_sample_1 ... FAILED [INFO] [stdout] test linker::test_load_file_and_imports ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [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: Sun, 29 Nov 2020 08:10:41 +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: Other, 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: insta::snapshot::Snapshot::save [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/insta-0.6.3/src/snapshot.rs:235:44 [INFO] [stdout] 5: 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] 6: xtypes::parser::test_parse_sample_1 [INFO] [stdout] at src/parser.rs:266:5 [INFO] [stdout] 7: xtypes::parser::test_parse_sample_1::{{closure}} [INFO] [stdout] at src/parser.rs:262:1 [INFO] [stdout] 8: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 9: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/ops/function.rs:227:5 [INFO] [stdout] test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/test/src/lib.rs:516:5 [INFO] [stdout] 10: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panic.rs:322:9 [INFO] [stdout] std::panicking::try::do_call [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:379:40 [INFO] [stdout] std::panicking::try [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:343:19 [INFO] [stdout] std::panic::catch_unwind [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panic.rs:396:14 [INFO] [stdout] test::run_test_in_process [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/test/src/lib.rs:538:18 [INFO] [stdout] test::run_test::run_test_inner::{{closure}} [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/test/src/lib.rs:449:39 [INFO] [stdout] 11: std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 12: std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/thread/mod.rs:474:17 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panic.rs:322:9 [INFO] [stdout] std::panicking::try::do_call [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:379:40 [INFO] [stdout] std::panicking::try [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:343:19 [INFO] [stdout] std::panic::catch_unwind [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panic.rs:396:14 [INFO] [stdout] std::thread::Builder::spawn_unchecked::{{closure}} [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/thread/mod.rs:473:30 [INFO] [stdout] core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 13: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 14: start_thread [INFO] [stdout] 15: clone [INFO] [stdout] ', src/parser.rs:266:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x559721fa43e0 - std::backtrace_rs::backtrace::libunwind::trace::h95fc93571932622e [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x559721fa43e0 - std::backtrace_rs::backtrace::trace_unsynchronized::h4d0b90afc33151fd [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x559721fa43e0 - std::sys_common::backtrace::_print_fmt::h93d302d001a3bf01 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x559721fa43e0 - ::fmt::h7881e3a580134f9a [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x559721fca90c - core::fmt::write::h1857a60b204f1b6a [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/fmt/mod.rs:1078:17 [INFO] [stdout] 5: 0x559721f9fd92 - std::io::Write::write_fmt::hd17811b9a5dec54b [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/io/mod.rs:1519:15 [INFO] [stdout] 6: 0x559721fa6c35 - std::sys_common::backtrace::_print::h3e3f9fed81bc11e9 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x559721fa6c35 - std::sys_common::backtrace::print::hd22ac23fed5071c8 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x559721fa6c35 - std::panicking::default_hook::{{closure}}::h1647bdcf68060e17 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x559721fa67c2 - std::panicking::default_hook::hb08853b392b9404b [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x559721fa73d1 - std::panicking::rust_panic_with_hook::h3624ee29da369ede [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:591:17 [INFO] [stdout] 11: 0x559721fa6f17 - std::panicking::begin_panic_handler::{{closure}}::hefcfcedcde6bb6d9 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:497:13 [INFO] [stdout] 12: 0x559721fa489c - std::sys_common::backtrace::__rust_end_short_backtrace::heb130cec93caa706 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x559721fa6e79 - rust_begin_unwind [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:493:5 [INFO] [stdout] 14: 0x559721fc8fe1 - core::panicking::panic_fmt::hb15d6f55e8472f62 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x559721fc8e03 - core::option::expect_none_failed::he492a18657d97593 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/option.rs:1268:5 [INFO] [stdout] 16: 0x559721cf9cd3 - core::result::Result::unwrap::hac6e9db3fa95db1c [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/result.rs:973:23 [INFO] [stdout] 17: 0x559721d0ff7e - xtypes::parser::test_parse_sample_1::hcf0034bab7b27ef7 [INFO] [stdout] at /opt/rustwide/workdir/src/parser.rs:266:5 [INFO] [stdout] 18: 0x559721d0fdaa - xtypes::parser::test_parse_sample_1::{{closure}}::hcc05c0582d5c0b86 [INFO] [stdout] at /opt/rustwide/workdir/src/parser.rs:262:1 [INFO] [stdout] 19: 0x559721d0042e - core::ops::function::FnOnce::call_once::h19350a2790d18696 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x559721f63ed3 - core::ops::function::FnOnce::call_once::h72b3efc134abec04 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x559721f63ed3 - test::__rust_begin_short_backtrace::hf76173a3f44f554b [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/test/src/lib.rs:516:5 [INFO] [stdout] 22: 0x559721f625c8 - as core::ops::function::FnOnce>::call_once::h49f5b686efed1e06 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] 23: 0x559721f625c8 - as core::ops::function::FnOnce<()>>::call_once::h4879f836ca9aaead [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panic.rs:322:9 [INFO] [stdout] 24: 0x559721f625c8 - std::panicking::try::do_call::h9655796ce3021b6c [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:379:40 [INFO] [stdout] 25: 0x559721f625c8 - std::panicking::try::h346508ed448399f4 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:343:19 [INFO] [stdout] 26: 0x559721f625c8 - std::panic::catch_unwind::h00e84f4e9c3caaa0 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panic.rs:396:14 [INFO] [stdout] 27: 0x559721f625c8 - test::run_test_in_process::hc80321f825c30106 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/test/src/lib.rs:538:18 [INFO] [stdout] 28: 0x559721f625c8 - test::run_test::run_test_inner::{{closure}}::h89c217441620999f [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/test/src/lib.rs:449:39 [INFO] [stdout] 29: 0x559721f3cbb6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3852ec0877008db6 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 30: 0x559721f4137d - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h7c7dfff4b938ae67 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/thread/mod.rs:474:17 [INFO] [stdout] 31: 0x559721f4137d - as core::ops::function::FnOnce<()>>::call_once::h8db0dd15c072a403 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panic.rs:322:9 [INFO] [stdout] 32: 0x559721f4137d - std::panicking::try::do_call::haad8639857ae1187 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:379:40 [INFO] [stdout] 33: 0x559721f4137d - std::panicking::try::h61de115e9dce60f6 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:343:19 [INFO] [stdout] 34: 0x559721f4137d - std::panic::catch_unwind::h50601fd82666a838 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panic.rs:396:14 [INFO] [stdout] 35: 0x559721f4137d - std::thread::Builder::spawn_unchecked::{{closure}}::hac267391ef9d21bd [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/thread/mod.rs:473:30 [INFO] [stdout] 36: 0x559721f4137d - core::ops::function::FnOnce::call_once{{vtable.shim}}::heb15d2d9c42706b7 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 37: 0x559721facf1a - as core::ops::function::FnOnce>::call_once::h5446ed3fdb82006e [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] 38: 0x559721facf1a - as core::ops::function::FnOnce>::call_once::h62a21a889329a3f2 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] 39: 0x559721facf1a - std::sys::unix::thread::Thread::new::thread_start::h62402416daf174b6 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 40: 0x7f069d958609 - start_thread [INFO] [stdout] 41: 0x7f069daaf293 - clone [INFO] [stdout] 42: 0x0 - [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: Sun, 29 Nov 2020 08:10:41 +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] thread 'linker::test_load_file_and_imports' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, 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: insta::snapshot::Snapshot::save [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/insta-0.6.3/src/snapshot.rs:235:44 [INFO] [stdout] 5: 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] 6: xtypes::linker::test_load_file_and_imports [INFO] [stdout] at src/linker.rs:57:5 [INFO] [stdout] 7: xtypes::linker::test_load_file_and_imports::{{closure}} [INFO] [stdout] at src/linker.rs:52:1 [INFO] [stdout] 8: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 9: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/ops/function.rs:227:5 [INFO] [stdout] test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/test/src/lib.rs:516:5 [INFO] [stdout] 10: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panic.rs:322:9 [INFO] [stdout] std::panicking::try::do_call [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:379:40 [INFO] [stdout] std::panicking::try [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:343:19 [INFO] [stdout] std::panic::catch_unwind [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panic.rs:396:14 [INFO] [stdout] test::run_test_in_process [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/test/src/lib.rs:538:18 [INFO] [stdout] test::run_test::run_test_inner::{{closure}} [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/test/src/lib.rs:449:39 [INFO] [stdout] 11: std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 12: std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/thread/mod.rs:474:17 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panic.rs:322:9 [INFO] [stdout] std::panicking::try::do_call [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:379:40 [INFO] [stdout] std::panicking::try [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:343:19 [INFO] [stdout] std::panic::catch_unwind [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panic.rs:396:14 [INFO] [stdout] std::thread::Builder::spawn_unchecked::{{closure}} [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/thread/mod.rs:473:30 [INFO] [stdout] core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 13: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 14: start_thread [INFO] [stdout] 15: clone [INFO] [stdout] ', src/linker.rs:57:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x559721fa43e0 - std::backtrace_rs::backtrace::libunwind::trace::h95fc93571932622e [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x559721fa43e0 - std::backtrace_rs::backtrace::trace_unsynchronized::h4d0b90afc33151fd [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x559721fa43e0 - std::sys_common::backtrace::_print_fmt::h93d302d001a3bf01 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x559721fa43e0 - ::fmt::h7881e3a580134f9a [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x559721fca90c - core::fmt::write::h1857a60b204f1b6a [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/fmt/mod.rs:1078:17 [INFO] [stdout] 5: 0x559721f9fd92 - std::io::Write::write_fmt::hd17811b9a5dec54b [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/io/mod.rs:1519:15 [INFO] [stdout] 6: 0x559721fa6c35 - std::sys_common::backtrace::_print::h3e3f9fed81bc11e9 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x559721fa6c35 - std::sys_common::backtrace::print::hd22ac23fed5071c8 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x559721fa6c35 - std::panicking::default_hook::{{closure}}::h1647bdcf68060e17 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x559721fa67c2 - std::panicking::default_hook::hb08853b392b9404b [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x559721fa73d1 - std::panicking::rust_panic_with_hook::h3624ee29da369ede [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:591:17 [INFO] [stdout] 11: 0x559721fa6f17 - std::panicking::begin_panic_handler::{{closure}}::hefcfcedcde6bb6d9 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:497:13 [INFO] [stdout] 12: 0x559721fa489c - std::sys_common::backtrace::__rust_end_short_backtrace::heb130cec93caa706 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x559721fa6e79 - rust_begin_unwind [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:493:5 [INFO] [stdout] 14: 0x559721fc8fe1 - core::panicking::panic_fmt::hb15d6f55e8472f62 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x559721fc8e03 - core::option::expect_none_failed::he492a18657d97593 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/option.rs:1268:5 [INFO] [stdout] 16: 0x559721cf9cd3 - core::result::Result::unwrap::hac6e9db3fa95db1c [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/result.rs:973:23 [INFO] [stdout] 17: 0x559721d0348a - xtypes::linker::test_load_file_and_imports::h38af453fa65f5813 [INFO] [stdout] at /opt/rustwide/workdir/src/linker.rs:57:5 [INFO] [stdout] 18: 0x559721d031ea - xtypes::linker::test_load_file_and_imports::{{closure}}::h4d21acc7bbc457de [INFO] [stdout] at /opt/rustwide/workdir/src/linker.rs:52:1 [INFO] [stdout] 19: 0x559721d0049e - core::ops::function::FnOnce::call_once::h5ba141b4b6346072 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x559721f63ed3 - core::ops::function::FnOnce::call_once::h72b3efc134abec04 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x559721f63ed3 - test::__rust_begin_short_backtrace::hf76173a3f44f554b [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/test/src/lib.rs:516:5 [INFO] [stdout] 22: 0x559721f625c8 - as core::ops::function::FnOnce>::call_once::h49f5b686efed1e06 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] 23: 0x559721f625c8 - as core::ops::function::FnOnce<()>>::call_once::h4879f836ca9aaead [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panic.rs:322:9 [INFO] [stdout] 24: 0x559721f625c8 - std::panicking::try::do_call::h9655796ce3021b6c [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:379:40 [INFO] [stdout] 25: 0x559721f625c8 - std::panicking::try::h346508ed448399f4 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:343:19 [INFO] [stdout] 26: 0x559721f625c8 - std::panic::catch_unwind::h00e84f4e9c3caaa0 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panic.rs:396:14 [INFO] [stdout] 27: 0x559721f625c8 - test::run_test_in_process::hc80321f825c30106 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/test/src/lib.rs:538:18 [INFO] [stdout] 28: 0x559721f625c8 - test::run_test::run_test_inner::{{closure}}::h89c217441620999f [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/test/src/lib.rs:449:39 [INFO] [stdout] 29: 0x559721f3cbb6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3852ec0877008db6 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 30: 0x559721f4137d - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h7c7dfff4b938ae67 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/thread/mod.rs:474:17 [INFO] [stdout] 31: 0x559721f4137d - as core::ops::function::FnOnce<()>>::call_once::h8db0dd15c072a403 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panic.rs:322:9 [INFO] [stdout] 32: 0x559721f4137d - std::panicking::try::do_call::haad8639857ae1187 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:379:40 [INFO] [stdout] 33: 0x559721f4137d - std::panicking::try::h61de115e9dce60f6 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:343:19 [INFO] [stdout] 34: 0x559721f4137d - std::panic::catch_unwind::h50601fd82666a838 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panic.rs:396:14 [INFO] [stdout] 35: 0x559721f4137d - std::thread::Builder::spawn_unchecked::{{closure}}::hac267391ef9d21bd [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/thread/mod.rs:473:30 [INFO] [stdout] 36: 0x559721f4137d - core::ops::function::FnOnce::call_once{{vtable.shim}}::heb15d2d9c42706b7 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 37: 0x559721facf1a - as core::ops::function::FnOnce>::call_once::h5446ed3fdb82006e [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] 38: 0x559721facf1a - as core::ops::function::FnOnce>::call_once::h62a21a889329a3f2 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] 39: 0x559721facf1a - std::sys::unix::thread::Thread::new::thread_start::h62402416daf174b6 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 40: 0x7f069d958609 - start_thread [INFO] [stdout] 41: 0x7f069daaf293 - clone [INFO] [stdout] 42: 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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e10cf9c346ff069b0357dfe8269582d12ad30fca18e543e87152dda7443e3aa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e10cf9c346ff069b0357dfe8269582d12ad30fca18e543e87152dda7443e3aa9", kill_on_drop: false }` [INFO] [stdout] e10cf9c346ff069b0357dfe8269582d12ad30fca18e543e87152dda7443e3aa9