[INFO] fetching crate qwik-core 0.1.0... [INFO] testing qwik-core-0.1.0 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate qwik-core 0.1.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate qwik-core 0.1.0 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate qwik-core 0.1.0 [INFO] finished tweaking crates.io crate qwik-core 0.1.0 [INFO] tweaked toml for crates.io crate qwik-core 0.1.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded swc_ecma_codegen_macros v0.6.0 [INFO] [stderr] Downloaded swc_macros_common v0.3.2 [INFO] [stderr] Downloaded swc_atoms v0.2.9 [INFO] [stderr] Downloaded retain_mut v0.1.7 [INFO] [stderr] Downloaded simple-error v0.2.3 [INFO] [stderr] Downloaded if_chain v1.0.2 [INFO] [stderr] Downloaded normpath v0.2.0 [INFO] [stderr] Downloaded is-macro v0.1.9 [INFO] [stderr] Downloaded ast_node v0.7.6 [INFO] [stderr] Downloaded swc_visit_macros v0.2.3 [INFO] [stderr] Downloaded string_enum v0.3.1 [INFO] [stderr] Downloaded sourcemap v6.0.1 [INFO] [stderr] Downloaded pmutil v0.5.3 [INFO] [stderr] Downloaded enum_kind v0.2.1 [INFO] [stderr] Downloaded swc_ecma_transforms_macros v0.3.0 [INFO] [stderr] Downloaded from_variant v0.1.3 [INFO] [stderr] Downloaded swc_eq_ignore_macros v0.1.0 [INFO] [stderr] Downloaded swc_visit v0.2.8 [INFO] [stderr] Downloaded swc_ecmascript v0.85.0 [INFO] [stderr] Downloaded swc_ecma_loader v0.24.4 [INFO] [stderr] Downloaded swc_ecma_visit v0.43.0 [INFO] [stderr] Downloaded swc_ecma_transforms_module v0.56.2 [INFO] [stderr] Downloaded swc_ecma_codegen v0.79.0 [INFO] [stderr] Downloaded swc_ecma_transforms_react v0.58.1 [INFO] [stderr] Downloaded swc_ecma_ast v0.57.0 [INFO] [stderr] Downloaded swc_ecma_utils v0.51.0 [INFO] [stderr] Downloaded swc_ecma_transforms_optimization v0.63.0 [INFO] [stderr] Downloaded swc_ecma_parser v0.77.0 [INFO] [stderr] Downloaded swc_ecma_transforms_base v0.43.1 [INFO] [stderr] Downloaded swc_ecma_minifier v0.49.1 [INFO] [stderr] Downloaded swc_ecma_transforms v0.93.0 [INFO] [stderr] Downloaded swc_common v0.14.7 [INFO] [stderr] Downloaded swc_ecma_transforms_typescript v0.59.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3dd9bd4993571554ac6caf6947d68857a4925af639cac0417b14a6b605b215a1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3dd9bd4993571554ac6caf6947d68857a4925af639cac0417b14a6b605b215a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3dd9bd4993571554ac6caf6947d68857a4925af639cac0417b14a6b605b215a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dd9bd4993571554ac6caf6947d68857a4925af639cac0417b14a6b605b215a1", kill_on_drop: false }` [INFO] [stdout] 3dd9bd4993571554ac6caf6947d68857a4925af639cac0417b14a6b605b215a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cfa042176076a3613c44eaa50e3693213db69d3fe94979fab537e00a4346bf1d [INFO] running `Command { std: "docker" "start" "-a" "cfa042176076a3613c44eaa50e3693213db69d3fe94979fab537e00a4346bf1d", kill_on_drop: false }` [INFO] [stderr] Compiling siphasher v0.3.9 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling path-clean v0.1.0 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling retain_mut v0.1.7 [INFO] [stderr] Compiling relative-path v1.6.1 [INFO] [stderr] Compiling simple-error v0.2.3 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling pmutil v0.5.3 [INFO] [stderr] Compiling tracing-attributes v0.1.19 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling swc_macros_common v0.3.2 [INFO] [stderr] Compiling swc_eq_ignore_macros v0.1.0 [INFO] [stderr] Compiling is-macro v0.1.9 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling swc_visit_macros v0.2.3 [INFO] [stderr] Compiling from_variant v0.1.3 [INFO] [stderr] Compiling string_enum v0.3.1 [INFO] [stderr] Compiling enum_kind v0.2.1 [INFO] [stderr] Compiling swc_ecma_transforms_macros v0.3.0 [INFO] [stderr] Compiling swc_ecma_codegen_macros v0.6.0 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling lexical v5.2.2 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling swc_atoms v0.2.9 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling string_cache v0.8.3 [INFO] [stderr] Compiling serde_regex v1.1.0 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling ast_node v0.7.6 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling swc_visit v0.2.8 [INFO] [stderr] Compiling sourcemap v6.0.1 [INFO] [stderr] Compiling swc_common v0.14.7 [INFO] [stderr] Compiling swc_ecma_ast v0.57.0 [INFO] [stderr] Compiling swc_ecma_loader v0.24.4 [INFO] [stderr] Compiling swc_ecma_visit v0.43.0 [INFO] [stderr] Compiling swc_ecma_parser v0.77.0 [INFO] [stderr] Compiling swc_ecma_utils v0.51.0 [INFO] [stderr] Compiling swc_ecma_transforms_base v0.43.1 [INFO] [stderr] Compiling swc_ecma_codegen v0.79.0 [INFO] [stderr] Compiling swc_ecma_transforms_react v0.58.1 [INFO] [stderr] Compiling swc_ecma_transforms_module v0.56.2 [INFO] [stderr] Compiling swc_ecma_transforms_optimization v0.63.0 [INFO] [stderr] Compiling swc_ecma_transforms_typescript v0.59.0 [INFO] [stderr] Compiling swc_ecma_transforms v0.93.0 [INFO] [stderr] Compiling swc_ecma_minifier v0.49.1 [INFO] [stderr] Compiling swc_ecmascript v0.85.0 [INFO] [stderr] Compiling qwik-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 59s [INFO] running `Command { std: "docker" "inspect" "cfa042176076a3613c44eaa50e3693213db69d3fe94979fab537e00a4346bf1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfa042176076a3613c44eaa50e3693213db69d3fe94979fab537e00a4346bf1d", kill_on_drop: false }` [INFO] [stdout] cfa042176076a3613c44eaa50e3693213db69d3fe94979fab537e00a4346bf1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14507a4b563b7b85a680808a3f479f6adfa1a85923713b3d09d3e18557c80ff5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "14507a4b563b7b85a680808a3f479f6adfa1a85923713b3d09d3e18557c80ff5", kill_on_drop: false }` [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling similar v2.1.0 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling serde_yaml v0.8.23 [INFO] [stderr] Compiling swc_common v0.14.7 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling insta v1.12.0 [INFO] [stderr] Compiling swc_ecma_ast v0.57.0 [INFO] [stderr] Compiling swc_ecma_loader v0.24.4 [INFO] [stderr] Compiling swc_ecma_visit v0.43.0 [INFO] [stderr] Compiling swc_ecma_parser v0.77.0 [INFO] [stderr] Compiling swc_ecma_utils v0.51.0 [INFO] [stderr] Compiling swc_ecma_transforms_base v0.43.1 [INFO] [stderr] Compiling swc_ecma_codegen v0.79.0 [INFO] [stderr] Compiling swc_ecma_transforms_react v0.58.1 [INFO] [stderr] Compiling swc_ecma_transforms_optimization v0.63.0 [INFO] [stderr] Compiling swc_ecma_transforms_module v0.56.2 [INFO] [stderr] Compiling swc_ecma_transforms_typescript v0.59.0 [INFO] [stderr] Compiling swc_ecma_transforms v0.93.0 [INFO] [stderr] Compiling swc_ecma_minifier v0.49.1 [INFO] [stderr] Compiling swc_ecmascript v0.85.0 [INFO] [stderr] Compiling qwik-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2m 51s [INFO] running `Command { std: "docker" "inspect" "14507a4b563b7b85a680808a3f479f6adfa1a85923713b3d09d3e18557c80ff5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14507a4b563b7b85a680808a3f479f6adfa1a85923713b3d09d3e18557c80ff5", kill_on_drop: false }` [INFO] [stdout] 14507a4b563b7b85a680808a3f479f6adfa1a85923713b3d09d3e18557c80ff5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 591b96675f42ac98ef1b5e27af4d0b9a61d5310bc677b0184acf05e39b8ccec1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "591b96675f42ac98ef1b5e27af4d0b9a61d5310bc677b0184acf05e39b8ccec1", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.45s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/qwik_core-652060aa99fd8eb9) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test code_move::test_fix_path ... ok [INFO] [stdout] test test::example_3 ... FAILED [INFO] [stdout] test test::example_11 ... FAILED [INFO] [stdout] test test::example_5 ... FAILED [INFO] [stdout] test test::example_7 ... FAILED [INFO] [stdout] test test::example_1 ... FAILED [INFO] [stdout] test test::example_6 ... FAILED [INFO] [stdout] test test::example_2 ... FAILED [INFO] [stdout] test test::example_8 ... FAILED [INFO] [stdout] test test::example_10 ... FAILED [INFO] [stdout] test test::example_9 ... FAILED [INFO] [stdout] test test::example_4 ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test::example_3 stdout ---- [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/qwik_core__test__input-5.snap [INFO] [stdout] Snapshot: input-5 [INFO] [stdout] Source: src/test.rs:318 [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] output [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 │+==INPUT== [INFO] [stdout] 1 │+ [INFO] [stdout] 2 │+ [INFO] [stdout] 3 │+export const App = () => { [INFO] [stdout] 4 │+ const Header = qComponent({ [INFO] [stdout] 5 │+ "onMount": qHook(() => { console.log("mount") }), [INFO] [stdout] 6 │+ onRender: qHook(() => { [INFO] [stdout] 7 │+ return ( [INFO] [stdout] 8 │+
console.log(ctx))}/> [INFO] [stdout] 9 │+ ); [INFO] [stdout] 10 │+ }) [INFO] [stdout] 11 │+ }); [INFO] [stdout] 12 │+ return Header; [INFO] [stdout] 13 │+}); [INFO] [stdout] 14 │+ [INFO] [stdout] 15 │+============================= test.tsx == [INFO] [stdout] 16 │+ [INFO] [stdout] 17 │+export const App = ()=>{ [INFO] [stdout] 18 │+ const Header = /*#__PURE__*/ qComponent({ [INFO] [stdout] 19 │+ "onMount": qHook(()=>import("./h_test_app_header_onmount") [INFO] [stdout] 20 │+ , "App_Header_onMount"), [INFO] [stdout] 21 │+ onRender: qHook(()=>import("./h_test_app_header_onrender") [INFO] [stdout] 22 │+ , "App_Header_onRender") [INFO] [stdout] 23 │+ }); [INFO] [stdout] 24 │+ return Header; [INFO] [stdout] 25 │+}; [INFO] [stdout] 26 │+ [INFO] [stdout] 27 │+============================= h_test_app_header_onmount.tsx (ENTRY POINT)== [INFO] [stdout] 28 │+ [INFO] [stdout] 29 │+export const App_Header_onMount = /*#__PURE__*/ qHook(()=>{ [INFO] [stdout] 30 │+ console.log("mount"); [INFO] [stdout] 31 │+}); [INFO] [stdout] 32 │+ [INFO] [stdout] 33 │+============================= h_test_app_header_onrender_div_onclick.tsx (ENTRY POINT)== [INFO] [stdout] 34 │+ [INFO] [stdout] 35 │+export const App_Header_onRender_div_onClick = /*#__PURE__*/ qHook((ctx)=>console.log(ctx) [INFO] [stdout] 36 │+); [INFO] [stdout] 37 │+ [INFO] [stdout] 38 │+============================= h_test_app_header_onrender.tsx (ENTRY POINT)== [INFO] [stdout] 39 │+ [INFO] [stdout] 40 │+export const App_Header_onRender = /*#__PURE__*/ qHook(()=>{ [INFO] [stdout] 41 │+ return (
import("./h_test_app_header_onrender_div_onclick") [INFO] [stdout] 42 │+ , "App_Header_onRender_div_onClick")}/>); [INFO] [stdout] 43 │+}); [INFO] [stdout] 44 │+ [INFO] [stdout] 45 │+== HOOKS == [INFO] [stdout] 46 │+ [INFO] [stdout] 47 │+[ [INFO] [stdout] 48 │+ { [INFO] [stdout] 49 │+ "origin": "test.tsx", [INFO] [stdout] 50 │+ "name": "App_Header_onMount", [INFO] [stdout] 51 │+ "entry": null, [INFO] [stdout] 52 │+ "canonicalFilename": "h_test_app_header_onmount", [INFO] [stdout] 53 │+ "localDecl": [], [INFO] [stdout] 54 │+ "localIdents": [ [INFO] [stdout] 55 │+ "console", [INFO] [stdout] 56 │+ "log", [INFO] [stdout] 57 │+ "qHook" [INFO] [stdout] 58 │+ ] [INFO] [stdout] 59 │+ }, [INFO] [stdout] 60 │+ { [INFO] [stdout] 61 │+ "origin": "test.tsx", [INFO] [stdout] 62 │+ "name": "App_Header_onRender_div_onClick", [INFO] [stdout] 63 │+ "entry": null, [INFO] [stdout] 64 │+ "canonicalFilename": "h_test_app_header_onrender_div_onclick", [INFO] [stdout] 65 │+ "localDecl": [ [INFO] [stdout] 66 │+ "ctx" [INFO] [stdout] 67 │+ ], [INFO] [stdout] 68 │+ "localIdents": [ [INFO] [stdout] 69 │+ "console", [INFO] [stdout] 70 │+ "ctx", [INFO] [stdout] 71 │+ "log", [INFO] [stdout] 72 │+ "qHook" [INFO] [stdout] 73 │+ ] [INFO] [stdout] 74 │+ }, [INFO] [stdout] 75 │+ { [INFO] [stdout] 76 │+ "origin": "test.tsx", [INFO] [stdout] 77 │+ "name": "App_Header_onRender", [INFO] [stdout] 78 │+ "entry": null, [INFO] [stdout] 79 │+ "canonicalFilename": "h_test_app_header_onrender", [INFO] [stdout] 80 │+ "localDecl": [], [INFO] [stdout] 81 │+ "localIdents": [ [INFO] [stdout] 82 │+ "div", [INFO] [stdout] 83 │+ "import", [INFO] [stdout] 84 │+ "onClick", [INFO] [stdout] 85 │+ "qHook" [INFO] [stdout] 86 │+ ] [INFO] [stdout] 87 │+ } [INFO] [stdout] 88 │+] [INFO] [stdout] 89 │+ [INFO] [stdout] 90 │+== DIAGNOSTICS == [INFO] [stdout] 91 │+ [INFO] [stdout] 92 │+[] [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'test::example_3' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }', src/test.rs:318:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55e508db930c - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55e508db930c - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55e508db930c - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55e508db930c - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55e508de179c - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x55e508db3678 - std::io::Write::write_fmt::h271050faa79d27d2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x55e508dbb8e7 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55e508dbb8e7 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55e508dbb8e7 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55e508dbb61b - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55e508dbc03a - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55e508dbbd27 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55e508db97d4 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55e508dbba39 - rust_begin_unwind [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55e507e96673 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55e507e96763 - core::result::unwrap_failed::hf9b34e307f812de0 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/result.rs:1749:5 [INFO] [stdout] 16: 0x55e50804d838 - core::result::Result::unwrap::hed0100633b3bf862 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/result.rs:1065:23 [INFO] [stdout] 17: 0x55e50811d534 - qwik_core::test::test_input::h74cd851f9020a0c4 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:318:13 [INFO] [stdout] 18: 0x55e508131a72 - qwik_core::test::example_3::h4bd566835de84254 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:46:5 [INFO] [stdout] 19: 0x55e508131a0a - qwik_core::test::example_3::{{closure}}::h02ce4b92b9cfbff1 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:45:1 [INFO] [stdout] 20: 0x55e5080d996e - core::ops::function::FnOnce::call_once::h7a0a6851c6da2bd1 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55e5081bffb3 - core::ops::function::FnOnce::call_once::h43953c8a8f54893f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x55e5081bffb3 - test::__rust_begin_short_backtrace::h163f55298a15df9b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:575:5 [INFO] [stdout] 23: 0x55e5081bece1 - as core::ops::function::FnOnce>::call_once::hc911782b3cbc7ed5 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 24: 0x55e5081bece1 - as core::ops::function::FnOnce<()>>::call_once::hc5bb369afbf9cd4e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x55e5081bece1 - std::panicking::try::do_call::he60df4e3e832faff [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 26: 0x55e5081bece1 - std::panicking::try::h2633cee89a0767f3 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 27: 0x55e5081bece1 - std::panic::catch_unwind::h6e10f7b94ce38b1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 28: 0x55e5081bece1 - test::run_test_in_process::h085ef39049c3b50b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:598:18 [INFO] [stdout] 29: 0x55e5081bece1 - test::run_test::run_test_inner::{{closure}}::h4e58ce9f68eb43e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:492:39 [INFO] [stdout] 30: 0x55e5081c85c1 - test::run_test::run_test_inner::{{closure}}::h6d18db28c5e396ee [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:519:37 [INFO] [stdout] 31: 0x55e5081c85c1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32292cb2cd8be620 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 32: 0x55e508194d1f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h71ee66b20f7b0482 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 33: 0x55e508194d1f - as core::ops::function::FnOnce<()>>::call_once::hb6046e1d1a75a4a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x55e508194d1f - std::panicking::try::do_call::h5422165a88309c77 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 35: 0x55e508194d1f - std::panicking::try::h840a12b54e2c9f5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 36: 0x55e508194d1f - std::panic::catch_unwind::h85910e437c8da180 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 37: 0x55e508194d1f - std::thread::Builder::spawn_unchecked_::{{closure}}::ha3af3a297bfd51d6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 38: 0x55e508194d1f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hff8788f58e0e06a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x55e508dc2083 - as core::ops::function::FnOnce>::call_once::h82a18723295373b7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 40: 0x55e508dc2083 - as core::ops::function::FnOnce>::call_once::h4b9b8634f7a2a5a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 41: 0x55e508dc2083 - std::sys::unix::thread::Thread::new::thread_start::h3dc341aa024c6852 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 42: 0x7f2ae4b59609 - start_thread [INFO] [stdout] 43: 0x7f2ae492b293 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test::example_11 stdout ---- [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/qwik_core__test__input-6.snap [INFO] [stdout] Snapshot: input-6 [INFO] [stdout] Source: src/test.rs:318 [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] output [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 │+==INPUT== [INFO] [stdout] 1 │+ [INFO] [stdout] 2 │+ [INFO] [stdout] 3 │+import {foo, bar as bbar} from "../state"; [INFO] [stdout] 4 │+import * as dep2 from "dep2"; [INFO] [stdout] 5 │+import dep3 from "dep3/something"; [INFO] [stdout] 6 │+ [INFO] [stdout] 7 │+export const Header = qComponent({ [INFO] [stdout] 8 │+ onRender: qHook(() => { [INFO] [stdout] 9 │+ return ( [INFO] [stdout] 10 │+
dep3(ev))}> [INFO] [stdout] 11 │+ {dep2.stuff()}{bbar()} [INFO] [stdout] 12 │+
[INFO] [stdout] 13 │+ ); [INFO] [stdout] 14 │+ }) [INFO] [stdout] 15 │+}); [INFO] [stdout] 16 │+ [INFO] [stdout] 17 │+export const App = qComponent({ [INFO] [stdout] 18 │+ onRender: qHook(() => { [INFO] [stdout] 19 │+ return ( [INFO] [stdout] 20 │+
{foo()}
[INFO] [stdout] 21 │+ ); [INFO] [stdout] 22 │+ }) [INFO] [stdout] 23 │+}); [INFO] [stdout] 24 │+ [INFO] [stdout] 25 │+============================= project/test.tsx == [INFO] [stdout] 26 │+ [INFO] [stdout] 27 │+export const Header = /*#__PURE__*/ qComponent({ [INFO] [stdout] 28 │+ onRender: qHook(()=>import("../entry_hooks") [INFO] [stdout] 29 │+ , "Header_onRender") [INFO] [stdout] 30 │+}); [INFO] [stdout] 31 │+export const App = /*#__PURE__*/ qComponent({ [INFO] [stdout] 32 │+ onRender: qHook(()=>import("../entry_hooks") [INFO] [stdout] 33 │+ , "App_onRender") [INFO] [stdout] 34 │+}); [INFO] [stdout] 35 │+ [INFO] [stdout] 36 │+============================= h_test_app_onrender.tsx == [INFO] [stdout] 37 │+ [INFO] [stdout] 38 │+import { Header } from "./project/test"; [INFO] [stdout] 39 │+import { foo } from "./state"; [INFO] [stdout] 40 │+export const App_onRender = /*#__PURE__*/ qHook(()=>{ [INFO] [stdout] 41 │+ return (
{foo()}
); [INFO] [stdout] 42 │+}); [INFO] [stdout] 43 │+ [INFO] [stdout] 44 │+============================= h_test_header_onrender_header_onclick.tsx == [INFO] [stdout] 45 │+ [INFO] [stdout] 46 │+import dep3 from "dep3/something"; [INFO] [stdout] 47 │+export const Header_onRender_Header_onClick = /*#__PURE__*/ qHook((ev)=>dep3(ev) [INFO] [stdout] 48 │+); [INFO] [stdout] 49 │+ [INFO] [stdout] 50 │+============================= h_test_header_onrender.tsx == [INFO] [stdout] 51 │+ [INFO] [stdout] 52 │+import { Header } from "./project/test"; [INFO] [stdout] 53 │+import { bar as bbar } from "./state"; [INFO] [stdout] 54 │+import * as dep2 from "dep2"; [INFO] [stdout] 55 │+export const Header_onRender = /*#__PURE__*/ qHook(()=>{ [INFO] [stdout] 56 │+ return (
import("../entry_hooks") [INFO] [stdout] 57 │+ , "Header_onRender_Header_onClick")}> [INFO] [stdout] 58 │+ [INFO] [stdout] 59 │+ {dep2.stuff()}{bbar()} [INFO] [stdout] 60 │+ [INFO] [stdout] 61 │+
); [INFO] [stdout] 62 │+}); [INFO] [stdout] 63 │+ [INFO] [stdout] 64 │+============================= entry_hooks.ts (ENTRY POINT)== [INFO] [stdout] 65 │+ [INFO] [stdout] 66 │+export { App_onRender } from "./h_test_app_onrender"; [INFO] [stdout] 67 │+export { Header_onRender_Header_onClick } from "./h_test_header_onrender_header_onclick"; [INFO] [stdout] 68 │+export { Header_onRender } from "./h_test_header_onrender"; [INFO] [stdout] 69 │+ [INFO] [stdout] 70 │+== HOOKS == [INFO] [stdout] 71 │+ [INFO] [stdout] 72 │+[ [INFO] [stdout] 73 │+ { [INFO] [stdout] 74 │+ "origin": "project/test.tsx", [INFO] [stdout] 75 │+ "name": "App_onRender", [INFO] [stdout] 76 │+ "entry": "entry_hooks", [INFO] [stdout] 77 │+ "canonicalFilename": "h_test_app_onrender", [INFO] [stdout] 78 │+ "localDecl": [], [INFO] [stdout] 79 │+ "localIdents": [ [INFO] [stdout] 80 │+ "Header", [INFO] [stdout] 81 │+ "foo", [INFO] [stdout] 82 │+ "qHook" [INFO] [stdout] 83 │+ ] [INFO] [stdout] 84 │+ }, [INFO] [stdout] 85 │+ { [INFO] [stdout] 86 │+ "origin": "project/test.tsx", [INFO] [stdout] 87 │+ "name": "Header_onRender_Header_onClick", [INFO] [stdout] 88 │+ "entry": "entry_hooks", [INFO] [stdout] 89 │+ "canonicalFilename": "h_test_header_onrender_header_onclick", [INFO] [stdout] 90 │+ "localDecl": [ [INFO] [stdout] 91 │+ "ev" [INFO] [stdout] 92 │+ ], [INFO] [stdout] 93 │+ "localIdents": [ [INFO] [stdout] 94 │+ "dep3", [INFO] [stdout] 95 │+ "ev", [INFO] [stdout] 96 │+ "qHook" [INFO] [stdout] 97 │+ ] [INFO] [stdout] 98 │+ }, [INFO] [stdout] 99 │+ { [INFO] [stdout] 100 │+ "origin": "project/test.tsx", [INFO] [stdout] 101 │+ "name": "Header_onRender", [INFO] [stdout] 102 │+ "entry": "entry_hooks", [INFO] [stdout] 103 │+ "canonicalFilename": "h_test_header_onrender", [INFO] [stdout] 104 │+ "localDecl": [], [INFO] [stdout] 105 │+ "localIdents": [ [INFO] [stdout] 106 │+ "Header", [INFO] [stdout] 107 │+ "bbar", [INFO] [stdout] 108 │+ "dep2", [INFO] [stdout] 109 │+ "import", [INFO] [stdout] 110 │+ "onClick", [INFO] [stdout] 111 │+ "qHook", [INFO] [stdout] 112 │+ "stuff" [INFO] [stdout] 113 │+ ] [INFO] [stdout] 114 │+ } [INFO] [stdout] 115 │+] [INFO] [stdout] 116 │+ [INFO] [stdout] 117 │+== DIAGNOSTICS == [INFO] [stdout] 118 │+ [INFO] [stdout] 119 │+[] [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'test::example_11' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }', src/test.rs:318:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55e508db930c - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55e508db930c - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55e508db930c - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55e508db930c - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55e508de179c - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x55e508db3678 - std::io::Write::write_fmt::h271050faa79d27d2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x55e508dbb8e7 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55e508dbb8e7 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55e508dbb8e7 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55e508dbb61b - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55e508dbc03a - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55e508dbbd27 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55e508db97d4 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55e508dbba39 - rust_begin_unwind [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55e507e96673 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55e507e96763 - core::result::unwrap_failed::hf9b34e307f812de0 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/result.rs:1749:5 [INFO] [stdout] 16: 0x55e50804d838 - core::result::Result::unwrap::hed0100633b3bf862 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/result.rs:1065:23 [INFO] [stdout] 17: 0x55e50811d534 - qwik_core::test::test_input::h74cd851f9020a0c4 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:318:13 [INFO] [stdout] 18: 0x55e508132ab2 - qwik_core::test::example_11::h69a0583e87f6dbb7 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:226:5 [INFO] [stdout] 19: 0x55e508132a6a - qwik_core::test::example_11::{{closure}}::h3c1361e06b063265 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:225:1 [INFO] [stdout] 20: 0x55e5080d9b3e - core::ops::function::FnOnce::call_once::hc0173d3c931b9cca [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55e5081bffb3 - core::ops::function::FnOnce::call_once::h43953c8a8f54893f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x55e5081bffb3 - test::__rust_begin_short_backtrace::h163f55298a15df9b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:575:5 [INFO] [stdout] 23: 0x55e5081bece1 - as core::ops::function::FnOnce>::call_once::hc911782b3cbc7ed5 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 24: 0x55e5081bece1 - as core::ops::function::FnOnce<()>>::call_once::hc5bb369afbf9cd4e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x55e5081bece1 - std::panicking::try::do_call::he60df4e3e832faff [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 26: 0x55e5081bece1 - std::panicking::try::h2633cee89a0767f3 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 27: 0x55e5081bece1 - std::panic::catch_unwind::h6e10f7b94ce38b1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 28: 0x55e5081bece1 - test::run_test_in_process::h085ef39049c3b50b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:598:18 [INFO] [stdout] 29: 0x55e5081bece1 - test::run_test::run_test_inner::{{closure}}::h4e58ce9f68eb43e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:492:39 [INFO] [stdout] 30: 0x55e5081c85c1 - test::run_test::run_test_inner::{{closure}}::h6d18db28c5e396ee [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:519:37 [INFO] [stdout] 31: 0x55e5081c85c1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32292cb2cd8be620 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 32: 0x55e508194d1f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h71ee66b20f7b0482 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 33: 0x55e508194d1f - as core::ops::function::FnOnce<()>>::call_once::hb6046e1d1a75a4a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x55e508194d1f - std::panicking::try::do_call::h5422165a88309c77 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 35: 0x55e508194d1f - std::panicking::try::h840a12b54e2c9f5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 36: 0x55e508194d1f - std::panic::catch_unwind::h85910e437c8da180 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 37: 0x55e508194d1f - std::thread::Builder::spawn_unchecked_::{{closure}}::ha3af3a297bfd51d6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 38: 0x55e508194d1f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hff8788f58e0e06a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x55e508dc2083 - as core::ops::function::FnOnce>::call_once::h82a18723295373b7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 40: 0x55e508dc2083 - as core::ops::function::FnOnce>::call_once::h4b9b8634f7a2a5a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 41: 0x55e508dc2083 - std::sys::unix::thread::Thread::new::thread_start::h3dc341aa024c6852 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 42: 0x7f2ae4b59609 - start_thread [INFO] [stdout] 43: 0x7f2ae492b293 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test::example_5 stdout ---- [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/qwik_core__test__input-4.snap [INFO] [stdout] Snapshot: input-4 [INFO] [stdout] Source: src/test.rs:318 [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] output [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 │+==INPUT== [INFO] [stdout] 1 │+ [INFO] [stdout] 2 │+ [INFO] [stdout] 3 │+export const Header = qComponent({ [INFO] [stdout] 4 │+ onRender: qHook(() => { [INFO] [stdout] 5 │+ return ( [INFO] [stdout] 6 │+ <> [INFO] [stdout] 7 │+
console.log("1"))}/> [INFO] [stdout] 8 │+
console.log("2"))}/> [INFO] [stdout] 9 │+ [INFO] [stdout] 10 │+ ); [INFO] [stdout] 11 │+ }) [INFO] [stdout] 12 │+}); [INFO] [stdout] 13 │+ [INFO] [stdout] 14 │+============================= test.tsx == [INFO] [stdout] 15 │+ [INFO] [stdout] 16 │+export const Header = /*#__PURE__*/ qComponent({ [INFO] [stdout] 17 │+ onRender: qHook(()=>import("./h_test_header_onrender") [INFO] [stdout] 18 │+ , "Header_onRender") [INFO] [stdout] 19 │+}); [INFO] [stdout] 20 │+ [INFO] [stdout] 21 │+============================= h_test_header_onrender_div_onclick.tsx (ENTRY POINT)== [INFO] [stdout] 22 │+ [INFO] [stdout] 23 │+export const Header_onRender_div_onClick = /*#__PURE__*/ qHook((ctx)=>console.log("1") [INFO] [stdout] 24 │+); [INFO] [stdout] 25 │+ [INFO] [stdout] 26 │+============================= h_test_header_onrender_div_onclick1.tsx (ENTRY POINT)== [INFO] [stdout] 27 │+ [INFO] [stdout] 28 │+export const Header_onRender_div_onClick1 = /*#__PURE__*/ qHook((ctx)=>console.log("2") [INFO] [stdout] 29 │+); [INFO] [stdout] 30 │+ [INFO] [stdout] 31 │+============================= h_test_header_onrender.tsx (ENTRY POINT)== [INFO] [stdout] 32 │+ [INFO] [stdout] 33 │+export const Header_onRender = /*#__PURE__*/ qHook(()=>{ [INFO] [stdout] 34 │+ return (<> [INFO] [stdout] 35 │+ [INFO] [stdout] 36 │+
import("./h_test_header_onrender_div_onclick") [INFO] [stdout] 37 │+ , "Header_onRender_div_onClick")}/> [INFO] [stdout] 38 │+ [INFO] [stdout] 39 │+
import("./h_test_header_onrender_div_onclick1") [INFO] [stdout] 40 │+ , "Header_onRender_div_onClick1")}/> [INFO] [stdout] 41 │+ [INFO] [stdout] 42 │+ ); [INFO] [stdout] 43 │+}); [INFO] [stdout] 44 │+ [INFO] [stdout] 45 │+== HOOKS == [INFO] [stdout] 46 │+ [INFO] [stdout] 47 │+[ [INFO] [stdout] 48 │+ { [INFO] [stdout] 49 │+ "origin": "test.tsx", [INFO] [stdout] 50 │+ "name": "Header_onRender_div_onClick", [INFO] [stdout] 51 │+ "entry": null, [INFO] [stdout] 52 │+ "canonicalFilename": "h_test_header_onrender_div_onclick", [INFO] [stdout] 53 │+ "localDecl": [ [INFO] [stdout] 54 │+ "ctx" [INFO] [stdout] 55 │+ ], [INFO] [stdout] 56 │+ "localIdents": [ [INFO] [stdout] 57 │+ "console", [INFO] [stdout] 58 │+ "ctx", [INFO] [stdout] 59 │+ "log", [INFO] [stdout] 60 │+ "qHook" [INFO] [stdout] 61 │+ ] [INFO] [stdout] 62 │+ }, [INFO] [stdout] 63 │+ { [INFO] [stdout] 64 │+ "origin": "test.tsx", [INFO] [stdout] 65 │+ "name": "Header_onRender_div_onClick1", [INFO] [stdout] 66 │+ "entry": null, [INFO] [stdout] 67 │+ "canonicalFilename": "h_test_header_onrender_div_onclick1", [INFO] [stdout] 68 │+ "localDecl": [ [INFO] [stdout] 69 │+ "ctx" [INFO] [stdout] 70 │+ ], [INFO] [stdout] 71 │+ "localIdents": [ [INFO] [stdout] 72 │+ "console", [INFO] [stdout] 73 │+ "ctx", [INFO] [stdout] 74 │+ "log", [INFO] [stdout] 75 │+ "qHook" [INFO] [stdout] 76 │+ ] [INFO] [stdout] 77 │+ }, [INFO] [stdout] 78 │+ { [INFO] [stdout] 79 │+ "origin": "test.tsx", [INFO] [stdout] 80 │+ "name": "Header_onRender", [INFO] [stdout] 81 │+ "entry": null, [INFO] [stdout] 82 │+ "canonicalFilename": "h_test_header_onrender", [INFO] [stdout] 83 │+ "localDecl": [], [INFO] [stdout] 84 │+ "localIdents": [ [INFO] [stdout] 85 │+ "div", [INFO] [stdout] 86 │+ "import", [INFO] [stdout] 87 │+ "onClick", [INFO] [stdout] 88 │+ "qHook" [INFO] [stdout] 89 │+ ] [INFO] [stdout] 90 │+ } [INFO] [stdout] 91 │+] [INFO] [stdout] 92 │+ [INFO] [stdout] 93 │+== DIAGNOSTICS == [INFO] [stdout] 94 │+ [INFO] [stdout] 95 │+[] [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'test::example_5' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }', src/test.rs:318:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55e508db930c - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55e508db930c - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55e508db930c - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55e508db930c - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55e508de179c - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x55e508db3678 - std::io::Write::write_fmt::h271050faa79d27d2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x55e508dbb8e7 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55e508dbb8e7 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55e508dbb8e7 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55e508dbb61b - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55e508dbc03a - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55e508dbbd27 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55e508db97d4 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55e508dbba39 - rust_begin_unwind [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55e507e96673 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55e507e96763 - core::result::unwrap_failed::hf9b34e307f812de0 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/result.rs:1749:5 [INFO] [stdout] 16: 0x55e50804d838 - core::result::Result::unwrap::hed0100633b3bf862 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/result.rs:1065:23 [INFO] [stdout] 17: 0x55e50811d534 - qwik_core::test::test_input::h74cd851f9020a0c4 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:318:13 [INFO] [stdout] 18: 0x55e508131b32 - qwik_core::test::example_5::h69666a7eafc1d395 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:90:5 [INFO] [stdout] 19: 0x55e508131aea - qwik_core::test::example_5::{{closure}}::head20bbe50ff54c2 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:89:1 [INFO] [stdout] 20: 0x55e5080d9cde - core::ops::function::FnOnce::call_once::hdbb74271a3fba035 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55e5081bffb3 - core::ops::function::FnOnce::call_once::h43953c8a8f54893f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x55e5081bffb3 - test::__rust_begin_short_backtrace::h163f55298a15df9b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:575:5 [INFO] [stdout] 23: 0x55e5081bece1 - as core::ops::function::FnOnce>::call_once::hc911782b3cbc7ed5 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 24: 0x55e5081bece1 - as core::ops::function::FnOnce<()>>::call_once::hc5bb369afbf9cd4e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x55e5081bece1 - std::panicking::try::do_call::he60df4e3e832faff [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 26: 0x55e5081bece1 - std::panicking::try::h2633cee89a0767f3 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 27: 0x55e5081bece1 - std::panic::catch_unwind::h6e10f7b94ce38b1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 28: 0x55e5081bece1 - test::run_test_in_process::h085ef39049c3b50b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:598:18 [INFO] [stdout] 29: 0x55e5081bece1 - test::run_test::run_test_inner::{{closure}}::h4e58ce9f68eb43e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:492:39 [INFO] [stdout] 30: 0x55e5081c85c1 - test::run_test::run_test_inner::{{closure}}::h6d18db28c5e396ee [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:519:37 [INFO] [stdout] 31: 0x55e5081c85c1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32292cb2cd8be620 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 32: 0x55e508194d1f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h71ee66b20f7b0482 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 33: 0x55e508194d1f - as core::ops::function::FnOnce<()>>::call_once::hb6046e1d1a75a4a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x55e508194d1f - std::panicking::try::do_call::h5422165a88309c77 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 35: 0x55e508194d1f - std::panicking::try::h840a12b54e2c9f5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 36: 0x55e508194d1f - std::panic::catch_unwind::h85910e437c8da180 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 37: 0x55e508194d1f - std::thread::Builder::spawn_unchecked_::{{closure}}::ha3af3a297bfd51d6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 38: 0x55e508194d1f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hff8788f58e0e06a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x55e508dc2083 - as core::ops::function::FnOnce>::call_once::h82a18723295373b7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 40: 0x55e508dc2083 - as core::ops::function::FnOnce>::call_once::h4b9b8634f7a2a5a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 41: 0x55e508dc2083 - std::sys::unix::thread::Thread::new::thread_start::h3dc341aa024c6852 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 42: 0x7f2ae4b59609 - start_thread [INFO] [stdout] 43: 0x7f2ae492b293 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test::example_7 stdout ---- [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/qwik_core__test__input-11.snap [INFO] [stdout] Snapshot: input-11 [INFO] [stdout] Source: src/test.rs:318 [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] output [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 │+==INPUT== [INFO] [stdout] 1 │+ [INFO] [stdout] 2 │+ [INFO] [stdout] 3 │+import {qHook} from '@builderio/qwik'; [INFO] [stdout] 4 │+ [INFO] [stdout] 5 │+ [INFO] [stdout] 6 │+const Header = qComponent({ [INFO] [stdout] 7 │+ "onMount": qHook(() => { console.log("mount") }), [INFO] [stdout] 8 │+ onRender: qHook(() => { [INFO] [stdout] 9 │+ return ( [INFO] [stdout] 10 │+
console.log(ctx))}/> [INFO] [stdout] 11 │+ ); [INFO] [stdout] 12 │+ }) [INFO] [stdout] 13 │+ }); [INFO] [stdout] 14 │+ [INFO] [stdout] 15 │+const App = qComponent({ [INFO] [stdout] 16 │+ onRender: qHook(() => { [INFO] [stdout] 17 │+ return ( [INFO] [stdout] 18 │+
[INFO] [stdout] 19 │+ ); [INFO] [stdout] 20 │+ }) [INFO] [stdout] 21 │+}); [INFO] [stdout] 22 │+============================= test.tsx == [INFO] [stdout] 23 │+ [INFO] [stdout] 24 │+import { qHook } from '@builderio/qwik'; [INFO] [stdout] 25 │+/*#__PURE__*/ qComponent({ [INFO] [stdout] 26 │+ "onMount": qHook(()=>import("./h_test_header_onmount") [INFO] [stdout] 27 │+ , "Header_onMount"), [INFO] [stdout] 28 │+ onRender: qHook(()=>import("./h_test_header_onrender") [INFO] [stdout] 29 │+ , "Header_onRender") [INFO] [stdout] 30 │+}); [INFO] [stdout] 31 │+/*#__PURE__*/ qComponent({ [INFO] [stdout] 32 │+ onRender: qHook(()=>import("./h_test_app_onrender") [INFO] [stdout] 33 │+ , "App_onRender") [INFO] [stdout] 34 │+}); [INFO] [stdout] 35 │+ [INFO] [stdout] 36 │+============================= h_test_app_onrender.tsx (ENTRY POINT)== [INFO] [stdout] 37 │+ [INFO] [stdout] 38 │+import { qHook } from "@builderio/qwik"; [INFO] [stdout] 39 │+export const App_onRender = /*#__PURE__*/ qHook(()=>{ [INFO] [stdout] 40 │+ return (
); [INFO] [stdout] 41 │+}); [INFO] [stdout] 42 │+ [INFO] [stdout] 43 │+============================= h_test_header_onmount.tsx (ENTRY POINT)== [INFO] [stdout] 44 │+ [INFO] [stdout] 45 │+import { qHook } from "@builderio/qwik"; [INFO] [stdout] 46 │+export const Header_onMount = /*#__PURE__*/ qHook(()=>{ [INFO] [stdout] 47 │+ console.log("mount"); [INFO] [stdout] 48 │+}); [INFO] [stdout] 49 │+ [INFO] [stdout] 50 │+============================= h_test_header_onrender_div_onclick.tsx (ENTRY POINT)== [INFO] [stdout] 51 │+ [INFO] [stdout] 52 │+import { qHook } from "@builderio/qwik"; [INFO] [stdout] 53 │+export const Header_onRender_div_onClick = /*#__PURE__*/ qHook((ctx)=>console.log(ctx) [INFO] [stdout] 54 │+); [INFO] [stdout] 55 │+ [INFO] [stdout] 56 │+============================= h_test_header_onrender.tsx (ENTRY POINT)== [INFO] [stdout] 57 │+ [INFO] [stdout] 58 │+import { qHook } from "@builderio/qwik"; [INFO] [stdout] 59 │+export const Header_onRender = /*#__PURE__*/ qHook(()=>{ [INFO] [stdout] 60 │+ return (
import("./h_test_header_onrender_div_onclick") [INFO] [stdout] 61 │+ , "Header_onRender_div_onClick")}/>); [INFO] [stdout] 62 │+}); [INFO] [stdout] 63 │+ [INFO] [stdout] 64 │+== HOOKS == [INFO] [stdout] 65 │+ [INFO] [stdout] 66 │+[ [INFO] [stdout] 67 │+ { [INFO] [stdout] 68 │+ "origin": "test.tsx", [INFO] [stdout] 69 │+ "name": "App_onRender", [INFO] [stdout] 70 │+ "entry": null, [INFO] [stdout] 71 │+ "canonicalFilename": "h_test_app_onrender", [INFO] [stdout] 72 │+ "localDecl": [], [INFO] [stdout] 73 │+ "localIdents": [ [INFO] [stdout] 74 │+ "Header", [INFO] [stdout] 75 │+ "qHook" [INFO] [stdout] 76 │+ ] [INFO] [stdout] 77 │+ }, [INFO] [stdout] 78 │+ { [INFO] [stdout] 79 │+ "origin": "test.tsx", [INFO] [stdout] 80 │+ "name": "Header_onMount", [INFO] [stdout] 81 │+ "entry": null, [INFO] [stdout] 82 │+ "canonicalFilename": "h_test_header_onmount", [INFO] [stdout] 83 │+ "localDecl": [], [INFO] [stdout] 84 │+ "localIdents": [ [INFO] [stdout] 85 │+ "console", [INFO] [stdout] 86 │+ "log", [INFO] [stdout] 87 │+ "qHook" [INFO] [stdout] 88 │+ ] [INFO] [stdout] 89 │+ }, [INFO] [stdout] 90 │+ { [INFO] [stdout] 91 │+ "origin": "test.tsx", [INFO] [stdout] 92 │+ "name": "Header_onRender_div_onClick", [INFO] [stdout] 93 │+ "entry": null, [INFO] [stdout] 94 │+ "canonicalFilename": "h_test_header_onrender_div_onclick", [INFO] [stdout] 95 │+ "localDecl": [ [INFO] [stdout] 96 │+ "ctx" [INFO] [stdout] 97 │+ ], [INFO] [stdout] 98 │+ "localIdents": [ [INFO] [stdout] 99 │+ "console", [INFO] [stdout] 100 │+ "ctx", [INFO] [stdout] 101 │+ "log", [INFO] [stdout] 102 │+ "qHook" [INFO] [stdout] 103 │+ ] [INFO] [stdout] 104 │+ }, [INFO] [stdout] 105 │+ { [INFO] [stdout] 106 │+ "origin": "test.tsx", [INFO] [stdout] 107 │+ "name": "Header_onRender", [INFO] [stdout] 108 │+ "entry": null, [INFO] [stdout] 109 │+ "canonicalFilename": "h_test_header_onrender", [INFO] [stdout] 110 │+ "localDecl": [], [INFO] [stdout] 111 │+ "localIdents": [ [INFO] [stdout] 112 │+ "div", [INFO] [stdout] 113 │+ "import", [INFO] [stdout] 114 │+ "onClick", [INFO] [stdout] 115 │+ "qHook" [INFO] [stdout] 116 │+ ] [INFO] [stdout] 117 │+ } [INFO] [stdout] 118 │+] [INFO] [stdout] 119 │+ [INFO] [stdout] 120 │+== DIAGNOSTICS == [INFO] [stdout] 121 │+ [INFO] [stdout] 122 │+[] [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'test::example_7' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }', src/test.rs:318:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55e508db930c - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55e508db930c - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55e508db930c - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55e508db930c - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55e508de179c - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x55e508db3678 - std::io::Write::write_fmt::h271050faa79d27d2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x55e508dbb8e7 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55e508dbb8e7 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55e508dbb8e7 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55e508dbb61b - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55e508dbc03a - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55e508dbbd27 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55e508db97d4 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55e508dbba39 - rust_begin_unwind [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55e507e96673 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55e507e96763 - core::result::unwrap_failed::hf9b34e307f812de0 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/result.rs:1749:5 [INFO] [stdout] 16: 0x55e50804d838 - core::result::Result::unwrap::hed0100633b3bf862 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/result.rs:1065:23 [INFO] [stdout] 17: 0x55e50811d534 - qwik_core::test::test_input::h74cd851f9020a0c4 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:318:13 [INFO] [stdout] 18: 0x55e508132932 - qwik_core::test::example_7::h8914691766a4178b [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:123:5 [INFO] [stdout] 19: 0x55e5081328ea - qwik_core::test::example_7::{{closure}}::h454f462013e3a990 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:122:1 [INFO] [stdout] 20: 0x55e5080d978e - core::ops::function::FnOnce::call_once::h494b06b19ad7ce65 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55e5081bffb3 - core::ops::function::FnOnce::call_once::h43953c8a8f54893f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x55e5081bffb3 - test::__rust_begin_short_backtrace::h163f55298a15df9b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:575:5 [INFO] [stdout] 23: 0x55e5081bece1 - as core::ops::function::FnOnce>::call_once::hc911782b3cbc7ed5 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 24: 0x55e5081bece1 - as core::ops::function::FnOnce<()>>::call_once::hc5bb369afbf9cd4e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x55e5081bece1 - std::panicking::try::do_call::he60df4e3e832faff [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 26: 0x55e5081bece1 - std::panicking::try::h2633cee89a0767f3 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 27: 0x55e5081bece1 - std::panic::catch_unwind::h6e10f7b94ce38b1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 28: 0x55e5081bece1 - test::run_test_in_process::h085ef39049c3b50b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:598:18 [INFO] [stdout] 29: 0x55e5081bece1 - test::run_test::run_test_inner::{{closure}}::h4e58ce9f68eb43e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:492:39 [INFO] [stdout] 30: 0x55e5081c85c1 - test::run_test::run_test_inner::{{closure}}::h6d18db28c5e396ee [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:519:37 [INFO] [stdout] 31: 0x55e5081c85c1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32292cb2cd8be620 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 32: 0x55e508194d1f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h71ee66b20f7b0482 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 33: 0x55e508194d1f - as core::ops::function::FnOnce<()>>::call_once::hb6046e1d1a75a4a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x55e508194d1f - std::panicking::try::do_call::h5422165a88309c77 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 35: 0x55e508194d1f - std::panicking::try::h840a12b54e2c9f5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 36: 0x55e508194d1f - std::panic::catch_unwind::h85910e437c8da180 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 37: 0x55e508194d1f - std::thread::Builder::spawn_unchecked_::{{closure}}::ha3af3a297bfd51d6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 38: 0x55e508194d1f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hff8788f58e0e06a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x55e508dc2083 - as core::ops::function::FnOnce>::call_once::h82a18723295373b7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 40: 0x55e508dc2083 - as core::ops::function::FnOnce>::call_once::h4b9b8634f7a2a5a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 41: 0x55e508dc2083 - std::sys::unix::thread::Thread::new::thread_start::h3dc341aa024c6852 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 42: 0x7f2ae4b59609 - start_thread [INFO] [stdout] 43: 0x7f2ae492b293 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test::example_1 stdout ---- [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/qwik_core__test__input-2.snap [INFO] [stdout] Snapshot: input-2 [INFO] [stdout] Source: src/test.rs:318 [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] output [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 │+==INPUT== [INFO] [stdout] 1 │+ [INFO] [stdout] 2 │+ [INFO] [stdout] 3 │+const Header = qComponent({ [INFO] [stdout] 4 │+ "onMount": qHook(() => { console.log("mount") }), [INFO] [stdout] 5 │+ onRender: qHook(() => { [INFO] [stdout] 6 │+ return ( [INFO] [stdout] 7 │+
console.log(ctx))}/> [INFO] [stdout] 8 │+ ); [INFO] [stdout] 9 │+ }) [INFO] [stdout] 10 │+}); [INFO] [stdout] 11 │+ [INFO] [stdout] 12 │+============================= test.tsx == [INFO] [stdout] 13 │+ [INFO] [stdout] 14 │+/*#__PURE__*/ qComponent({ [INFO] [stdout] 15 │+ "onMount": qHook(()=>import("./h_test_header_onmount") [INFO] [stdout] 16 │+ , "Header_onMount"), [INFO] [stdout] 17 │+ onRender: qHook(()=>import("./h_test_header_onrender") [INFO] [stdout] 18 │+ , "Header_onRender") [INFO] [stdout] 19 │+}); [INFO] [stdout] 20 │+ [INFO] [stdout] 21 │+============================= h_test_header_onmount.tsx (ENTRY POINT)== [INFO] [stdout] 22 │+ [INFO] [stdout] 23 │+export const Header_onMount = /*#__PURE__*/ qHook(()=>{ [INFO] [stdout] 24 │+ console.log("mount"); [INFO] [stdout] 25 │+}); [INFO] [stdout] 26 │+ [INFO] [stdout] 27 │+============================= h_test_header_onrender_div_onclick.tsx (ENTRY POINT)== [INFO] [stdout] 28 │+ [INFO] [stdout] 29 │+export const Header_onRender_div_onClick = /*#__PURE__*/ qHook((ctx)=>console.log(ctx) [INFO] [stdout] 30 │+); [INFO] [stdout] 31 │+ [INFO] [stdout] 32 │+============================= h_test_header_onrender.tsx (ENTRY POINT)== [INFO] [stdout] 33 │+ [INFO] [stdout] 34 │+export const Header_onRender = /*#__PURE__*/ qHook(()=>{ [INFO] [stdout] 35 │+ return (
import("./h_test_header_onrender_div_onclick") [INFO] [stdout] 36 │+ , "Header_onRender_div_onClick")}/>); [INFO] [stdout] 37 │+}); [INFO] [stdout] 38 │+ [INFO] [stdout] 39 │+== HOOKS == [INFO] [stdout] 40 │+ [INFO] [stdout] 41 │+[ [INFO] [stdout] 42 │+ { [INFO] [stdout] 43 │+ "origin": "test.tsx", [INFO] [stdout] 44 │+ "name": "Header_onMount", [INFO] [stdout] 45 │+ "entry": null, [INFO] [stdout] 46 │+ "canonicalFilename": "h_test_header_onmount", [INFO] [stdout] 47 │+ "localDecl": [], [INFO] [stdout] 48 │+ "localIdents": [ [INFO] [stdout] 49 │+ "console", [INFO] [stdout] 50 │+ "log", [INFO] [stdout] 51 │+ "qHook" [INFO] [stdout] 52 │+ ] [INFO] [stdout] 53 │+ }, [INFO] [stdout] 54 │+ { [INFO] [stdout] 55 │+ "origin": "test.tsx", [INFO] [stdout] 56 │+ "name": "Header_onRender_div_onClick", [INFO] [stdout] 57 │+ "entry": null, [INFO] [stdout] 58 │+ "canonicalFilename": "h_test_header_onrender_div_onclick", [INFO] [stdout] 59 │+ "localDecl": [ [INFO] [stdout] 60 │+ "ctx" [INFO] [stdout] 61 │+ ], [INFO] [stdout] 62 │+ "localIdents": [ [INFO] [stdout] 63 │+ "console", [INFO] [stdout] 64 │+ "ctx", [INFO] [stdout] 65 │+ "log", [INFO] [stdout] 66 │+ "qHook" [INFO] [stdout] 67 │+ ] [INFO] [stdout] 68 │+ }, [INFO] [stdout] 69 │+ { [INFO] [stdout] 70 │+ "origin": "test.tsx", [INFO] [stdout] 71 │+ "name": "Header_onRender", [INFO] [stdout] 72 │+ "entry": null, [INFO] [stdout] 73 │+ "canonicalFilename": "h_test_header_onrender", [INFO] [stdout] 74 │+ "localDecl": [], [INFO] [stdout] 75 │+ "localIdents": [ [INFO] [stdout] 76 │+ "div", [INFO] [stdout] 77 │+ "import", [INFO] [stdout] 78 │+ "onClick", [INFO] [stdout] 79 │+ "qHook" [INFO] [stdout] 80 │+ ] [INFO] [stdout] 81 │+ } [INFO] [stdout] 82 │+] [INFO] [stdout] 83 │+ [INFO] [stdout] 84 │+== DIAGNOSTICS == [INFO] [stdout] 85 │+ [INFO] [stdout] 86 │+[] [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'test::example_1' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }', src/test.rs:318:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55e508db930c - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55e508db930c - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55e508db930c - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55e508db930c - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55e508de179c - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x55e508db3678 - std::io::Write::write_fmt::h271050faa79d27d2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x55e508dbb8e7 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55e508dbb8e7 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55e508dbb8e7 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55e508dbb61b - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55e508dbc03a - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55e508dbbd27 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55e508db97d4 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55e508dbba39 - rust_begin_unwind [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55e507e96673 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55e507e96763 - core::result::unwrap_failed::hf9b34e307f812de0 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/result.rs:1749:5 [INFO] [stdout] 16: 0x55e50804d838 - core::result::Result::unwrap::hed0100633b3bf862 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/result.rs:1065:23 [INFO] [stdout] 17: 0x55e50811d534 - qwik_core::test::test_input::h74cd851f9020a0c4 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:318:13 [INFO] [stdout] 18: 0x55e508131992 - qwik_core::test::example_1::hd807ea7a1bd909e7 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:8:5 [INFO] [stdout] 19: 0x55e50813194a - qwik_core::test::example_1::{{closure}}::hdeb95b46cecb304f [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:7:1 [INFO] [stdout] 20: 0x55e5080d964e - core::ops::function::FnOnce::call_once::h30ab46c53a93a37a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55e5081bffb3 - core::ops::function::FnOnce::call_once::h43953c8a8f54893f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x55e5081bffb3 - test::__rust_begin_short_backtrace::h163f55298a15df9b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:575:5 [INFO] [stdout] 23: 0x55e5081bece1 - as core::ops::function::FnOnce>::call_once::hc911782b3cbc7ed5 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 24: 0x55e5081bece1 - as core::ops::function::FnOnce<()>>::call_once::hc5bb369afbf9cd4e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x55e5081bece1 - std::panicking::try::do_call::he60df4e3e832faff [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 26: 0x55e5081bece1 - std::panicking::try::h2633cee89a0767f3 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 27: 0x55e5081bece1 - std::panic::catch_unwind::h6e10f7b94ce38b1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 28: 0x55e5081bece1 - test::run_test_in_process::h085ef39049c3b50b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:598:18 [INFO] [stdout] 29: 0x55e5081bece1 - test::run_test::run_test_inner::{{closure}}::h4e58ce9f68eb43e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:492:39 [INFO] [stdout] 30: 0x55e5081c85c1 - test::run_test::run_test_inner::{{closure}}::h6d18db28c5e396ee [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:519:37 [INFO] [stdout] 31: 0x55e5081c85c1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32292cb2cd8be620 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 32: 0x55e508194d1f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h71ee66b20f7b0482 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 33: 0x55e508194d1f - as core::ops::function::FnOnce<()>>::call_once::hb6046e1d1a75a4a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x55e508194d1f - std::panicking::try::do_call::h5422165a88309c77 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 35: 0x55e508194d1f - std::panicking::try::h840a12b54e2c9f5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 36: 0x55e508194d1f - std::panic::catch_unwind::h85910e437c8da180 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 37: 0x55e508194d1f - std::thread::Builder::spawn_unchecked_::{{closure}}::ha3af3a297bfd51d6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 38: 0x55e508194d1f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hff8788f58e0e06a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x55e508dc2083 - as core::ops::function::FnOnce>::call_once::h82a18723295373b7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 40: 0x55e508dc2083 - as core::ops::function::FnOnce>::call_once::h4b9b8634f7a2a5a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 41: 0x55e508dc2083 - std::sys::unix::thread::Thread::new::thread_start::h3dc341aa024c6852 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 42: 0x7f2ae4b59609 - start_thread [INFO] [stdout] 43: 0x7f2ae492b293 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test::example_6 stdout ---- [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/qwik_core__test__input.snap [INFO] [stdout] Snapshot: input [INFO] [stdout] Source: src/test.rs:318 [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] output [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 │+==INPUT== [INFO] [stdout] 1 │+ [INFO] [stdout] 2 │+ [INFO] [stdout] 3 │+export const sym1 = qHook((ctx) => console.log("1")); [INFO] [stdout] 4 │+ [INFO] [stdout] 5 │+============================= test.tsx == [INFO] [stdout] 6 │+ [INFO] [stdout] 7 │+export const sym1 = qHook(()=>import("./h_test_sym1") [INFO] [stdout] 8 │+, "sym1"); [INFO] [stdout] 9 │+ [INFO] [stdout] 10 │+============================= h_test_sym1.tsx (ENTRY POINT)== [INFO] [stdout] 11 │+ [INFO] [stdout] 12 │+export const sym1 = /*#__PURE__*/ qHook((ctx)=>console.log("1") [INFO] [stdout] 13 │+); [INFO] [stdout] 14 │+ [INFO] [stdout] 15 │+== HOOKS == [INFO] [stdout] 16 │+ [INFO] [stdout] 17 │+[ [INFO] [stdout] 18 │+ { [INFO] [stdout] 19 │+ "origin": "test.tsx", [INFO] [stdout] 20 │+ "name": "sym1", [INFO] [stdout] 21 │+ "entry": null, [INFO] [stdout] 22 │+ "canonicalFilename": "h_test_sym1", [INFO] [stdout] 23 │+ "localDecl": [ [INFO] [stdout] 24 │+ "ctx" [INFO] [stdout] 25 │+ ], [INFO] [stdout] 26 │+ "localIdents": [ [INFO] [stdout] 27 │+ "console", [INFO] [stdout] 28 │+ "ctx", [INFO] [stdout] 29 │+ "log", [INFO] [stdout] 30 │+ "qHook" [INFO] [stdout] 31 │+ ] [INFO] [stdout] 32 │+ } [INFO] [stdout] 33 │+] [INFO] [stdout] 34 │+ [INFO] [stdout] 35 │+== DIAGNOSTICS == [INFO] [stdout] 36 │+ [INFO] [stdout] 37 │+[] [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'test::example_6' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }', src/test.rs:318:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55e508db930c - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55e508db930c - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55e508db930c - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55e508db930c - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55e508de179c - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x55e508db3678 - std::io::Write::write_fmt::h271050faa79d27d2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x55e508dbb8e7 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55e508dbb8e7 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55e508dbb8e7 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55e508dbb61b - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55e508dbc03a - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55e508dbbd27 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55e508db97d4 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55e508dbba39 - rust_begin_unwind [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55e507e96673 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55e507e96763 - core::result::unwrap_failed::hf9b34e307f812de0 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/result.rs:1749:5 [INFO] [stdout] 16: 0x55e50804d838 - core::result::Result::unwrap::hed0100633b3bf862 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/result.rs:1065:23 [INFO] [stdout] 17: 0x55e50811d534 - qwik_core::test::test_input::h74cd851f9020a0c4 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:318:13 [INFO] [stdout] 18: 0x55e5081328d2 - qwik_core::test::example_6::h07189ff24bc1bb70 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:111:5 [INFO] [stdout] 19: 0x55e50813288a - qwik_core::test::example_6::{{closure}}::h0fd111bb0fb3018f [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:110:1 [INFO] [stdout] 20: 0x55e5080d9a1e - core::ops::function::FnOnce::call_once::h8d181d084fa959be [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55e5081bffb3 - core::ops::function::FnOnce::call_once::h43953c8a8f54893f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x55e5081bffb3 - test::__rust_begin_short_backtrace::h163f55298a15df9b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:575:5 [INFO] [stdout] 23: 0x55e5081bece1 - as core::ops::function::FnOnce>::call_once::hc911782b3cbc7ed5 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 24: 0x55e5081bece1 - as core::ops::function::FnOnce<()>>::call_once::hc5bb369afbf9cd4e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x55e5081bece1 - std::panicking::try::do_call::he60df4e3e832faff [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 26: 0x55e5081bece1 - std::panicking::try::h2633cee89a0767f3 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 27: 0x55e5081bece1 - std::panic::catch_unwind::h6e10f7b94ce38b1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 28: 0x55e5081bece1 - test::run_test_in_process::h085ef39049c3b50b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:598:18 [INFO] [stdout] 29: 0x55e5081bece1 - test::run_test::run_test_inner::{{closure}}::h4e58ce9f68eb43e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:492:39 [INFO] [stdout] 30: 0x55e5081c85c1 - test::run_test::run_test_inner::{{closure}}::h6d18db28c5e396ee [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:519:37 [INFO] [stdout] 31: 0x55e5081c85c1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32292cb2cd8be620 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 32: 0x55e508194d1f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h71ee66b20f7b0482 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 33: 0x55e508194d1f - as core::ops::function::FnOnce<()>>::call_once::hb6046e1d1a75a4a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x55e508194d1f - std::panicking::try::do_call::h5422165a88309c77 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 35: 0x55e508194d1f - std::panicking::try::h840a12b54e2c9f5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 36: 0x55e508194d1f - std::panic::catch_unwind::h85910e437c8da180 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 37: 0x55e508194d1f - std::thread::Builder::spawn_unchecked_::{{closure}}::ha3af3a297bfd51d6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 38: 0x55e508194d1f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hff8788f58e0e06a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x55e508dc2083 - as core::ops::function::FnOnce>::call_once::h82a18723295373b7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 40: 0x55e508dc2083 - as core::ops::function::FnOnce>::call_once::h4b9b8634f7a2a5a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 41: 0x55e508dc2083 - std::sys::unix::thread::Thread::new::thread_start::h3dc341aa024c6852 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 42: 0x7f2ae4b59609 - start_thread [INFO] [stdout] 43: 0x7f2ae492b293 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test::example_2 stdout ---- [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/qwik_core__test__input-10.snap [INFO] [stdout] Snapshot: input-10 [INFO] [stdout] Source: src/test.rs:318 [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] output [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 │+==INPUT== [INFO] [stdout] 1 │+ [INFO] [stdout] 2 │+ [INFO] [stdout] 3 │+export const Header = qComponent({ [INFO] [stdout] 4 │+ "onMount": qHook(() => { console.log("mount") }), [INFO] [stdout] 5 │+ onRender: qHook(() => { [INFO] [stdout] 6 │+ return ( [INFO] [stdout] 7 │+
console.log(ctx))}/> [INFO] [stdout] 8 │+ ); [INFO] [stdout] 9 │+ }) [INFO] [stdout] 10 │+}); [INFO] [stdout] 11 │+ [INFO] [stdout] 12 │+============================= test.tsx == [INFO] [stdout] 13 │+ [INFO] [stdout] 14 │+export const Header = /*#__PURE__*/ qComponent({ [INFO] [stdout] 15 │+ "onMount": qHook(()=>import("./h_test_header_onmount") [INFO] [stdout] 16 │+ , "Header_onMount"), [INFO] [stdout] 17 │+ onRender: qHook(()=>import("./h_test_header_onrender") [INFO] [stdout] 18 │+ , "Header_onRender") [INFO] [stdout] 19 │+}); [INFO] [stdout] 20 │+ [INFO] [stdout] 21 │+============================= h_test_header_onmount.tsx (ENTRY POINT)== [INFO] [stdout] 22 │+ [INFO] [stdout] 23 │+export const Header_onMount = /*#__PURE__*/ qHook(()=>{ [INFO] [stdout] 24 │+ console.log("mount"); [INFO] [stdout] 25 │+}); [INFO] [stdout] 26 │+ [INFO] [stdout] 27 │+============================= h_test_header_onrender_div_onclick.tsx (ENTRY POINT)== [INFO] [stdout] 28 │+ [INFO] [stdout] 29 │+export const Header_onRender_div_onClick = /*#__PURE__*/ qHook((ctx)=>console.log(ctx) [INFO] [stdout] 30 │+); [INFO] [stdout] 31 │+ [INFO] [stdout] 32 │+============================= h_test_header_onrender.tsx (ENTRY POINT)== [INFO] [stdout] 33 │+ [INFO] [stdout] 34 │+export const Header_onRender = /*#__PURE__*/ qHook(()=>{ [INFO] [stdout] 35 │+ return (
import("./h_test_header_onrender_div_onclick") [INFO] [stdout] 36 │+ , "Header_onRender_div_onClick")}/>); [INFO] [stdout] 37 │+}); [INFO] [stdout] 38 │+ [INFO] [stdout] 39 │+== HOOKS == [INFO] [stdout] 40 │+ [INFO] [stdout] 41 │+[ [INFO] [stdout] 42 │+ { [INFO] [stdout] 43 │+ "origin": "test.tsx", [INFO] [stdout] 44 │+ "name": "Header_onMount", [INFO] [stdout] 45 │+ "entry": null, [INFO] [stdout] 46 │+ "canonicalFilename": "h_test_header_onmount", [INFO] [stdout] 47 │+ "localDecl": [], [INFO] [stdout] 48 │+ "localIdents": [ [INFO] [stdout] 49 │+ "console", [INFO] [stdout] 50 │+ "log", [INFO] [stdout] 51 │+ "qHook" [INFO] [stdout] 52 │+ ] [INFO] [stdout] 53 │+ }, [INFO] [stdout] 54 │+ { [INFO] [stdout] 55 │+ "origin": "test.tsx", [INFO] [stdout] 56 │+ "name": "Header_onRender_div_onClick", [INFO] [stdout] 57 │+ "entry": null, [INFO] [stdout] 58 │+ "canonicalFilename": "h_test_header_onrender_div_onclick", [INFO] [stdout] 59 │+ "localDecl": [ [INFO] [stdout] 60 │+ "ctx" [INFO] [stdout] 61 │+ ], [INFO] [stdout] 62 │+ "localIdents": [ [INFO] [stdout] 63 │+ "console", [INFO] [stdout] 64 │+ "ctx", [INFO] [stdout] 65 │+ "log", [INFO] [stdout] 66 │+ "qHook" [INFO] [stdout] 67 │+ ] [INFO] [stdout] 68 │+ }, [INFO] [stdout] 69 │+ { [INFO] [stdout] 70 │+ "origin": "test.tsx", [INFO] [stdout] 71 │+ "name": "Header_onRender", [INFO] [stdout] 72 │+ "entry": null, [INFO] [stdout] 73 │+ "canonicalFilename": "h_test_header_onrender", [INFO] [stdout] 74 │+ "localDecl": [], [INFO] [stdout] 75 │+ "localIdents": [ [INFO] [stdout] 76 │+ "div", [INFO] [stdout] 77 │+ "import", [INFO] [stdout] 78 │+ "onClick", [INFO] [stdout] 79 │+ "qHook" [INFO] [stdout] 80 │+ ] [INFO] [stdout] 81 │+ } [INFO] [stdout] 82 │+] [INFO] [stdout] 83 │+ [INFO] [stdout] 84 │+== DIAGNOSTICS == [INFO] [stdout] 85 │+ [INFO] [stdout] 86 │+[] [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'test::example_2' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }', src/test.rs:318:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55e508db930c - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55e508db930c - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55e508db930c - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55e508db930c - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55e508de179c - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x55e508db3678 - std::io::Write::write_fmt::h271050faa79d27d2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x55e508dbb8e7 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55e508dbb8e7 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55e508dbb8e7 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55e508dbb61b - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55e508dbc03a - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55e508dbbd27 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55e508db97d4 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55e508dbba39 - rust_begin_unwind [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55e507e96673 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55e507e96763 - core::result::unwrap_failed::hf9b34e307f812de0 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/result.rs:1749:5 [INFO] [stdout] 16: 0x55e50804d838 - core::result::Result::unwrap::hed0100633b3bf862 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/result.rs:1065:23 [INFO] [stdout] 17: 0x55e50811d534 - qwik_core::test::test_input::h74cd851f9020a0c4 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:318:13 [INFO] [stdout] 18: 0x55e5081319f2 - qwik_core::test::example_2::hbd1f78bfe5551def [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:27:5 [INFO] [stdout] 19: 0x55e5081319aa - qwik_core::test::example_2::{{closure}}::hdd45056ef64027c9 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:26:1 [INFO] [stdout] 20: 0x55e5080d97ce - core::ops::function::FnOnce::call_once::h52fec457773485f6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55e5081bffb3 - core::ops::function::FnOnce::call_once::h43953c8a8f54893f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x55e5081bffb3 - test::__rust_begin_short_backtrace::h163f55298a15df9b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:575:5 [INFO] [stdout] 23: 0x55e5081bece1 - as core::ops::function::FnOnce>::call_once::hc911782b3cbc7ed5 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 24: 0x55e5081bece1 - as core::ops::function::FnOnce<()>>::call_once::hc5bb369afbf9cd4e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x55e5081bece1 - std::panicking::try::do_call::he60df4e3e832faff [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 26: 0x55e5081bece1 - std::panicking::try::h2633cee89a0767f3 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 27: 0x55e5081bece1 - std::panic::catch_unwind::h6e10f7b94ce38b1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 28: 0x55e5081bece1 - test::run_test_in_process::h085ef39049c3b50b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:598:18 [INFO] [stdout] 29: 0x55e5081bece1 - test::run_test::run_test_inner::{{closure}}::h4e58ce9f68eb43e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:492:39 [INFO] [stdout] 30: 0x55e5081c85c1 - test::run_test::run_test_inner::{{closure}}::h6d18db28c5e396ee [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:519:37 [INFO] [stdout] 31: 0x55e5081c85c1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32292cb2cd8be620 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 32: 0x55e508194d1f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h71ee66b20f7b0482 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 33: 0x55e508194d1f - as core::ops::function::FnOnce<()>>::call_once::hb6046e1d1a75a4a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x55e508194d1f - std::panicking::try::do_call::h5422165a88309c77 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 35: 0x55e508194d1f - std::panicking::try::h840a12b54e2c9f5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 36: 0x55e508194d1f - std::panic::catch_unwind::h85910e437c8da180 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 37: 0x55e508194d1f - std::thread::Builder::spawn_unchecked_::{{closure}}::ha3af3a297bfd51d6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 38: 0x55e508194d1f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hff8788f58e0e06a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x55e508dc2083 - as core::ops::function::FnOnce>::call_once::h82a18723295373b7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 40: 0x55e508dc2083 - as core::ops::function::FnOnce>::call_once::h4b9b8634f7a2a5a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 41: 0x55e508dc2083 - std::sys::unix::thread::Thread::new::thread_start::h3dc341aa024c6852 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 42: 0x7f2ae4b59609 - start_thread [INFO] [stdout] 43: 0x7f2ae492b293 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test::example_8 stdout ---- [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/qwik_core__test__input-8.snap [INFO] [stdout] Snapshot: input-8 [INFO] [stdout] Source: src/test.rs:318 [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] output [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 │+==INPUT== [INFO] [stdout] 1 │+ [INFO] [stdout] 2 │+ [INFO] [stdout] 3 │+import {qHook} from '@builderio/qwik'; [INFO] [stdout] 4 │+ [INFO] [stdout] 5 │+const Header = qComponent({ [INFO] [stdout] 6 │+ onRender: qHook((hola) => { [INFO] [stdout] 7 │+ const hola = this; [INFO] [stdout] 8 │+ const {something, styff} = hola; [INFO] [stdout] 9 │+ const hello = hola.nothere.stuff[global]; [INFO] [stdout] 10 │+ return ( [INFO] [stdout] 11 │+
[INFO] [stdout] 12 │+ ); [INFO] [stdout] 13 │+ }) [INFO] [stdout] 14 │+ }); [INFO] [stdout] 15 │+ [INFO] [stdout] 16 │+============================= test.tsx == [INFO] [stdout] 17 │+ [INFO] [stdout] 18 │+import { qHook } from '@builderio/qwik'; [INFO] [stdout] 19 │+/*#__PURE__*/ qComponent({ [INFO] [stdout] 20 │+ onRender: qHook(()=>import("./h_test_header_onrender") [INFO] [stdout] 21 │+ , "Header_onRender") [INFO] [stdout] 22 │+}); [INFO] [stdout] 23 │+ [INFO] [stdout] 24 │+============================= h_test_header_onrender.tsx (ENTRY POINT)== [INFO] [stdout] 25 │+ [INFO] [stdout] 26 │+import { qHook } from "@builderio/qwik"; [INFO] [stdout] 27 │+export const Header_onRender = /*#__PURE__*/ qHook((hola)=>{ [INFO] [stdout] 28 │+ const hola = this; [INFO] [stdout] 29 │+ const { something , styff } = hola; [INFO] [stdout] 30 │+ const hello = hola.nothere.stuff[global]; [INFO] [stdout] 31 │+ return (
); [INFO] [stdout] 32 │+}); [INFO] [stdout] 33 │+ [INFO] [stdout] 34 │+== HOOKS == [INFO] [stdout] 35 │+ [INFO] [stdout] 36 │+[ [INFO] [stdout] 37 │+ { [INFO] [stdout] 38 │+ "origin": "test.tsx", [INFO] [stdout] 39 │+ "name": "Header_onRender", [INFO] [stdout] 40 │+ "entry": null, [INFO] [stdout] 41 │+ "canonicalFilename": "h_test_header_onrender", [INFO] [stdout] 42 │+ "localDecl": [ [INFO] [stdout] 43 │+ "hello", [INFO] [stdout] 44 │+ "hola", [INFO] [stdout] 45 │+ "something", [INFO] [stdout] 46 │+ "styff" [INFO] [stdout] 47 │+ ], [INFO] [stdout] 48 │+ "localIdents": [ [INFO] [stdout] 49 │+ "Header", [INFO] [stdout] 50 │+ "global", [INFO] [stdout] 51 │+ "hola", [INFO] [stdout] 52 │+ "nothere", [INFO] [stdout] 53 │+ "qHook", [INFO] [stdout] 54 │+ "stuff" [INFO] [stdout] 55 │+ ] [INFO] [stdout] 56 │+ } [INFO] [stdout] 57 │+] [INFO] [stdout] 58 │+ [INFO] [stdout] 59 │+== DIAGNOSTICS == [INFO] [stdout] 60 │+ [INFO] [stdout] 61 │+[] [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'test::example_8' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }', src/test.rs:318:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55e508db930c - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55e508db930c - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55e508db930c - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55e508db930c - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55e508de179c - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x55e508db3678 - std::io::Write::write_fmt::h271050faa79d27d2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x55e508dbb8e7 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55e508dbb8e7 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55e508dbb8e7 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55e508dbb61b - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55e508dbc03a - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55e508dbbd27 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55e508db97d4 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55e508dbba39 - rust_begin_unwind [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55e507e96673 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55e507e96763 - core::result::unwrap_failed::hf9b34e307f812de0 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/result.rs:1749:5 [INFO] [stdout] 16: 0x55e50804d838 - core::result::Result::unwrap::hed0100633b3bf862 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/result.rs:1065:23 [INFO] [stdout] 17: 0x55e50811d534 - qwik_core::test::test_input::h74cd851f9020a0c4 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:318:13 [INFO] [stdout] 18: 0x55e508132992 - qwik_core::test::example_8::ha8b2aaa4e1e61239 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:152:5 [INFO] [stdout] 19: 0x55e50813294a - qwik_core::test::example_8::{{closure}}::he33de59f6f38f412 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:151:1 [INFO] [stdout] 20: 0x55e5080d9bbe - core::ops::function::FnOnce::call_once::hcc7441ca5dc28680 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55e5081bffb3 - core::ops::function::FnOnce::call_once::h43953c8a8f54893f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x55e5081bffb3 - test::__rust_begin_short_backtrace::h163f55298a15df9b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:575:5 [INFO] [stdout] 23: 0x55e5081bece1 - as core::ops::function::FnOnce>::call_once::hc911782b3cbc7ed5 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 24: 0x55e5081bece1 - as core::ops::function::FnOnce<()>>::call_once::hc5bb369afbf9cd4e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x55e5081bece1 - std::panicking::try::do_call::he60df4e3e832faff [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 26: 0x55e5081bece1 - std::panicking::try::h2633cee89a0767f3 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 27: 0x55e5081bece1 - std::panic::catch_unwind::h6e10f7b94ce38b1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 28: 0x55e5081bece1 - test::run_test_in_process::h085ef39049c3b50b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:598:18 [INFO] [stdout] 29: 0x55e5081bece1 - test::run_test::run_test_inner::{{closure}}::h4e58ce9f68eb43e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:492:39 [INFO] [stdout] 30: 0x55e5081c85c1 - test::run_test::run_test_inner::{{closure}}::h6d18db28c5e396ee [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:519:37 [INFO] [stdout] 31: 0x55e5081c85c1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32292cb2cd8be620 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 32: 0x55e508194d1f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h71ee66b20f7b0482 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 33: 0x55e508194d1f - as core::ops::function::FnOnce<()>>::call_once::hb6046e1d1a75a4a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x55e508194d1f - std::panicking::try::do_call::h5422165a88309c77 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 35: 0x55e508194d1f - std::panicking::try::h840a12b54e2c9f5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 36: 0x55e508194d1f - std::panic::catch_unwind::h85910e437c8da180 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 37: 0x55e508194d1f - std::thread::Builder::spawn_unchecked_::{{closure}}::ha3af3a297bfd51d6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 38: 0x55e508194d1f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hff8788f58e0e06a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x55e508dc2083 - as core::ops::function::FnOnce>::call_once::h82a18723295373b7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 40: 0x55e508dc2083 - as core::ops::function::FnOnce>::call_once::h4b9b8634f7a2a5a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 41: 0x55e508dc2083 - std::sys::unix::thread::Thread::new::thread_start::h3dc341aa024c6852 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 42: 0x7f2ae4b59609 - start_thread [INFO] [stdout] 43: 0x7f2ae492b293 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test::example_10 stdout ---- [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/qwik_core__test__input-7.snap [INFO] [stdout] Snapshot: input-7 [INFO] [stdout] Source: src/test.rs:318 [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] output [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 │+==INPUT== [INFO] [stdout] 1 │+ [INFO] [stdout] 2 │+ [INFO] [stdout] 3 │+const Header = qHook((decl1, {decl2}, [decl3]) => { [INFO] [stdout] 4 │+ [INFO] [stdout] 5 │+ const hola = ident1.no; [INFO] [stdout] 6 │+ ident2; [INFO] [stdout] 7 │+ const a = ident1 + ident3; [INFO] [stdout] 8 │+ const b = ident1 + ident3; [INFO] [stdout] 9 │+ ident4(ident5, [ident6], {ident7}, {key: ident8}); [INFO] [stdout] 10 │+ class Some { [INFO] [stdout] 11 │+ prop = ident9; [INFO] [stdout] 12 │+ method() { [INFO] [stdout] 13 │+ return ident10; [INFO] [stdout] 14 │+ } [INFO] [stdout] 15 │+ } [INFO] [stdout] 16 │+ [INFO] [stdout] 17 │+ return ( [INFO] [stdout] 18 │+
ident11 + ident12} required={false}/> [INFO] [stdout] 19 │+ ) [INFO] [stdout] 20 │+}); [INFO] [stdout] 21 │+ [INFO] [stdout] 22 │+============================= project/test.tsx == [INFO] [stdout] 23 │+ [INFO] [stdout] 24 │+qHook(()=>import("../h_test_header") [INFO] [stdout] 25 │+, "Header"); [INFO] [stdout] 26 │+ [INFO] [stdout] 27 │+============================= h_test_header.tsx (ENTRY POINT)== [INFO] [stdout] 28 │+ [INFO] [stdout] 29 │+export const Header = /*#__PURE__*/ qHook((decl1, { decl2 }, [decl3])=>{ [INFO] [stdout] 30 │+ const hola = ident1.no; [INFO] [stdout] 31 │+ ident2; [INFO] [stdout] 32 │+ const a = ident1 + ident3; [INFO] [stdout] 33 │+ const b = ident1 + ident3; [INFO] [stdout] 34 │+ ident4(ident5, [ [INFO] [stdout] 35 │+ ident6 [INFO] [stdout] 36 │+ ], { [INFO] [stdout] 37 │+ ident7 [INFO] [stdout] 38 │+ }, { [INFO] [stdout] 39 │+ key: ident8 [INFO] [stdout] 40 │+ }); [INFO] [stdout] 41 │+ class Some { [INFO] [stdout] 42 │+ prop = ident9; [INFO] [stdout] 43 │+ method() { [INFO] [stdout] 44 │+ return ident10; [INFO] [stdout] 45 │+ } [INFO] [stdout] 46 │+ } [INFO] [stdout] 47 │+ return (
ident11 + ident12 [INFO] [stdout] 48 │+ } required={false}/>); [INFO] [stdout] 49 │+}); [INFO] [stdout] 50 │+ [INFO] [stdout] 51 │+== HOOKS == [INFO] [stdout] 52 │+ [INFO] [stdout] 53 │+[ [INFO] [stdout] 54 │+ { [INFO] [stdout] 55 │+ "origin": "project/test.tsx", [INFO] [stdout] 56 │+ "name": "Header", [INFO] [stdout] 57 │+ "entry": null, [INFO] [stdout] 58 │+ "canonicalFilename": "h_test_header", [INFO] [stdout] 59 │+ "localDecl": [ [INFO] [stdout] 60 │+ "Some", [INFO] [stdout] 61 │+ "a", [INFO] [stdout] 62 │+ "b", [INFO] [stdout] 63 │+ "decl1", [INFO] [stdout] 64 │+ "decl2", [INFO] [stdout] 65 │+ "decl3", [INFO] [stdout] 66 │+ "hola", [INFO] [stdout] 67 │+ "ident11" [INFO] [stdout] 68 │+ ], [INFO] [stdout] 69 │+ "localIdents": [ [INFO] [stdout] 70 │+ "decl1", [INFO] [stdout] 71 │+ "decl2", [INFO] [stdout] 72 │+ "decl3", [INFO] [stdout] 73 │+ "div", [INFO] [stdout] 74 │+ "ident1", [INFO] [stdout] 75 │+ "ident10", [INFO] [stdout] 76 │+ "ident11", [INFO] [stdout] 77 │+ "ident12", [INFO] [stdout] 78 │+ "ident2", [INFO] [stdout] 79 │+ "ident3", [INFO] [stdout] 80 │+ "ident4", [INFO] [stdout] 81 │+ "ident5", [INFO] [stdout] 82 │+ "ident6", [INFO] [stdout] 83 │+ "ident7", [INFO] [stdout] 84 │+ "ident8", [INFO] [stdout] 85 │+ "ident9", [INFO] [stdout] 86 │+ "no", [INFO] [stdout] 87 │+ "onClick", [INFO] [stdout] 88 │+ "prop", [INFO] [stdout] 89 │+ "qHook", [INFO] [stdout] 90 │+ "required" [INFO] [stdout] 91 │+ ] [INFO] [stdout] 92 │+ } [INFO] [stdout] 93 │+] [INFO] [stdout] 94 │+ [INFO] [stdout] 95 │+== DIAGNOSTICS == [INFO] [stdout] 96 │+ [INFO] [stdout] 97 │+[] [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'test::example_10' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }', src/test.rs:318:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55e508db930c - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55e508db930c - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55e508db930c - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55e508db930c - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55e508de179c - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x55e508db3678 - std::io::Write::write_fmt::h271050faa79d27d2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x55e508dbb8e7 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55e508dbb8e7 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55e508dbb8e7 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55e508dbb61b - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55e508dbc03a - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55e508dbbd27 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55e508db97d4 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55e508dbba39 - rust_begin_unwind [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55e507e96673 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55e507e96763 - core::result::unwrap_failed::hf9b34e307f812de0 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/result.rs:1749:5 [INFO] [stdout] 16: 0x55e50804d838 - core::result::Result::unwrap::hed0100633b3bf862 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/result.rs:1065:23 [INFO] [stdout] 17: 0x55e50811d534 - qwik_core::test::test_input::h74cd851f9020a0c4 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:318:13 [INFO] [stdout] 18: 0x55e508132a52 - qwik_core::test::example_10::h27945af29e290cb7 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:197:5 [INFO] [stdout] 19: 0x55e508132a0a - qwik_core::test::example_10::{{closure}}::h5898e16c7f57c134 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:196:1 [INFO] [stdout] 20: 0x55e5080d974e - core::ops::function::FnOnce::call_once::h41c8583444da43d9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55e5081bffb3 - core::ops::function::FnOnce::call_once::h43953c8a8f54893f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x55e5081bffb3 - test::__rust_begin_short_backtrace::h163f55298a15df9b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:575:5 [INFO] [stdout] 23: 0x55e5081bece1 - as core::ops::function::FnOnce>::call_once::hc911782b3cbc7ed5 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 24: 0x55e5081bece1 - as core::ops::function::FnOnce<()>>::call_once::hc5bb369afbf9cd4e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x55e5081bece1 - std::panicking::try::do_call::he60df4e3e832faff [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 26: 0x55e5081bece1 - std::panicking::try::h2633cee89a0767f3 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 27: 0x55e5081bece1 - std::panic::catch_unwind::h6e10f7b94ce38b1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 28: 0x55e5081bece1 - test::run_test_in_process::h085ef39049c3b50b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:598:18 [INFO] [stdout] 29: 0x55e5081bece1 - test::run_test::run_test_inner::{{closure}}::h4e58ce9f68eb43e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:492:39 [INFO] [stdout] 30: 0x55e5081c85c1 - test::run_test::run_test_inner::{{closure}}::h6d18db28c5e396ee [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:519:37 [INFO] [stdout] 31: 0x55e5081c85c1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32292cb2cd8be620 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 32: 0x55e508194d1f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h71ee66b20f7b0482 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 33: 0x55e508194d1f - as core::ops::function::FnOnce<()>>::call_once::hb6046e1d1a75a4a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x55e508194d1f - std::panicking::try::do_call::h5422165a88309c77 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 35: 0x55e508194d1f - std::panicking::try::h840a12b54e2c9f5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 36: 0x55e508194d1f - std::panic::catch_unwind::h85910e437c8da180 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 37: 0x55e508194d1f - std::thread::Builder::spawn_unchecked_::{{closure}}::ha3af3a297bfd51d6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 38: 0x55e508194d1f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hff8788f58e0e06a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x55e508dc2083 - as core::ops::function::FnOnce>::call_once::h82a18723295373b7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 40: 0x55e508dc2083 - as core::ops::function::FnOnce>::call_once::h4b9b8634f7a2a5a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 41: 0x55e508dc2083 - std::sys::unix::thread::Thread::new::thread_start::h3dc341aa024c6852 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 42: 0x7f2ae4b59609 - start_thread [INFO] [stdout] 43: 0x7f2ae492b293 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test::example_9 stdout ---- [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/qwik_core__test__input-9.snap [INFO] [stdout] Snapshot: input-9 [INFO] [stdout] Source: src/test.rs:318 [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] output [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 │+==INPUT== [INFO] [stdout] 1 │+ [INFO] [stdout] 2 │+ [INFO] [stdout] 3 │+const Header = qHook((decl1, {decl2}, [decl3]) => { [INFO] [stdout] 4 │+ const {decl4, key: decl5} = this; [INFO] [stdout] 5 │+ let [decl6, ...decl7] = stuff; [INFO] [stdout] 6 │+ const decl8 = 1, decl9; [INFO] [stdout] 7 │+ function decl10(decl11, {decl12}, [decl13]) {} [INFO] [stdout] 8 │+ class decl14 { [INFO] [stdout] 9 │+ method(decl15, {decl16}, [decl17]) {} [INFO] [stdout] 10 │+ } [INFO] [stdout] 11 │+ try{}catch(decl18){} [INFO] [stdout] 12 │+ try{}catch({decl19}){} [INFO] [stdout] 13 │+}); [INFO] [stdout] 14 │+ [INFO] [stdout] 15 │+============================= test.tsx == [INFO] [stdout] 16 │+ [INFO] [stdout] 17 │+qHook(()=>import("./h_test_header") [INFO] [stdout] 18 │+, "Header"); [INFO] [stdout] 19 │+ [INFO] [stdout] 20 │+============================= h_test_header.tsx (ENTRY POINT)== [INFO] [stdout] 21 │+ [INFO] [stdout] 22 │+export const Header = /*#__PURE__*/ qHook((decl1, { decl2 }, [decl3])=>{ [INFO] [stdout] 23 │+ const { decl4 , key: decl5 } = this; [INFO] [stdout] 24 │+ let [decl6, ...decl7] = stuff; [INFO] [stdout] 25 │+ const decl8 = 1, decl9; [INFO] [stdout] 26 │+ function decl10(decl11, { decl12 }, [decl13]) { [INFO] [stdout] 27 │+ } [INFO] [stdout] 28 │+ class decl14 { [INFO] [stdout] 29 │+ method(decl15, { decl16 }, [decl17]) { [INFO] [stdout] 30 │+ } [INFO] [stdout] 31 │+ } [INFO] [stdout] 32 │+ try { [INFO] [stdout] 33 │+ } catch (decl18) { [INFO] [stdout] 34 │+ } [INFO] [stdout] 35 │+ try { [INFO] [stdout] 36 │+ } catch ({ decl19 }) { [INFO] [stdout] 37 │+ } [INFO] [stdout] 38 │+}); [INFO] [stdout] 39 │+ [INFO] [stdout] 40 │+== HOOKS == [INFO] [stdout] 41 │+ [INFO] [stdout] 42 │+[ [INFO] [stdout] 43 │+ { [INFO] [stdout] 44 │+ "origin": "test.tsx", [INFO] [stdout] 45 │+ "name": "Header", [INFO] [stdout] 46 │+ "entry": null, [INFO] [stdout] 47 │+ "canonicalFilename": "h_test_header", [INFO] [stdout] 48 │+ "localDecl": [ [INFO] [stdout] 49 │+ "decl1", [INFO] [stdout] 50 │+ "decl10", [INFO] [stdout] 51 │+ "decl11", [INFO] [stdout] 52 │+ "decl12", [INFO] [stdout] 53 │+ "decl13", [INFO] [stdout] 54 │+ "decl14", [INFO] [stdout] 55 │+ "decl15", [INFO] [stdout] 56 │+ "decl16", [INFO] [stdout] 57 │+ "decl17", [INFO] [stdout] 58 │+ "decl18", [INFO] [stdout] 59 │+ "decl19", [INFO] [stdout] 60 │+ "decl2", [INFO] [stdout] 61 │+ "decl3", [INFO] [stdout] 62 │+ "decl4", [INFO] [stdout] 63 │+ "decl5", [INFO] [stdout] 64 │+ "decl6", [INFO] [stdout] 65 │+ "decl7", [INFO] [stdout] 66 │+ "decl8", [INFO] [stdout] 67 │+ "decl9" [INFO] [stdout] 68 │+ ], [INFO] [stdout] 69 │+ "localIdents": [ [INFO] [stdout] 70 │+ "decl1", [INFO] [stdout] 71 │+ "decl2", [INFO] [stdout] 72 │+ "decl3", [INFO] [stdout] 73 │+ "qHook", [INFO] [stdout] 74 │+ "stuff" [INFO] [stdout] 75 │+ ] [INFO] [stdout] 76 │+ } [INFO] [stdout] 77 │+] [INFO] [stdout] 78 │+ [INFO] [stdout] 79 │+== DIAGNOSTICS == [INFO] [stdout] 80 │+ [INFO] [stdout] 81 │+[] [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'test::example_9' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }', src/test.rs:318:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55e508db930c - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55e508db930c - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55e508db930c - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55e508db930c - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55e508de179c - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x55e508db3678 - std::io::Write::write_fmt::h271050faa79d27d2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x55e508dbb8e7 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55e508dbb8e7 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55e508dbb8e7 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55e508dbb61b - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55e508dbc03a - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55e508dbbd27 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55e508db97d4 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55e508dbba39 - rust_begin_unwind [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55e507e96673 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55e507e96763 - core::result::unwrap_failed::hf9b34e307f812de0 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/result.rs:1749:5 [INFO] [stdout] 16: 0x55e50804d838 - core::result::Result::unwrap::hed0100633b3bf862 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/result.rs:1065:23 [INFO] [stdout] 17: 0x55e50811d534 - qwik_core::test::test_input::h74cd851f9020a0c4 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:318:13 [INFO] [stdout] 18: 0x55e5081329f2 - qwik_core::test::example_9::h79eb9eaaf64030d3 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:175:5 [INFO] [stdout] 19: 0x55e5081329aa - qwik_core::test::example_9::{{closure}}::ha02da53aaea3180b [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:174:1 [INFO] [stdout] 20: 0x55e5080d9b7e - core::ops::function::FnOnce::call_once::hc572034b73b9c5d3 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55e5081bffb3 - core::ops::function::FnOnce::call_once::h43953c8a8f54893f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x55e5081bffb3 - test::__rust_begin_short_backtrace::h163f55298a15df9b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:575:5 [INFO] [stdout] 23: 0x55e5081bece1 - as core::ops::function::FnOnce>::call_once::hc911782b3cbc7ed5 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 24: 0x55e5081bece1 - as core::ops::function::FnOnce<()>>::call_once::hc5bb369afbf9cd4e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x55e5081bece1 - std::panicking::try::do_call::he60df4e3e832faff [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 26: 0x55e5081bece1 - std::panicking::try::h2633cee89a0767f3 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 27: 0x55e5081bece1 - std::panic::catch_unwind::h6e10f7b94ce38b1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 28: 0x55e5081bece1 - test::run_test_in_process::h085ef39049c3b50b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:598:18 [INFO] [stdout] 29: 0x55e5081bece1 - test::run_test::run_test_inner::{{closure}}::h4e58ce9f68eb43e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:492:39 [INFO] [stdout] 30: 0x55e5081c85c1 - test::run_test::run_test_inner::{{closure}}::h6d18db28c5e396ee [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:519:37 [INFO] [stdout] 31: 0x55e5081c85c1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32292cb2cd8be620 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 32: 0x55e508194d1f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h71ee66b20f7b0482 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 33: 0x55e508194d1f - as core::ops::function::FnOnce<()>>::call_once::hb6046e1d1a75a4a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x55e508194d1f - std::panicking::try::do_call::h5422165a88309c77 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 35: 0x55e508194d1f - std::panicking::try::h840a12b54e2c9f5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 36: 0x55e508194d1f - std::panic::catch_unwind::h85910e437c8da180 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 37: 0x55e508194d1f - std::thread::Builder::spawn_unchecked_::{{closure}}::ha3af3a297bfd51d6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 38: 0x55e508194d1f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hff8788f58e0e06a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x55e508dc2083 - as core::ops::function::FnOnce>::call_once::h82a18723295373b7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 40: 0x55e508dc2083 - as core::ops::function::FnOnce>::call_once::h4b9b8634f7a2a5a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 41: 0x55e508dc2083 - std::sys::unix::thread::Thread::new::thread_start::h3dc341aa024c6852 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 42: 0x7f2ae4b59609 - start_thread [INFO] [stdout] 43: 0x7f2ae492b293 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test::example_4 stdout ---- [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/qwik_core__test__input-3.snap [INFO] [stdout] Snapshot: input-3 [INFO] [stdout] Source: src/test.rs:318 [INFO] [stdout] +new results [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] output [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 │+==INPUT== [INFO] [stdout] 1 │+ [INFO] [stdout] 2 │+ [INFO] [stdout] 3 │+export function App() { [INFO] [stdout] 4 │+ const Header = qComponent({ [INFO] [stdout] 5 │+ "onMount": qHook(() => { console.log("mount") }), [INFO] [stdout] 6 │+ onRender: qHook(() => { [INFO] [stdout] 7 │+ return ( [INFO] [stdout] 8 │+
console.log(ctx))}/> [INFO] [stdout] 9 │+ ); [INFO] [stdout] 10 │+ }) [INFO] [stdout] 11 │+ }); [INFO] [stdout] 12 │+ return Header; [INFO] [stdout] 13 │+} [INFO] [stdout] 14 │+ [INFO] [stdout] 15 │+============================= test.tsx == [INFO] [stdout] 16 │+ [INFO] [stdout] 17 │+export function App() { [INFO] [stdout] 18 │+ const Header = /*#__PURE__*/ qComponent({ [INFO] [stdout] 19 │+ "onMount": qHook(()=>import("./h_test_app_header_onmount") [INFO] [stdout] 20 │+ , "App_Header_onMount"), [INFO] [stdout] 21 │+ onRender: qHook(()=>import("./h_test_app_header_onrender") [INFO] [stdout] 22 │+ , "App_Header_onRender") [INFO] [stdout] 23 │+ }); [INFO] [stdout] 24 │+ return Header; [INFO] [stdout] 25 │+} [INFO] [stdout] 26 │+ [INFO] [stdout] 27 │+============================= h_test_app_header_onmount.tsx (ENTRY POINT)== [INFO] [stdout] 28 │+ [INFO] [stdout] 29 │+export const App_Header_onMount = /*#__PURE__*/ qHook(()=>{ [INFO] [stdout] 30 │+ console.log("mount"); [INFO] [stdout] 31 │+}); [INFO] [stdout] 32 │+ [INFO] [stdout] 33 │+============================= h_test_app_header_onrender_div_onclick.tsx (ENTRY POINT)== [INFO] [stdout] 34 │+ [INFO] [stdout] 35 │+export const App_Header_onRender_div_onClick = /*#__PURE__*/ qHook((ctx)=>console.log(ctx) [INFO] [stdout] 36 │+); [INFO] [stdout] 37 │+ [INFO] [stdout] 38 │+============================= h_test_app_header_onrender.tsx (ENTRY POINT)== [INFO] [stdout] 39 │+ [INFO] [stdout] 40 │+export const App_Header_onRender = /*#__PURE__*/ qHook(()=>{ [INFO] [stdout] 41 │+ return (
import("./h_test_app_header_onrender_div_onclick") [INFO] [stdout] 42 │+ , "App_Header_onRender_div_onClick")}/>); [INFO] [stdout] 43 │+}); [INFO] [stdout] 44 │+ [INFO] [stdout] 45 │+== HOOKS == [INFO] [stdout] 46 │+ [INFO] [stdout] 47 │+[ [INFO] [stdout] 48 │+ { [INFO] [stdout] 49 │+ "origin": "test.tsx", [INFO] [stdout] 50 │+ "name": "App_Header_onMount", [INFO] [stdout] 51 │+ "entry": null, [INFO] [stdout] 52 │+ "canonicalFilename": "h_test_app_header_onmount", [INFO] [stdout] 53 │+ "localDecl": [], [INFO] [stdout] 54 │+ "localIdents": [ [INFO] [stdout] 55 │+ "console", [INFO] [stdout] 56 │+ "log", [INFO] [stdout] 57 │+ "qHook" [INFO] [stdout] 58 │+ ] [INFO] [stdout] 59 │+ }, [INFO] [stdout] 60 │+ { [INFO] [stdout] 61 │+ "origin": "test.tsx", [INFO] [stdout] 62 │+ "name": "App_Header_onRender_div_onClick", [INFO] [stdout] 63 │+ "entry": null, [INFO] [stdout] 64 │+ "canonicalFilename": "h_test_app_header_onrender_div_onclick", [INFO] [stdout] 65 │+ "localDecl": [ [INFO] [stdout] 66 │+ "ctx" [INFO] [stdout] 67 │+ ], [INFO] [stdout] 68 │+ "localIdents": [ [INFO] [stdout] 69 │+ "console", [INFO] [stdout] 70 │+ "ctx", [INFO] [stdout] 71 │+ "log", [INFO] [stdout] 72 │+ "qHook" [INFO] [stdout] 73 │+ ] [INFO] [stdout] 74 │+ }, [INFO] [stdout] 75 │+ { [INFO] [stdout] 76 │+ "origin": "test.tsx", [INFO] [stdout] 77 │+ "name": "App_Header_onRender", [INFO] [stdout] 78 │+ "entry": null, [INFO] [stdout] 79 │+ "canonicalFilename": "h_test_app_header_onrender", [INFO] [stdout] 80 │+ "localDecl": [], [INFO] [stdout] 81 │+ "localIdents": [ [INFO] [stdout] 82 │+ "div", [INFO] [stdout] 83 │+ "import", [INFO] [stdout] 84 │+ "onClick", [INFO] [stdout] 85 │+ "qHook" [INFO] [stdout] 86 │+ ] [INFO] [stdout] 87 │+ } [INFO] [stdout] 88 │+] [INFO] [stdout] 89 │+ [INFO] [stdout] 90 │+== DIAGNOSTICS == [INFO] [stdout] 91 │+ [INFO] [stdout] 92 │+[] [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] thread 'test::example_4' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }', src/test.rs:318:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55e508db930c - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55e508db930c - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55e508db930c - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55e508db930c - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55e508de179c - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x55e508db3678 - std::io::Write::write_fmt::h271050faa79d27d2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x55e508dbb8e7 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55e508dbb8e7 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55e508dbb8e7 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55e508dbb61b - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55e508dbc03a - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55e508dbbd27 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55e508db97d4 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55e508dbba39 - rust_begin_unwind [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55e507e96673 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55e507e96763 - core::result::unwrap_failed::hf9b34e307f812de0 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/result.rs:1749:5 [INFO] [stdout] 16: 0x55e50804d838 - core::result::Result::unwrap::hed0100633b3bf862 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/result.rs:1065:23 [INFO] [stdout] 17: 0x55e50811d534 - qwik_core::test::test_input::h74cd851f9020a0c4 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:318:13 [INFO] [stdout] 18: 0x55e508131ad2 - qwik_core::test::example_4::hf3fe629a25e1a424 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:68:5 [INFO] [stdout] 19: 0x55e508131a8a - qwik_core::test::example_4::{{closure}}::h033ba03e1647d98f [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:67:1 [INFO] [stdout] 20: 0x55e5080d992e - core::ops::function::FnOnce::call_once::h6f73927d1ba7e431 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55e5081bffb3 - core::ops::function::FnOnce::call_once::h43953c8a8f54893f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x55e5081bffb3 - test::__rust_begin_short_backtrace::h163f55298a15df9b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:575:5 [INFO] [stdout] 23: 0x55e5081bece1 - as core::ops::function::FnOnce>::call_once::hc911782b3cbc7ed5 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 24: 0x55e5081bece1 - as core::ops::function::FnOnce<()>>::call_once::hc5bb369afbf9cd4e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x55e5081bece1 - std::panicking::try::do_call::he60df4e3e832faff [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 26: 0x55e5081bece1 - std::panicking::try::h2633cee89a0767f3 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 27: 0x55e5081bece1 - std::panic::catch_unwind::h6e10f7b94ce38b1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 28: 0x55e5081bece1 - test::run_test_in_process::h085ef39049c3b50b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:598:18 [INFO] [stdout] 29: 0x55e5081bece1 - test::run_test::run_test_inner::{{closure}}::h4e58ce9f68eb43e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:492:39 [INFO] [stdout] 30: 0x55e5081c85c1 - test::run_test::run_test_inner::{{closure}}::h6d18db28c5e396ee [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:519:37 [INFO] [stdout] 31: 0x55e5081c85c1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32292cb2cd8be620 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 32: 0x55e508194d1f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h71ee66b20f7b0482 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 33: 0x55e508194d1f - as core::ops::function::FnOnce<()>>::call_once::hb6046e1d1a75a4a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x55e508194d1f - std::panicking::try::do_call::h5422165a88309c77 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 35: 0x55e508194d1f - std::panicking::try::h840a12b54e2c9f5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 36: 0x55e508194d1f - std::panic::catch_unwind::h85910e437c8da180 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 37: 0x55e508194d1f - std::thread::Builder::spawn_unchecked_::{{closure}}::ha3af3a297bfd51d6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 38: 0x55e508194d1f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hff8788f58e0e06a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x55e508dc2083 - as core::ops::function::FnOnce>::call_once::h82a18723295373b7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 40: 0x55e508dc2083 - as core::ops::function::FnOnce>::call_once::h4b9b8634f7a2a5a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 41: 0x55e508dc2083 - std::sys::unix::thread::Thread::new::thread_start::h3dc341aa024c6852 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 42: 0x7f2ae4b59609 - start_thread [INFO] [stdout] 43: 0x7f2ae492b293 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test::example_1 [INFO] [stdout] test::example_10 [INFO] [stdout] test::example_11 [INFO] [stdout] test::example_2 [INFO] [stdout] test::example_3 [INFO] [stdout] test::example_4 [INFO] [stdout] test::example_5 [INFO] [stdout] test::example_6 [INFO] [stdout] test::example_7 [INFO] [stdout] test::example_8 [INFO] [stdout] test::example_9 [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 11 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.61s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "591b96675f42ac98ef1b5e27af4d0b9a61d5310bc677b0184acf05e39b8ccec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "591b96675f42ac98ef1b5e27af4d0b9a61d5310bc677b0184acf05e39b8ccec1", kill_on_drop: false }` [INFO] [stdout] 591b96675f42ac98ef1b5e27af4d0b9a61d5310bc677b0184acf05e39b8ccec1