[INFO] cloning repository https://github.com/RustScript2025/RustScript
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RustScript2025/RustScript" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRustScript2025%2FRustScript", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRustScript2025%2FRustScript'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7640b58ea03fa2a31bf3d0420bc2a6103da05af7
[INFO] testing RustScript2025/RustScript against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRustScript2025%2FRustScript" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/RustScript2025/RustScript
[INFO] finished tweaking git repo https://github.com/RustScript2025/RustScript
[INFO] tweaked toml for git repo https://github.com/RustScript2025/RustScript written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/RustScript2025/RustScript on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/RustScript2025/RustScript 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 74994ab5d432aeb87e171449382d2f1b988730297094ce7291a1222892f26bbd
[INFO] running `Command { std: "docker" "start" "-a" "74994ab5d432aeb87e171449382d2f1b988730297094ce7291a1222892f26bbd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "74994ab5d432aeb87e171449382d2f1b988730297094ce7291a1222892f26bbd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "74994ab5d432aeb87e171449382d2f1b988730297094ce7291a1222892f26bbd", kill_on_drop: false }`
[INFO] [stdout] 74994ab5d432aeb87e171449382d2f1b988730297094ce7291a1222892f26bbd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 2b75545b6eedb7f80b7975404d66772e8ac965d3673ad948863b4ca71fe706d5
[INFO] running `Command { std: "docker" "start" "-a" "2b75545b6eedb7f80b7975404d66772e8ac965d3673ad948863b4ca71fe706d5", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.106
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling bumpalo v3.19.0
[INFO] [stderr]    Compiling semver v1.0.27
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling wasm-bindgen v0.2.106
[INFO] [stderr]    Compiling pest v2.8.4
[INFO] [stderr]    Compiling beef v0.5.2
[INFO] [stderr]    Compiling anstyle-query v1.1.5
[INFO] [stderr]    Compiling anstyle v1.0.13
[INFO] [stderr]    Compiling logos-codegen v0.15.1
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling unicode-width v0.2.2
[INFO] [stderr]    Compiling wasm-encoder v0.242.0
[INFO] [stderr]    Compiling clap_lex v0.7.6
[INFO] [stderr]    Compiling anstream v0.6.21
[INFO] [stderr]    Compiling codespan-reporting v0.13.1
[INFO] [stderr]    Compiling rustscript v0.4.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling leb128fmt v0.1.0
[INFO] [stderr]    Compiling clap_builder v4.5.53
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling ariadne v0.6.0
[INFO] [stderr]    Compiling codespan v0.13.1
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]    Compiling pathdiff v0.2.3
[INFO] [stderr]    Compiling pest_meta v2.8.4
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.106
[INFO] [stderr]    Compiling pest_generator v2.8.4
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling pest_derive v2.8.4
[INFO] [stderr]    Compiling logos-derive v0.15.1
[INFO] [stderr]    Compiling logos v0.15.1
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.106
[INFO] [stderr]    Compiling clap v4.5.53
[INFO] [stderr]    Compiling js-sys v0.3.83
[INFO] [stderr]    Compiling console_error_panic_hook v0.1.7
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling wasm-bindgen-futures v0.4.56
[INFO] [stderr]    Compiling web-sys v0.3.83
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s
[INFO] running `Command { std: "docker" "inspect" "2b75545b6eedb7f80b7975404d66772e8ac965d3673ad948863b4ca71fe706d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2b75545b6eedb7f80b7975404d66772e8ac965d3673ad948863b4ca71fe706d5", kill_on_drop: false }`
[INFO] [stdout] 2b75545b6eedb7f80b7975404d66772e8ac965d3673ad948863b4ca71fe706d5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 7c0dbef9eaebebc17bdd5146c3260cd18881a959dfcde619ee5c2044a5444404
[INFO] running `Command { std: "docker" "start" "-a" "7c0dbef9eaebebc17bdd5146c3260cd18881a959dfcde619ee5c2044a5444404", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustscript v0.4.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/tail_call_optimizer.rs:151:13
[INFO] [stdout]     |
[INFO] [stdout] 151 |         let mut optimizer = TailCallOptimizer::new();
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 19.84s
[INFO] running `Command { std: "docker" "inspect" "7c0dbef9eaebebc17bdd5146c3260cd18881a959dfcde619ee5c2044a5444404", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7c0dbef9eaebebc17bdd5146c3260cd18881a959dfcde619ee5c2044a5444404", kill_on_drop: false }`
[INFO] [stdout] 7c0dbef9eaebebc17bdd5146c3260cd18881a959dfcde619ee5c2044a5444404
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 52381649d00104706142b02a60b81839dc0377d7c2abf9e314445c0d971d20f8
[INFO] running `Command { std: "docker" "start" "-a" "52381649d00104706142b02a60b81839dc0377d7c2abf9e314445c0d971d20f8", kill_on_drop: false }`
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/tail_call_optimizer.rs:151:13
[INFO] [stderr]     |
[INFO] [stderr] 151 |         let mut optimizer = TailCallOptimizer::new();
[INFO] [stderr]     |             ----^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `rustscript` (lib test) generated 1 warning (run `cargo fix --lib -p rustscript --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/rustscript/9ffb45ae3badde67/deps/rustscript-9ffb45ae3badde67)
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/rustscript/9ffb45ae3badde67/deps/rustscript-9ffb45ae3badde67` (signal: 11, SIGSEGV: invalid memory reference)
[INFO] running `Command { std: "docker" "inspect" "52381649d00104706142b02a60b81839dc0377d7c2abf9e314445c0d971d20f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "52381649d00104706142b02a60b81839dc0377d7c2abf9e314445c0d971d20f8", kill_on_drop: false }`
[INFO] [stdout] 52381649d00104706142b02a60b81839dc0377d7c2abf9e314445c0d971d20f8
