[INFO] cloning repository https://github.com/swen128/js-engine
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/swen128/js-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswen128%2Fjs-engine", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswen128%2Fjs-engine'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d6a83612d0ff5486b10344c9b01fb33b9578fc7a
[INFO] checking swen128/js-engine against try#4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7 for pr-158816
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswen128%2Fjs-engine" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/swen128/js-engine
[INFO] finished tweaking git repo https://github.com/swen128/js-engine
[INFO] tweaked toml for git repo https://github.com/swen128/js-engine written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/swen128/js-engine on toolchain 4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/swen128/js-engine 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" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded fd-lock v3.0.13
[INFO] [stderr]   Downloaded rustyline v12.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7494365bc9a920b388f9e1d895b3c81460cacf98e96deaa142959ce7f6011d8c
[INFO] running `Command { std: "docker" "start" "7494365bc9a920b388f9e1d895b3c81460cacf98e96deaa142959ce7f6011d8c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7494365bc9a920b388f9e1d895b3c81460cacf98e96deaa142959ce7f6011d8c", 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" "7494365bc9a920b388f9e1d895b3c81460cacf98e96deaa142959ce7f6011d8c" "/opt/rustwide/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7494365bc9a920b388f9e1d895b3c81460cacf98e96deaa142959ce7f6011d8c", 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" "7494365bc9a920b388f9e1d895b3c81460cacf98e96deaa142959ce7f6011d8c" "/opt/rustwide/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling zerocopy v0.8.33
[INFO] [stderr]     Checking nibble_vec v0.1.0
[INFO] [stderr]     Checking endian-type v0.1.2
[INFO] [stderr]     Checking hashbrown v0.16.1
[INFO] [stderr]     Checking nix v0.26.4
[INFO] [stderr]    Compiling zerocopy-derive v0.8.33
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking home v0.5.12
[INFO] [stderr]     Checking unsafe-libyaml v0.2.11
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking clap_builder v4.5.54
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]     Checking rayon v1.11.0
[INFO] [stderr]     Checking plotters v0.3.7
[INFO] [stderr]     Checking is-terminal v0.4.17
[INFO] [stderr]     Checking radix_trie v0.2.1
[INFO] [stderr]     Checking indexmap v2.13.0
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr]     Checking clap v4.5.54
[INFO] [stderr]     Checking fd-lock v3.0.13
[INFO] [stderr]     Checking rustyline v12.0.0
[INFO] [stderr]     Checking half v2.7.1
[INFO] [stderr]     Checking js-engine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stdout] warning: unused import: `PropertyDescriptor`
[INFO] [stdout]  --> src/builtins/boolean.rs:3:48
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::runtime::{JsObject, NativeFunction, PropertyDescriptor, Value};
[INFO] [stdout]   |                                                ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Expression`
[INFO] [stdout]  --> src/builtins/function.rs:3:34
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::ast::{BlockStatement, Expression, Identifier, Pattern, Statement};
[INFO] [stdout]   |                                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Environment`
[INFO] [stdout]  --> src/builtins/function.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::runtime::{Environment, Function, JsObject, NativeFunction, Value};
[INFO] [stdout]   |                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/runtime/event_loop.rs:208:1
[INFO] [stdout]     |
[INFO] [stdout] 208 | /// Thread-local event loop
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/runtime/value.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::error::{Error, Result, SourceLocation};
[INFO] [stdout]   |                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking criterion v0.5.1
[INFO] [stdout] warning: unused variable: `idx`
[INFO] [stdout]    --> src/builtins/string.rs:497:25
[INFO] [stdout]     |
[INFO] [stdout] 497 |             if let Some(idx) = s.find(&search) {
[INFO] [stdout]     |                         ^^^ help: if this is intentional, prefix it with an underscore: `_idx`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arr`
[INFO] [stdout]    --> src/builtins/string.rs:502:37
[INFO] [stdout]     |
[INFO] [stdout] 502 |                 if let Value::Array(arr) = &result {
[INFO] [stdout]     |                                     ^^^ help: if this is intentional, prefix it with an underscore: `_arr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `result` is never read
[INFO] [stdout]    --> src/interpreter/mod.rs:642:26
[INFO] [stdout]     |
[INFO] [stdout] 642 |         let mut result = Value::Undefined;
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 645 |             result = self.execute_statement(&do_while.body)?;
[INFO] [stdout]     |             ------ `result` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]     --> src/parser/mod.rs:1997:18
[INFO] [stdout]      |
[INFO] [stdout] 1997 |             Some(k) if self.peek().map(|t| t.is_keyword()).unwrap_or(false) => {
[INFO] [stdout]      |                  ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STATE_SUSPENDED_YIELD` is never used
[INFO] [stdout]   --> src/builtins/generator.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | const STATE_SUSPENDED_YIELD: &str = "suspendedYield";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STATE_EXECUTING` is never used
[INFO] [stdout]   --> src/builtins/generator.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const STATE_EXECUTING: &str = "executing";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `finalized` is never read
[INFO] [stdout]   --> src/gc/mod.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 39 | struct TrackedObject {
[INFO] [stdout]    |        ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 43 |     finalized: bool,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `harness` is never read
[INFO] [stdout]    --> src/test262/runner.rs:123:5
[INFO] [stdout]     |
[INFO] [stdout] 121 | pub struct TestRunner {
[INFO] [stdout]     |            ---------- field in this struct
[INFO] [stdout] 122 |     config: RunnerConfig,
[INFO] [stdout] 123 |     harness: Test262Harness,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PropertyDescriptor`
[INFO] [stdout]  --> src/builtins/boolean.rs:3:48
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::runtime::{JsObject, NativeFunction, PropertyDescriptor, Value};
[INFO] [stdout]   |                                                ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Expression`
[INFO] [stdout]  --> src/builtins/function.rs:3:34
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::ast::{BlockStatement, Expression, Identifier, Pattern, Statement};
[INFO] [stdout]   |                                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Environment`
[INFO] [stdout]  --> src/builtins/function.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::runtime::{Environment, Function, JsObject, NativeFunction, Value};
[INFO] [stdout]   |                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/runtime/event_loop.rs:208:1
[INFO] [stdout]     |
[INFO] [stdout] 208 | /// Thread-local event loop
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/runtime/value.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::error::{Error, Result, SourceLocation};
[INFO] [stdout]   |                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `idx`
[INFO] [stdout]    --> src/builtins/string.rs:497:25
[INFO] [stdout]     |
[INFO] [stdout] 497 |             if let Some(idx) = s.find(&search) {
[INFO] [stdout]     |                         ^^^ help: if this is intentional, prefix it with an underscore: `_idx`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arr`
[INFO] [stdout]    --> src/builtins/string.rs:502:37
[INFO] [stdout]     |
[INFO] [stdout] 502 |                 if let Value::Array(arr) = &result {
[INFO] [stdout]     |                                     ^^^ help: if this is intentional, prefix it with an underscore: `_arr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id2`
[INFO] [stdout]    --> src/gc/mod.rs:346:13
[INFO] [stdout]     |
[INFO] [stdout] 346 |         let id2 = heap.allocate(200);
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_id2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `result` is never read
[INFO] [stdout]    --> src/interpreter/mod.rs:642:26
[INFO] [stdout]     |
[INFO] [stdout] 642 |         let mut result = Value::Undefined;
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 645 |             result = self.execute_statement(&do_while.body)?;
[INFO] [stdout]     |             ------ `result` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]     --> src/parser/mod.rs:1997:18
[INFO] [stdout]      |
[INFO] [stdout] 1997 |             Some(k) if self.peek().map(|t| t.is_keyword()).unwrap_or(false) => {
[INFO] [stdout]      |                  ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STATE_SUSPENDED_YIELD` is never used
[INFO] [stdout]   --> src/builtins/generator.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | const STATE_SUSPENDED_YIELD: &str = "suspendedYield";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STATE_EXECUTING` is never used
[INFO] [stdout]   --> src/builtins/generator.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const STATE_EXECUTING: &str = "executing";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `finalized` is never read
[INFO] [stdout]   --> src/gc/mod.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 39 | struct TrackedObject {
[INFO] [stdout]    |        ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 43 |     finalized: bool,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `harness` is never read
[INFO] [stdout]    --> src/test262/runner.rs:123:5
[INFO] [stdout]     |
[INFO] [stdout] 121 | pub struct TestRunner {
[INFO] [stdout]     |            ---------- field in this struct
[INFO] [stdout] 122 |     config: RunnerConfig,
[INFO] [stdout] 123 |     harness: Test262Harness,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.73s
[INFO] running `Command { std: "docker" "inspect" "7494365bc9a920b388f9e1d895b3c81460cacf98e96deaa142959ce7f6011d8c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7494365bc9a920b388f9e1d895b3c81460cacf98e96deaa142959ce7f6011d8c", kill_on_drop: false }`
[INFO] [stdout] 7494365bc9a920b388f9e1d895b3c81460cacf98e96deaa142959ce7f6011d8c
