[INFO] crate xtypes 0.1.0 is already in cache [INFO] testing xtypes-0.1.0 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate xtypes 0.1.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate xtypes 0.1.0 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7933ba5300f63e00806e71f998e7b7e71be469b5c341ff6eee703c8902f22a94 [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" "7933ba5300f63e00806e71f998e7b7e71be469b5c341ff6eee703c8902f22a94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7933ba5300f63e00806e71f998e7b7e71be469b5c341ff6eee703c8902f22a94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7933ba5300f63e00806e71f998e7b7e71be469b5c341ff6eee703c8902f22a94", kill_on_drop: false }` [INFO] [stdout] 7933ba5300f63e00806e71f998e7b7e71be469b5c341ff6eee703c8902f22a94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f6c26ed0e5712f3b62dc9ccaa9ae21838995f8e510f88317928e1114f55089c6 [INFO] running `Command { std: "docker" "start" "-a" "f6c26ed0e5712f3b62dc9ccaa9ae21838995f8e510f88317928e1114f55089c6", kill_on_drop: false }` [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.15.44 [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 23.49s [INFO] running `Command { std: "docker" "inspect" "f6c26ed0e5712f3b62dc9ccaa9ae21838995f8e510f88317928e1114f55089c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6c26ed0e5712f3b62dc9ccaa9ae21838995f8e510f88317928e1114f55089c6", kill_on_drop: false }` [INFO] [stdout] f6c26ed0e5712f3b62dc9ccaa9ae21838995f8e510f88317928e1114f55089c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 528f6a63ce79f04a33570a5d2c151ed54acce0ee941e3d4e67b2335f834e23c0 [INFO] running `Command { std: "docker" "start" "-a" "528f6a63ce79f04a33570a5d2c151ed54acce0ee941e3d4e67b2335f834e23c0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling ci_info v0.3.1 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termios v0.3.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling yaml-rust v0.4.4 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling console v0.7.7 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling ron v0.4.2 [INFO] [stderr] Compiling serde_yaml v0.8.13 [INFO] [stderr] Compiling serde_json v1.0.56 [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 08s [INFO] running `Command { std: "docker" "inspect" "528f6a63ce79f04a33570a5d2c151ed54acce0ee941e3d4e67b2335f834e23c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "528f6a63ce79f04a33570a5d2c151ed54acce0ee941e3d4e67b2335f834e23c0", kill_on_drop: false }` [INFO] [stdout] 528f6a63ce79f04a33570a5d2c151ed54acce0ee941e3d4e67b2335f834e23c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b0a734707fedbcaed78ad8f7609ac062e71562be45940a25c2a71b77f840ca1d [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" "b0a734707fedbcaed78ad8f7609ac062e71562be45940a25c2a71b77f840ca1d", 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.18s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/xtypes-f2608e9acc030408 [INFO] [stdout] [INFO] [stdout] running 2 tests [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: Sat, 25 Jul 2020 13:48:14 +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 [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 [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 [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 [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 [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 [INFO] [stdout] 6: xtypes::parser::test_parse_sample_1 [INFO] [stdout] at src/parser.rs:266 [INFO] [stdout] 7: xtypes::parser::test_parse_sample_1::{{closure}} [INFO] [stdout] at src/parser.rs:262 [INFO] [stdout] 8: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/ops/function.rs:233 [INFO] [stdout] 9: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:318 [INFO] [stdout] std::panicking::try::do_call [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:348 [INFO] [stdout] std::panicking::try [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:325 [INFO] [stdout] std::panic::catch_unwind [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:394 [INFO] [stdout] test::run_test_in_process [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libtest/lib.rs:541 [INFO] [stdout] test::run_test::run_test_inner::{{closure}} [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libtest/lib.rs:450 [INFO] [stdout] 10: std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 11: std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/thread/mod.rs:475 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:318 [INFO] [stdout] std::panicking::try::do_call [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:348 [INFO] [stdout] std::panicking::try [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:325 [INFO] [stdout] std::panic::catch_unwind [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:394 [INFO] [stdout] std::thread::Builder::spawn_unchecked::{{closure}} [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/thread/mod.rs:474 [INFO] [stdout] core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/ops/function.rs:233 [INFO] [stdout] 12: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 13: start_thread [INFO] [stdout] 14: clone [INFO] [stdout] ', src/parser.rs:266:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5575b42fe3b5 - backtrace::backtrace::libunwind::trace::hea89dfbbfe67f40d [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x5575b42fe3b5 - backtrace::backtrace::trace_unsynchronized::h0513dd713d7644d4 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x5575b42fe3b5 - std::sys_common::backtrace::_print_fmt::h040abae64e4a24a9 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x5575b42fe3b5 - ::fmt::hb4bdb37c3c335733 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x5575b4328bcc - core::fmt::write::h540ac4a6a1232abc [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x5575b42a3185 - std::io::Write::write_fmt::h4be0daababb55bba [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/io/mod.rs:1539 [INFO] [stdout] 6: 0x5575b42f7dc1 - std::io::impls::>::write_fmt::h83c1e1aa73f374f5 [INFO] [stdout] at src/libstd/io/impls.rs:176 [INFO] [stdout] 7: 0x5575b4300b30 - std::sys_common::backtrace::_print::hb55cc635eaf1882e [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x5575b4300b30 - std::sys_common::backtrace::print::h2b2218fa55714084 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x5575b4300b30 - std::panicking::default_hook::{{closure}}::h578517c025765cf3 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x5575b430082a - std::panicking::default_hook::h4cafc94c2fc640fb [INFO] [stdout] at src/libstd/panicking.rs:214 [INFO] [stdout] 11: 0x5575b4301173 - std::panicking::rust_panic_with_hook::h3eeb5001beeca5c3 [INFO] [stdout] at src/libstd/panicking.rs:526 [INFO] [stdout] 12: 0x5575b4300d6b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:437 [INFO] [stdout] 13: 0x5575b43272b1 - core::panicking::panic_fmt::h78830ea6a34e7206 [INFO] [stdout] at src/libcore/panicking.rs:85 [INFO] [stdout] 14: 0x5575b43270d3 - core::option::expect_none_failed::hf79bbb5ca7e09e08 [INFO] [stdout] at src/libcore/option.rs:1269 [INFO] [stdout] 15: 0x5575b406e0f3 - core::result::Result::unwrap::hef7ba5f814302f57 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x5575b406209e - xtypes::parser::test_parse_sample_1::h3da16822f9bac978 [INFO] [stdout] at src/parser.rs:266 [INFO] [stdout] 17: 0x5575b4061e8a - xtypes::parser::test_parse_sample_1::{{closure}}::h0871d0c3a4db317e [INFO] [stdout] at src/parser.rs:262 [INFO] [stdout] 18: 0x5575b4063fce - core::ops::function::FnOnce::call_once::hee2bc5dd5c49ae70 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/ops/function.rs:233 [INFO] [stdout] 19: 0x5575b42ca6fc - as core::ops::function::FnOnce>::call_once::h8340ba6798e0c4ff [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 20: 0x5575b42ca6fc - as core::ops::function::FnOnce<()>>::call_once::h5590e98676605094 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x5575b42ca6fc - std::panicking::try::do_call::hd8680a2dbb0ed3c4 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:348 [INFO] [stdout] 22: 0x5575b42ca6fc - std::panicking::try::h46b4de2d705e7a8d [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:325 [INFO] [stdout] 23: 0x5575b42ca6fc - std::panic::catch_unwind::h059b3f06991e0a9c [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x5575b42ca6fc - test::run_test_in_process::h5ae08a65430494a4 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x5575b42ca6fc - test::run_test::run_test_inner::{{closure}}::h4b36073838376ae8 [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x5575b42a2676 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0169d0be588b8bf0 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x5575b42a7665 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h71bfc37e887d3973 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x5575b42a7665 - as core::ops::function::FnOnce<()>>::call_once::h36c65072907dc180 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x5575b42a7665 - std::panicking::try::do_call::h4e0f426e17cd216c [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:348 [INFO] [stdout] 30: 0x5575b42a7665 - std::panicking::try::hd05e4ef6b4303d29 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:325 [INFO] [stdout] 31: 0x5575b42a7665 - std::panic::catch_unwind::h19a1127ec729c5dd [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x5575b42a7665 - std::thread::Builder::spawn_unchecked::{{closure}}::h011300735f06b1e2 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x5575b42a7665 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1e3c55f31f1d122e [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/ops/function.rs:233 [INFO] [stdout] 34: 0x5575b4307b9a - as core::ops::function::FnOnce>::call_once::hc0e15d78a519721e [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 35: 0x5575b4307b9a - as core::ops::function::FnOnce>::call_once::h211da8fffb09f192 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 36: 0x5575b4307b9a - std::sys::unix::thread::Thread::new::thread_start::h29594ddebf23e421 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7f06bd16e609 - start_thread [INFO] [stdout] 38: 0x7f06bd2b0103 - __clone [INFO] [stdout] 39: 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: Sat, 25 Jul 2020 13:48:14 +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 [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 [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 [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 [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 [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 [INFO] [stdout] 6: xtypes::linker::test_load_file_and_imports [INFO] [stdout] at src/linker.rs:57 [INFO] [stdout] 7: xtypes::linker::test_load_file_and_imports::{{closure}} [INFO] [stdout] at src/linker.rs:52 [INFO] [stdout] 8: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/ops/function.rs:233 [INFO] [stdout] 9: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:318 [INFO] [stdout] std::panicking::try::do_call [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:348 [INFO] [stdout] std::panicking::try [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:325 [INFO] [stdout] std::panic::catch_unwind [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:394 [INFO] [stdout] test::run_test_in_process [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libtest/lib.rs:541 [INFO] [stdout] test::run_test::run_test_inner::{{closure}} [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libtest/lib.rs:450 [INFO] [stdout] 10: std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 11: std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/thread/mod.rs:475 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:318 [INFO] [stdout] std::panicking::try::do_call [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:348 [INFO] [stdout] std::panicking::try [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:325 [INFO] [stdout] std::panic::catch_unwind [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:394 [INFO] [stdout] std::thread::Builder::spawn_unchecked::{{closure}} [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/thread/mod.rs:474 [INFO] [stdout] core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/ops/function.rs:233 [INFO] [stdout] 12: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 13: start_thread [INFO] [stdout] 14: clone [INFO] [stdout] ', src/linker.rs:57:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5575b42fe3b5 - backtrace::backtrace::libunwind::trace::hea89dfbbfe67f40d [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x5575b42fe3b5 - backtrace::backtrace::trace_unsynchronized::h0513dd713d7644d4 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x5575b42fe3b5 - std::sys_common::backtrace::_print_fmt::h040abae64e4a24a9 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x5575b42fe3b5 - ::fmt::hb4bdb37c3c335733 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x5575b4328bcc - core::fmt::write::h540ac4a6a1232abc [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x5575b42a3185 - std::io::Write::write_fmt::h4be0daababb55bba [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/io/mod.rs:1539 [INFO] [stdout] 6: 0x5575b42f7dc1 - std::io::impls::>::write_fmt::h83c1e1aa73f374f5 [INFO] [stdout] at src/libstd/io/impls.rs:176 [INFO] [stdout] 7: 0x5575b4300b30 - std::sys_common::backtrace::_print::hb55cc635eaf1882e [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x5575b4300b30 - std::sys_common::backtrace::print::h2b2218fa55714084 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x5575b4300b30 - std::panicking::default_hook::{{closure}}::h578517c025765cf3 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x5575b430082a - std::panicking::default_hook::h4cafc94c2fc640fb [INFO] [stdout] at src/libstd/panicking.rs:214 [INFO] [stdout] 11: 0x5575b4301173 - std::panicking::rust_panic_with_hook::h3eeb5001beeca5c3 [INFO] [stdout] at src/libstd/panicking.rs:526 [INFO] [stdout] 12: 0x5575b4300d6b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:437 [INFO] [stdout] 13: 0x5575b43272b1 - core::panicking::panic_fmt::h78830ea6a34e7206 [INFO] [stdout] at src/libcore/panicking.rs:85 [INFO] [stdout] 14: 0x5575b43270d3 - core::option::expect_none_failed::hf79bbb5ca7e09e08 [INFO] [stdout] at src/libcore/option.rs:1269 [INFO] [stdout] 15: 0x5575b406e0f3 - core::result::Result::unwrap::hef7ba5f814302f57 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x5575b4066eb3 - xtypes::linker::test_load_file_and_imports::hdbb65a4d545f669d [INFO] [stdout] at src/linker.rs:57 [INFO] [stdout] 17: 0x5575b4066bba - xtypes::linker::test_load_file_and_imports::{{closure}}::h6ff0349f2cfd2b47 [INFO] [stdout] at src/linker.rs:52 [INFO] [stdout] 18: 0x5575b4063f5e - core::ops::function::FnOnce::call_once::h60bcb55d78e95053 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/ops/function.rs:233 [INFO] [stdout] 19: 0x5575b42ca6fc - as core::ops::function::FnOnce>::call_once::h8340ba6798e0c4ff [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 20: 0x5575b42ca6fc - as core::ops::function::FnOnce<()>>::call_once::h5590e98676605094 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x5575b42ca6fc - std::panicking::try::do_call::hd8680a2dbb0ed3c4 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:348 [INFO] [stdout] 22: 0x5575b42ca6fc - std::panicking::try::h46b4de2d705e7a8d [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:325 [INFO] [stdout] 23: 0x5575b42ca6fc - std::panic::catch_unwind::h059b3f06991e0a9c [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x5575b42ca6fc - test::run_test_in_process::h5ae08a65430494a4 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x5575b42ca6fc - test::run_test::run_test_inner::{{closure}}::h4b36073838376ae8 [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x5575b42a2676 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0169d0be588b8bf0 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x5575b42a7665 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h71bfc37e887d3973 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x5575b42a7665 - as core::ops::function::FnOnce<()>>::call_once::h36c65072907dc180 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x5575b42a7665 - std::panicking::try::do_call::h4e0f426e17cd216c [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:348 [INFO] [stdout] 30: 0x5575b42a7665 - std::panicking::try::hd05e4ef6b4303d29 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:325 [INFO] [stdout] 31: 0x5575b42a7665 - std::panic::catch_unwind::h19a1127ec729c5dd [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x5575b42a7665 - std::thread::Builder::spawn_unchecked::{{closure}}::h011300735f06b1e2 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x5575b42a7665 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1e3c55f31f1d122e [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/ops/function.rs:233 [INFO] [stdout] 34: 0x5575b4307b9a - as core::ops::function::FnOnce>::call_once::hc0e15d78a519721e [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 35: 0x5575b4307b9a - as core::ops::function::FnOnce>::call_once::h211da8fffb09f192 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 36: 0x5575b4307b9a - std::sys::unix::thread::Thread::new::thread_start::h29594ddebf23e421 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7f06bd16e609 - start_thread [INFO] [stdout] 38: 0x7f06bd2b0103 - __clone [INFO] [stdout] 39: 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] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "b0a734707fedbcaed78ad8f7609ac062e71562be45940a25c2a71b77f840ca1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0a734707fedbcaed78ad8f7609ac062e71562be45940a25c2a71b77f840ca1d", kill_on_drop: false }` [INFO] [stdout] b0a734707fedbcaed78ad8f7609ac062e71562be45940a25c2a71b77f840ca1d