[INFO] crate swagg 0.2.0 is already in cache [INFO] testing swagg-0.2.0 against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] extracting crate swagg 0.2.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate swagg 0.2.0 on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate swagg 0.2.0 [INFO] finished tweaking crates.io crate swagg 0.2.0 [INFO] tweaked toml for crates.io crate swagg 0.2.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4566e9b12d594401b2be2cc415f41d8ef46f465aa00d5c31eae051f5d9df003d [INFO] running `"docker" "start" "-a" "4566e9b12d594401b2be2cc415f41d8ef46f465aa00d5c31eae051f5d9df003d"` [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling serde_yaml v0.8.11 [INFO] [stderr] Compiling openapiv3 v0.3.0 [INFO] [stderr] Compiling swagg v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: variant is never constructed: `Delete` [INFO] [stderr] --> src/printer/api/methods.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | Delete, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Get` [INFO] [stderr] --> src/printer/api/methods.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | Get, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Patch` [INFO] [stderr] --> src/printer/api/methods.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | Patch, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Post` [INFO] [stderr] --> src/printer/api/methods.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | Post, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Put` [INFO] [stderr] --> src/printer/api/methods.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | Put, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/printer/api/structure.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn new(api_name: String) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Object` [INFO] [stderr] --> src/printer/components/component.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | / Object { [INFO] [stderr] 7 | | name: String, [INFO] [stderr] 8 | | description: Option, [INFO] [stderr] 9 | | fields: Vec, [INFO] [stderr] 10 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Enum` [INFO] [stderr] --> src/printer/components/component.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | / Enum { [INFO] [stderr] 12 | | name: String, [INFO] [stderr] 13 | | description: Option, [INFO] [stderr] 14 | | variants: Vec, [INFO] [stderr] 15 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Type` [INFO] [stderr] --> src/printer/components/component.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | / Type { [INFO] [stderr] 17 | | name: String, [INFO] [stderr] 18 | | description: Option, [INFO] [stderr] 19 | | type_value: FieldType, [INFO] [stderr] 20 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Native` [INFO] [stderr] --> src/printer/components/component.rs:162:5 [INFO] [stderr] | [INFO] [stderr] 162 | Native(NativeType), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Custom` [INFO] [stderr] --> src/printer/components/component.rs:165:5 [INFO] [stderr] | [INFO] [stderr] 165 | Custom(String), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Array` [INFO] [stderr] --> src/printer/components/component.rs:167:5 [INFO] [stderr] | [INFO] [stderr] 167 | Array(Box), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Internal` [INFO] [stderr] --> src/printer/components/component.rs:171:5 [INFO] [stderr] | [INFO] [stderr] 171 | Internal(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Integer` [INFO] [stderr] --> src/printer/components/component.rs:219:5 [INFO] [stderr] | [INFO] [stderr] 219 | Integer { format: FormatInteger }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Float` [INFO] [stderr] --> src/printer/components/component.rs:220:5 [INFO] [stderr] | [INFO] [stderr] 220 | Float { format: FormatFloat }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `String` [INFO] [stderr] --> src/printer/components/component.rs:221:5 [INFO] [stderr] | [INFO] [stderr] 221 | String { format: FormatString }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Boolean` [INFO] [stderr] --> src/printer/components/component.rs:222:5 [INFO] [stderr] | [INFO] [stderr] 222 | Boolean, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Binary` [INFO] [stderr] --> src/printer/components/component.rs:238:5 [INFO] [stderr] | [INFO] [stderr] 238 | Binary, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Byte` [INFO] [stderr] --> src/printer/components/component.rs:239:5 [INFO] [stderr] | [INFO] [stderr] 239 | Byte, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Date` [INFO] [stderr] --> src/printer/components/component.rs:240:5 [INFO] [stderr] | [INFO] [stderr] 240 | Date, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `DateTime` [INFO] [stderr] --> src/printer/components/component.rs:241:5 [INFO] [stderr] | [INFO] [stderr] 241 | DateTime, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Email` [INFO] [stderr] --> src/printer/components/component.rs:242:5 [INFO] [stderr] | [INFO] [stderr] 242 | Email, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Hostname` [INFO] [stderr] --> src/printer/components/component.rs:243:5 [INFO] [stderr] | [INFO] [stderr] 243 | Hostname, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Ipv4` [INFO] [stderr] --> src/printer/components/component.rs:244:5 [INFO] [stderr] | [INFO] [stderr] 244 | Ipv4, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Ipv6` [INFO] [stderr] --> src/printer/components/component.rs:245:5 [INFO] [stderr] | [INFO] [stderr] 245 | Ipv6, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Password` [INFO] [stderr] --> src/printer/components/component.rs:246:5 [INFO] [stderr] | [INFO] [stderr] 246 | Password, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Url` [INFO] [stderr] --> src/printer/components/component.rs:247:5 [INFO] [stderr] | [INFO] [stderr] 247 | Url, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Uuid` [INFO] [stderr] --> src/printer/components/component.rs:248:5 [INFO] [stderr] | [INFO] [stderr] 248 | Uuid, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Pattern` [INFO] [stderr] --> src/printer/components/component.rs:249:5 [INFO] [stderr] | [INFO] [stderr] 249 | Pattern(regex::Regex), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Int64` [INFO] [stderr] --> src/printer/components/component.rs:267:5 [INFO] [stderr] | [INFO] [stderr] 267 | Int64, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Double` [INFO] [stderr] --> src/printer/components/component.rs:287:5 [INFO] [stderr] | [INFO] [stderr] 287 | Double, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Json` [INFO] [stderr] --> src/printer/paths/path.rs:206:5 [INFO] [stderr] | [INFO] [stderr] 206 | Json, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `from_code` [INFO] [stderr] --> src/printer/paths/response_status.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn from_code(code: u16) -> ResponseStatus { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `to_code` [INFO] [stderr] --> src/printer/paths/response_status.rs:131:5 [INFO] [stderr] | [INFO] [stderr] 131 | pub fn to_code(&self) -> u16 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 34 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 58.75s [INFO] running `"docker" "inspect" "4566e9b12d594401b2be2cc415f41d8ef46f465aa00d5c31eae051f5d9df003d"` [INFO] running `"docker" "rm" "-f" "4566e9b12d594401b2be2cc415f41d8ef46f465aa00d5c31eae051f5d9df003d"` [INFO] [stdout] 4566e9b12d594401b2be2cc415f41d8ef46f465aa00d5c31eae051f5d9df003d [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b341cf4cb0fb9f24b12ed626913f2349144abc30bc514ad3ac034e516d04d992 [INFO] running `"docker" "start" "-a" "b341cf4cb0fb9f24b12ed626913f2349144abc30bc514ad3ac034e516d04d992"` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling ron v0.5.1 [INFO] [stderr] warning: variant is never constructed: `Delete` [INFO] [stderr] --> src/printer/api/methods.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | Delete, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Get` [INFO] [stderr] --> src/printer/api/methods.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | Get, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Patch` [INFO] [stderr] --> src/printer/api/methods.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | Patch, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Post` [INFO] [stderr] --> src/printer/api/methods.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | Post, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Put` [INFO] [stderr] --> src/printer/api/methods.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | Put, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/printer/api/structure.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn new(api_name: String) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Object` [INFO] [stderr] --> src/printer/components/component.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | / Object { [INFO] [stderr] 7 | | name: String, [INFO] [stderr] 8 | | description: Option, [INFO] [stderr] 9 | | fields: Vec, [INFO] [stderr] 10 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Enum` [INFO] [stderr] --> src/printer/components/component.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | / Enum { [INFO] [stderr] 12 | | name: String, [INFO] [stderr] 13 | | description: Option, [INFO] [stderr] 14 | | variants: Vec, [INFO] [stderr] 15 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Type` [INFO] [stderr] --> src/printer/components/component.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | / Type { [INFO] [stderr] 17 | | name: String, [INFO] [stderr] 18 | | description: Option, [INFO] [stderr] 19 | | type_value: FieldType, [INFO] [stderr] 20 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Native` [INFO] [stderr] --> src/printer/components/component.rs:162:5 [INFO] [stderr] | [INFO] [stderr] 162 | Native(NativeType), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Custom` [INFO] [stderr] --> src/printer/components/component.rs:165:5 [INFO] [stderr] | [INFO] [stderr] 165 | Custom(String), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Array` [INFO] [stderr] --> src/printer/components/component.rs:167:5 [INFO] [stderr] | [INFO] [stderr] 167 | Array(Box), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Internal` [INFO] [stderr] --> src/printer/components/component.rs:171:5 [INFO] [stderr] | [INFO] [stderr] 171 | Internal(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Integer` [INFO] [stderr] --> src/printer/components/component.rs:219:5 [INFO] [stderr] | [INFO] [stderr] 219 | Integer { format: FormatInteger }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Float` [INFO] [stderr] --> src/printer/components/component.rs:220:5 [INFO] [stderr] | [INFO] [stderr] 220 | Float { format: FormatFloat }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `String` [INFO] [stderr] --> src/printer/components/component.rs:221:5 [INFO] [stderr] | [INFO] [stderr] 221 | String { format: FormatString }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Boolean` [INFO] [stderr] --> src/printer/components/component.rs:222:5 [INFO] [stderr] | [INFO] [stderr] 222 | Boolean, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Binary` [INFO] [stderr] --> src/printer/components/component.rs:238:5 [INFO] [stderr] | [INFO] [stderr] 238 | Binary, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Byte` [INFO] [stderr] --> src/printer/components/component.rs:239:5 [INFO] [stderr] | [INFO] [stderr] 239 | Byte, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Date` [INFO] [stderr] --> src/printer/components/component.rs:240:5 [INFO] [stderr] | [INFO] [stderr] 240 | Date, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `DateTime` [INFO] [stderr] --> src/printer/components/component.rs:241:5 [INFO] [stderr] | [INFO] [stderr] 241 | DateTime, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Email` [INFO] [stderr] --> src/printer/components/component.rs:242:5 [INFO] [stderr] | [INFO] [stderr] 242 | Email, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Hostname` [INFO] [stderr] --> src/printer/components/component.rs:243:5 [INFO] [stderr] | [INFO] [stderr] 243 | Hostname, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Ipv4` [INFO] [stderr] --> src/printer/components/component.rs:244:5 [INFO] [stderr] | [INFO] [stderr] 244 | Ipv4, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Ipv6` [INFO] [stderr] --> src/printer/components/component.rs:245:5 [INFO] [stderr] | [INFO] [stderr] 245 | Ipv6, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Password` [INFO] [stderr] --> src/printer/components/component.rs:246:5 [INFO] [stderr] | [INFO] [stderr] 246 | Password, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Url` [INFO] [stderr] --> src/printer/components/component.rs:247:5 [INFO] [stderr] | [INFO] [stderr] 247 | Url, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Uuid` [INFO] [stderr] --> src/printer/components/component.rs:248:5 [INFO] [stderr] | [INFO] [stderr] 248 | Uuid, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Pattern` [INFO] [stderr] --> src/printer/components/component.rs:249:5 [INFO] [stderr] | [INFO] [stderr] 249 | Pattern(regex::Regex), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Int64` [INFO] [stderr] --> src/printer/components/component.rs:267:5 [INFO] [stderr] | [INFO] [stderr] 267 | Int64, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Double` [INFO] [stderr] --> src/printer/components/component.rs:287:5 [INFO] [stderr] | [INFO] [stderr] 287 | Double, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Json` [INFO] [stderr] --> src/printer/paths/path.rs:206:5 [INFO] [stderr] | [INFO] [stderr] 206 | Json, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `from_code` [INFO] [stderr] --> src/printer/paths/response_status.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn from_code(code: u16) -> ResponseStatus { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `to_code` [INFO] [stderr] --> src/printer/paths/response_status.rs:131:5 [INFO] [stderr] | [INFO] [stderr] 131 | pub fn to_code(&self) -> u16 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 34 warnings emitted [INFO] [stderr] [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling termios v0.3.2 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling console v0.10.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling insta v0.15.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling swagg v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: variant is never constructed: `Patch` [INFO] [stderr] --> src/printer/api/methods.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | Patch, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Put` [INFO] [stderr] --> src/printer/api/methods.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | Put, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `from_code` [INFO] [stderr] --> src/printer/paths/response_status.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn from_code(code: u16) -> ResponseStatus { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `to_code` [INFO] [stderr] --> src/printer/paths/response_status.rs:131:5 [INFO] [stderr] | [INFO] [stderr] 131 | pub fn to_code(&self) -> u16 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 21.29s [INFO] running `"docker" "inspect" "b341cf4cb0fb9f24b12ed626913f2349144abc30bc514ad3ac034e516d04d992"` [INFO] running `"docker" "rm" "-f" "b341cf4cb0fb9f24b12ed626913f2349144abc30bc514ad3ac034e516d04d992"` [INFO] [stdout] b341cf4cb0fb9f24b12ed626913f2349144abc30bc514ad3ac034e516d04d992 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 16616a73adf28715fe53a69243cfdf94208471d7f8a1274c846a7182a08cabd6 [INFO] running `"docker" "start" "-a" "16616a73adf28715fe53a69243cfdf94208471d7f8a1274c846a7182a08cabd6"` [INFO] [stderr] warning: variant is never constructed: `Delete` [INFO] [stderr] --> src/printer/api/methods.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | Delete, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Get` [INFO] [stderr] --> src/printer/api/methods.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | Get, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Patch` [INFO] [stderr] --> src/printer/api/methods.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | Patch, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Post` [INFO] [stderr] --> src/printer/api/methods.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | Post, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Put` [INFO] [stderr] --> src/printer/api/methods.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | Put, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/printer/api/structure.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn new(api_name: String) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Object` [INFO] [stderr] --> src/printer/components/component.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | / Object { [INFO] [stderr] 7 | | name: String, [INFO] [stderr] 8 | | description: Option, [INFO] [stderr] 9 | | fields: Vec, [INFO] [stderr] 10 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Enum` [INFO] [stderr] --> src/printer/components/component.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | / Enum { [INFO] [stderr] 12 | | name: String, [INFO] [stderr] 13 | | description: Option, [INFO] [stderr] 14 | | variants: Vec, [INFO] [stderr] 15 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Type` [INFO] [stderr] --> src/printer/components/component.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | / Type { [INFO] [stderr] 17 | | name: String, [INFO] [stderr] 18 | | description: Option, [INFO] [stderr] 19 | | type_value: FieldType, [INFO] [stderr] 20 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Native` [INFO] [stderr] --> src/printer/components/component.rs:162:5 [INFO] [stderr] | [INFO] [stderr] 162 | Native(NativeType), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Custom` [INFO] [stderr] --> src/printer/components/component.rs:165:5 [INFO] [stderr] | [INFO] [stderr] 165 | Custom(String), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Array` [INFO] [stderr] --> src/printer/components/component.rs:167:5 [INFO] [stderr] | [INFO] [stderr] 167 | Array(Box), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Internal` [INFO] [stderr] --> src/printer/components/component.rs:171:5 [INFO] [stderr] | [INFO] [stderr] 171 | Internal(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Integer` [INFO] [stderr] --> src/printer/components/component.rs:219:5 [INFO] [stderr] | [INFO] [stderr] 219 | Integer { format: FormatInteger }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Float` [INFO] [stderr] --> src/printer/components/component.rs:220:5 [INFO] [stderr] | [INFO] [stderr] 220 | Float { format: FormatFloat }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `String` [INFO] [stderr] --> src/printer/components/component.rs:221:5 [INFO] [stderr] | [INFO] [stderr] 221 | String { format: FormatString }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Boolean` [INFO] [stderr] --> src/printer/components/component.rs:222:5 [INFO] [stderr] | [INFO] [stderr] 222 | Boolean, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Binary` [INFO] [stderr] --> src/printer/components/component.rs:238:5 [INFO] [stderr] | [INFO] [stderr] 238 | Binary, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Byte` [INFO] [stderr] --> src/printer/components/component.rs:239:5 [INFO] [stderr] | [INFO] [stderr] 239 | Byte, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Date` [INFO] [stderr] --> src/printer/components/component.rs:240:5 [INFO] [stderr] | [INFO] [stderr] 240 | Date, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `DateTime` [INFO] [stderr] --> src/printer/components/component.rs:241:5 [INFO] [stderr] | [INFO] [stderr] 241 | DateTime, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Email` [INFO] [stderr] --> src/printer/components/component.rs:242:5 [INFO] [stderr] | [INFO] [stderr] 242 | Email, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Hostname` [INFO] [stderr] --> src/printer/components/component.rs:243:5 [INFO] [stderr] | [INFO] [stderr] 243 | Hostname, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Ipv4` [INFO] [stderr] --> src/printer/components/component.rs:244:5 [INFO] [stderr] | [INFO] [stderr] 244 | Ipv4, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Ipv6` [INFO] [stderr] --> src/printer/components/component.rs:245:5 [INFO] [stderr] | [INFO] [stderr] 245 | Ipv6, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Password` [INFO] [stderr] --> src/printer/components/component.rs:246:5 [INFO] [stderr] | [INFO] [stderr] 246 | Password, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Url` [INFO] [stderr] --> src/printer/components/component.rs:247:5 [INFO] [stderr] | [INFO] [stderr] 247 | Url, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Uuid` [INFO] [stderr] --> src/printer/components/component.rs:248:5 [INFO] [stderr] | [INFO] [stderr] 248 | Uuid, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Pattern` [INFO] [stderr] --> src/printer/components/component.rs:249:5 [INFO] [stderr] | [INFO] [stderr] 249 | Pattern(regex::Regex), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Int64` [INFO] [stderr] --> src/printer/components/component.rs:267:5 [INFO] [stderr] | [INFO] [stderr] 267 | Int64, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Double` [INFO] [stderr] --> src/printer/components/component.rs:287:5 [INFO] [stderr] | [INFO] [stderr] 287 | Double, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Json` [INFO] [stderr] --> src/printer/paths/path.rs:206:5 [INFO] [stderr] | [INFO] [stderr] 206 | Json, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `from_code` [INFO] [stderr] --> src/printer/paths/response_status.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn from_code(code: u16) -> ResponseStatus { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `to_code` [INFO] [stderr] --> src/printer/paths/response_status.rs:131:5 [INFO] [stderr] | [INFO] [stderr] 131 | pub fn to_code(&self) -> u16 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 34 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Patch` [INFO] [stderr] --> src/printer/api/methods.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | Patch, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Put` [INFO] [stderr] --> src/printer/api/methods.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | Put, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `from_code` [INFO] [stderr] --> src/printer/paths/response_status.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn from_code(code: u16) -> ResponseStatus { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `to_code` [INFO] [stderr] --> src/printer/paths/response_status.rs:131:5 [INFO] [stderr] | [INFO] [stderr] 131 | pub fn to_code(&self) -> u16 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/swagg-9a6844fb7c1145f1 [INFO] [stdout] [INFO] [stdout] running 37 tests [INFO] [stdout] test printer::components::component::tests::convert_path_to_stream ... ok [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766` [INFO] [stdout] test printer::components::component::tests::component_enum ... FAILED [INFO] [stdout] test printer::components::component::tests::component_object ... FAILED [INFO] [stdout] test printer::api::structure::tests::with_terms ... FAILED [INFO] [stdout] test printer::components::component::tests::field_type_array ... FAILED [INFO] [stdout] test printer::components::component::tests::component_type ... FAILED [INFO] [stdout] test printer::api::structure::tests::with_description ... FAILED [INFO] [stdout] test printer::api::methods::tests::with_request_body ... FAILED [INFO] [stdout] test printer::api::methods::tests::bind_api_method_without_body ... FAILED [INFO] [stdout] test printer::api::structure::tests::default_struct ... FAILED [INFO] [stdout] test printer::api::module::tests::default_api_module ... FAILED [INFO] [stdout] test printer::api::structure::tests::with_description_and_terms ... FAILED [INFO] [stdout] test printer::api::methods::tests::two_methods ... FAILED [INFO] [stdout] test printer::api::structure::tests::without_description_and_terms ... FAILED [INFO] [stdout] test printer::api::methods::tests::impl_api_pascal_naming ... FAILED [INFO] [stdout] test printer::api::methods::tests::default_api ... FAILED [INFO] [stdout] test printer::api::methods::tests::impl_api_without_methods ... FAILED [INFO] [stdout] test printer::components::component::tests::field_type_custom_disallow_path ... ok [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766` [INFO] [stderr] error: 'error: rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766`' [INFO] [stderr] rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766` [INFO] [stdout] test printer::components::parameters::tests::parameters_with_some_components ... FAILED [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766` [INFO] [stdout] test printer::components::component::tests::native_type_string ... FAILED [INFO] [stdout] test printer::components::component::tests::native_type_float ... FAILED [INFO] [stdout] test printer::components::component::tests::field_type_custom ... FAILED [INFO] [stdout] test printer::paths::path::tests::path_empty ... FAILED [INFO] [stdout] test printer::paths::module::tests::components_module_default ... FAILED [INFO] [stdout] test printer::components::component::tests::native_type_integer ... FAILED [INFO] [stdout] test printer::components::component::tests::format_float ... FAILED [INFO] [stdout] test printer::components::component::tests::format_string ... FAILED [INFO] [stdout] test printer::components::component::tests::format_integer ... FAILED [INFO] [stdout] test printer::components::request_bodies::tests::request_bodies_with_some_components ... FAILED [INFO] [stdout] test printer::components::component::tests::field_type_native ... FAILED [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stdout] test printer::components::component::tests::native_type_boolean ... FAILED [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766` [INFO] [stdout] test printer::components::module::tests::components_module_default ... FAILED [INFO] [stdout] test printer::components::component::tests::field_type_internal_allow_path ... FAILED [INFO] [stdout] test printer::components::responses::tests::responses_with_some_components ... FAILED [INFO] [stdout] test printer::paths::path::tests::path_with_responses ... FAILED [INFO] [stdout] test printer::paths::path::tests::path_with_query_params ... FAILED [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '28742a1146f10a4f09369baad027a464acb7a766' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 28742a1146f10a4f09369baad027a464acb7a766` [INFO] [stdout] test printer::tests::huge_test_all_generated ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- printer::components::component::tests::component_enum stdout ---- [INFO] [stdout] "/tmp/.tmps5r64y/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: component_enum [INFO] [stdout] Source: src/printer/components/component.rs:515 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(Component::Enum{name: "snake_case_name".to_owned(), [INFO] [stdout] description: None, [INFO] [stdout] variants: vec![],}) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-#[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] 2 │-pub enum SnakeCaseName {} [INFO] [stdout] 1 │+# [ derive ( Debug , Serialize , Deserialize ) ] pub enum SnakeCaseName { } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::components::component::tests::component_enum' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/components/component.rs:515:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68c0bc7 - swagg::printer::components::component::tests::component_enum::hbf7acf820d7f1db8 [INFO] [stdout] at src/printer/components/component.rs:515 [INFO] [stdout] 17: 0x55f5b68c097a - swagg::printer::components::component::tests::component_enum::{{closure}}::h17deac19a6de2430 [INFO] [stdout] at src/printer/components/component.rs:514 [INFO] [stdout] 18: 0x55f5b68d4ebe - core::ops::function::FnOnce::call_once::h347b0c95788e7fe4 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- printer::components::component::tests::component_object stdout ---- [INFO] [stdout] "/tmp/.tmptQF08P/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: component_object [INFO] [stdout] Source: src/printer/components/component.rs:451 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(Component::Object{name: "snake_case_name".to_owned(), [INFO] [stdout] description: None, [INFO] [stdout] fields: vec![],}) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-#[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] 2 │-pub struct SnakeCaseName {} [INFO] [stdout] 1 │+# [ derive ( Debug , Serialize , Deserialize ) ] pub struct SnakeCaseName { } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::components::component::tests::component_object' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/components/component.rs:451:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68bfba3 - swagg::printer::components::component::tests::component_object::h988437b6a7b0fa01 [INFO] [stdout] at src/printer/components/component.rs:451 [INFO] [stdout] 17: 0x55f5b68bf94a - swagg::printer::components::component::tests::component_object::{{closure}}::hfc242d7f1bd97a5c [INFO] [stdout] at src/printer/components/component.rs:450 [INFO] [stdout] 18: 0x55f5b68d53de - core::ops::function::FnOnce::call_once::hdb191632cc1b1cb7 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- printer::api::structure::tests::with_terms stdout ---- [INFO] [stdout] "/tmp/.tmp7D7hEE/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: with_terms [INFO] [stdout] Source: src/printer/api/structure.rs:161 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(ApiStruct{api_name: "test_api".to_owned(), [INFO] [stdout] description: None, [INFO] [stdout] terms_of_service: [INFO] [stdout] Some("https://example.com/terms".to_owned()),}) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-#[doc = "@see https://example.com/terms"] [INFO] [stdout] 2 │-pub struct TestApi { [INFO] [stdout] 3 │- api: actix_swagger::Api, [INFO] [stdout] 4 │-} [INFO] [stdout] 5 │-impl TestApi { [INFO] [stdout] 6 │- pub fn new() -> Self { [INFO] [stdout] 7 │- Self { [INFO] [stdout] 8 │- api: actix_swagger::Api::new(), [INFO] [stdout] 9 │- } [INFO] [stdout] 10 │- } [INFO] [stdout] 11 │-} [INFO] [stdout] 12 │-impl Default for TestApi { [INFO] [stdout] 13 │- fn default() -> Self { [INFO] [stdout] 14 │- let api = Self::new(); [INFO] [stdout] 15 │- api [INFO] [stdout] 16 │- } [INFO] [stdout] 17 │-} [INFO] [stdout] 18 │-impl actix_web::dev::HttpServiceFactory for TestApi { [INFO] [stdout] 19 │- fn register(self, config: &mut actix_web::dev::AppService) { [INFO] [stdout] 20 │- self.api.register(config); [INFO] [stdout] 21 │- } [INFO] [stdout] 22 │-} [INFO] [stdout] 1 │+# [ doc = "@see https://example.com/terms" ] pub struct TestApi { api : actix_swagger :: Api , } impl TestApi { pub fn new ( ) -> Self { Self { api : actix_swagger :: Api :: new ( ) } } } impl Default for TestApi { fn default ( ) -> Self { let api = Self :: new ( ) ; api } } impl actix_web :: dev :: HttpServiceFactory for TestApi { fn register ( self , config : & mut actix_web :: dev :: AppService ) { self . api . register ( config ) ; } } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::api::structure::tests::with_terms' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/api/structure.rs:161:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68d8db2 - swagg::printer::api::structure::tests::with_terms::hd195370cd36bbfed [INFO] [stdout] at src/printer/api/structure.rs:161 [INFO] [stdout] 17: 0x55f5b68d8b6a - swagg::printer::api::structure::tests::with_terms::{{closure}}::h852c3d8c29352705 [INFO] [stdout] at src/printer/api/structure.rs:160 [INFO] [stdout] 18: 0x55f5b68d528e - core::ops::function::FnOnce::call_once::hc1a30e3a374b108c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- printer::components::component::tests::field_type_array stdout ---- [INFO] [stdout] "/tmp/.tmpc8NY3F/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: field_type_array [INFO] [stdout] Source: src/printer/components/component.rs:425 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(TestType(FieldType::Array(Box::new(FieldType::Native(NativeType::Boolean))))) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-type Test = Vec; [INFO] [stdout] 1 │+type Test = Vec < bool > ; [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::components::component::tests::field_type_array' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/components/component.rs:425:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68be911 - swagg::printer::components::component::tests::field_type_array::h0ee0ae87582a8dda [INFO] [stdout] at src/printer/components/component.rs:425 [INFO] [stdout] 17: 0x55f5b68be65a - swagg::printer::components::component::tests::field_type_array::{{closure}}::hb8a65e875a3defce [INFO] [stdout] at src/printer/components/component.rs:424 [INFO] [stdout] 18: 0x55f5b68d549e - core::ops::function::FnOnce::call_once::hee03b10576c32766 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- printer::components::component::tests::component_type stdout ---- [INFO] [stdout] "/tmp/.tmpn5dKna/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: component_type [INFO] [stdout] Source: src/printer/components/component.rs:433 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(Component::Type{name: "snake_case_name".to_owned(), [INFO] [stdout] description: None, [INFO] [stdout] type_value: [INFO] [stdout] FieldType::Internal("super::another::Type".to_owned()),}) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-pub type SnakeCaseName = super::another::Type; [INFO] [stdout] 1 │+pub type SnakeCaseName = super :: another :: Type ; [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::components::component::tests::component_type' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/components/component.rs:433:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68bf582 - swagg::printer::components::component::tests::component_type::he639d8ec2e26aab8 [INFO] [stdout] at src/printer/components/component.rs:433 [INFO] [stdout] 17: 0x55f5b68bf2ea - swagg::printer::components::component::tests::component_type::{{closure}}::h090dae65cf0fd3e9 [INFO] [stdout] at src/printer/components/component.rs:432 [INFO] [stdout] 18: 0x55f5b68d52be - core::ops::function::FnOnce::call_once::hc5f268251c84777d [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- printer::api::structure::tests::with_description stdout ---- [INFO] [stdout] "/tmp/.tmpZiEdM6/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: with_description [INFO] [stdout] Source: src/printer/api/structure.rs:193 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(ApiStruct{api_name: "test_api".to_owned(), [INFO] [stdout] description: [INFO] [stdout] Some("My super simple description.\nAnother back".to_owned()), [INFO] [stdout] terms_of_service: None,}) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-#[doc = "My super simple description.\nAnother back"] [INFO] [stdout] 2 │-pub struct TestApi { [INFO] [stdout] 3 │- api: actix_swagger::Api, [INFO] [stdout] 4 │-} [INFO] [stdout] 5 │-impl TestApi { [INFO] [stdout] 6 │- pub fn new() -> Self { [INFO] [stdout] 7 │- Self { [INFO] [stdout] 8 │- api: actix_swagger::Api::new(), [INFO] [stdout] 9 │- } [INFO] [stdout] 10 │- } [INFO] [stdout] 11 │-} [INFO] [stdout] 12 │-impl Default for TestApi { [INFO] [stdout] 13 │- fn default() -> Self { [INFO] [stdout] 14 │- let api = Self::new(); [INFO] [stdout] 15 │- api [INFO] [stdout] 16 │- } [INFO] [stdout] 17 │-} [INFO] [stdout] 18 │-impl actix_web::dev::HttpServiceFactory for TestApi { [INFO] [stdout] 19 │- fn register(self, config: &mut actix_web::dev::AppService) { [INFO] [stdout] 20 │- self.api.register(config); [INFO] [stdout] 21 │- } [INFO] [stdout] 22 │-} [INFO] [stdout] 1 │+# [ doc = "My super simple description.\nAnother back" ] pub struct TestApi { api : actix_swagger :: Api , } impl TestApi { pub fn new ( ) -> Self { Self { api : actix_swagger :: Api :: new ( ) } } } impl Default for TestApi { fn default ( ) -> Self { let api = Self :: new ( ) ; api } } impl actix_web :: dev :: HttpServiceFactory for TestApi { fn register ( self , config : & mut actix_web :: dev :: AppService ) { self . api . register ( config ) ; } } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::api::structure::tests::with_description' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/api/structure.rs:193:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68d9082 - swagg::printer::api::structure::tests::with_description::he91305348e55d174 [INFO] [stdout] at src/printer/api/structure.rs:193 [INFO] [stdout] 17: 0x55f5b68d8e4a - swagg::printer::api::structure::tests::with_description::{{closure}}::h76715a1e0066c1ee [INFO] [stdout] at src/printer/api/structure.rs:192 [INFO] [stdout] 18: 0x55f5b68d537e - core::ops::function::FnOnce::call_once::hd8d61b110a06ab9e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- printer::api::methods::tests::with_request_body stdout ---- [INFO] [stdout] "/tmp/.tmp2eUahq/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: with_request_body [INFO] [stdout] Source: src/printer/api/methods.rs:263 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(api(vec![method])) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-use super::paths; [INFO] [stdout] 2 │-use actix_swagger::{Answer, Method}; [INFO] [stdout] 3 │-use actix_web::{dev::Factory, FromRequest}; [INFO] [stdout] 4 │-use std::future::Future; [INFO] [stdout] 5 │-impl TestApi { [INFO] [stdout] 6 │- #[doc = "Request body - super::requst_bodies::SessionCreateBody"] [INFO] [stdout] 7 │- pub fn bind_session_create(mut self, handler: F) -> Self [INFO] [stdout] 8 │- where [INFO] [stdout] 9 │- F: Factory>, [INFO] [stdout] 10 │- T: FromRequest + 'static, [INFO] [stdout] 11 │- R: Future> + 'static, [INFO] [stdout] 12 │- { [INFO] [stdout] 13 │- self.api = self.api.bind("/session".to_owned(), Method::POST, handler); [INFO] [stdout] 14 │- self [INFO] [stdout] 15 │- } [INFO] [stdout] 16 │-} [INFO] [stdout] 1 │+use actix_web :: { FromRequest , dev :: Factory } ; use actix_swagger :: { Answer , Method } ; use std :: future :: Future ; use super :: paths ; impl TestApi { # [ doc = "Request body - super::requst_bodies::SessionCreateBody" ] pub fn bind_session_create < F , T , R > ( mut self , handler : F ) -> Self where F : Factory < T , R , Answer < 'static , paths :: session_create :: Response >> , T : FromRequest + 'static , R : Future < Output = Answer < 'static , paths :: session_create :: Response >> + 'static , { self . api = self . api . bind ( "/session" . to_owned ( ) , Method :: POST , handler ) ; self } } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::api::methods::tests::with_request_body' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/api/methods.rs:263:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68aa6d1 - swagg::printer::api::methods::tests::with_request_body::hd7b44fcce1377906 [INFO] [stdout] at src/printer/api/methods.rs:263 [INFO] [stdout] 17: 0x55f5b68aa37a - swagg::printer::api::methods::tests::with_request_body::{{closure}}::h0bd6f70d4b0ff99c [INFO] [stdout] at src/printer/api/methods.rs:255 [INFO] [stdout] 18: 0x55f5b68d516e - core::ops::function::FnOnce::call_once::h7263d18cfd71d07c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- printer::api::methods::tests::bind_api_method_without_body stdout ---- [INFO] [stdout] "/tmp/.tmpCZRblI/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: bind_api_method_without_body [INFO] [stdout] Source: src/printer/api/methods.rs:182 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(api(vec![method])) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-use super::paths; [INFO] [stdout] 2 │-use actix_swagger::{Answer, Method}; [INFO] [stdout] 3 │-use actix_web::{dev::Factory, FromRequest}; [INFO] [stdout] 4 │-use std::future::Future; [INFO] [stdout] 5 │-impl TestApi { [INFO] [stdout] 6 │- pub fn bind_hey_make_my_day(mut self, handler: F) -> Self [INFO] [stdout] 7 │- where [INFO] [stdout] 8 │- F: Factory>, [INFO] [stdout] 9 │- T: FromRequest + 'static, [INFO] [stdout] 10 │- R: Future> + 'static, [INFO] [stdout] 11 │- { [INFO] [stdout] 12 │- self.api = self [INFO] [stdout] 13 │- .api [INFO] [stdout] 14 │- .bind("/hey-make/my-day".to_owned(), Method::POST, handler); [INFO] [stdout] 15 │- self [INFO] [stdout] 16 │- } [INFO] [stdout] 17 │-} [INFO] [stdout] 1 │+use actix_web :: { FromRequest , dev :: Factory } ; use actix_swagger :: { Answer , Method } ; use std :: future :: Future ; use super :: paths ; impl TestApi { pub fn bind_hey_make_my_day < F , T , R > ( mut self , handler : F ) -> Self where F : Factory < T , R , Answer < 'static , paths :: hey_make_my_day :: Response >> , T : FromRequest + 'static , R : Future < Output = Answer < 'static , paths :: hey_make_my_day :: Response >> + 'static , { self . api = self . api . bind ( "/hey-make/my-day" . to_owned ( ) , Method :: POST , handler ) ; self } } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::api::methods::tests::bind_api_method_without_body' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/api/methods.rs:182:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68a9ce2 - swagg::printer::api::methods::tests::bind_api_method_without_body::hb89d3d8067549092 [INFO] [stdout] at src/printer/api/methods.rs:182 [INFO] [stdout] 17: 0x55f5b68a99ca - swagg::printer::api::methods::tests::bind_api_method_without_body::{{closure}}::h33883d20d8a73949 [INFO] [stdout] at src/printer/api/methods.rs:174 [INFO] [stdout] 18: 0x55f5b68d53ae - core::ops::function::FnOnce::call_once::hd9efbd92ae9acef7 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- printer::api::structure::tests::default_struct stdout ---- [INFO] [stdout] "/tmp/.tmpcYfIos/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: default_struct [INFO] [stdout] Source: src/printer/api/structure.rs:107 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(ApiStruct::default()) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-pub struct Api { [INFO] [stdout] 2 │- api: actix_swagger::Api, [INFO] [stdout] 3 │-} [INFO] [stdout] 4 │-impl Api { [INFO] [stdout] 5 │- pub fn new() -> Self { [INFO] [stdout] 6 │- Self { [INFO] [stdout] 7 │- api: actix_swagger::Api::new(), [INFO] [stdout] 8 │- } [INFO] [stdout] 9 │- } [INFO] [stdout] 10 │-} [INFO] [stdout] 11 │-impl Default for Api { [INFO] [stdout] 12 │- fn default() -> Self { [INFO] [stdout] 13 │- let api = Self::new(); [INFO] [stdout] 14 │- api [INFO] [stdout] 15 │- } [INFO] [stdout] 16 │-} [INFO] [stdout] 17 │-impl actix_web::dev::HttpServiceFactory for Api { [INFO] [stdout] 18 │- fn register(self, config: &mut actix_web::dev::AppService) { [INFO] [stdout] 19 │- self.api.register(config); [INFO] [stdout] 20 │- } [INFO] [stdout] 21 │-} [INFO] [stdout] 1 │+pub struct Api { api : actix_swagger :: Api , } impl Api { pub fn new ( ) -> Self { Self { api : actix_swagger :: Api :: new ( ) } } } impl Default for Api { fn default ( ) -> Self { let api = Self :: new ( ) ; api } } impl actix_web :: dev :: HttpServiceFactory for Api { fn register ( self , config : & mut actix_web :: dev :: AppService ) { self . api . register ( config ) ; } } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::api::structure::tests::default_struct' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/api/structure.rs:107:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68d88c3 - swagg::printer::api::structure::tests::default_struct::h7b5409fd15d26802 [INFO] [stdout] at src/printer/api/structure.rs:107 [INFO] [stdout] 17: 0x55f5b68d875a - swagg::printer::api::structure::tests::default_struct::{{closure}}::he9418c428d8d1ef9 [INFO] [stdout] at src/printer/api/structure.rs:106 [INFO] [stdout] 18: 0x55f5b68d51fe - core::ops::function::FnOnce::call_once::h95b618401ed5ac1b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- printer::api::module::tests::default_api_module stdout ---- [INFO] [stdout] "/tmp/.tmp2vV4yc/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: default_api_module [INFO] [stdout] Source: src/printer/api/module.rs:34 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(ApiModule::default()) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-pub mod api { [INFO] [stdout] 2 │- pub struct Api { [INFO] [stdout] 3 │- api: actix_swagger::Api, [INFO] [stdout] 4 │- } [INFO] [stdout] 5 │- impl Api { [INFO] [stdout] 6 │- pub fn new() -> Self { [INFO] [stdout] 7 │- Self { [INFO] [stdout] 8 │- api: actix_swagger::Api::new(), [INFO] [stdout] 9 │- } [INFO] [stdout] 10 │- } [INFO] [stdout] 11 │- } [INFO] [stdout] 12 │- impl Default for Api { [INFO] [stdout] 13 │- fn default() -> Self { [INFO] [stdout] 14 │- let api = Self::new(); [INFO] [stdout] 15 │- api [INFO] [stdout] 16 │- } [INFO] [stdout] 17 │- } [INFO] [stdout] 18 │- impl actix_web::dev::HttpServiceFactory for Api { [INFO] [stdout] 19 │- fn register(self, config: &mut actix_web::dev::AppService) { [INFO] [stdout] 20 │- self.api.register(config); [INFO] [stdout] 21 │- } [INFO] [stdout] 22 │- } [INFO] [stdout] 23 │- use super::paths; [INFO] [stdout] 24 │- use actix_swagger::{Answer, Method}; [INFO] [stdout] 25 │- use actix_web::{dev::Factory, FromRequest}; [INFO] [stdout] 26 │- use std::future::Future; [INFO] [stdout] 27 │- impl Api {} [INFO] [stdout] 28 │-} [INFO] [stdout] 1 │+pub mod api { pub struct Api { api : actix_swagger :: Api , } impl Api { pub fn new ( ) -> Self { Self { api : actix_swagger :: Api :: new ( ) } } } impl Default for Api { fn default ( ) -> Self { let api = Self :: new ( ) ; api } } impl actix_web :: dev :: HttpServiceFactory for Api { fn register ( self , config : & mut actix_web :: dev :: AppService ) { self . api . register ( config ) ; } } use actix_web :: { FromRequest , dev :: Factory } ; use actix_swagger :: { Answer , Method } ; use std :: future :: Future ; use super :: paths ; impl Api { } } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::api::module::tests::default_api_module' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/api/module.rs:34:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68d1283 - swagg::printer::api::module::tests::default_api_module::hd10f98aa9aef4462 [INFO] [stdout] at src/printer/api/module.rs:34 [INFO] [stdout] 17: 0x55f5b68d111a - swagg::printer::api::module::tests::default_api_module::{{closure}}::hfd72a97ab83e8173 [INFO] [stdout] at src/printer/api/module.rs:33 [INFO] [stdout] 18: 0x55f5b68d525e - core::ops::function::FnOnce::call_once::hb861837738a6aa45 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- printer::api::structure::tests::with_description_and_terms stdout ---- [INFO] [stdout] "/tmp/.tmp5Uo5Qz/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: with_description_and_terms [INFO] [stdout] Source: src/printer/api/structure.rs:225 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(ApiStruct{api_name: "test_api".to_owned(), [INFO] [stdout] description: [INFO] [stdout] Some("My super simple description.\nAnother back".to_owned()), [INFO] [stdout] terms_of_service: [INFO] [stdout] Some("https://example.com/terms".to_owned()),}) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-#[doc = "My super simple description.\nAnother back\n@see https://example.com/terms"] [INFO] [stdout] 2 │-pub struct TestApi { [INFO] [stdout] 3 │- api: actix_swagger::Api, [INFO] [stdout] 4 │-} [INFO] [stdout] 5 │-impl TestApi { [INFO] [stdout] 6 │- pub fn new() -> Self { [INFO] [stdout] 7 │- Self { [INFO] [stdout] 8 │- api: actix_swagger::Api::new(), [INFO] [stdout] 9 │- } [INFO] [stdout] 10 │- } [INFO] [stdout] 11 │-} [INFO] [stdout] 12 │-impl Default for TestApi { [INFO] [stdout] 13 │- fn default() -> Self { [INFO] [stdout] 14 │- let api = Self::new(); [INFO] [stdout] 15 │- api [INFO] [stdout] 16 │- } [INFO] [stdout] 17 │-} [INFO] [stdout] 18 │-impl actix_web::dev::HttpServiceFactory for TestApi { [INFO] [stdout] 19 │- fn register(self, config: &mut actix_web::dev::AppService) { [INFO] [stdout] 20 │- self.api.register(config); [INFO] [stdout] 21 │- } [INFO] [stdout] 22 │-} [INFO] [stdout] 1 │+# [ doc = "My super simple description.\nAnother back\n@see https://example.com/terms" ] pub struct TestApi { api : actix_swagger :: Api , } impl TestApi { pub fn new ( ) -> Self { Self { api : actix_swagger :: Api :: new ( ) } } } impl Default for TestApi { fn default ( ) -> Self { let api = Self :: new ( ) ; api } } impl actix_web :: dev :: HttpServiceFactory for TestApi { fn register ( self , config : & mut actix_web :: dev :: AppService ) { self . api . register ( config ) ; } } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::api::structure::tests::with_description_and_terms' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/api/structure.rs:225:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68d938e - swagg::printer::api::structure::tests::with_description_and_terms::h6b4eea3143b43072 [INFO] [stdout] at src/printer/api/structure.rs:225 [INFO] [stdout] 17: 0x55f5b68d911a - swagg::printer::api::structure::tests::with_description_and_terms::{{closure}}::h7cf981125b83e5f7 [INFO] [stdout] at src/printer/api/structure.rs:224 [INFO] [stdout] 18: 0x55f5b68d52ee - core::ops::function::FnOnce::call_once::hcb961c5fec5265b9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- printer::api::methods::tests::two_methods stdout ---- [INFO] [stdout] "/tmp/.tmpnQdWAy/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: two_methods [INFO] [stdout] Source: src/printer/api/methods.rs:219 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(api(vec![method1, method2])) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-use super::paths; [INFO] [stdout] 2 │-use actix_swagger::{Answer, Method}; [INFO] [stdout] 3 │-use actix_web::{dev::Factory, FromRequest}; [INFO] [stdout] 4 │-use std::future::Future; [INFO] [stdout] 5 │-impl TestApi { [INFO] [stdout] 6 │- pub fn bind_hey_make_my_day(mut self, handler: F) -> Self [INFO] [stdout] 7 │- where [INFO] [stdout] 8 │- F: Factory>, [INFO] [stdout] 9 │- T: FromRequest + 'static, [INFO] [stdout] 10 │- R: Future> + 'static, [INFO] [stdout] 11 │- { [INFO] [stdout] 12 │- self.api = self [INFO] [stdout] 13 │- .api [INFO] [stdout] 14 │- .bind("/hey-make/my-day".to_owned(), Method::POST, handler); [INFO] [stdout] 15 │- self [INFO] [stdout] 16 │- } [INFO] [stdout] 17 │- pub fn bind_this_is_my_test_name_in_pascal_case(mut self, handler: F) -> Self [INFO] [stdout] 18 │- where [INFO] [stdout] 19 │- F: Factory>, [INFO] [stdout] 20 │- T: FromRequest + 'static, [INFO] [stdout] 21 │- R: Future> [INFO] [stdout] 22 │- + 'static, [INFO] [stdout] 23 │- { [INFO] [stdout] 24 │- self.api = self.api.bind( [INFO] [stdout] 25 │- "/Very/Very/VEry/Loo000ng/Path".to_owned(), [INFO] [stdout] 26 │- Method::DELETE, [INFO] [stdout] 27 │- handler, [INFO] [stdout] 28 │- ); [INFO] [stdout] 29 │- self [INFO] [stdout] 30 │- } [INFO] [stdout] 31 │-} [INFO] [stdout] 1 │+use actix_web :: { FromRequest , dev :: Factory } ; use actix_swagger :: { Answer , Method } ; use std :: future :: Future ; use super :: paths ; impl TestApi { pub fn bind_hey_make_my_day < F , T , R > ( mut self , handler : F ) -> Self where F : Factory < T , R , Answer < 'static , paths :: hey_make_my_day :: Response >> , T : FromRequest + 'static , R : Future < Output = Answer < 'static , paths :: hey_make_my_day :: Response >> + 'static , { self . api = self . api . bind ( "/hey-make/my-day" . to_owned ( ) , Method :: POST , handler ) ; self } pub fn bind_this_is_my_test_name_in_pascal_case < F , T , R > ( mut self , handler : F ) -> Self where F : Factory < T , R , Answer < 'static , paths :: this_is_my_test_name_in_pascal_case :: Response >> , T : FromRequest + 'static , R : Future < Output = Answer < 'static , paths :: this_is_my_test_name_in_pascal_case :: Response >> + 'static , { self . api = self . api . bind ( "/Very/Very/VEry/Loo000ng/Path" . to_owned ( ) , Method :: DELETE , handler ) ; self } } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::api::methods::tests::two_methods' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/api/methods.rs:219:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68aa25a - swagg::printer::api::methods::tests::two_methods::h0c5f07e31c7832a2 [INFO] [stdout] at src/printer/api/methods.rs:219 [INFO] [stdout] 17: 0x55f5b68a9dba - swagg::printer::api::methods::tests::two_methods::{{closure}}::h02d2542f9959a5ad [INFO] [stdout] at src/printer/api/methods.rs:204 [INFO] [stdout] 18: 0x55f5b68d4f8e - core::ops::function::FnOnce::call_once::h417d946c8a650f72 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- printer::api::structure::tests::without_description_and_terms stdout ---- [INFO] [stdout] "/tmp/.tmp6n15AM/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: without_description_and_terms [INFO] [stdout] Source: src/printer/api/structure.rs:134 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(ApiStruct::new("example".to_owned())) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-pub struct Example { [INFO] [stdout] 2 │- api: actix_swagger::Api, [INFO] [stdout] 3 │-} [INFO] [stdout] 4 │-impl Example { [INFO] [stdout] 5 │- pub fn new() -> Self { [INFO] [stdout] 6 │- Self { [INFO] [stdout] 7 │- api: actix_swagger::Api::new(), [INFO] [stdout] 8 │- } [INFO] [stdout] 9 │- } [INFO] [stdout] 10 │-} [INFO] [stdout] 11 │-impl Default for Example { [INFO] [stdout] 12 │- fn default() -> Self { [INFO] [stdout] 13 │- let api = Self::new(); [INFO] [stdout] 14 │- api [INFO] [stdout] 15 │- } [INFO] [stdout] 16 │-} [INFO] [stdout] 17 │-impl actix_web::dev::HttpServiceFactory for Example { [INFO] [stdout] 18 │- fn register(self, config: &mut actix_web::dev::AppService) { [INFO] [stdout] 19 │- self.api.register(config); [INFO] [stdout] 20 │- } [INFO] [stdout] 21 │-} [INFO] [stdout] 1 │+pub struct Example { api : actix_swagger :: Api , } impl Example { pub fn new ( ) -> Self { Self { api : actix_swagger :: Api :: new ( ) } } } impl Default for Example { fn default ( ) -> Self { let api = Self :: new ( ) ; api } } impl actix_web :: dev :: HttpServiceFactory for Example { fn register ( self , config : & mut actix_web :: dev :: AppService ) { self . api . register ( config ) ; } } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::api::structure::tests::without_description_and_terms' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/api/structure.rs:134:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68d8adf - swagg::printer::api::structure::tests::without_description_and_terms::hba2b7a0b528ae67b [INFO] [stdout] at src/printer/api/structure.rs:134 [INFO] [stdout] 17: 0x55f5b68d894a - swagg::printer::api::structure::tests::without_description_and_terms::{{closure}}::hfbe7c0301e411b0f [INFO] [stdout] at src/printer/api/structure.rs:133 [INFO] [stdout] 18: 0x55f5b68d501e - core::ops::function::FnOnce::call_once::h5e787c13c48177cd [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- printer::api::methods::tests::impl_api_pascal_naming stdout ---- [INFO] [stdout] "/tmp/.tmp6wZju3/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: impl_api_pascal_naming [INFO] [stdout] Source: src/printer/api/methods.rs:154 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(vec![api1, api2, api3]) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-use super::paths; [INFO] [stdout] 2 │-use actix_swagger::{Answer, Method}; [INFO] [stdout] 3 │-use actix_web::{dev::Factory, FromRequest}; [INFO] [stdout] 4 │-use std::future::Future; [INFO] [stdout] 5 │-impl HelloGoof {} [INFO] [stdout] 6 │-use super::paths; [INFO] [stdout] 7 │-use actix_swagger::{Answer, Method}; [INFO] [stdout] 8 │-use actix_web::{dev::Factory, FromRequest}; [INFO] [stdout] 9 │-use std::future::Future; [INFO] [stdout] 10 │-impl ThatsMyName {} [INFO] [stdout] 11 │-use super::paths; [INFO] [stdout] 12 │-use actix_swagger::{Answer, Method}; [INFO] [stdout] 13 │-use actix_web::{dev::Factory, FromRequest}; [INFO] [stdout] 14 │-use std::future::Future; [INFO] [stdout] 15 │-impl RandomizeThisFWooorld {} [INFO] [stdout] 1 │+use actix_web :: { FromRequest , dev :: Factory } ; use actix_swagger :: { Answer , Method } ; use std :: future :: Future ; use super :: paths ; impl HelloGoof { } use actix_web :: { FromRequest , dev :: Factory } ; use actix_swagger :: { Answer , Method } ; use std :: future :: Future ; use super :: paths ; impl ThatsMyName { } use actix_web :: { FromRequest , dev :: Factory } ; use actix_swagger :: { Answer , Method } ; use std :: future :: Future ; use super :: paths ; impl RandomizeThisFWooorld { } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::api::methods::tests::impl_api_pascal_naming' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/api/methods.rs:154:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68a985d - swagg::printer::api::methods::tests::impl_api_pascal_naming::h3c27d6674ee71c25 [INFO] [stdout] at src/printer/api/methods.rs:154 [INFO] [stdout] 17: 0x55f5b68a93ea - swagg::printer::api::methods::tests::impl_api_pascal_naming::{{closure}}::h8321473297254666 [INFO] [stdout] at src/printer/api/methods.rs:140 [INFO] [stdout] 18: 0x55f5b68d504e - core::ops::function::FnOnce::call_once::h675b7d73bdb7b948 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- printer::api::methods::tests::default_api stdout ---- [INFO] [stdout] "/tmp/.tmphEn7ah/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: default_api [INFO] [stdout] Source: src/printer/api/methods.rs:114 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(ImplApi::default()) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-use super::paths; [INFO] [stdout] 2 │-use actix_swagger::{Answer, Method}; [INFO] [stdout] 3 │-use actix_web::{dev::Factory, FromRequest}; [INFO] [stdout] 4 │-use std::future::Future; [INFO] [stdout] 5 │-impl Api {} [INFO] [stdout] 1 │+use actix_web :: { FromRequest , dev :: Factory } ; use actix_swagger :: { Answer , Method } ; use std :: future :: Future ; use super :: paths ; impl Api { } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::api::methods::tests::default_api' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/api/methods.rs:114:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68a9069 - swagg::printer::api::methods::tests::default_api::ha697d699d23873a0 [INFO] [stdout] at src/printer/api/methods.rs:114 [INFO] [stdout] 17: 0x55f5b68a8efa - swagg::printer::api::methods::tests::default_api::{{closure}}::hb0a6e314a2583a55 [INFO] [stdout] at src/printer/api/methods.rs:113 [INFO] [stdout] 18: 0x55f5b68d522e - core::ops::function::FnOnce::call_once::ha7c978d7a3a61a02 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- printer::api::methods::tests::impl_api_without_methods stdout ---- [INFO] [stdout] "/tmp/.tmpXoA8gb/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: impl_api_without_methods [INFO] [stdout] Source: src/printer/api/methods.rs:130 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(api) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-use super::paths; [INFO] [stdout] 2 │-use actix_swagger::{Answer, Method}; [INFO] [stdout] 3 │-use actix_web::{dev::Factory, FromRequest}; [INFO] [stdout] 4 │-use std::future::Future; [INFO] [stdout] 5 │-impl Hello {} [INFO] [stdout] 1 │+use actix_web :: { FromRequest , dev :: Factory } ; use actix_swagger :: { Answer , Method } ; use std :: future :: Future ; use super :: paths ; impl Hello { } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::api::methods::tests::impl_api_without_methods' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/api/methods.rs:130:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68a9319 - swagg::printer::api::methods::tests::impl_api_without_methods::h330591b678f4be0c [INFO] [stdout] at src/printer/api/methods.rs:130 [INFO] [stdout] 17: 0x55f5b68a90ea - swagg::printer::api::methods::tests::impl_api_without_methods::{{closure}}::hfa443d4f99c20068 [INFO] [stdout] at src/printer/api/methods.rs:124 [INFO] [stdout] 18: 0x55f5b68d519e - core::ops::function::FnOnce::call_once::h769cf10ccc2d998b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- printer::components::parameters::tests::parameters_with_some_components stdout ---- [INFO] [stdout] "/tmp/.tmpn32f1S/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: parameters_with_some_components [INFO] [stdout] Source: src/printer/components/parameters.rs:37 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(ParametersModule{list: [INFO] [stdout] vec![Component :: Enum [INFO] [stdout] { [INFO] [stdout] name : "Example" . to_owned(), description [INFO] [stdout] : None, variants : vec ! [] [INFO] [stdout] }, Component :: Object [INFO] [stdout] { [INFO] [stdout] name : "Test" . to_owned(), description : [INFO] [stdout] None, fields : vec ! [] [INFO] [stdout] },],}) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-pub mod parameters { [INFO] [stdout] 2 │- use serde::{Deserialize, Serialize}; [INFO] [stdout] 3 │- #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] 4 │- pub enum Example {} [INFO] [stdout] 5 │- #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] 6 │- pub struct Test {} [INFO] [stdout] 7 │-} [INFO] [stdout] 1 │+pub mod parameters { use serde :: { Serialize , Deserialize } ; # [ derive ( Debug , Serialize , Deserialize ) ] pub enum Example { } # [ derive ( Debug , Serialize , Deserialize ) ] pub struct Test { } } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::components::parameters::tests::parameters_with_some_components' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/components/parameters.rs:37:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68d97f2 - swagg::printer::components::parameters::tests::parameters_with_some_components::h353767fb6d1a5d1e [INFO] [stdout] at src/printer/components/parameters.rs:37 [INFO] [stdout] 17: 0x55f5b68d943a - swagg::printer::components::parameters::tests::parameters_with_some_components::{{closure}}::h479661e6c39c34f5 [INFO] [stdout] at src/printer/components/parameters.rs:36 [INFO] [stdout] 18: 0x55f5b68d543e - core::ops::function::FnOnce::call_once::hecf08c5d6a02661c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- printer::components::component::tests::native_type_string stdout ---- [INFO] [stdout] "/tmp/.tmpGJmxsf/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: native_type_string [INFO] [stdout] Source: src/printer/components/component.rs:370 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(TestType(NativeType::String{format: Default::default(),})) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-type Test = String; [INFO] [stdout] 1 │+type Test = String ; [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::components::component::tests::native_type_string' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/components/component.rs:370:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68bc5c4 - swagg::printer::components::component::tests::native_type_string::h345178a14f448047 [INFO] [stdout] at src/printer/components/component.rs:370 [INFO] [stdout] 17: 0x55f5b68bc3ba - swagg::printer::components::component::tests::native_type_string::{{closure}}::h96ff63c335dbaa3b [INFO] [stdout] at src/printer/components/component.rs:369 [INFO] [stdout] 18: 0x55f5b68d54ce - core::ops::function::FnOnce::call_once::hf2647a8391416d2e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- printer::components::component::tests::native_type_float stdout ---- [INFO] [stdout] "/tmp/.tmp0PElvW/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: native_type_float [INFO] [stdout] Source: src/printer/components/component.rs:376 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(TestType(NativeType::Float{format: Default::default(),})) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-type Test = f32; [INFO] [stdout] 1 │+type Test = f32 ; [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::components::component::tests::native_type_float' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/components/component.rs:376:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68bc81d - swagg::printer::components::component::tests::native_type_float::h001536c797bff72f [INFO] [stdout] at src/printer/components/component.rs:376 [INFO] [stdout] 17: 0x55f5b68bc64a - swagg::printer::components::component::tests::native_type_float::{{closure}}::h3b4509d94f92c4ba [INFO] [stdout] at src/printer/components/component.rs:375 [INFO] [stdout] 18: 0x55f5b68d4fee - core::ops::function::FnOnce::call_once::h485b90c2d4e4804a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- printer::components::component::tests::field_type_custom stdout ---- [INFO] [stdout] "/tmp/.tmp1Jg3ca/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: field_type_custom [INFO] [stdout] Source: src/printer/components/component.rs:408 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(TestType(FieldType::Custom("MySuperType".to_owned()))) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-type Test = MySuperType; [INFO] [stdout] 1 │+type Test = MySuperType ; [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::components::component::tests::field_type_custom' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/components/component.rs:408:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68bde8c - swagg::printer::components::component::tests::field_type_custom::hb4ad99deed4778e2 [INFO] [stdout] at src/printer/components/component.rs:408 [INFO] [stdout] 17: 0x55f5b68bdc8a - swagg::printer::components::component::tests::field_type_custom::{{closure}}::h4743e8b1f6f2da24 [INFO] [stdout] at src/printer/components/component.rs:407 [INFO] [stdout] 18: 0x55f5b68d4dfe - core::ops::function::FnOnce::call_once::h0301b819d0904857 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- printer::paths::path::tests::path_empty stdout ---- [INFO] [stdout] "/tmp/.tmparZyXm/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: path_empty [INFO] [stdout] Source: src/printer/paths/path.rs:276 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(Path{name: "Example".to_owned(), [INFO] [stdout] response: ResponseEnum{responses: vec![],}, [INFO] [stdout] query_params: vec![],}) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-pub mod example { [INFO] [stdout] 2 │- use super::responses; [INFO] [stdout] 3 │- use actix_swagger::{Answer, ContentType, StatusCode}; [INFO] [stdout] 4 │- use serde::{Deserialize, Serialize}; [INFO] [stdout] 5 │- #[derive(Debug, Serialize)] [INFO] [stdout] 6 │- #[serde(untagged)] [INFO] [stdout] 7 │- pub enum Response {} [INFO] [stdout] 8 │- impl Response { [INFO] [stdout] 9 │- #[inline] [INFO] [stdout] 10 │- pub fn to_answer(self) -> Answer<'static, Self> { [INFO] [stdout] 11 │- let status = match self {}; [INFO] [stdout] 12 │- let content_type = match self {}; [INFO] [stdout] 13 │- Answer::new(self).status(status).content_type(content_type) [INFO] [stdout] 14 │- } [INFO] [stdout] 15 │- } [INFO] [stdout] 16 │-} [INFO] [stdout] 1 │+pub mod example { use super :: responses ; use actix_swagger :: { Answer , ContentType , StatusCode } ; use serde :: { Serialize , Deserialize } ; # [ derive ( Debug , Serialize ) ] # [ serde ( untagged ) ] pub enum Response { } impl Response { # [ inline ] pub fn to_answer ( self ) -> Answer < 'static , Self > { let status = match self { } ; let content_type = match self { } ; Answer :: new ( self ) . status ( status ) . content_type ( content_type ) } } } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::paths::path::tests::path_empty' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/paths/path.rs:276:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68b2725 - swagg::printer::paths::path::tests::path_empty::he2e531ecddef167b [INFO] [stdout] at src/printer/paths/path.rs:276 [INFO] [stdout] 17: 0x55f5b68b24ea - swagg::printer::paths::path::tests::path_empty::{{closure}}::h78e78b2eb2b9913c [INFO] [stdout] at src/printer/paths/path.rs:275 [INFO] [stdout] 18: 0x55f5b68d510e - core::ops::function::FnOnce::call_once::h6fa875df10b27e25 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- printer::paths::module::tests::components_module_default stdout ---- [INFO] [stdout] "/tmp/.tmpbbfNfD/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: components_module_default [INFO] [stdout] Source: src/printer/paths/module.rs:31 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(PathsModule::default()) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-pub mod paths { [INFO] [stdout] 2 │- use super::components::{parameters, responses}; [INFO] [stdout] 3 │-} [INFO] [stdout] 1 │+pub mod paths { use super :: components :: { parameters , responses } ; } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::paths::module::tests::components_module_default' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/paths/module.rs:31:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68d16b3 - swagg::printer::paths::module::tests::components_module_default::ha193465a85890bc2 [INFO] [stdout] at src/printer/paths/module.rs:31 [INFO] [stdout] 17: 0x55f5b68d154a - swagg::printer::paths::module::tests::components_module_default::{{closure}}::hb708a40c6ecff77a [INFO] [stdout] at src/printer/paths/module.rs:30 [INFO] [stdout] 18: 0x55f5b68d4e2e - core::ops::function::FnOnce::call_once::h155e03de8dd04f2c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- printer::components::component::tests::native_type_integer stdout ---- [INFO] [stdout] "/tmp/.tmpflnJES/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: native_type_integer [INFO] [stdout] Source: src/printer/components/component.rs:382 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(TestType(NativeType::Integer{format: Default::default(),})) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-type Test = i32; [INFO] [stdout] 1 │+type Test = i32 ; [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::components::component::tests::native_type_integer' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/components/component.rs:382:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68bca7d - swagg::printer::components::component::tests::native_type_integer::h7f3fad1cd3cf46a5 [INFO] [stdout] at src/printer/components/component.rs:382 [INFO] [stdout] 17: 0x55f5b68bc8aa - swagg::printer::components::component::tests::native_type_integer::{{closure}}::h1612fffdb0947de4 [INFO] [stdout] at src/printer/components/component.rs:381 [INFO] [stdout] 18: 0x55f5b68d534e - core::ops::function::FnOnce::call_once::hd4d6b7e702fa8169 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- printer::components::component::tests::format_float stdout ---- [INFO] [stdout] "/tmp/.tmp7YuCcn/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: format_float [INFO] [stdout] Source: src/printer/components/component.rs:324 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(TestType(FormatFloat::default())) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-type Test = f32; [INFO] [stdout] 1 │+type Test = f32 ; [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::components::component::tests::format_float' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/components/component.rs:324:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68b9be0 - swagg::printer::components::component::tests::format_float::h36273ceac064eb90 [INFO] [stdout] at src/printer/components/component.rs:324 [INFO] [stdout] 17: 0x55f5b68b9a3a - swagg::printer::components::component::tests::format_float::{{closure}}::h9fcb16fcb1adbbb8 [INFO] [stdout] at src/printer/components/component.rs:323 [INFO] [stdout] 18: 0x55f5b68d513e - core::ops::function::FnOnce::call_once::h70fa81ebd3ef49f3 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- printer::components::component::tests::format_string stdout ---- [INFO] [stdout] "/tmp/.tmpRvG8QB/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: format_string [INFO] [stdout] Source: src/printer/components/component.rs:338 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(TestType(FormatString::default())) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-type Test = String; [INFO] [stdout] 1 │+type Test = String ; [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::components::component::tests::format_string' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/components/component.rs:338:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68ba7f5 - swagg::printer::components::component::tests::format_string::h10e358ed07b79b6b [INFO] [stdout] at src/printer/components/component.rs:338 [INFO] [stdout] 17: 0x55f5b68ba5ba - swagg::printer::components::component::tests::format_string::{{closure}}::hc1a9c3079bb6783e [INFO] [stdout] at src/printer/components/component.rs:337 [INFO] [stdout] 18: 0x55f5b68d50ae - core::ops::function::FnOnce::call_once::h6d4b64cc662630ce [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- printer::components::component::tests::format_integer stdout ---- [INFO] [stdout] "/tmp/.tmpsnxF2s/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: format_integer [INFO] [stdout] Source: src/printer/components/component.rs:331 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(TestType(FormatInteger::default())) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-type Test = i32; [INFO] [stdout] 1 │+type Test = i32 ; [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::components::component::tests::format_integer' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/components/component.rs:331:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68ba1a0 - swagg::printer::components::component::tests::format_integer::h3c081d665dba3346 [INFO] [stdout] at src/printer/components/component.rs:331 [INFO] [stdout] 17: 0x55f5b68b9ffa - swagg::printer::components::component::tests::format_integer::{{closure}}::h30a873a4edaef64f [INFO] [stdout] at src/printer/components/component.rs:330 [INFO] [stdout] 18: 0x55f5b68d50de - core::ops::function::FnOnce::call_once::h6d5a4477c437f9b4 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- printer::components::request_bodies::tests::request_bodies_with_some_components stdout ---- [INFO] [stdout] "/tmp/.tmpgPtQ2c/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: request_bodies_with_some_components [INFO] [stdout] Source: src/printer/components/request_bodies.rs:37 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(RequestBodiesModule{list: [INFO] [stdout] vec![Component :: Enum [INFO] [stdout] { [INFO] [stdout] name : "Example" . to_owned(), [INFO] [stdout] description : None, variants : vec ! [] [INFO] [stdout] }, Component :: Object [INFO] [stdout] { [INFO] [stdout] name : "Test" . to_owned(), description [INFO] [stdout] : None, fields : vec ! [] [INFO] [stdout] },],}) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-pub mod request_bodies { [INFO] [stdout] 2 │- use serde::{Deserialize, Serialize}; [INFO] [stdout] 3 │- #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] 4 │- pub enum Example {} [INFO] [stdout] 5 │- #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] 6 │- pub struct Test {} [INFO] [stdout] 7 │-} [INFO] [stdout] 1 │+pub mod request_bodies { use serde :: { Serialize , Deserialize } ; # [ derive ( Debug , Serialize , Deserialize ) ] pub enum Example { } # [ derive ( Debug , Serialize , Deserialize ) ] pub struct Test { } } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::components::request_bodies::tests::request_bodies_with_some_components' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/components/request_bodies.rs:37:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68d9c92 - swagg::printer::components::request_bodies::tests::request_bodies_with_some_components::h73d0ac69f1e35d04 [INFO] [stdout] at src/printer/components/request_bodies.rs:37 [INFO] [stdout] 17: 0x55f5b68d98da - swagg::printer::components::request_bodies::tests::request_bodies_with_some_components::{{closure}}::hd21bd84a35548740 [INFO] [stdout] at src/printer/components/request_bodies.rs:36 [INFO] [stdout] 18: 0x55f5b68d4eee - core::ops::function::FnOnce::call_once::h398048118365d9bd [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- printer::components::component::tests::field_type_native stdout ---- [INFO] [stdout] "/tmp/.tmpBS7CDY/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: field_type_native [INFO] [stdout] Source: src/printer/components/component.rs:401 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(TestType(FieldType::Native(NativeType::Boolean))) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-type Test = bool; [INFO] [stdout] 1 │+type Test = bool ; [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::components::component::tests::field_type_native' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/components/component.rs:401:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68bd6cf - swagg::printer::components::component::tests::field_type_native::hf98e98550c591ffd [INFO] [stdout] at src/printer/components/component.rs:401 [INFO] [stdout] 17: 0x55f5b68bd48a - swagg::printer::components::component::tests::field_type_native::{{closure}}::hbb58112d127a7945 [INFO] [stdout] at src/printer/components/component.rs:400 [INFO] [stdout] 18: 0x55f5b68d54fe - core::ops::function::FnOnce::call_once::hfb227da7becaee82 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- printer::components::component::tests::native_type_boolean stdout ---- [INFO] [stdout] "/tmp/.tmpOYVAgU/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: native_type_boolean [INFO] [stdout] Source: src/printer/components/component.rs:388 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(TestType(NativeType::Boolean)) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-type Test = bool; [INFO] [stdout] 1 │+type Test = bool ; [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::components::component::tests::native_type_boolean' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/components/component.rs:388:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68bccc8 - swagg::printer::components::component::tests::native_type_boolean::h4a280ed89ee556df [INFO] [stdout] at src/printer/components/component.rs:388 [INFO] [stdout] 17: 0x55f5b68bcb0a - swagg::printer::components::component::tests::native_type_boolean::{{closure}}::h4038466404b7c6c0 [INFO] [stdout] at src/printer/components/component.rs:387 [INFO] [stdout] 18: 0x55f5b68d51ce - core::ops::function::FnOnce::call_once::h8bf2a36545698d34 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- printer::components::module::tests::components_module_default stdout ---- [INFO] [stdout] "/tmp/.tmpeAKeox/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: components_module_default [INFO] [stdout] Source: src/printer/components/module.rs:38 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(ComponentsModule::default()) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-pub mod components { [INFO] [stdout] 2 │- pub mod parameters { [INFO] [stdout] 3 │- use serde::{Deserialize, Serialize}; [INFO] [stdout] 4 │- } [INFO] [stdout] 5 │- pub mod request_bodies { [INFO] [stdout] 6 │- use serde::{Deserialize, Serialize}; [INFO] [stdout] 7 │- } [INFO] [stdout] 8 │- pub mod responses { [INFO] [stdout] 9 │- use serde::{Deserialize, Serialize}; [INFO] [stdout] 10 │- } [INFO] [stdout] 11 │-} [INFO] [stdout] 1 │+pub mod components { pub mod parameters { use serde :: { Serialize , Deserialize } ; } pub mod request_bodies { use serde :: { Serialize , Deserialize } ; } pub mod responses { use serde :: { Serialize , Deserialize } ; } } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::components::module::tests::components_module_default' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/components/module.rs:38:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68d1473 - swagg::printer::components::module::tests::components_module_default::h40b75861184669db [INFO] [stdout] at src/printer/components/module.rs:38 [INFO] [stdout] 17: 0x55f5b68d130a - swagg::printer::components::module::tests::components_module_default::{{closure}}::h576d2446ea62c8f1 [INFO] [stdout] at src/printer/components/module.rs:37 [INFO] [stdout] 18: 0x55f5b68d546e - core::ops::function::FnOnce::call_once::hed3fdc46c11ab9e9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- printer::components::component::tests::field_type_internal_allow_path stdout ---- [INFO] [stdout] "/tmp/.tmpw0BhUM/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: field_type_internal_allow_path [INFO] [stdout] Source: src/printer/components/component.rs:420 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(TestType(FieldType::Internal("some::Example".to_owned()))) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-type Test = some::Example; [INFO] [stdout] 1 │+type Test = some :: Example ; [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::components::component::tests::field_type_internal_allow_path' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/components/component.rs:420:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68be5d4 - swagg::printer::components::component::tests::field_type_internal_allow_path::h52ec621b8b2ffea2 [INFO] [stdout] at src/printer/components/component.rs:420 [INFO] [stdout] 17: 0x55f5b68be3da - swagg::printer::components::component::tests::field_type_internal_allow_path::{{closure}}::he5826858ad5a0f4d [INFO] [stdout] at src/printer/components/component.rs:419 [INFO] [stdout] 18: 0x55f5b68d4e8e - core::ops::function::FnOnce::call_once::h32f44d38f7e1611a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- printer::components::responses::tests::responses_with_some_components stdout ---- [INFO] [stdout] "/tmp/.tmpC91gKw/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: responses_with_some_components [INFO] [stdout] Source: src/printer/components/responses.rs:37 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(ResponsesModule{list: [INFO] [stdout] vec![Component :: Enum [INFO] [stdout] { [INFO] [stdout] name : "Example" . to_owned(), description : [INFO] [stdout] None, variants : vec ! [] [INFO] [stdout] }, Component :: Object [INFO] [stdout] { [INFO] [stdout] name : "Test" . to_owned(), description : [INFO] [stdout] None, fields : vec ! [] [INFO] [stdout] },],}) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-pub mod responses { [INFO] [stdout] 2 │- use serde::{Deserialize, Serialize}; [INFO] [stdout] 3 │- #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] 4 │- pub enum Example {} [INFO] [stdout] 5 │- #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] 6 │- pub struct Test {} [INFO] [stdout] 7 │-} [INFO] [stdout] 1 │+pub mod responses { use serde :: { Serialize , Deserialize } ; # [ derive ( Debug , Serialize , Deserialize ) ] pub enum Example { } # [ derive ( Debug , Serialize , Deserialize ) ] pub struct Test { } } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::components::responses::tests::responses_with_some_components' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/components/responses.rs:37:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68da132 - swagg::printer::components::responses::tests::responses_with_some_components::h95056544ee181d01 [INFO] [stdout] at src/printer/components/responses.rs:37 [INFO] [stdout] 17: 0x55f5b68d9d7a - swagg::printer::components::responses::tests::responses_with_some_components::{{closure}}::h646aa96cb23f3753 [INFO] [stdout] at src/printer/components/responses.rs:36 [INFO] [stdout] 18: 0x55f5b68d4f1e - core::ops::function::FnOnce::call_once::h3b1e6fa31e3ac2d4 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- printer::paths::path::tests::path_with_responses stdout ---- [INFO] [stdout] "/tmp/.tmpG9z054/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: path_with_responses [INFO] [stdout] Source: src/printer/paths/path.rs:304 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(Path{name: "Example".to_owned(), [INFO] [stdout] response: [INFO] [stdout] ResponseEnum{responses: [INFO] [stdout] vec![StatusVariant [INFO] [stdout] { [INFO] [stdout] status : ResponseStatus :: Ok, [INFO] [stdout] content_type : None, [INFO] [stdout] response_type_name : None, description [INFO] [stdout] : None, x_variant_name : None, [INFO] [stdout] }, StatusVariant [INFO] [stdout] { [INFO] [stdout] status : ResponseStatus :: Created, [INFO] [stdout] content_type : [INFO] [stdout] Some(ContentType :: Json), [INFO] [stdout] response_type_name : None, description [INFO] [stdout] : None, x_variant_name : None, [INFO] [stdout] }, StatusVariant [INFO] [stdout] { [INFO] [stdout] status : ResponseStatus :: Accepted, [INFO] [stdout] content_type : [INFO] [stdout] Some(ContentType :: Json), [INFO] [stdout] response_type_name : [INFO] [stdout] Some("unexpected_FRIEND_Name" . [INFO] [stdout] to_owned()), description : None, [INFO] [stdout] x_variant_name : None, [INFO] [stdout] }, StatusVariant [INFO] [stdout] { [INFO] [stdout] status : ResponseStatus :: BadRequest, [INFO] [stdout] content_type : [INFO] [stdout] Some(ContentType :: Json), [INFO] [stdout] response_type_name : [INFO] [stdout] Some("unexpected_FRIEND_Name" . [INFO] [stdout] to_owned()), description : [INFO] [stdout] Some("My super simple description.\nAnother back" [INFO] [stdout] . to_owned()), x_variant_name : [INFO] [stdout] None, [INFO] [stdout] }, StatusVariant [INFO] [stdout] { [INFO] [stdout] status : ResponseStatus :: [INFO] [stdout] InternalServerError, content_type : [INFO] [stdout] Some(ContentType :: Json), [INFO] [stdout] response_type_name : [INFO] [stdout] Some("unexpected_FRIEND_Name" . [INFO] [stdout] to_owned()), description : [INFO] [stdout] Some("My super simple description.\nAnother back" [INFO] [stdout] . to_owned()), x_variant_name : [INFO] [stdout] Some("Unexpected" . to_owned()), [INFO] [stdout] }, StatusVariant [INFO] [stdout] { [INFO] [stdout] status : ResponseStatus :: [INFO] [stdout] ExpectationFailed, content_type : [INFO] [stdout] None, response_type_name : [INFO] [stdout] Some("unexpected_FRIEND_Name" . [INFO] [stdout] to_owned()), description : [INFO] [stdout] Some("My super simple description.\nAnother back" [INFO] [stdout] . to_owned()), x_variant_name : [INFO] [stdout] Some("Expectation" . to_owned()), [INFO] [stdout] }, StatusVariant [INFO] [stdout] { [INFO] [stdout] status : ResponseStatus :: NotFound, [INFO] [stdout] content_type : None, [INFO] [stdout] response_type_name : None, description [INFO] [stdout] : [INFO] [stdout] Some("My super simple description.\nAnother back" [INFO] [stdout] . to_owned()), x_variant_name : [INFO] [stdout] Some("No" . to_owned()), [INFO] [stdout] },],}, [INFO] [stdout] query_params: vec![],}) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-pub mod example { [INFO] [stdout] 2 │- use super::responses; [INFO] [stdout] 3 │- use actix_swagger::{Answer, ContentType, StatusCode}; [INFO] [stdout] 4 │- use serde::{Deserialize, Serialize}; [INFO] [stdout] 5 │- #[derive(Debug, Serialize)] [INFO] [stdout] 6 │- #[serde(untagged)] [INFO] [stdout] 7 │- pub enum Response { [INFO] [stdout] 8 │- Ok, [INFO] [stdout] 9 │- Created, [INFO] [stdout] 10 │- Accepted(responses::UnexpectedFriendName), [INFO] [stdout] 11 │- #[doc = "My super simple description.\nAnother back"] [INFO] [stdout] 12 │- BadRequest(responses::UnexpectedFriendName), [INFO] [stdout] 13 │- #[doc = "My super simple description.\nAnother back"] [INFO] [stdout] 14 │- Unexpected(responses::UnexpectedFriendName), [INFO] [stdout] 15 │- #[doc = "My super simple description.\nAnother back"] [INFO] [stdout] 16 │- Expectation(responses::UnexpectedFriendName), [INFO] [stdout] 17 │- #[doc = "My super simple description.\nAnother back"] [INFO] [stdout] 18 │- No, [INFO] [stdout] 19 │- } [INFO] [stdout] 20 │- impl Response { [INFO] [stdout] 21 │- #[inline] [INFO] [stdout] 22 │- pub fn to_answer(self) -> Answer<'static, Self> { [INFO] [stdout] 23 │- let status = match self { [INFO] [stdout] 24 │- Self::Ok => StatusCode::OK, [INFO] [stdout] 25 │- Self::Created => StatusCode::CREATED, [INFO] [stdout] 26 │- Self::Accepted(_) => StatusCode::ACCEPTED, [INFO] [stdout] 27 │- Self::BadRequest(_) => StatusCode::BAD_REQUEST, [INFO] [stdout] 28 │- Self::Unexpected(_) => StatusCode::INTERNAL_SERVER_ERROR, [INFO] [stdout] 29 │- Self::Expectation(_) => StatusCode::EXPECTATION_FAILED, [INFO] [stdout] 30 │- Self::No => StatusCode::NOT_FOUND, [INFO] [stdout] 31 │- }; [INFO] [stdout] 32 │- let content_type = match self { [INFO] [stdout] 33 │- Self::Ok => None, [INFO] [stdout] 34 │- Self::Created => Some(ContentType::Json), [INFO] [stdout] 35 │- Self::Accepted(_) => Some(ContentType::Json), [INFO] [stdout] 36 │- Self::BadRequest(_) => Some(ContentType::Json), [INFO] [stdout] 37 │- Self::Unexpected(_) => Some(ContentType::Json), [INFO] [stdout] 38 │- Self::Expectation(_) => None, [INFO] [stdout] 39 │- Self::No => None, [INFO] [stdout] 40 │- }; [INFO] [stdout] 41 │- Answer::new(self).status(status).content_type(content_type) [INFO] [stdout] 42 │- } [INFO] [stdout] 43 │- } [INFO] [stdout] 44 │-} [INFO] [stdout] 1 │+pub mod example { use super :: responses ; use actix_swagger :: { Answer , ContentType , StatusCode } ; use serde :: { Serialize , Deserialize } ; # [ derive ( Debug , Serialize ) ] # [ serde ( untagged ) ] pub enum Response { Ok , Created , Accepted ( responses :: UnexpectedFriendName ) , # [ doc = "My super simple description.\nAnother back" ] BadRequest ( responses :: UnexpectedFriendName ) , # [ doc = "My super simple description.\nAnother back" ] Unexpected ( responses :: UnexpectedFriendName ) , # [ doc = "My super simple description.\nAnother back" ] Expectation ( responses :: UnexpectedFriendName ) , # [ doc = "My super simple description.\nAnother back" ] No , } impl Response { # [ inline ] pub fn to_answer ( self ) -> Answer < 'static , Self > { let status = match self { Self :: Ok => StatusCode :: OK , Self :: Created => StatusCode :: CREATED , Self :: Accepted ( _ ) => StatusCode :: ACCEPTED , Self :: BadRequest ( _ ) => StatusCode :: BAD_REQUEST , Self :: Unexpected ( _ ) => StatusCode :: INTERNAL_SERVER_ERROR , Self :: Expectation ( _ ) => StatusCode :: EXPECTATION_FAILED , Self :: No => StatusCode :: NOT_FOUND , } ; let content_type = match self { Self :: Ok => None , Self :: Created => Some ( ContentType :: Json ) , Self :: Accepted ( _ ) => Some ( ContentType :: Json ) , Self :: BadRequest ( _ ) => Some ( ContentType :: Json ) , Self :: Unexpected ( _ ) => Some ( ContentType :: Json ) , Self :: Expectation ( _ ) => None , Self :: No => None , } ; Answer :: new ( self ) . status ( status ) . content_type ( content_type ) } } } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::paths::path::tests::path_with_responses' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/paths/path.rs:304:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68b33f5 - swagg::printer::paths::path::tests::path_with_responses::h6878c5d623301219 [INFO] [stdout] at src/printer/paths/path.rs:304 [INFO] [stdout] 17: 0x55f5b68b27da - swagg::printer::paths::path::tests::path_with_responses::{{closure}}::hbe08969e5175ccc7 [INFO] [stdout] at src/printer/paths/path.rs:303 [INFO] [stdout] 18: 0x55f5b68d540e - core::ops::function::FnOnce::call_once::he719e9a5afc30b12 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- printer::paths::path::tests::path_with_query_params stdout ---- [INFO] [stdout] "/tmp/.tmpz89stv/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: path_with_query_params [INFO] [stdout] Source: src/printer/paths/path.rs:410 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(Path{name: "Example".to_owned(), [INFO] [stdout] response: ResponseEnum{responses: vec![],}, [INFO] [stdout] query_params: [INFO] [stdout] vec![QueryParam [INFO] [stdout] { [INFO] [stdout] name : "simple_LONG_DescriptionFor-Me" . to_owned(), [INFO] [stdout] description : None, required : false, type_ref : [INFO] [stdout] "simple_LONG_DescriptionFor-Me" . to_owned() [INFO] [stdout] }, QueryParam [INFO] [stdout] { [INFO] [stdout] name : "ARE_YOU_SURE" . to_owned(), description : [INFO] [stdout] Some("This is the description" . to_owned()), required [INFO] [stdout] : false, type_ref : "simple_LONG_DescriptionFor-Me" . [INFO] [stdout] to_owned() [INFO] [stdout] }, QueryParam [INFO] [stdout] { [INFO] [stdout] name : "just-required" . to_owned(), description : [INFO] [stdout] None, required : true, type_ref : "Another" . [INFO] [stdout] to_owned() [INFO] [stdout] },],}) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-pub mod example { [INFO] [stdout] 2 │- use super::responses; [INFO] [stdout] 3 │- use actix_swagger::{Answer, ContentType, StatusCode}; [INFO] [stdout] 4 │- use serde::{Deserialize, Serialize}; [INFO] [stdout] 5 │- #[derive(Debug, Serialize)] [INFO] [stdout] 6 │- #[serde(untagged)] [INFO] [stdout] 7 │- pub enum Response {} [INFO] [stdout] 8 │- impl Response { [INFO] [stdout] 9 │- #[inline] [INFO] [stdout] 10 │- pub fn to_answer(self) -> Answer<'static, Self> { [INFO] [stdout] 11 │- let status = match self {}; [INFO] [stdout] 12 │- let content_type = match self {}; [INFO] [stdout] 13 │- Answer::new(self).status(status).content_type(content_type) [INFO] [stdout] 14 │- } [INFO] [stdout] 15 │- } [INFO] [stdout] 16 │- use super::parameters; [INFO] [stdout] 17 │- #[derive(Debug, Deserialize)] [INFO] [stdout] 18 │- pub struct QueryParams { [INFO] [stdout] 19 │- #[serde(rename = "simple_LONG_DescriptionFor-Me")] [INFO] [stdout] 20 │- pub simple_long_description_for_me: Option, [INFO] [stdout] 21 │- #[doc = "This is the description"] [INFO] [stdout] 22 │- #[serde(rename = "ARE_YOU_SURE")] [INFO] [stdout] 23 │- pub are_you_sure: Option, [INFO] [stdout] 24 │- #[serde(rename = "just-required")] [INFO] [stdout] 25 │- pub just_required: parameters::Another, [INFO] [stdout] 26 │- } [INFO] [stdout] 27 │- pub type Query = actix_web::http::Query; [INFO] [stdout] 28 │-} [INFO] [stdout] 1 │+pub mod example { use super :: responses ; use actix_swagger :: { Answer , ContentType , StatusCode } ; use serde :: { Serialize , Deserialize } ; # [ derive ( Debug , Serialize ) ] # [ serde ( untagged ) ] pub enum Response { } impl Response { # [ inline ] pub fn to_answer ( self ) -> Answer < 'static , Self > { let status = match self { } ; let content_type = match self { } ; Answer :: new ( self ) . status ( status ) . content_type ( content_type ) } } use super :: parameters ; # [ derive ( Debug , Deserialize ) ] pub struct QueryParams { # [ serde ( rename = "simple_LONG_DescriptionFor-Me" ) ] pub simple_long_description_for_me : Option < parameters :: SimpleLongDescriptionForMe > , # [ doc = "This is the description" ] # [ serde ( rename = "ARE_YOU_SURE" ) ] pub are_you_sure : Option < parameters :: SimpleLongDescriptionForMe > , # [ serde ( rename = "just-required" ) ] pub just_required : parameters :: Another , } pub type Query = actix_web :: http :: Query < QueryParams > ; } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::paths::path::tests::path_with_query_params' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/paths/path.rs:410:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68b3b82 - swagg::printer::paths::path::tests::path_with_query_params::h524a8cb64c844ac3 [INFO] [stdout] at src/printer/paths/path.rs:410 [INFO] [stdout] 17: 0x55f5b68b358a - swagg::printer::paths::path::tests::path_with_query_params::{{closure}}::h2d7aa97aecd48e3b [INFO] [stdout] at src/printer/paths/path.rs:409 [INFO] [stdout] 18: 0x55f5b68d531e - core::ops::function::FnOnce::call_once::hd31677b8a0cea6dc [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- printer::tests::huge_test_all_generated stdout ---- [INFO] [stdout] "/tmp/.tmpRn3dbJ/source.rs" [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: huge_test_all_generated [INFO] [stdout] Source: src/printer/mod.rs:359 [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] shot(generated_module) [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-#![allow(dead_code, unused_imports)] [INFO] [stdout] 2 │-pub mod api { [INFO] [stdout] 3 │- #[doc = "Public API for frontend and OAuth applications [Review Github](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/)"] [INFO] [stdout] 4 │- pub struct ExampleApiDef { [INFO] [stdout] 5 │- api: actix_swagger::Api, [INFO] [stdout] 6 │- } [INFO] [stdout] 7 │- impl ExampleApiDef { [INFO] [stdout] 8 │- pub fn new() -> Self { [INFO] [stdout] 9 │- Self { [INFO] [stdout] 10 │- api: actix_swagger::Api::new(), [INFO] [stdout] 11 │- } [INFO] [stdout] 12 │- } [INFO] [stdout] 13 │- } [INFO] [stdout] 14 │- impl Default for ExampleApiDef { [INFO] [stdout] 15 │- fn default() -> Self { [INFO] [stdout] 16 │- let api = Self::new(); [INFO] [stdout] 17 │- api [INFO] [stdout] 18 │- } [INFO] [stdout] 19 │- } [INFO] [stdout] 20 │- impl actix_web::dev::HttpServiceFactory for ExampleApiDef { [INFO] [stdout] 21 │- fn register(self, config: &mut actix_web::dev::AppService) { [INFO] [stdout] 22 │- self.api.register(config); [INFO] [stdout] 23 │- } [INFO] [stdout] 24 │- } [INFO] [stdout] 25 │- use super::paths; [INFO] [stdout] 26 │- use actix_swagger::{Answer, Method}; [INFO] [stdout] 27 │- use actix_web::{dev::Factory, FromRequest}; [INFO] [stdout] 28 │- use std::future::Future; [INFO] [stdout] 29 │- impl ExampleApiDef { [INFO] [stdout] 30 │- pub fn bind_session_get(mut self, handler: F) -> Self [INFO] [stdout] 31 │- where [INFO] [stdout] 32 │- F: Factory>, [INFO] [stdout] 33 │- T: FromRequest + 'static, [INFO] [stdout] 34 │- R: Future> + 'static, [INFO] [stdout] 35 │- { [INFO] [stdout] 36 │- self.api = self.api.bind("/session".to_owned(), Method::GET, handler); [INFO] [stdout] 37 │- self [INFO] [stdout] 38 │- } [INFO] [stdout] 39 │- #[doc = "Request body - super::requst_bodies::SessionCreateBody"] [INFO] [stdout] 40 │- pub fn bind_session_create(mut self, handler: F) -> Self [INFO] [stdout] 41 │- where [INFO] [stdout] 42 │- F: Factory>, [INFO] [stdout] 43 │- T: FromRequest + 'static, [INFO] [stdout] 44 │- R: Future> + 'static, [INFO] [stdout] 45 │- { [INFO] [stdout] 46 │- self.api = self.api.bind("/session".to_owned(), Method::POST, handler); [INFO] [stdout] 47 │- self [INFO] [stdout] 48 │- } [INFO] [stdout] 49 │- #[doc = "Request body - super::requst_bodies::RegisterConfirmation"] [INFO] [stdout] 50 │- pub fn bind_register_confirmation(mut self, handler: F) -> Self [INFO] [stdout] 51 │- where [INFO] [stdout] 52 │- F: Factory>, [INFO] [stdout] 53 │- T: FromRequest + 'static, [INFO] [stdout] 54 │- R: Future> + 'static, [INFO] [stdout] 55 │- { [INFO] [stdout] 56 │- self.api = self [INFO] [stdout] 57 │- .api [INFO] [stdout] 58 │- .bind("/register/confirmation".to_owned(), Method::POST, handler); [INFO] [stdout] 59 │- self [INFO] [stdout] 60 │- } [INFO] [stdout] 61 │- } [INFO] [stdout] 62 │-} [INFO] [stdout] 63 │-pub mod components { [INFO] [stdout] 64 │- pub mod parameters { [INFO] [stdout] 65 │- use serde::{Deserialize, Serialize}; [INFO] [stdout] 66 │- #[doc = "response_type is set to code indicating that you want an authorization code as the response."] [INFO] [stdout] 67 │- #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] 68 │- pub enum OauthResponseType { [INFO] [stdout] 69 │- #[serde(rename = "code")] [INFO] [stdout] 70 │- Code, [INFO] [stdout] 71 │- } [INFO] [stdout] 72 │- #[doc = "The client_id is the identifier for your app"] [INFO] [stdout] 73 │- pub type OauthClientId = uuid::Uuid; [INFO] [stdout] 74 │- #[doc = "redirect_uri may be optional depending on the API, but is highly recommended"] [INFO] [stdout] 75 │- pub type OauthRedirectUri = String; [INFO] [stdout] 76 │- } [INFO] [stdout] 77 │- pub mod request_bodies { [INFO] [stdout] 78 │- use serde::{Deserialize, Serialize}; [INFO] [stdout] 79 │- #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] 80 │- pub struct Register { [INFO] [stdout] 81 │- pub email: String, [INFO] [stdout] 82 │- pub demo: Option>>, [INFO] [stdout] 83 │- } [INFO] [stdout] 84 │- #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] 85 │- pub struct RegisterConfirmation { [INFO] [stdout] 86 │- #[serde(rename = "confirmationCode")] [INFO] [stdout] 87 │- pub confirmation_code: String, [INFO] [stdout] 88 │- #[serde(rename = "firstName")] [INFO] [stdout] 89 │- pub first_name: String, [INFO] [stdout] 90 │- #[serde(rename = "lastName")] [INFO] [stdout] 91 │- pub last_name: String, [INFO] [stdout] 92 │- pub password: String, [INFO] [stdout] 93 │- pub demo: Option, [INFO] [stdout] 94 │- pub customizer: Option, [INFO] [stdout] 95 │- } [INFO] [stdout] 96 │- } [INFO] [stdout] 97 │- pub mod responses { [INFO] [stdout] 98 │- use serde::{Deserialize, Serialize}; [INFO] [stdout] 99 │- #[doc = "Answer for registration confirmation"] [INFO] [stdout] 100 │- #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] 101 │- pub struct RegisterConfirmationFailed { [INFO] [stdout] 102 │- pub error: RegisterConfirmationFailedError, [INFO] [stdout] 103 │- } [INFO] [stdout] 104 │- #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] 105 │- pub enum RegisterConfirmationFailedError { [INFO] [stdout] 106 │- #[serde(rename = "code_invalid_or_expired")] [INFO] [stdout] 107 │- CodeInvalidOrExpired, [INFO] [stdout] 108 │- #[serde(rename = "email_already_activated")] [INFO] [stdout] 109 │- EmailAlreadyActivated, [INFO] [stdout] 110 │- #[serde(rename = "invalid_form")] [INFO] [stdout] 111 │- InvalidForm, [INFO] [stdout] 112 │- } [INFO] [stdout] 113 │- #[doc = "Registration link sent to email, now user can find out when the link expires"] [INFO] [stdout] 114 │- #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] 115 │- pub struct RegistrationRequestCreated { [INFO] [stdout] 116 │- #[doc = "UTC Unix TimeStamp when the link expires"] [INFO] [stdout] 117 │- #[serde(rename = "expiresAt")] [INFO] [stdout] 118 │- pub expires_at: i64, [INFO] [stdout] 119 │- } [INFO] [stdout] 120 │- } [INFO] [stdout] 121 │-} [INFO] [stdout] 122 │-pub mod paths { [INFO] [stdout] 123 │- use super::components::{parameters, responses}; [INFO] [stdout] 124 │- pub mod register_confirmation { [INFO] [stdout] 125 │- use super::responses; [INFO] [stdout] 126 │- use actix_swagger::{Answer, ContentType, StatusCode}; [INFO] [stdout] 127 │- use serde::{Deserialize, Serialize}; [INFO] [stdout] 128 │- #[derive(Debug, Serialize)] [INFO] [stdout] 129 │- #[serde(untagged)] [INFO] [stdout] 130 │- pub enum Response { [INFO] [stdout] 131 │- Created, [INFO] [stdout] 132 │- BadRequest(responses::RegisterConfirmationFailed), [INFO] [stdout] 133 │- Unexpected, [INFO] [stdout] 134 │- } [INFO] [stdout] 135 │- impl Response { [INFO] [stdout] 136 │- #[inline] [INFO] [stdout] 137 │- pub fn to_answer(self) -> Answer<'static, Self> { [INFO] [stdout] 138 │- let status = match self { [INFO] [stdout] 139 │- Self::Created => StatusCode::CREATED, [INFO] [stdout] 140 │- Self::BadRequest(_) => StatusCode::BAD_REQUEST, [INFO] [stdout] 141 │- Self::Unexpected => StatusCode::INTERNAL_SERVER_ERROR, [INFO] [stdout] 142 │- }; [INFO] [stdout] 143 │- let content_type = match self { [INFO] [stdout] 144 │- Self::Created => None, [INFO] [stdout] 145 │- Self::BadRequest(_) => Some(ContentType::Json), [INFO] [stdout] 146 │- Self::Unexpected => Some(ContentType::Json), [INFO] [stdout] 147 │- }; [INFO] [stdout] 148 │- Answer::new(self).status(status).content_type(content_type) [INFO] [stdout] 149 │- } [INFO] [stdout] 150 │- } [INFO] [stdout] 151 │- } [INFO] [stdout] 152 │- pub mod session_create { [INFO] [stdout] 153 │- use super::responses; [INFO] [stdout] 154 │- use actix_swagger::{Answer, ContentType, StatusCode}; [INFO] [stdout] 155 │- use serde::{Deserialize, Serialize}; [INFO] [stdout] 156 │- #[derive(Debug, Serialize)] [INFO] [stdout] 157 │- #[serde(untagged)] [INFO] [stdout] 158 │- pub enum Response { [INFO] [stdout] 159 │- #[doc = "User logined, cookies writed\nFoo"] [INFO] [stdout] 160 │- Created, [INFO] [stdout] 161 │- BadRequest(responses::SessionCreateFailed), [INFO] [stdout] 162 │- Unexpected, [INFO] [stdout] 163 │- } [INFO] [stdout] 164 │- impl Response { [INFO] [stdout] 165 │- #[inline] [INFO] [stdout] 166 │- pub fn to_answer(self) -> Answer<'static, Self> { [INFO] [stdout] 167 │- let status = match self { [INFO] [stdout] 168 │- Self::Created => StatusCode::CREATED, [INFO] [stdout] 169 │- Self::BadRequest(_) => StatusCode::BAD_REQUEST, [INFO] [stdout] 170 │- Self::Unexpected => StatusCode::INTERNAL_SERVER_ERROR, [INFO] [stdout] 171 │- }; [INFO] [stdout] 172 │- let content_type = match self { [INFO] [stdout] 173 │- Self::Created => None, [INFO] [stdout] 174 │- Self::BadRequest(_) => Some(ContentType::Json), [INFO] [stdout] 175 │- Self::Unexpected => Some(ContentType::Json), [INFO] [stdout] 176 │- }; [INFO] [stdout] 177 │- Answer::new(self).status(status).content_type(content_type) [INFO] [stdout] 178 │- } [INFO] [stdout] 179 │- } [INFO] [stdout] 180 │- use super::parameters; [INFO] [stdout] 181 │- #[derive(Debug, Deserialize)] [INFO] [stdout] 182 │- pub struct QueryParams { [INFO] [stdout] 183 │- #[doc = "response_type is set to code indicating that you want an authorization code as the response."] [INFO] [stdout] 184 │- #[serde(rename = "responseType")] [INFO] [stdout] 185 │- pub response_type: parameters::OauthResponseType, [INFO] [stdout] 186 │- pub redirect_uri: Option, [INFO] [stdout] 187 │- #[serde(rename = "GlobalNameOfTheUniverse")] [INFO] [stdout] 188 │- pub global_name_of_the_universe: Option, [INFO] [stdout] 189 │- } [INFO] [stdout] 190 │- pub type Query = actix_web::http::Query; [INFO] [stdout] 191 │- } [INFO] [stdout] 192 │-} [INFO] [stdout] 1 │+# ! [ allow ( dead_code , unused_imports ) ] pub mod api { # [ doc = "Public API for frontend and OAuth applications [Review Github](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/)" ] pub struct ExampleApiDef { api : actix_swagger :: Api , } impl ExampleApiDef { pub fn new ( ) -> Self { Self { api : actix_swagger :: Api :: new ( ) } } } impl Default for ExampleApiDef { fn default ( ) -> Self { let api = Self :: new ( ) ; api } } impl actix_web :: dev :: HttpServiceFactory for ExampleApiDef { fn register ( self , config : & mut actix_web :: dev :: AppService ) { self . api . register ( config ) ; } } use actix_web :: { FromRequest , dev :: Factory } ; use actix_swagger :: { Answer , Method } ; use std :: future :: Future ; use super :: paths ; impl ExampleApiDef { pub fn bind_session_get < F , T , R > ( mut self , handler : F ) -> Self where F : Factory < T , R , Answer < 'static , paths :: session_get :: Response >> , T : FromRequest + 'static , R : Future < Output = Answer < 'static , paths :: session_get :: Response >> + 'static , { self . api = self . api . bind ( "/session" . to_owned ( ) , Method :: GET , handler ) ; self } # [ doc = "Request body - super::requst_bodies::SessionCreateBody" ] pub fn bind_session_create < F , T , R > ( mut self , handler : F ) -> Self where F : Factory < T , R , Answer < 'static , paths :: session_create :: Response >> , T : FromRequest + 'static , R : Future < Output = Answer < 'static , paths :: session_create :: Response >> + 'static , { self . api = self . api . bind ( "/session" . to_owned ( ) , Method :: POST , handler ) ; self } # [ doc = "Request body - super::requst_bodies::RegisterConfirmation" ] pub fn bind_register_confirmation < F , T , R > ( mut self , handler : F ) -> Self where F : Factory < T , R , Answer < 'static , paths :: register_confirmation :: Response >> , T : FromRequest + 'static , R : Future < Output = Answer < 'static , paths :: register_confirmation :: Response >> + 'static , { self . api = self . api . bind ( "/register/confirmation" . to_owned ( ) , Method :: POST , handler ) ; self } } } pub mod components { pub mod parameters { use serde :: { Serialize , Deserialize } ; # [ doc = "response_type is set to code indicating that you want an authorization code as the response." ] # [ derive ( Debug , Serialize , Deserialize ) ] pub enum OauthResponseType { # [ serde ( rename = "code" ) ] Code , } # [ doc = "The client_id is the identifier for your app" ] pub type OauthClientId = uuid :: Uuid ; # [ doc = "redirect_uri may be optional depending on the API, but is highly recommended" ] pub type OauthRedirectUri = String ; } pub mod request_bodies { use serde :: { Serialize , Deserialize } ; # [ derive ( Debug , Serialize , Deserialize ) ] pub struct Register { pub email : String , pub demo : Option < Vec < Vec < String > > > , } # [ derive ( Debug , Serialize , Deserialize ) ] pub struct RegisterConfirmation { # [ serde ( rename = "confirmationCode" ) ] pub confirmation_code : String , # [ serde ( rename = "firstName" ) ] pub first_name : String , # [ serde ( rename = "lastName" ) ] pub last_name : String , pub password : String , pub demo : Option < f32 > , pub customizer : Option < crate :: app :: MySuperType > , } } pub mod responses { use serde :: { Serialize , Deserialize } ; # [ doc = "Answer for registration confirmation" ] # [ derive ( Debug , Serialize , Deserialize ) ] pub struct RegisterConfirmationFailed { pub error : RegisterConfirmationFailedError , } # [ derive ( Debug , Serialize , Deserialize ) ] pub enum RegisterConfirmationFailedError { # [ serde ( rename = "code_invalid_or_expired" ) ] CodeInvalidOrExpired , # [ serde ( rename = "email_already_activated" ) ] EmailAlreadyActivated , # [ serde ( rename = "invalid_form" ) ] InvalidForm , } # [ doc = "Registration link sent to email, now user can find out when the link expires" ] # [ derive ( Debug , Serialize , Deserialize ) ] pub struct RegistrationRequestCreated { # [ doc = "UTC Unix TimeStamp when the link expires" ] # [ serde ( rename = "expiresAt" ) ] pub expires_at : i64 , } } } pub mod paths { use super :: components :: { parameters , responses } ; pub mod register_confirmation { use super :: responses ; use actix_swagger :: { Answer , ContentType , StatusCode } ; use serde :: { Serialize , Deserialize } ; # [ derive ( Debug , Serialize ) ] # [ serde ( untagged ) ] pub enum Response { Created , BadRequest ( responses :: RegisterConfirmationFailed ) , Unexpected , } impl Response { # [ inline ] pub fn to_answer ( self ) -> Answer < 'static , Self > { let status = match self { Self :: Created => StatusCode :: CREATED , Self :: BadRequest ( _ ) => StatusCode :: BAD_REQUEST , Self :: Unexpected => StatusCode :: INTERNAL_SERVER_ERROR , } ; let content_type = match self { Self :: Created => None , Self :: BadRequest ( _ ) => Some ( ContentType :: Json ) , Self :: Unexpected => Some ( ContentType :: Json ) , } ; Answer :: new ( self ) . status ( status ) . content_type ( content_type ) } } } pub mod session_create { use super :: responses ; use actix_swagger :: { Answer , ContentType , StatusCode } ; use serde :: { Serialize , Deserialize } ; # [ derive ( Debug , Serialize ) ] # [ serde ( untagged ) ] pub enum Response { # [ doc = "User logined, cookies writed\nFoo" ] Created , BadRequest ( responses :: SessionCreateFailed ) , Unexpected , } impl Response { # [ inline ] pub fn to_answer ( self ) -> Answer < 'static , Self > { let status = match self { Self :: Created => StatusCode :: CREATED , Self :: BadRequest ( _ ) => StatusCode :: BAD_REQUEST , Self :: Unexpected => StatusCode :: INTERNAL_SERVER_ERROR , } ; let content_type = match self { Self :: Created => None , Self :: BadRequest ( _ ) => Some ( ContentType :: Json ) , Self :: Unexpected => Some ( ContentType :: Json ) , } ; Answer :: new ( self ) . status ( status ) . content_type ( content_type ) } } use super :: parameters ; # [ derive ( Debug , Deserialize ) ] pub struct QueryParams { # [ doc = "response_type is set to code indicating that you want an authorization code as the response." ] # [ serde ( rename = "responseType" ) ] pub response_type : parameters :: OauthResponseType , pub redirect_uri : Option < parameters :: OauthRedirectUri > , # [ serde ( rename = "GlobalNameOfTheUniverse" ) ] pub global_name_of_the_universe : Option < parameters :: OauthClientId > , } pub type Query = actix_web :: http :: Query < QueryParams > ; } } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'printer::tests::huge_test_all_generated' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/printer/mod.rs:359:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5b6ce5674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f5b6ce5674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5b6ce5674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f5b6ce5674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f5b6d11e3c - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55f5b692ed25 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55f5b6cdf0d1 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x55f5b6ce8715 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55f5b6ce8715 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55f5b6ce8715 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55f5b6ce83fb - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55f5b6ce8e45 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:515 [INFO] [stdout] 12: 0x55f5b6ce895b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x55f5b6d10861 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x55f5b6d10683 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x55f5b68a8173 - core::result::Result::unwrap::hcb71f31eb3457fae [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55f5b68ae40c - swagg::printer::tests::huge_test_all_generated::h96a0dedecd0f1a2b [INFO] [stdout] at src/printer/mod.rs:359 [INFO] [stdout] 17: 0x55f5b68aa89a - swagg::printer::tests::huge_test_all_generated::{{closure}}::hb8e0e7058ac168da [INFO] [stdout] at src/printer/mod.rs:76 [INFO] [stdout] 18: 0x55f5b68d4fbe - core::ops::function::FnOnce::call_once::h43c1b1c0f3626334 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x55f5b693ac1f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x55f5b695621e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x55f5b695621e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x55f5b695621e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x55f5b695621e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55f5b695621e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x55f5b695621e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x55f5b692e1d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x55f5b69334f5 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x55f5b69334f5 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x55f5b69334f5 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x55f5b69334f5 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55f5b69334f5 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x55f5b69334f5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x55f5b6cda91f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x55f5b6cf0333 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x55f5b6cf0333 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fa782d886db - start_thread [INFO] [stdout] 38: 0x7fa7832c588f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] printer::api::methods::tests::bind_api_method_without_body [INFO] [stdout] printer::api::methods::tests::default_api [INFO] [stdout] printer::api::methods::tests::impl_api_pascal_naming [INFO] [stdout] printer::api::methods::tests::impl_api_without_methods [INFO] [stdout] printer::api::methods::tests::two_methods [INFO] [stdout] printer::api::methods::tests::with_request_body [INFO] [stdout] printer::api::module::tests::default_api_module [INFO] [stdout] printer::api::structure::tests::default_struct [INFO] [stdout] printer::api::structure::tests::with_description [INFO] [stdout] printer::api::structure::tests::with_description_and_terms [INFO] [stdout] printer::api::structure::tests::with_terms [INFO] [stdout] printer::api::structure::tests::without_description_and_terms [INFO] [stdout] printer::components::component::tests::component_enum [INFO] [stdout] printer::components::component::tests::component_object [INFO] [stdout] printer::components::component::tests::component_type [INFO] [stdout] printer::components::component::tests::field_type_array [INFO] [stdout] printer::components::component::tests::field_type_custom [INFO] [stdout] printer::components::component::tests::field_type_internal_allow_path [INFO] [stdout] printer::components::component::tests::field_type_native [INFO] [stdout] printer::components::component::tests::format_float [INFO] [stdout] printer::components::component::tests::format_integer [INFO] [stdout] printer::components::component::tests::format_string [INFO] [stdout] printer::components::component::tests::native_type_boolean [INFO] [stdout] printer::components::component::tests::native_type_float [INFO] [stdout] printer::components::component::tests::native_type_integer [INFO] [stdout] printer::components::component::tests::native_type_string [INFO] [stdout] printer::components::module::tests::components_module_default [INFO] [stdout] printer::components::parameters::tests::parameters_with_some_components [INFO] [stdout] printer::components::request_bodies::tests::request_bodies_with_some_components [INFO] [stdout] printer::components::responses::tests::responses_with_some_components [INFO] [stdout] printer::paths::module::tests::components_module_default [INFO] [stdout] printer::paths::path::tests::path_empty [INFO] [stdout] printer::paths::path::tests::path_with_query_params [INFO] [stdout] printer::paths::path::tests::path_with_responses [INFO] [stdout] printer::tests::huge_test_all_generated [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 35 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `"docker" "inspect" "16616a73adf28715fe53a69243cfdf94208471d7f8a1274c846a7182a08cabd6"` [INFO] running `"docker" "rm" "-f" "16616a73adf28715fe53a69243cfdf94208471d7f8a1274c846a7182a08cabd6"` [INFO] [stdout] 16616a73adf28715fe53a69243cfdf94208471d7f8a1274c846a7182a08cabd6