[INFO] cloning repository https://github.com/harryhanYuhao/crafting_interpreters [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/harryhanYuhao/crafting_interpreters" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FharryhanYuhao%2Fcrafting_interpreters", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FharryhanYuhao%2Fcrafting_interpreters'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fea8dbcd7f9e8d2a89e142e094fbd2c8a2dc509b [INFO] checking harryhanYuhao/crafting_interpreters against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FharryhanYuhao%2Fcrafting_interpreters" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/harryhanYuhao/crafting_interpreters on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/harryhanYuhao/crafting_interpreters [INFO] finished tweaking git repo https://github.com/harryhanYuhao/crafting_interpreters [INFO] tweaked toml for git repo https://github.com/harryhanYuhao/crafting_interpreters written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/harryhanYuhao/crafting_interpreters 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 137cf851a42f0bf481400a4c5a3df00e098e11145f186c515f9eafe0db111009 [INFO] running `Command { std: "docker" "start" "-a" "137cf851a42f0bf481400a4c5a3df00e098e11145f186c515f9eafe0db111009", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "137cf851a42f0bf481400a4c5a3df00e098e11145f186c515f9eafe0db111009", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "137cf851a42f0bf481400a4c5a3df00e098e11145f186c515f9eafe0db111009", kill_on_drop: false }` [INFO] [stdout] 137cf851a42f0bf481400a4c5a3df00e098e11145f186c515f9eafe0db111009 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 008ab210186f53486d022d8ead36800a8d2a60fe46bd4b02087265c8f0669cc3 [INFO] running `Command { std: "docker" "start" "-a" "008ab210186f53486d022d8ead36800a8d2a60fe46bd4b02087265c8f0669cc3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking clap_builder v4.5.9 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking colog v1.3.0 [INFO] [stderr] Checking clap v4.5.9 [INFO] [stderr] Checking lox-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runtime.rs:987:9 [INFO] [stdout] | [INFO] [stdout] 987 | let mut tuple: Arc>; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_lexeme_from_arc` is never used [INFO] [stdout] --> src/interpreter/token.rs:264:19 [INFO] [stdout] | [INFO] [stdout] 219 | impl Token { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 264 | pub(crate) fn get_lexeme_from_arc(input: Arc>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_post_single` is never used [INFO] [stdout] --> src/interpreter/parser.rs:625:4 [INFO] [stdout] | [INFO] [stdout] 625 | fn parse_post_single( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `error_handle_check_type_vec_arc` and `new_from_arc_token` are never used [INFO] [stdout] --> src/interpreter/AST_Node.rs:132:19 [INFO] [stdout] | [INFO] [stdout] 112 | impl AST_Node { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | pub(crate) fn error_handle_check_type_vec_arc( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 393 | pub(crate) fn new_from_arc_token(AST_Type: AST_Type, token: Arc>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_function_input` is never used [INFO] [stdout] --> src/runtime/lox_std/io.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn check_function_input(input: &LoxVariable, length: usize) -> Result<(), ErrorLox> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_content`, `is_function`, `get_function`, and `is_none` are never used [INFO] [stdout] --> src/runtime/lox_variable.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 109 | impl LoxVariable { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 149 | pub(crate) fn get_content(&self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub(crate) fn is_function(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub(crate) fn get_function(&self) -> fn(&LoxVariable) -> LoxVariable { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | pub(crate) fn is_none(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runtime.rs:987:9 [INFO] [stdout] | [INFO] [stdout] 987 | let mut tuple: Arc>; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_lexeme_from_arc` is never used [INFO] [stdout] --> src/interpreter/token.rs:264:19 [INFO] [stdout] | [INFO] [stdout] 219 | impl Token { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 264 | pub(crate) fn get_lexeme_from_arc(input: Arc>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_post_single` is never used [INFO] [stdout] --> src/interpreter/parser.rs:625:4 [INFO] [stdout] | [INFO] [stdout] 625 | fn parse_post_single( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `error_handle_check_type_vec_arc` and `new_from_arc_token` are never used [INFO] [stdout] --> src/interpreter/AST_Node.rs:132:19 [INFO] [stdout] | [INFO] [stdout] 112 | impl AST_Node { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | pub(crate) fn error_handle_check_type_vec_arc( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 393 | pub(crate) fn new_from_arc_token(AST_Type: AST_Type, token: Arc>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_function_input` is never used [INFO] [stdout] --> src/runtime/lox_std/io.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn check_function_input(input: &LoxVariable, length: usize) -> Result<(), ErrorLox> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_content`, `is_function`, `get_function`, and `is_none` are never used [INFO] [stdout] --> src/runtime/lox_variable.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 109 | impl LoxVariable { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 149 | pub(crate) fn get_content(&self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub(crate) fn is_function(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub(crate) fn get_function(&self) -> fn(&LoxVariable) -> LoxVariable { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | pub(crate) fn is_none(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.41s [INFO] running `Command { std: "docker" "inspect" "008ab210186f53486d022d8ead36800a8d2a60fe46bd4b02087265c8f0669cc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "008ab210186f53486d022d8ead36800a8d2a60fe46bd4b02087265c8f0669cc3", kill_on_drop: false }` [INFO] [stdout] 008ab210186f53486d022d8ead36800a8d2a60fe46bd4b02087265c8f0669cc3