[INFO] cloning repository https://github.com/probably-neb/funk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/probably-neb/funk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprobably-neb%2Ffunk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprobably-neb%2Ffunk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e1cb1c5dc0654b090abcb548671087419bbce22d [INFO] testing probably-neb/funk against 1.90.0 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprobably-neb%2Ffunk" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/probably-neb/funk [INFO] finished tweaking git repo https://github.com/probably-neb/funk [INFO] tweaked toml for git repo https://github.com/probably-neb/funk written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/probably-neb/funk on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/probably-neb/funk 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" "+1.90.0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytemuck v1.14.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 632c8977a0f9b34a8aa60dbe3e31674fa272fe0645dc414d8b8823fc63a74e89 [INFO] running `Command { std: "docker" "start" "-a" "632c8977a0f9b34a8aa60dbe3e31674fa272fe0645dc414d8b8823fc63a74e89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "632c8977a0f9b34a8aa60dbe3e31674fa272fe0645dc414d8b8823fc63a74e89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "632c8977a0f9b34a8aa60dbe3e31674fa272fe0645dc414d8b8823fc63a74e89", kill_on_drop: false }` [INFO] [stdout] 632c8977a0f9b34a8aa60dbe3e31674fa272fe0645dc414d8b8823fc63a74e89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90eb3eec863018b97d5d01800640cb3f6bdde04aa5796970e72660e42de73069 [INFO] running `Command { std: "docker" "start" "-a" "90eb3eec863018b97d5d01800640cb3f6bdde04aa5796970e72660e42de73069", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling bytemuck v1.14.3 [INFO] [stderr] Compiling funk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Range` [INFO] [stdout] --> src/parser.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | ast::{self, Ast, DIndex, DataPool, Range}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `visit` [INFO] [stdout] --> src/ast/stringify.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | macro_rules! visit { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Expr::*` [INFO] [stdout] --> src/ast/stringify.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | use Expr::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Range` [INFO] [stdout] --> src/compiler.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ast::{Ast, DIndex, Range}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `utf8_str` [INFO] [stdout] --> src/utils.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! utf8_str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utf8_str` [INFO] [stdout] --> src/utils.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) use utf8_str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ast/stringify.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | Expr::FunCall { name, args, .. } => { [INFO] [stdout] | ^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/ast/stringify.rs:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | for (i, &expr) in ast.extra.indexed_iter_of(branch_true, &ast.exprs) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/ast/stringify.rs:119:22 [INFO] [stdout] | [INFO] [stdout] 119 | for (i, &expr) in ast.extra.indexed_iter_of(branch_false, &ast.exprs) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/ast/stringify.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | for (i, &expr) in ast.extra.indexed_iter_of(body, &ast.exprs) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `s` is never read [INFO] [stdout] --> src/ast/typecheck.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | let mut s = "".to_string(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ast/typecheck.rs:600:13 [INFO] [stdout] | [INFO] [stdout] 600 | let i = self.indices.len(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `next_i`, `fun_args_slice`, `fun_arg_names_iter`, and `get_ident` are never used [INFO] [stdout] --> src/parser.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 59 | impl<'a> Parser<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 171 | fn next_i(&self) -> EIndex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 479 | fn fun_args_slice<'s>(&'s self, i: XIndex) -> &'s [u32] { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 483 | fn fun_arg_names_iter<'s>(&'s self, i: XIndex) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 490 | fn get_ident<'s>(&'s self, i: usize) -> &'s str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fun_args_slice`, `fun_arg_names_iter`, and `print` are never used [INFO] [stdout] --> src/ast.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Ast { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn fun_args_slice<'s>(&'s self, i: XIndex) -> &'s [u32] { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn fun_arg_names_iter<'s>(&'s self, i: XIndex) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_ident_id` is never used [INFO] [stdout] --> src/ast.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 174 | impl DataPool { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn get_ident_id(&self, val: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ast.rs:297:11 [INFO] [stdout] | [INFO] [stdout] 296 | impl Extra { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 297 | const RESERVE_VALUE: ExtraData = ExtraData::MAX; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | pub fn get<'e, T: FromExtra<'e>>(&'e self, i: usize) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | pub fn reserve(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub fn append_u32(&mut self, val: ExtraData) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | pub fn iter_of<'a, T>(&'a self, i: usize, items: &'a [T]) -> impl Iterator + 'a { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn first_of(&self, i: usize) -> ExtraData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub fn fun_args_slice(&self, i: XIndex) -> &[u32] { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 380 | pub fn fun_num_args(&self, i: XIndex) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FromExtra` is never used [INFO] [stdout] --> src/ast.rs:411:11 [INFO] [stdout] | [INFO] [stdout] 411 | pub trait FromExtra<'e> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExtraFunArgs` is never constructed [INFO] [stdout] --> src/ast.rs:415:12 [INFO] [stdout] | [INFO] [stdout] 415 | pub struct ExtraFunArgs<'e> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Range` is never constructed [INFO] [stdout] --> src/ast.rs:430:12 [INFO] [stdout] | [INFO] [stdout] 430 | pub struct Range + Copy> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ast.rs:437:12 [INFO] [stdout] | [INFO] [stdout] 436 | impl Range { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 437 | pub fn new(start: usize, end: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 443 | pub fn start_i(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 447 | pub fn end_i(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 451 | pub fn tup(&self) -> (u32, u32) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 454 | pub fn tup_i(&self) -> (usize, usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 458 | pub fn range(&self) -> std::ops::Range { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 462 | pub fn slice<'a, T>(&self, data: &'a [T]) -> &'a [T] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Gib` is never constructed [INFO] [stdout] --> src/ast/typecheck.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 156 | enum ReturnPath { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 157 | Naked, [INFO] [stdout] 158 | Gib, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReturnPath` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_from` is never used [INFO] [stdout] --> src/ast/typecheck.rs:519:8 [INFO] [stdout] | [INFO] [stdout] 512 | impl ScopeList { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 519 | fn new_from(names: Vec, indices: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `start_new` and `end` are never used [INFO] [stdout] --> src/ast/typecheck.rs:585:8 [INFO] [stdout] | [INFO] [stdout] 562 | impl ScopeStack { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 585 | fn start_new(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 590 | fn end(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Mov` is never constructed [INFO] [stdout] --> src/compiler.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum ByteCode { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | Mov(u32), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ByteCode` 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: method `dbg_visited` is never used [INFO] [stdout] --> src/compiler.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 65 | impl Compiler { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | fn dbg_visited(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `skip`, `start_subscope`, `end_subscope`, and `is_last` are never used [INFO] [stdout] --> src/compiler.rs:449:8 [INFO] [stdout] | [INFO] [stdout] 437 | impl ScopeStack { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 449 | fn skip(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 456 | fn start_subscope(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 461 | fn end_subscope(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 500 | fn is_last(&self, i: u32) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/parser.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | eat!(self, Token::LParen, "print expects arguments"); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 242 | let _ = eat!(self, Token::LParen, "print expects arguments"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/parser.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | eat!(self, Token::RParen, "print expects RParen"); [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] 246 | let _ = eat!(self, Token::RParen, "print expects RParen"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.67s [INFO] running `Command { std: "docker" "inspect" "90eb3eec863018b97d5d01800640cb3f6bdde04aa5796970e72660e42de73069", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90eb3eec863018b97d5d01800640cb3f6bdde04aa5796970e72660e42de73069", kill_on_drop: false }` [INFO] [stdout] 90eb3eec863018b97d5d01800640cb3f6bdde04aa5796970e72660e42de73069 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0455df516adc943c8fcd187dd17506757eb43df3d4ae5af19ed90b9bbf8f8743 [INFO] running `Command { std: "docker" "start" "-a" "0455df516adc943c8fcd187dd17506757eb43df3d4ae5af19ed90b9bbf8f8743", kill_on_drop: false }` [INFO] [stderr] Compiling funk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Range` [INFO] [stdout] --> src/parser.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | ast::{self, Ast, DIndex, DataPool, Range}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `visit` [INFO] [stdout] --> src/ast/stringify.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | macro_rules! visit { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Expr::*` [INFO] [stdout] --> src/ast/stringify.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | use Expr::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Range` [INFO] [stdout] --> src/compiler.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ast::{Ast, DIndex, Range}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `utf8_str` [INFO] [stdout] --> src/utils.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! utf8_str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utf8_str` [INFO] [stdout] --> src/utils.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) use utf8_str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `data` in initializer of `compiler::Chunk` [INFO] [stdout] --> src/rt.rs:194:21 [INFO] [stdout] | [INFO] [stdout] 194 | let chunk = Chunk { ops: bytecode }; [INFO] [stdout] | ^^^^^ missing `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `data` in initializer of `compiler::Chunk` [INFO] [stdout] --> src/rt.rs:265:21 [INFO] [stdout] | [INFO] [stdout] 265 | let chunk = Chunk { [INFO] [stdout] | ^^^^^ missing `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ast/stringify.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | Expr::FunCall { name, args, .. } => { [INFO] [stdout] | ^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/ast/stringify.rs:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | for (i, &expr) in ast.extra.indexed_iter_of(branch_true, &ast.exprs) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/ast/stringify.rs:119:22 [INFO] [stdout] | [INFO] [stdout] 119 | for (i, &expr) in ast.extra.indexed_iter_of(branch_false, &ast.exprs) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/ast/stringify.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | for (i, &expr) in ast.extra.indexed_iter_of(body, &ast.exprs) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `s` is never read [INFO] [stdout] --> src/ast/typecheck.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | let mut s = "".to_string(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ast/typecheck.rs:600:13 [INFO] [stdout] | [INFO] [stdout] 600 | let i = self.indices.len(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `funk` (bin "funk" test) due to 2 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0455df516adc943c8fcd187dd17506757eb43df3d4ae5af19ed90b9bbf8f8743", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0455df516adc943c8fcd187dd17506757eb43df3d4ae5af19ed90b9bbf8f8743", kill_on_drop: false }` [INFO] [stdout] 0455df516adc943c8fcd187dd17506757eb43df3d4ae5af19ed90b9bbf8f8743