[INFO] cloning repository https://github.com/LKBaka/RustAnt
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LKBaka/RustAnt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLKBaka%2FRustAnt", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLKBaka%2FRustAnt'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1bf3b4bd3670b36d0a703416f7da56190d3e9d99
[INFO] checking LKBaka/RustAnt against 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa for pr-159356
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLKBaka%2FRustAnt" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/LKBaka/RustAnt
[INFO] finished tweaking git repo https://github.com/LKBaka/RustAnt
[INFO] tweaked toml for git repo https://github.com/LKBaka/RustAnt written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/LKBaka/RustAnt on toolchain 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/LKBaka/RustAnt 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" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:c36f533e8924a726b63f9d01e781fa8c8c28c96d1d595403829afb31452ee0f5" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0131f7244af75e167a57266a91952a727ed21223bf08511eb7d5dcb6402f3e0e
[INFO] running `Command { std: "docker" "start" "0131f7244af75e167a57266a91952a727ed21223bf08511eb7d5dcb6402f3e0e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0131f7244af75e167a57266a91952a727ed21223bf08511eb7d5dcb6402f3e0e", 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" "0131f7244af75e167a57266a91952a727ed21223bf08511eb7d5dcb6402f3e0e" "/opt/rustwide/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0131f7244af75e167a57266a91952a727ed21223bf08511eb7d5dcb6402f3e0e", 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" "0131f7244af75e167a57266a91952a727ed21223bf08511eb7d5dcb6402f3e0e" "/opt/rustwide/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.104
[INFO] [stderr]    Compiling winnow v0.7.13
[INFO] [stderr]    Compiling indexmap v2.11.4
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling toml_datetime v0.7.2
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]     Checking anstream v0.6.20
[INFO] [stderr]    Compiling phf_generator v0.11.3
[INFO] [stderr]    Compiling wasm-bindgen v0.2.104
[INFO] [stderr]    Compiling bigdecimal v0.4.7
[INFO] [stderr]     Checking unicode-ident v1.0.19
[INFO] [stderr]     Checking foldhash v0.2.0
[INFO] [stderr]     Checking clap_builder v4.5.48
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking hashbrown v0.16.0
[INFO] [stderr]     Checking libloading v0.8.9
[INFO] [stderr]     Checking unicode-properties v0.1.3
[INFO] [stderr]     Checking dyn-clone v1.0.20
[INFO] [stderr]     Checking colored v3.0.0
[INFO] [stderr]     Checking global_env v0.1.0 (https://github.com/LKBaka/global_env.git#8021cd5e)
[INFO] [stderr]    Compiling toml_parser v1.0.3
[INFO] [stderr]    Compiling toml_edit v0.23.6
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.104
[INFO] [stderr]    Compiling proc-macro-crate v3.4.0
[INFO] [stderr]    Compiling phf_macros v0.11.3
[INFO] [stderr]    Compiling clap_derive v4.5.47
[INFO] [stderr]    Compiling num_enum_derive v0.7.4
[INFO] [stderr]    Compiling enum_dispatch v0.3.13
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.104
[INFO] [stderr]     Checking phf v0.11.3
[INFO] [stderr]     Checking num_enum v0.7.4
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.104
[INFO] [stderr]     Checking clap v4.5.48
[INFO] [stderr]     Checking rust_ant v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: constant `TEST_COUNT` is never used
[INFO] [stdout]  --> src/byte_code_vm/test.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 |     const TEST_COUNT: u16 = 1000;
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_speed` is never used
[INFO] [stdout]   --> src/byte_code_vm/test.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn test_speed() {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: crater fail !! problematic pattern detected !!
[INFO] [stdout]    --> src/byte_code_vm/compiler/test.rs:584:17
[INFO] [stdout]     |
[INFO] [stdout] 584 |                 TypeId { .. } => {}
[INFO] [stdout]     |                 ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type is defined in crate `core`
[INFO] [stdout]     = note: `#[deny(rest_pattern_match_on_struct_with_all_private_fields)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_ant` (lib test) due to 1 previous error; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: field `return_type` is never read
[INFO] [stdout]   --> src/ast/expressions/function_expression.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct FunctionExpression {
[INFO] [stdout]    |            ------------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub return_type: Option<Identifier>,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FunctionExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `type_hint` is never read
[INFO] [stdout]   --> src/ast/statements/let_statement.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct LetStatement {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub type_hint: Option<Box<Expression>>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LetStatement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `instruction_to_str_with_indent` is never used
[INFO] [stdout]    --> src/byte_code_vm/code/code.rs:232:8
[INFO] [stdout]     |
[INFO] [stdout] 232 | pub fn instruction_to_str_with_indent(ins: &Instructions, indent: &str) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/byte_code_vm/compiler/compiler.rs:190:12
[INFO] [stdout]     |
[INFO] [stdout] 181 | impl Compiler {
[INFO] [stdout]     | ------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 190 |     pub fn new(file_name: Rc<str>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compile_it` is never used
[INFO] [stdout]   --> src/byte_code_vm/compiler/utils.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn compile_it(code: String, file: String) -> Result<ByteCode, CompileErrorBox> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_pop` is never used
[INFO] [stdout]    --> src/byte_code_vm/run.rs:123:8
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub fn run_pop(
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fmt_compiled_function` is never used
[INFO] [stdout]   --> src/byte_code_vm/vm/frame.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn fmt_compiled_function(func: CompiledFunction, indent: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fmt_closure` is never used
[INFO] [stdout]   --> src/byte_code_vm/vm/frame.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub fn fmt_closure(closure: Closure, indent: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fmt_frames` is never used
[INFO] [stdout]   --> src/byte_code_vm/vm/frame.rs:59:8
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub fn fmt_frames(frames: &Vec<Frame>) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ANY` is never used
[INFO] [stdout]   --> src/object/object.rs:30:11
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub const ANY: &str = "Any";
[INFO] [stdout]    |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OBJECT` is never used
[INFO] [stdout]   --> src/object/object.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub const OBJECT: &str = "Object";
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AntObject` is never constructed
[INFO] [stdout]   --> src/object/object.rs:85:12
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub struct AntObject {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_truthy` is never used
[INFO] [stdout]   --> src/object/utils.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn is_truthy(obj: &Object) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `vm` is never read
[INFO] [stdout]   --> src/module_importer/ant_module_importer.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct AntModuleImporter<'a, 'b> {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] 16 |     pub file: String,
[INFO] [stdout] 17 |     pub vm: &'a mut Vm<'b>,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `return_type` is never read
[INFO] [stdout]   --> src/ast/expressions/function_expression.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct FunctionExpression {
[INFO] [stdout]    |            ------------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub return_type: Option<Identifier>,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FunctionExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `type_hint` is never read
[INFO] [stdout]   --> src/ast/statements/let_statement.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct LetStatement {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub type_hint: Option<Box<Expression>>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LetStatement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `instruction_to_str_with_indent` is never used
[INFO] [stdout]    --> src/byte_code_vm/code/code.rs:232:8
[INFO] [stdout]     |
[INFO] [stdout] 232 | pub fn instruction_to_str_with_indent(ins: &Instructions, indent: &str) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_pop` is never used
[INFO] [stdout]    --> src/byte_code_vm/run.rs:123:8
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub fn run_pop(
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TEST_COUNT` is never used
[INFO] [stdout]  --> src/byte_code_vm/test.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 |     const TEST_COUNT: u16 = 1000;
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_speed` is never used
[INFO] [stdout]   --> src/byte_code_vm/test.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn test_speed() {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fmt_compiled_function` is never used
[INFO] [stdout]   --> src/byte_code_vm/vm/frame.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn fmt_compiled_function(func: CompiledFunction, indent: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fmt_closure` is never used
[INFO] [stdout]   --> src/byte_code_vm/vm/frame.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub fn fmt_closure(closure: Closure, indent: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fmt_frames` is never used
[INFO] [stdout]   --> src/byte_code_vm/vm/frame.rs:59:8
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub fn fmt_frames(frames: &Vec<Frame>) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ANY` is never used
[INFO] [stdout]   --> src/object/object.rs:30:11
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub const ANY: &str = "Any";
[INFO] [stdout]    |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OBJECT` is never used
[INFO] [stdout]   --> src/object/object.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub const OBJECT: &str = "Object";
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AntObject` is never constructed
[INFO] [stdout]   --> src/object/object.rs:85:12
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub struct AntObject {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_truthy` is never used
[INFO] [stdout]   --> src/object/utils.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn is_truthy(obj: &Object) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `vm` is never read
[INFO] [stdout]   --> src/module_importer/ant_module_importer.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct AntModuleImporter<'a, 'b> {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] 16 |     pub file: String,
[INFO] [stdout] 17 |     pub vm: &'a mut Vm<'b>,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: crater fail !! problematic pattern detected !!
[INFO] [stdout]    --> src/byte_code_vm/compiler/test.rs:584:17
[INFO] [stdout]     |
[INFO] [stdout] 584 |                 TypeId { .. } => {}
[INFO] [stdout]     |                 ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type is defined in crate `core`
[INFO] [stdout]     = note: `#[deny(rest_pattern_match_on_struct_with_all_private_fields)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_ant` (bin "rust_ant" test) due to 1 previous error; 14 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "0131f7244af75e167a57266a91952a727ed21223bf08511eb7d5dcb6402f3e0e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0131f7244af75e167a57266a91952a727ed21223bf08511eb7d5dcb6402f3e0e", kill_on_drop: false }`
[INFO] [stdout] 0131f7244af75e167a57266a91952a727ed21223bf08511eb7d5dcb6402f3e0e
