[INFO] cloning repository https://github.com/simbo1905/jtd-wasm
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/simbo1905/jtd-wasm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimbo1905%2Fjtd-wasm", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimbo1905%2Fjtd-wasm'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] caa591c922ddf4541af3019184841c86c37ca68e
[INFO] checking simbo1905/jtd-wasm/caa591c922ddf4541af3019184841c86c37ca68e against c9ff496891c278ad660bc0ab85c1f0b72059464a for pr-160491
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimbo1905%2Fjtd-wasm" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/simbo1905/jtd-wasm
[INFO] finished tweaking git repo https://github.com/simbo1905/jtd-wasm
[INFO] tweaked toml for git repo https://github.com/simbo1905/jtd-wasm written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/simbo1905/jtd-wasm on toolchain c9ff496891c278ad660bc0ab85c1f0b72059464a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9ff496891c278ad660bc0ab85c1f0b72059464a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/simbo1905/jtd-wasm already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9ff496891c278ad660bc0ab85c1f0b72059464a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasm-bindgen-test v0.3.58
[INFO] [stderr]   Downloaded wasm-bindgen-test-shared v0.2.108
[INFO] [stderr]   Downloaded quickjs-rs v0.5.2
[INFO] [stderr]   Downloaded wasm-bindgen-test-macro v0.3.58
[INFO] [stderr]   Downloaded copy_dir v0.1.3
[INFO] [stderr]   Downloaded pretty_assertions v1.4.1
[INFO] [stderr]   Downloaded mlua v0.9.9
[INFO] [stderr]   Downloaded libquickjs-sys-latest v0.10.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c25e94062acf99fc3edcf5b2b750eebc9a3cae2be5826cfec5e5f4803a9abd49
[INFO] running `Command { std: "docker" "start" "c25e94062acf99fc3edcf5b2b750eebc9a3cae2be5826cfec5e5f4803a9abd49", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c25e94062acf99fc3edcf5b2b750eebc9a3cae2be5826cfec5e5f4803a9abd49", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c25e94062acf99fc3edcf5b2b750eebc9a3cae2be5826cfec5e5f4803a9abd49" "/opt/rustwide/cargo-home/bin/cargo" "+c9ff496891c278ad660bc0ab85c1f0b72059464a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c25e94062acf99fc3edcf5b2b750eebc9a3cae2be5826cfec5e5f4803a9abd49", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c25e94062acf99fc3edcf5b2b750eebc9a3cae2be5826cfec5e5f4803a9abd49" "/opt/rustwide/cargo-home/bin/cargo" "+c9ff496891c278ad660bc0ab85c1f0b72059464a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling zmij v1.0.19
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]     Checking memchr v2.8.0
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling cc v1.2.55
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling env_home v0.1.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.108
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling copy_dir v0.1.3
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling bumpalo v3.19.1
[INFO] [stderr]     Checking rustc-hash v2.1.1
[INFO] [stderr]     Checking yansi v1.0.1
[INFO] [stderr]     Checking diff v0.1.13
[INFO] [stderr]    Compiling wasm-bindgen v0.2.108
[INFO] [stderr]     Checking unicode-ident v1.0.22
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]     Checking wasm-bindgen-test-shared v0.2.108
[INFO] [stderr]     Checking nu-ansi-term v0.50.3
[INFO] [stderr]     Checking cast v0.3.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking oorandom v11.1.5
[INFO] [stderr]     Checking pretty_assertions v1.4.1
[INFO] [stderr]     Checking bstr v1.12.1
[INFO] [stderr]     Checking chrono v0.4.43
[INFO] [stderr]    Compiling lua-src v547.0.0
[INFO] [stderr]    Compiling libquickjs-sys-latest v0.10.1
[INFO] [stderr]     Checking tempfile v3.24.0
[INFO] [stderr]    Compiling which v7.0.3
[INFO] [stderr]    Compiling luajit-src v210.5.12+a4f56a4
[INFO] [stderr]    Compiling mlua-sys v0.6.8
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.108
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling wasm-bindgen-test-macro v0.3.58
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.108
[INFO] [stderr]     Checking js-sys v0.3.85
[INFO] [stderr]     Checking jtd-codegen v0.2.0 (/opt/rustwide/workdir/jtd-codegen)
[INFO] [stderr]    Compiling jtd-wasm-validator v0.2.0 (/opt/rustwide/workdir/jtd-wasm-validator)
[INFO] [stderr]     Checking wasm-bindgen-futures v0.4.58
[INFO] [stderr]     Checking wasm-bindgen-test v0.3.58
[INFO] [stderr]     Checking mlua v0.9.9
[INFO] [stderr]     Checking quickjs-rs v0.5.2
[INFO] [stdout] error[E0597]: `name_emitter` does not live long enough
[INFO] [stdout]    --> jtd-codegen/src/emit_js/nodes.rs:462:49
[INFO] [stdout]     |
[INFO] [stdout] 458 |         let name_emitter: &dyn Fn(&mut CodeWriter, &EmitContext) = &|w, ctx| {
[INFO] [stdout]     |             ------------ binding `name_emitter` declared here
[INFO] [stdout] ...
[INFO] [stdout] 461 |         let code = emit_to_string(|w, ctx| {
[INFO] [stdout]     |                                   -------- value captured here
[INFO] [stdout] 462 |             emit_properties(w, ctx, &[("name", &name_emitter)], &[], false, None);
[INFO] [stdout]     |             ------------------------------------^^^^^^^^^^^^---------------------
[INFO] [stdout]     |             |                                   |
[INFO] [stdout]     |             |                                   borrowed value does not live long enough
[INFO] [stdout]     |             argument requires that `name_emitter` is borrowed for `'static`
[INFO] [stdout] ...
[INFO] [stdout] 473 |     }
[INFO] [stdout]     |     - `name_emitter` dropped here while still borrowed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `age_emitter` does not live long enough
[INFO] [stdout]    --> jtd-codegen/src/emit_js/nodes.rs:481:53
[INFO] [stdout]     |
[INFO] [stdout] 477 |         let age_emitter: &dyn Fn(&mut CodeWriter, &EmitContext) = &|w, ctx| {
[INFO] [stdout]     |             ----------- binding `age_emitter` declared here
[INFO] [stdout] ...
[INFO] [stdout] 480 |         let code = emit_to_string(|w, ctx| {
[INFO] [stdout]     |                                   -------- value captured here
[INFO] [stdout] 481 |             emit_properties(w, ctx, &[], &[("age", &age_emitter)], false, None);
[INFO] [stdout]     |             ----------------------------------------^^^^^^^^^^^----------------
[INFO] [stdout]     |             |                                       |
[INFO] [stdout]     |             |                                       borrowed value does not live long enough
[INFO] [stdout]     |             argument requires that `age_emitter` is borrowed for `'static`
[INFO] [stdout] ...
[INFO] [stdout] 486 |     }
[INFO] [stdout]     |     - `age_emitter` dropped here while still borrowed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `name_emitter` does not live long enough
[INFO] [stdout]    --> jtd-codegen/src/emit_js/nodes.rs:494:49
[INFO] [stdout]     |
[INFO] [stdout] 490 |         let name_emitter: &dyn Fn(&mut CodeWriter, &EmitContext) = &|w, ctx| {
[INFO] [stdout]     |             ------------ binding `name_emitter` declared here
[INFO] [stdout] ...
[INFO] [stdout] 493 |         let code = emit_to_string(|w, ctx| {
[INFO] [stdout]     |                                   -------- value captured here
[INFO] [stdout] 494 |             emit_properties(w, ctx, &[("name", &name_emitter)], &[], true, None);
[INFO] [stdout]     |             ------------------------------------^^^^^^^^^^^^--------------------
[INFO] [stdout]     |             |                                   |
[INFO] [stdout]     |             |                                   borrowed value does not live long enough
[INFO] [stdout]     |             argument requires that `name_emitter` is borrowed for `'static`
[INFO] [stdout] ...
[INFO] [stdout] 498 |     }
[INFO] [stdout]     |     - `name_emitter` dropped here while still borrowed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `val_emitter` does not live long enough
[INFO] [stdout]    --> jtd-codegen/src/emit_js/nodes.rs:506:49
[INFO] [stdout]     |
[INFO] [stdout] 502 |         let val_emitter: &dyn Fn(&mut CodeWriter, &EmitContext) = &|w, ctx| {
[INFO] [stdout]     |             ----------- binding `val_emitter` declared here
[INFO] [stdout] ...
[INFO] [stdout] 505 |         let code = emit_to_string(|w, ctx| {
[INFO] [stdout]     |                                   -------- value captured here
[INFO] [stdout] 506 |             emit_properties(w, ctx, &[("bark", &val_emitter)], &[], false, Some("type"));
[INFO] [stdout]     |             ------------------------------------^^^^^^^^^^^-----------------------------
[INFO] [stdout]     |             |                                   |
[INFO] [stdout]     |             |                                   borrowed value does not live long enough
[INFO] [stdout]     |             argument requires that `val_emitter` is borrowed for `'static`
[INFO] [stdout] ...
[INFO] [stdout] 511 |     }
[INFO] [stdout]     |     - `val_emitter` dropped here while still borrowed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `empty_emitter` does not live long enough
[INFO] [stdout]    --> jtd-codegen/src/emit_js/nodes.rs:520:49
[INFO] [stdout]     |
[INFO] [stdout] 516 |         let empty_emitter: &dyn Fn(&mut CodeWriter, &EmitContext) = &|w, ctx| {
[INFO] [stdout]     |             ------------- binding `empty_emitter` declared here
[INFO] [stdout] ...
[INFO] [stdout] 519 |         let code = emit_to_string(|w, ctx| {
[INFO] [stdout]     |                                   -------- value captured here
[INFO] [stdout] 520 |             emit_properties(w, ctx, &[("data", &empty_emitter)], &[], false, None);
[INFO] [stdout]     |             ------------------------------------^^^^^^^^^^^^^---------------------
[INFO] [stdout]     |             |                                   |
[INFO] [stdout]     |             |                                   borrowed value does not live long enough
[INFO] [stdout]     |             argument requires that `empty_emitter` is borrowed for `'static`
[INFO] [stdout] ...
[INFO] [stdout] 525 |     }
[INFO] [stdout]     |     - `empty_emitter` dropped here while still borrowed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `cat_emitter` does not live long enough
[INFO] [stdout]    --> jtd-codegen/src/emit_js/nodes.rs:542:28
[INFO] [stdout]     |
[INFO] [stdout] 531 |           let cat_emitter: &dyn Fn(&mut CodeWriter, &EmitContext) = &|w, ctx| {
[INFO] [stdout]     |               ----------- binding `cat_emitter` declared here
[INFO] [stdout] ...
[INFO] [stdout] 537 |           let code = emit_to_string(|w, ctx| {
[INFO] [stdout]     |                                     -------- value captured here
[INFO] [stdout] 538 | /             emit_discriminator(
[INFO] [stdout] 539 | |                 w,
[INFO] [stdout] 540 | |                 ctx,
[INFO] [stdout] 541 | |                 "kind",
[INFO] [stdout] 542 | |                 &[("cat", &cat_emitter), ("dog", &dog_emitter)],
[INFO] [stdout]     | |                            ^^^^^^^^^^^ borrowed value does not live long enough
[INFO] [stdout] 543 | |             );
[INFO] [stdout]     | |_____________- argument requires that `cat_emitter` is borrowed for `'static`
[INFO] [stdout] ...
[INFO] [stdout] 560 |       }
[INFO] [stdout]     |       - `cat_emitter` dropped here while still borrowed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `dog_emitter` does not live long enough
[INFO] [stdout]    --> jtd-codegen/src/emit_js/nodes.rs:542:51
[INFO] [stdout]     |
[INFO] [stdout] 534 |           let dog_emitter: &dyn Fn(&mut CodeWriter, &EmitContext) = &|w, ctx| {
[INFO] [stdout]     |               ----------- binding `dog_emitter` declared here
[INFO] [stdout] ...
[INFO] [stdout] 537 |           let code = emit_to_string(|w, ctx| {
[INFO] [stdout]     |                                     -------- value captured here
[INFO] [stdout] 538 | /             emit_discriminator(
[INFO] [stdout] 539 | |                 w,
[INFO] [stdout] 540 | |                 ctx,
[INFO] [stdout] 541 | |                 "kind",
[INFO] [stdout] 542 | |                 &[("cat", &cat_emitter), ("dog", &dog_emitter)],
[INFO] [stdout]     | |                                                   ^^^^^^^^^^^ borrowed value does not live long enough
[INFO] [stdout] 543 | |             );
[INFO] [stdout]     | |_____________- argument requires that `dog_emitter` is borrowed for `'static`
[INFO] [stdout] ...
[INFO] [stdout] 560 |       }
[INFO] [stdout]     |       - `dog_emitter` dropped here while still borrowed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0597`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jtd-codegen` (lib test) due to 7 previous errors
[INFO] running `Command { std: "docker" "inspect" "c25e94062acf99fc3edcf5b2b750eebc9a3cae2be5826cfec5e5f4803a9abd49", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c25e94062acf99fc3edcf5b2b750eebc9a3cae2be5826cfec5e5f4803a9abd49", kill_on_drop: false }`
[INFO] [stdout] c25e94062acf99fc3edcf5b2b750eebc9a3cae2be5826cfec5e5f4803a9abd49
