[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 5c543b0b8c73c7b72bc8284ced4fb22ead15734d for pr-160186 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLKBaka%2FRustAnt" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LKBaka/RustAnt on toolchain 5c543b0b8c73c7b72bc8284ced4fb22ead15734d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "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" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/LKBaka/global_env.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-collections v0.3.1 [INFO] [stderr] Downloaded windows-numerics v0.3.0 [INFO] [stderr] Downloaded windows-future v0.3.1 [INFO] [stderr] Downloaded windows-threading v0.2.0 [INFO] [stderr] Downloaded bigdecimal v0.4.7 [INFO] [stderr] Downloaded windows v0.62.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 3bbf72b74ea3c54b12181aa6ec5e84bced35c63b47952270a21996704d802497 [INFO] running `Command { std: "docker" "start" "3bbf72b74ea3c54b12181aa6ec5e84bced35c63b47952270a21996704d802497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3bbf72b74ea3c54b12181aa6ec5e84bced35c63b47952270a21996704d802497", 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" "3bbf72b74ea3c54b12181aa6ec5e84bced35c63b47952270a21996704d802497" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3bbf72b74ea3c54b12181aa6ec5e84bced35c63b47952270a21996704d802497", 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" "3bbf72b74ea3c54b12181aa6ec5e84bced35c63b47952270a21996704d802497" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.104 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling toml_parser v1.0.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling bigdecimal v0.4.7 [INFO] [stderr] Compiling wasm-bindgen v0.2.104 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Checking dyn-clone v1.0.20 [INFO] [stderr] Checking global_env v0.1.0 (https://github.com/LKBaka/global_env.git#8021cd5e) [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Checking phf_shared v0.11.3 [INFO] [stderr] Checking clap_builder v4.5.48 [INFO] [stderr] Compiling toml_edit v0.23.6 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking indexmap v2.11.4 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.104 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking num_enum v0.7.4 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.104 [INFO] [stderr] Checking clap v4.5.48 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.104 [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] 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, [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>, [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) -> 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 { [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) -> 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, [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>, [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) -> 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.32s [INFO] running `Command { std: "docker" "inspect" "3bbf72b74ea3c54b12181aa6ec5e84bced35c63b47952270a21996704d802497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bbf72b74ea3c54b12181aa6ec5e84bced35c63b47952270a21996704d802497", kill_on_drop: false }` [INFO] [stdout] 3bbf72b74ea3c54b12181aa6ec5e84bced35c63b47952270a21996704d802497