[INFO] fetching crate xtypes 0.1.0... [INFO] testing xtypes-0.1.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate xtypes 0.1.0 into /workspace/builds/worker-29/source [INFO] validating manifest of crates.io crate xtypes 0.1.0 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate xtypes 0.1.0 [INFO] finished tweaking crates.io crate xtypes 0.1.0 [INFO] tweaked toml for crates.io crate xtypes 0.1.0 written to /workspace/builds/worker-29/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded insta v0.6.3 [INFO] [stderr] Downloaded console v0.7.7 [INFO] [stderr] Downloaded ron v0.4.2 [INFO] [stderr] Downloaded ci_info v0.3.1 [INFO] [stderr] Downloaded jens v0.6.0 [INFO] [stderr] Downloaded jens_derive v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65fd7328447224148b8767893ef637570b7783ec4632cc218838a4a0a21e46c7 [INFO] running `Command { std: "docker" "start" "-a" "65fd7328447224148b8767893ef637570b7783ec4632cc218838a4a0a21e46c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65fd7328447224148b8767893ef637570b7783ec4632cc218838a4a0a21e46c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65fd7328447224148b8767893ef637570b7783ec4632cc218838a4a0a21e46c7", kill_on_drop: false }` [INFO] [stdout] 65fd7328447224148b8767893ef637570b7783ec4632cc218838a4a0a21e46c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c87fd2bf906f7fb58a306f0b30623fca178d1b1540027ae8d11599f60365e5de [INFO] running `Command { std: "docker" "start" "-a" "c87fd2bf906f7fb58a306f0b30623fca178d1b1540027ae8d11599f60365e5de", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling maplit v1.0.2 [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 pest v2.1.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling jens v0.6.0 [INFO] [stderr] Compiling jens_derive v0.6.0 [INFO] [stderr] Compiling xtypes v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.17s [INFO] running `Command { std: "docker" "inspect" "c87fd2bf906f7fb58a306f0b30623fca178d1b1540027ae8d11599f60365e5de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c87fd2bf906f7fb58a306f0b30623fca178d1b1540027ae8d11599f60365e5de", kill_on_drop: false }` [INFO] [stdout] c87fd2bf906f7fb58a306f0b30623fca178d1b1540027ae8d11599f60365e5de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01058855b509c1b6cbee06a38e9ed066cf200cfb06af5bae9d0a7e3d539dc682 [INFO] running `Command { std: "docker" "start" "-a" "01058855b509c1b6cbee06a38e9ed066cf200cfb06af5bae9d0a7e3d539dc682", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling ci_info v0.3.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling termios v0.3.3 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling console v0.7.7 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_yaml v0.8.23 [INFO] [stderr] Compiling ron v0.4.2 [INFO] [stderr] Compiling 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 12.11s [INFO] running `Command { std: "docker" "inspect" "01058855b509c1b6cbee06a38e9ed066cf200cfb06af5bae9d0a7e3d539dc682", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01058855b509c1b6cbee06a38e9ed066cf200cfb06af5bae9d0a7e3d539dc682", kill_on_drop: false }` [INFO] [stdout] 01058855b509c1b6cbee06a38e9ed066cf200cfb06af5bae9d0a7e3d539dc682 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ecd76a545bac5747120a54c80aec4daf3a1632299fe1e6321fb849c363ec22a3 [INFO] running `Command { std: "docker" "start" "-a" "ecd76a545bac5747120a54c80aec4daf3a1632299fe1e6321fb849c363ec22a3", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `modules` [INFO] [stderr] --> src/linker.rs:56:9 [INFO] [stderr] | [INFO] [stderr] 56 | let modules = load_file_and_imports(file_path, &mut files); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modules` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `xtypes` (lib test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/xtypes-e1e52d03c42281e2) [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: Sun, 27 Feb 2022 07:36:11 +0000 [INFO] [stdout] [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] file [INFO] [stdout] ──────┬───────────────────────────────────────────────────────────────────────── [INFO] [stdout] 3 │ name: "Sample.Test", [INFO] [stdout] 4 │ attrs: [ [INFO] [stdout] 5 │ Attribute { [INFO] [stdout] 6 │ name: "output", [INFO] [stdout] 7 │- value: "/sample/test/somefile.txt" [INFO] [stdout] 8 │- } [INFO] [stdout] 9 │- ] [INFO] [stdout] 10 │+ value: "/sample/test/somefile.txt", [INFO] [stdout] 11 │+ }, [INFO] [stdout] 12 │+ ], [INFO] [stdout] 13 │ }, [INFO] [stdout] 14 │ imports: [ [INFO] [stdout] 15 │ ModuleImport { [INFO] [stdout] 16 │ path: "./prelude.xt", [INFO] [stdout] 17 │- attrs: [] [INFO] [stdout] 18 │- } [INFO] [stdout] 19 │+ attrs: [], [INFO] [stdout] 20 │+ }, [INFO] [stdout] 21 │ ], [INFO] [stdout] 22 │ messages: [ [INFO] [stdout] 23 │ Message { [INFO] [stdout] 24 │ name: "EnumSample", [INFO] [stdout] 25 │ attrs: [ [INFO] [stdout] 26 │ Attribute { [INFO] [stdout] 27 │ name: "doc", [INFO] [stdout] 28 │- value: "This message could be one of three shapes" [INFO] [stdout] 29 │- } [INFO] [stdout] 30 │+ value: "This message could be one of three shapes", [INFO] [stdout] 31 │+ }, [INFO] [stdout] 32 │ ], [INFO] [stdout] 33 │ value: Enum( [INFO] [stdout] 34 │ EnumMessage { [INFO] [stdout] 35 │ variants: [ [INFO] [stdout] 36 │ EnumVariant { [INFO] [stdout] 37 │ name: "One", [INFO] [stdout] 38 │ attrs: [ [INFO] [stdout] 39 │ Attribute { [INFO] [stdout] 40 │ name: "thing.stuff", [INFO] [stdout] 41 │- value: "xyz" [INFO] [stdout] 42 │+ value: "xyz", [INFO] [stdout] 43 │ }, [INFO] [stdout] 44 │ Attribute { [INFO] [stdout] 45 │ name: "json.tag", [INFO] [stdout] 46 │- value: "A" [INFO] [stdout] 47 │- } [INFO] [stdout] 48 │+ value: "A", [INFO] [stdout] 49 │+ }, [INFO] [stdout] 50 │ ], [INFO] [stdout] 51 │- content: None [INFO] [stdout] 52 │+ content: None, [INFO] [stdout] 53 │ }, [INFO] [stdout] 54 │ EnumVariant { [INFO] [stdout] 55 │ name: "Two", [INFO] [stdout] 56 │ attrs: [ [INFO] [stdout] 57 │ Attribute { [INFO] [stdout] 58 │ name: "blah", [INFO] [stdout] 59 │- value: "X" [INFO] [stdout] 60 │- } [INFO] [stdout] 61 │+ value: "X", [INFO] [stdout] 62 │+ }, [INFO] [stdout] 63 │ ], [INFO] [stdout] 64 │ content: Some( [INFO] [stdout] 65 │ Tuple( [INFO] [stdout] 66 │ [ [INFO] [stdout] 67 │ "StructSample", [INFO] [stdout] 68 │- "Boolean" [INFO] [stdout] 69 │- ] [INFO] [stdout] 70 │- ) [INFO] [stdout] 71 │- ) [INFO] [stdout] 72 │+ "Boolean", [INFO] [stdout] 73 │+ ], [INFO] [stdout] 74 │+ ), [INFO] [stdout] 75 │+ ), [INFO] [stdout] 76 │ }, [INFO] [stdout] 77 │ EnumVariant { [INFO] [stdout] 78 │ name: "Three", [INFO] [stdout] 79 │ attrs: [], [INFO] [stdout] 80 │- content: None [INFO] [stdout] 81 │- } [INFO] [stdout] 82 │- ] [INFO] [stdout] 83 │- } [INFO] [stdout] 84 │- ) [INFO] [stdout] 85 │+ content: None, [INFO] [stdout] 86 │+ }, [INFO] [stdout] 87 │+ ], [INFO] [stdout] 88 │+ }, [INFO] [stdout] 89 │+ ), [INFO] [stdout] 90 │ }, [INFO] [stdout] 91 │ Message { [INFO] [stdout] 92 │ name: "StructSample", [INFO] [stdout] 93 │ attrs: [ [INFO] [stdout] 94 │ Attribute { [INFO] [stdout] 95 │ name: "doc", [INFO] [stdout] 96 │- value: "Example of a struct/record type" [INFO] [stdout] 97 │+ value: "Example of a struct/record type", [INFO] [stdout] 98 │ }, [INFO] [stdout] 99 │ Attribute { [INFO] [stdout] 100 │ name: "http.method", [INFO] [stdout] 101 │- value: "GET" [INFO] [stdout] 102 │- } [INFO] [stdout] 103 │+ value: "GET", [INFO] [stdout] 104 │+ }, [INFO] [stdout] 105 │ ], [INFO] [stdout] 106 │ value: Struct( [INFO] [stdout] 107 │ StructMessage { [INFO] [stdout] 108 │ fields: [ [INFO] [stdout] 109 │ StructField { [INFO] [stdout] 112 │ "Thing", [INFO] [stdout] 113 │ Generic( [INFO] [stdout] 114 │ "Array", [INFO] [stdout] 115 │ Concrete( [INFO] [stdout] 116 │- "string" [INFO] [stdout] 117 │- ) [INFO] [stdout] 118 │- ) [INFO] [stdout] 119 │+ "string", [INFO] [stdout] 120 │+ ), [INFO] [stdout] 121 │+ ), [INFO] [stdout] 122 │ ), [INFO] [stdout] 123 │ is_optional: false, [INFO] [stdout] 124 │ attrs: [ [INFO] [stdout] 125 │ Attribute { [INFO] [stdout] 126 │ name: "json.key", [INFO] [stdout] 127 │- value: "X" [INFO] [stdout] 128 │- } [INFO] [stdout] 129 │- ] [INFO] [stdout] 130 │+ value: "X", [INFO] [stdout] 131 │+ }, [INFO] [stdout] 132 │+ ], [INFO] [stdout] 133 │ }, [INFO] [stdout] 134 │ StructField { [INFO] [stdout] 135 │ name: "optional_field", [INFO] [stdout] 136 │ type_name: Concrete( [INFO] [stdout] 137 │- "type" [INFO] [stdout] 138 │+ "type", [INFO] [stdout] 139 │ ), [INFO] [stdout] 140 │ is_optional: true, [INFO] [stdout] 141 │ attrs: [ [INFO] [stdout] 142 │ Attribute { [INFO] [stdout] 143 │ name: "json.key", [INFO] [stdout] 144 │- value: "Y" [INFO] [stdout] 145 │- } [INFO] [stdout] 146 │- ] [INFO] [stdout] 147 │- } [INFO] [stdout] 148 │- ] [INFO] [stdout] 149 │- } [INFO] [stdout] 150 │- ) [INFO] [stdout] 151 │- } [INFO] [stdout] 152 │- ] [INFO] [stdout] 153 │+ value: "Y", [INFO] [stdout] 154 │+ }, [INFO] [stdout] 155 │+ ], [INFO] [stdout] 156 │+ }, [INFO] [stdout] 157 │+ ], [INFO] [stdout] 158 │+ }, [INFO] [stdout] 159 │+ ), [INFO] [stdout] 160 │+ }, [INFO] [stdout] 161 │+ ], [INFO] [stdout] 162 │ } [INFO] [stdout] ──────┴───────────────────────────────────────────────────────────────────────── [INFO] [stdout] To update snapshots run `cargo insta review` [INFO] [stdout] thread 'parser::test_parse_sample_1' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] [INFO] [stdout] 0: failure::backtrace::internal::InternalBacktrace::new [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/failure-0.1.8/src/backtrace/internal.rs:46:44 [INFO] [stdout] 1: failure::backtrace::Backtrace::new [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/failure-0.1.8/src/backtrace/mod.rs:121:35 [INFO] [stdout] 2: >::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/failure-0.1.8/src/error/error_impl.rs:19:17 [INFO] [stdout] 3: >::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/failure-0.1.8/src/error/mod.rs:36:18 [INFO] [stdout] 4: as core::ops::try_trait::FromResidual>>::from_residual [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/result.rs:2005:27 [INFO] [stdout] 5: insta::snapshot::Snapshot::save [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/insta-0.6.3/src/snapshot.rs:235:21 [INFO] [stdout] 6: insta::runtime::assert_snapshot [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/insta-0.6.3/src/runtime.rs:442:17 [INFO] [stdout] 7: xtypes::parser::test_parse_sample_1 [INFO] [stdout] at src/parser.rs:266:5 [INFO] [stdout] 8: xtypes::parser::test_parse_sample_1::{{closure}} [INFO] [stdout] at src/parser.rs:262:1 [INFO] [stdout] 9: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 10: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:574:5 [INFO] [stdout] 11: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] std::panicking::try::do_call [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:406:40 [INFO] [stdout] std::panicking::try [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:370:19 [INFO] [stdout] std::panic::catch_unwind [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panic.rs:133:14 [INFO] [stdout] test::run_test_in_process [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:597:18 [INFO] [stdout] test::run_test::run_test_inner::{{closure}} [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:491:39 [INFO] [stdout] 12: test::run_test::run_test_inner::{{closure}} [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:518:37 [INFO] [stdout] std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 13: std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/thread/mod.rs:477:17 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] std::panicking::try::do_call [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:406:40 [INFO] [stdout] std::panicking::try [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:370:19 [INFO] [stdout] std::panic::catch_unwind [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panic.rs:133:14 [INFO] [stdout] std::thread::Builder::spawn_unchecked::{{closure}} [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/thread/mod.rs:476:30 [INFO] [stdout] core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 14: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 15: start_thread [INFO] [stdout] 16: clone [INFO] [stdout] ', src/parser.rs:266:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x558d4e77a41c - std::backtrace_rs::backtrace::libunwind::trace::h91c465e73bf6c785 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x558d4e77a41c - std::backtrace_rs::backtrace::trace_unsynchronized::hae9da36f5d58b5f3 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x558d4e77a41c - std::sys_common::backtrace::_print_fmt::h7f499fa126a7effb [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x558d4e77a41c - ::fmt::h3e2b509ce2ce6007 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x558d4e7a219c - core::fmt::write::h753c7571fa063ecb [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/fmt/mod.rs:1168:17 [INFO] [stdout] 5: 0x558d4e774d43 - std::io::Write::write_fmt::hb649ab67f71b6655 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/io/mod.rs:1660:15 [INFO] [stdout] 6: 0x558d4e77caf2 - std::sys_common::backtrace::_print::h64941a6fc8b0ed9b [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x558d4e77caf2 - std::sys_common::backtrace::print::hcf25e43e1a9b0766 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x558d4e77caf2 - std::panicking::default_hook::{{closure}}::h78d3e6cf97fc623d [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x558d4e77c741 - std::panicking::default_hook::hda898f8d3ad1a5ae [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x558d4e77d143 - std::panicking::rust_panic_with_hook::h1a5ea2d6c23051aa [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x558d4e77ce60 - std::panicking::begin_panic_handler::{{closure}}::h07f549390938b73f [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x558d4e77a8c4 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ec3758a92cfb00d [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x558d4e77cb99 - rust_begin_unwind [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x558d4e4b7321 - core::panicking::panic_fmt::h3a79a6a99affe1d5 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panicking.rs:116:14 [INFO] [stdout] 15: 0x558d4e4b7413 - core::result::unwrap_failed::ha0327e3803285d6e [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/result.rs:1690:5 [INFO] [stdout] 16: 0x558d4e4ca998 - core::result::Result::unwrap::hdbb77d032adf9e02 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/result.rs:1018:23 [INFO] [stdout] 17: 0x558d4e4e69e9 - xtypes::parser::test_parse_sample_1::h672076930463ac5b [INFO] [stdout] at /opt/rustwide/workdir/src/parser.rs:266:5 [INFO] [stdout] 18: 0x558d4e4e67ca - xtypes::parser::test_parse_sample_1::{{closure}}::hbf61b6860a52af8b [INFO] [stdout] at /opt/rustwide/workdir/src/parser.rs:262:1 [INFO] [stdout] 19: 0x558d4e4d522e - core::ops::function::FnOnce::call_once::hd3a6249191cfce71 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x558d4e73da43 - core::ops::function::FnOnce::call_once::h1845a80638abc06e [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x558d4e73da43 - test::__rust_begin_short_backtrace::h4f56ccea01b9889f [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:574:5 [INFO] [stdout] 22: 0x558d4e73c72f - as core::ops::function::FnOnce>::call_once::h5afedf14a39ffa74 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 23: 0x558d4e73c72f - as core::ops::function::FnOnce<()>>::call_once::hd5aaa1b551e9ce71 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x558d4e73c72f - std::panicking::try::do_call::h316eebee63f96d32 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:406:40 [INFO] [stdout] 25: 0x558d4e73c72f - std::panicking::try::h662e31e84dd7ce52 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:370:19 [INFO] [stdout] 26: 0x558d4e73c72f - std::panic::catch_unwind::h129c1b23f076663f [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panic.rs:133:14 [INFO] [stdout] 27: 0x558d4e73c72f - test::run_test_in_process::h51d800d572f878ef [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:597:18 [INFO] [stdout] 28: 0x558d4e73c72f - test::run_test::run_test_inner::{{closure}}::h71a47db430260854 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:491:39 [INFO] [stdout] 29: 0x558d4e745af1 - test::run_test::run_test_inner::{{closure}}::h02edd5b3e2dab52a [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:518:37 [INFO] [stdout] 30: 0x558d4e745af1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0838cfc8b0e995ec [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 31: 0x558d4e71257f - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h4c2725d7078043cd [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/thread/mod.rs:477:17 [INFO] [stdout] 32: 0x558d4e71257f - as core::ops::function::FnOnce<()>>::call_once::hdf1aa612eed87270 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x558d4e71257f - std::panicking::try::do_call::hc72f8de3706d18d6 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:406:40 [INFO] [stdout] 34: 0x558d4e71257f - std::panicking::try::h63f01f54dbd0fb87 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:370:19 [INFO] [stdout] 35: 0x558d4e71257f - std::panic::catch_unwind::h58bc464ae9b26453 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panic.rs:133:14 [INFO] [stdout] 36: 0x558d4e71257f - std::thread::Builder::spawn_unchecked::{{closure}}::h6c065e19513e33e3 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/thread/mod.rs:476:30 [INFO] [stdout] 37: 0x558d4e71257f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hd143450c74f35c32 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x558d4e782fb3 - as core::ops::function::FnOnce>::call_once::h49b6c7c5155a2296 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 39: 0x558d4e782fb3 - as core::ops::function::FnOnce>::call_once::ha8b5234bfeb15105 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 40: 0x558d4e782fb3 - std::sys::unix::thread::Thread::new::thread_start::h6f207dd842d64859 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7fd146646609 - start_thread [INFO] [stdout] 42: 0x7fd14679d293 - clone [INFO] [stdout] 43: 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, 27 Feb 2022 07:36:11 +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: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] [INFO] [stdout] 0: failure::backtrace::internal::InternalBacktrace::new [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/failure-0.1.8/src/backtrace/internal.rs:46:44 [INFO] [stdout] 1: failure::backtrace::Backtrace::new [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/failure-0.1.8/src/backtrace/mod.rs:121:35 [INFO] [stdout] 2: >::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/failure-0.1.8/src/error/error_impl.rs:19:17 [INFO] [stdout] 3: >::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/failure-0.1.8/src/error/mod.rs:36:18 [INFO] [stdout] 4: as core::ops::try_trait::FromResidual>>::from_residual [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/result.rs:2005:27 [INFO] [stdout] 5: insta::snapshot::Snapshot::save [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/insta-0.6.3/src/snapshot.rs:235:21 [INFO] [stdout] 6: insta::runtime::assert_snapshot [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/insta-0.6.3/src/runtime.rs:442:17 [INFO] [stdout] 7: xtypes::linker::test_load_file_and_imports [INFO] [stdout] at src/linker.rs:57:5 [INFO] [stdout] 8: xtypes::linker::test_load_file_and_imports::{{closure}} [INFO] [stdout] at src/linker.rs:52:1 [INFO] [stdout] 9: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 10: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:574:5 [INFO] [stdout] 11: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] std::panicking::try::do_call [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:406:40 [INFO] [stdout] std::panicking::try [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:370:19 [INFO] [stdout] std::panic::catch_unwind [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panic.rs:133:14 [INFO] [stdout] test::run_test_in_process [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:597:18 [INFO] [stdout] test::run_test::run_test_inner::{{closure}} [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:491:39 [INFO] [stdout] 12: test::run_test::run_test_inner::{{closure}} [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:518:37 [INFO] [stdout] std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 13: std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/thread/mod.rs:477:17 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] std::panicking::try::do_call [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:406:40 [INFO] [stdout] std::panicking::try [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:370:19 [INFO] [stdout] std::panic::catch_unwind [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panic.rs:133:14 [INFO] [stdout] std::thread::Builder::spawn_unchecked::{{closure}} [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/thread/mod.rs:476:30 [INFO] [stdout] core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 14: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 15: start_thread [INFO] [stdout] 16: clone [INFO] [stdout] ', src/linker.rs:57:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x558d4e77a41c - std::backtrace_rs::backtrace::libunwind::trace::h91c465e73bf6c785 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x558d4e77a41c - std::backtrace_rs::backtrace::trace_unsynchronized::hae9da36f5d58b5f3 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x558d4e77a41c - std::sys_common::backtrace::_print_fmt::h7f499fa126a7effb [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x558d4e77a41c - ::fmt::h3e2b509ce2ce6007 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x558d4e7a219c - core::fmt::write::h753c7571fa063ecb [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/fmt/mod.rs:1168:17 [INFO] [stdout] 5: 0x558d4e774d43 - std::io::Write::write_fmt::hb649ab67f71b6655 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/io/mod.rs:1660:15 [INFO] [stdout] 6: 0x558d4e77caf2 - std::sys_common::backtrace::_print::h64941a6fc8b0ed9b [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x558d4e77caf2 - std::sys_common::backtrace::print::hcf25e43e1a9b0766 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x558d4e77caf2 - std::panicking::default_hook::{{closure}}::h78d3e6cf97fc623d [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x558d4e77c741 - std::panicking::default_hook::hda898f8d3ad1a5ae [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x558d4e77d143 - std::panicking::rust_panic_with_hook::h1a5ea2d6c23051aa [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x558d4e77ce60 - std::panicking::begin_panic_handler::{{closure}}::h07f549390938b73f [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x558d4e77a8c4 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ec3758a92cfb00d [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x558d4e77cb99 - rust_begin_unwind [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x558d4e4b7321 - core::panicking::panic_fmt::h3a79a6a99affe1d5 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panicking.rs:116:14 [INFO] [stdout] 15: 0x558d4e4b7413 - core::result::unwrap_failed::ha0327e3803285d6e [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/result.rs:1690:5 [INFO] [stdout] 16: 0x558d4e4ca998 - core::result::Result::unwrap::hdbb77d032adf9e02 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/result.rs:1018:23 [INFO] [stdout] 17: 0x558d4e4d2e1d - xtypes::linker::test_load_file_and_imports::h642c8d80df7a9e4e [INFO] [stdout] at /opt/rustwide/workdir/src/linker.rs:57:5 [INFO] [stdout] 18: 0x558d4e4d2ada - xtypes::linker::test_load_file_and_imports::{{closure}}::h1a4f8a1a86a14674 [INFO] [stdout] at /opt/rustwide/workdir/src/linker.rs:52:1 [INFO] [stdout] 19: 0x558d4e4d518e - core::ops::function::FnOnce::call_once::h13d4f50ce7a85161 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x558d4e73da43 - core::ops::function::FnOnce::call_once::h1845a80638abc06e [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x558d4e73da43 - test::__rust_begin_short_backtrace::h4f56ccea01b9889f [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:574:5 [INFO] [stdout] 22: 0x558d4e73c72f - as core::ops::function::FnOnce>::call_once::h5afedf14a39ffa74 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 23: 0x558d4e73c72f - as core::ops::function::FnOnce<()>>::call_once::hd5aaa1b551e9ce71 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x558d4e73c72f - std::panicking::try::do_call::h316eebee63f96d32 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:406:40 [INFO] [stdout] 25: 0x558d4e73c72f - std::panicking::try::h662e31e84dd7ce52 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:370:19 [INFO] [stdout] 26: 0x558d4e73c72f - std::panic::catch_unwind::h129c1b23f076663f [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panic.rs:133:14 [INFO] [stdout] 27: 0x558d4e73c72f - test::run_test_in_process::h51d800d572f878ef [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:597:18 [INFO] [stdout] 28: 0x558d4e73c72f - test::run_test::run_test_inner::{{closure}}::h71a47db430260854 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:491:39 [INFO] [stdout] 29: 0x558d4e745af1 - test::run_test::run_test_inner::{{closure}}::h02edd5b3e2dab52a [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:518:37 [INFO] [stdout] 30: 0x558d4e745af1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0838cfc8b0e995ec [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 31: 0x558d4e71257f - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h4c2725d7078043cd [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/thread/mod.rs:477:17 [INFO] [stdout] 32: 0x558d4e71257f - as core::ops::function::FnOnce<()>>::call_once::hdf1aa612eed87270 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x558d4e71257f - std::panicking::try::do_call::hc72f8de3706d18d6 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:406:40 [INFO] [stdout] 34: 0x558d4e71257f - std::panicking::try::h63f01f54dbd0fb87 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:370:19 [INFO] [stdout] 35: 0x558d4e71257f - std::panic::catch_unwind::h58bc464ae9b26453 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panic.rs:133:14 [INFO] [stdout] 36: 0x558d4e71257f - std::thread::Builder::spawn_unchecked::{{closure}}::h6c065e19513e33e3 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/thread/mod.rs:476:30 [INFO] [stdout] 37: 0x558d4e71257f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hd143450c74f35c32 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x558d4e782fb3 - as core::ops::function::FnOnce>::call_once::h49b6c7c5155a2296 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 39: 0x558d4e782fb3 - as core::ops::function::FnOnce>::call_once::ha8b5234bfeb15105 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 40: 0x558d4e782fb3 - std::sys::unix::thread::Thread::new::thread_start::h6f207dd842d64859 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7fd146646609 - start_thread [INFO] [stdout] 42: 0x7fd14679d293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] linker::test_load_file_and_imports [INFO] [stdout] parser::test_parse_sample_1 [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.90s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "ecd76a545bac5747120a54c80aec4daf3a1632299fe1e6321fb849c363ec22a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecd76a545bac5747120a54c80aec4daf3a1632299fe1e6321fb849c363ec22a3", kill_on_drop: false }` [INFO] [stdout] ecd76a545bac5747120a54c80aec4daf3a1632299fe1e6321fb849c363ec22a3