[INFO] cloning repository https://github.com/allenanswerzq/llmcc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/allenanswerzq/llmcc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fallenanswerzq%2Fllmcc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fallenanswerzq%2Fllmcc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 68bee2dc9d06a36096a47fcf42d78334d2354a4c [INFO] checking allenanswerzq/llmcc against try#804fff1ae95da9d03bd44eee27f258020a575dab for pr-146013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fallenanswerzq%2Fllmcc" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/allenanswerzq/llmcc [INFO] finished tweaking git repo https://github.com/allenanswerzq/llmcc [INFO] tweaked toml for git repo https://github.com/allenanswerzq/llmcc written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/allenanswerzq/llmcc on toolchain 804fff1ae95da9d03bd44eee27f258020a575dab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+804fff1ae95da9d03bd44eee27f258020a575dab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/allenanswerzq/llmcc 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" "+804fff1ae95da9d03bd44eee27f258020a575dab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+804fff1ae95da9d03bd44eee27f258020a575dab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80287e7e9131d95e8a3bddd05cb837f1ab01c776af5c5190c4a2f6990773b4de [INFO] running `Command { std: "docker" "start" "-a" "80287e7e9131d95e8a3bddd05cb837f1ab01c776af5c5190c4a2f6990773b4de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80287e7e9131d95e8a3bddd05cb837f1ab01c776af5c5190c4a2f6990773b4de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80287e7e9131d95e8a3bddd05cb837f1ab01c776af5c5190c4a2f6990773b4de", kill_on_drop: false }` [INFO] [stdout] 80287e7e9131d95e8a3bddd05cb837f1ab01c776af5c5190c4a2f6990773b4de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+804fff1ae95da9d03bd44eee27f258020a575dab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d703ae592fc70590e2dc83360692f7b091ff3706fd811e34f85354f933b24847 [INFO] running `Command { std: "docker" "start" "-a" "d703ae592fc70590e2dc83360692f7b091ff3706fd811e34f85354f933b24847", kill_on_drop: false }` [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking tree-sitter-language v0.1.5 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Checking streaming-iterator v0.1.9 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Compiling tree-sitter-rust v0.23.3 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling tree-sitter v0.25.8 [INFO] [stderr] Checking llmcc-core v0.1.0 (/opt/rustwide/workdir/crates/llmcc-core) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> crates/llmcc-core/src/context.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet}; [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: `BlockRelation` [INFO] [stdout] --> crates/llmcc-core/src/context.rs:5:62 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::block::{Arena as BlockArena, BasicBlock, BlockId, BlockRelation}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RelationBuilder` [INFO] [stdout] --> crates/llmcc-core/src/context.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::block_rel::{BlockRelationMap, RelationBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HirKind` [INFO] [stdout] --> crates/llmcc-core/src/context.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::ir::{Arena, HirId, HirKind, HirNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ScopeStack` and `SymId` [INFO] [stdout] --> crates/llmcc-core/src/context.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::symbol::{Scope, ScopeStack, SymId, Symbol}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Point` [INFO] [stdout] --> crates/llmcc-core/src/ir.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use tree_sitter::{Node, Point}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Parser`, `Point`, and `TreeCursor` [INFO] [stdout] --> crates/llmcc-core/src/ir_builder.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use tree_sitter::{Node, Parser, Point, Tree, TreeCursor}; [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HirRoot` [INFO] [stdout] --> crates/llmcc-core/src/ir_builder.rs:7:78 [INFO] [stdout] | [INFO] [stdout] 7 | Arena, HirBase, HirFile, HirId, HirIdent, HirInternal, HirKind, HirNode, HirRoot, HirScope, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BlockKind` [INFO] [stdout] --> crates/llmcc-core/src/visit.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::block::{BlockId, BlockKind}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HirBase`, `HirFile`, `HirId`, `HirIdent`, `HirInternal`, `HirRoot`, `HirScope`, and `HirText` [INFO] [stdout] --> crates/llmcc-core/src/visit.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | HirBase, HirFile, HirId, HirIdent, HirInternal, HirKind, HirNode, HirRoot, HirScope, HirText, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> crates/llmcc-core/src/context.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet}; [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: `BlockRelation` [INFO] [stdout] --> crates/llmcc-core/src/context.rs:5:62 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::block::{Arena as BlockArena, BasicBlock, BlockId, BlockRelation}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RelationBuilder` [INFO] [stdout] --> crates/llmcc-core/src/context.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::block_rel::{BlockRelationMap, RelationBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HirKind` [INFO] [stdout] --> crates/llmcc-core/src/context.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::ir::{Arena, HirId, HirKind, HirNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ScopeStack` and `SymId` [INFO] [stdout] --> crates/llmcc-core/src/context.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::symbol::{Scope, ScopeStack, SymId, Symbol}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Point` [INFO] [stdout] --> crates/llmcc-core/src/ir.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use tree_sitter::{Node, Point}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Parser`, `Point`, and `TreeCursor` [INFO] [stdout] --> crates/llmcc-core/src/ir_builder.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use tree_sitter::{Node, Parser, Point, Tree, TreeCursor}; [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HirRoot` [INFO] [stdout] --> crates/llmcc-core/src/ir_builder.rs:7:78 [INFO] [stdout] | [INFO] [stdout] 7 | Arena, HirBase, HirFile, HirId, HirIdent, HirInternal, HirKind, HirNode, HirRoot, HirScope, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BlockKind` [INFO] [stdout] --> crates/llmcc-core/src/visit.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::block::{BlockId, BlockKind}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HirBase`, `HirFile`, `HirId`, `HirIdent`, `HirInternal`, `HirRoot`, `HirScope`, and `HirText` [INFO] [stdout] --> crates/llmcc-core/src/visit.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | HirBase, HirFile, HirId, HirIdent, HirInternal, HirKind, HirNode, HirRoot, HirScope, HirText, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/llmcc-core/src/block.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | ctx: &'blk Context<'blk>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/llmcc-core/src/block.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | ctx: &'blk Context<'blk>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/llmcc-core/src/block.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | ctx: &'blk Context<'blk>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/llmcc-core/src/block.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | ctx: &'blk Context<'blk>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/llmcc-core/src/block.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | ctx: &'blk Context<'blk>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/llmcc-core/src/block.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | ctx: &'blk Context<'blk>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/llmcc-core/src/block.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | ctx: &'blk Context<'blk>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/llmcc-core/src/block.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | ctx: &'blk Context<'blk>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/llmcc-core/src/ir_builder.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | let mut indent = " ".repeat(self.depth); [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: `symbol_map` [INFO] [stdout] --> crates/llmcc-core/src/symbol.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let symbol_map = self.symbol_map.borrow(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/llmcc-core/src/block_rel.rs:248:23 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn from_block(&self, from: BlockId) -> RelationBuilder { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 248 | pub fn from_block(&self, from: BlockId) -> RelationBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/llmcc-core/src/ir_builder.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | let mut indent = " ".repeat(self.depth); [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 `Result` that must be used [INFO] [stdout] --> crates/llmcc-core/src/symbol.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | self.insert_symbol(ident.name.clone(), symbol); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 164 | let _ = self.insert_symbol(ident.name.clone(), symbol); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol_map` [INFO] [stdout] --> crates/llmcc-core/src/symbol.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let symbol_map = self.symbol_map.borrow(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking llmcc-rust v0.1.0 (/opt/rustwide/workdir/crates/llmcc-rust) [INFO] [stdout] warning: type `Foo` is more private than the item `arena::tests::Arena::foos` [INFO] [stdout] --> crates/llmcc-core/src/arena.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | $( pub $name : typed_arena::Arena<$ty>, )* [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `arena::tests::Arena::foos` is reachable at visibility `pub(in crate::arena)` [INFO] [stdout] ... [INFO] [stdout] 47 | / declare_arena!([ [INFO] [stdout] 48 | | foos: Foo, [INFO] [stdout] 49 | | bars: Bar, [INFO] [stdout] 50 | | ]); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: but type `Foo` is only usable at visibility `pub(self)` [INFO] [stdout] --> crates/llmcc-core/src/arena.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | struct Foo(i32); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] = note: this warning originates in the macro `declare_arena` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Bar` is more private than the item `arena::tests::Arena::bars` [INFO] [stdout] --> crates/llmcc-core/src/arena.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | $( pub $name : typed_arena::Arena<$ty>, )* [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `arena::tests::Arena::bars` is reachable at visibility `pub(in crate::arena)` [INFO] [stdout] ... [INFO] [stdout] 47 | / declare_arena!([ [INFO] [stdout] 48 | | foos: Foo, [INFO] [stdout] 49 | | bars: Bar, [INFO] [stdout] 50 | | ]); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: but type `Bar` is only usable at visibility `pub(self)` [INFO] [stdout] --> crates/llmcc-core/src/arena.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | struct Bar(&'static str); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `declare_arena` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/llmcc-core/src/block_rel.rs:248:23 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn from_block(&self, from: BlockId) -> RelationBuilder { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 248 | pub fn from_block(&self, from: BlockId) -> RelationBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockId` and `BlockKind` [INFO] [stdout] --> crates/llmcc-rust/src/lang.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use llmcc_core::block::{BlockId, BlockKind}; [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 imports: `HirIdent` and `HirKind` [INFO] [stdout] --> crates/llmcc-rust/src/lang.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use llmcc_core::ir::{HirId, HirIdent, HirKind, HirNode}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Symbol` [INFO] [stdout] --> crates/llmcc-rust/src/lang.rs:4:52 [INFO] [stdout] | [INFO] [stdout] 4 | use llmcc_core::symbol::{Scope, ScopeStack, SymId, Symbol}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockId` and `BlockKind` [INFO] [stdout] --> crates/llmcc-rust/src/lang.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use llmcc_core::block::{BlockId, BlockKind}; [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 imports: `HirIdent` and `HirKind` [INFO] [stdout] --> crates/llmcc-rust/src/lang.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use llmcc_core::ir::{HirId, HirIdent, HirKind, HirNode}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Symbol` [INFO] [stdout] --> crates/llmcc-rust/src/lang.rs:4:52 [INFO] [stdout] | [INFO] [stdout] 4 | use llmcc_core::symbol::{Scope, ScopeStack, SymId, Symbol}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/llmcc-core/src/symbol.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | self.insert_symbol(ident.name.clone(), symbol); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 164 | let _ = self.insert_symbol(ident.name.clone(), symbol); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking llmcc v0.1.0 (/opt/rustwide/workdir/crates/llmcc) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/llmcc/src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | build_llmcc_ir::(&tree, &ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 25 | let _ = build_llmcc_ir::(&tree, &ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/llmcc/src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | build_llmcc_graph::(root, &ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 31 | let _ = build_llmcc_graph::(root, &ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/llmcc/src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | build_llmcc_ir::(&tree, &ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 25 | let _ = build_llmcc_ir::(&tree, &ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/llmcc/src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | build_llmcc_graph::(root, &ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 31 | let _ = build_llmcc_graph::(root, &ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.64s [INFO] running `Command { std: "docker" "inspect" "d703ae592fc70590e2dc83360692f7b091ff3706fd811e34f85354f933b24847", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d703ae592fc70590e2dc83360692f7b091ff3706fd811e34f85354f933b24847", kill_on_drop: false }` [INFO] [stdout] d703ae592fc70590e2dc83360692f7b091ff3706fd811e34f85354f933b24847