[INFO] cloning repository https://github.com/Deweyhinni/lispy-ocaml-thing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Deweyhinni/lispy-ocaml-thing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeweyhinni%2Flispy-ocaml-thing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeweyhinni%2Flispy-ocaml-thing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e9d02df49761ed1ba04c588795f0ae7ce007c793 [INFO] documenting Deweyhinni/lispy-ocaml-thing against beta-2025-10-28 for beta-1.92-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeweyhinni%2Flispy-ocaml-thing" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Deweyhinni/lispy-ocaml-thing [INFO] finished tweaking git repo https://github.com/Deweyhinni/lispy-ocaml-thing [INFO] tweaked toml for git repo https://github.com/Deweyhinni/lispy-ocaml-thing written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Deweyhinni/lispy-ocaml-thing on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Deweyhinni/lispy-ocaml-thing 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" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f006cd7be0204e735406b0536faad1fc3c381a506da1d20e0d9468b0208237e [INFO] running `Command { std: "docker" "start" "-a" "8f006cd7be0204e735406b0536faad1fc3c381a506da1d20e0d9468b0208237e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f006cd7be0204e735406b0536faad1fc3c381a506da1d20e0d9468b0208237e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f006cd7be0204e735406b0536faad1fc3c381a506da1d20e0d9468b0208237e", kill_on_drop: false }` [INFO] [stdout] 8f006cd7be0204e735406b0536faad1fc3c381a506da1d20e0d9468b0208237e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cc49b58bd9e5c97b91666e243183fbd6b5c692f67c28e9c7ecbdd75729cd6b9 [INFO] running `Command { std: "docker" "start" "-a" "1cc49b58bd9e5c97b91666e243183fbd6b5c692f67c28e9c7ecbdd75729cd6b9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking silly-lisp-thing v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Documenting silly-lisp-thing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `anyhow::Context` [INFO] [stdout] --> src/ast.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Context; [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: `iter` [INFO] [stdout] --> src/ast.rs:3:55 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{cmp::PartialEq, error::Error, fmt::Display, iter}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Literal` [INFO] [stdout] --> src/codegen/rust_generator.rs:4:80 [INFO] [stdout] | [INFO] [stdout] 4 | Declaration, Expression, ExpressionBody, Func, FuncCall, Identifier, Item, Literal, Operation, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ast.rs:325:18 [INFO] [stdout] | [INFO] [stdout] 325 | for (i, t) in tokens.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ast.rs:587:48 [INFO] [stdout] | [INFO] [stdout] 587 | Identifier::VarDef { name, value } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typ` [INFO] [stdout] --> src/ast.rs:594:51 [INFO] [stdout] | [INFO] [stdout] 594 | Identifier::FuncParam { name, typ } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `typ: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret_type` [INFO] [stdout] --> src/ast.rs:671:33 [INFO] [stdout] | [INFO] [stdout] 671 | ... ret_type, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `ret_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/ast.rs:921:13 [INFO] [stdout] | [INFO] [stdout] 921 | t => Err(ParseError::NotMatched), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ast.rs:1428:9 [INFO] [stdout] | [INFO] [stdout] 1428 | let mut brackets = 0; [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] [stdout] warning: unused variable: `brackets` [INFO] [stdout] --> src/ast.rs:1428:9 [INFO] [stdout] | [INFO] [stdout] 1428 | let mut brackets = 0; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_brackets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ext_typ` [INFO] [stdout] --> src/codegen/rust_generator.rs:77:77 [INFO] [stdout] | [INFO] [stdout] 77 | ... expression_body: ExpressionBody::Extern(ext_typ), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ext_typ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/codegen/rust_generator.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 125 | / if name == &String::from("unit") { [INFO] [stdout] 126 | | &String::from("main") [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | | [INFO] [stdout] | | | temporary value is freed at the end of this statement [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] 127 | | } else { [INFO] [stdout] 128 | | name [INFO] [stdout] 129 | | }, [INFO] [stdout] | |_____________- borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_vars` [INFO] [stdout] --> src/codegen/rust_generator.rs:214:29 [INFO] [stdout] | [INFO] [stdout] 214 | ... local_vars, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `local_vars: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expression_body` [INFO] [stdout] --> src/codegen/rust_generator.rs:215:29 [INFO] [stdout] | [INFO] [stdout] 215 | ... expression_body, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `expression_body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/codegen/rust_generator.rs:216:57 [INFO] [stdout] | [INFO] [stdout] 216 | ... ret_type: Some(Type::Func { params, ret }), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> src/codegen/rust_generator.rs:216:65 [INFO] [stdout] | [INFO] [stdout] 216 | ... ret_type: Some(Type::Func { params, ret }), [INFO] [stdout] | ^^^ help: try ignoring the field: `ret: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/codegen/rust_generator.rs:233:35 [INFO] [stdout] | [INFO] [stdout] 233 | Some(Type::Func { params, ret }) => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> src/codegen/rust_generator.rs:233:43 [INFO] [stdout] | [INFO] [stdout] 233 | Some(Type::Func { params, ret }) => { [INFO] [stdout] | ^^^ help: try ignoring the field: `ret: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/codegen/rust_generator.rs:278:51 [INFO] [stdout] | [INFO] [stdout] 278 | (Some(Type::String), Some(other)) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/codegen/rust_generator.rs:281:31 [INFO] [stdout] | [INFO] [stdout] 281 | (Some(other), Some(Type::String)) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typ` [INFO] [stdout] --> src/codegen/rust_generator.rs:351:36 [INFO] [stdout] | [INFO] [stdout] 351 | ExpressionBody::Extern(typ) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_typ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `silly-lisp-thing` (lib) due to 1 previous error; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1cc49b58bd9e5c97b91666e243183fbd6b5c692f67c28e9c7ecbdd75729cd6b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cc49b58bd9e5c97b91666e243183fbd6b5c692f67c28e9c7ecbdd75729cd6b9", kill_on_drop: false }` [INFO] [stdout] 1cc49b58bd9e5c97b91666e243183fbd6b5c692f67c28e9c7ecbdd75729cd6b9