[INFO] cloning repository https://github.com/kderef/unc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kderef/unc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkderef%2Func", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkderef%2Func'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0b04bf5d022fb090b09e7e3cdebc7b216eebe3cb [INFO] checking kderef/unc against try#1baf923b9c3a455162afe43e18647f494c1a4b73 for pr-151510 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkderef%2Func" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kderef/unc [INFO] finished tweaking git repo https://github.com/kderef/unc [INFO] tweaked toml for git repo https://github.com/kderef/unc written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kderef/unc on toolchain 1baf923b9c3a455162afe43e18647f494c1a4b73 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kderef/unc 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" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8067e00c0ee0901cc4e6dba60fe676a7a45844ab21472e47132a0da4b7a2f2d9 [INFO] running `Command { std: "docker" "start" "-a" "8067e00c0ee0901cc4e6dba60fe676a7a45844ab21472e47132a0da4b7a2f2d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8067e00c0ee0901cc4e6dba60fe676a7a45844ab21472e47132a0da4b7a2f2d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8067e00c0ee0901cc4e6dba60fe676a7a45844ab21472e47132a0da4b7a2f2d9", kill_on_drop: false }` [INFO] [stdout] 8067e00c0ee0901cc4e6dba60fe676a7a45844ab21472e47132a0da4b7a2f2d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7859091fd4a89745287ff823dea62bf78950d4559ca4ea8e0292a122308ba3d5 [INFO] running `Command { std: "docker" "start" "-a" "7859091fd4a89745287ff823dea62bf78950d4559ca4ea8e0292a122308ba3d5", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking unc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, `Read`, `Seek`, `fs::File`, `iter::Peekable`, and `str::Chars` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | io::{self, BufRead, BufReader, Read, Seek}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^ ^^^^ [INFO] [stdout] 8 | iter::Peekable, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | str::Chars, [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: `BufRead`, `BufReader`, `Read`, `Seek`, `fs::File`, `iter::Peekable`, and `str::Chars` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | io::{self, BufRead, BufReader, Read, Seek}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^ ^^^^ [INFO] [stdout] 8 | iter::Peekable, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | str::Chars, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let mut parser = Parser::new(&tokens); [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: `parser` [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let mut parser = Parser::new(&tokens); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parser` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/number.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | Int(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Number` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - Int(i64), [INFO] [stdout] 7 + Int(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/number.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | Float(f64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Number` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 - Float(f64), [INFO] [stdout] 8 + Float(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/token.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | Ident(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 22 - Ident(String), [INFO] [stdout] 22 + Ident(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/token.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | Number(Number), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 - Number(Number), [INFO] [stdout] 28 + Number(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/token.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | StrLit(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 31 - StrLit(String), [INFO] [stdout] 31 + StrLit(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tokens` is never read [INFO] [stdout] --> src/parser/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Parser { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 7 | tokens: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `tokens` is never used [INFO] [stdout] --> src/parser/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn tokens(&self) -> &[Token] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Expr` is never constructed [INFO] [stdout] --> src/parser/expr.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Expr {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StmtType` is never used [INFO] [stdout] --> src/parser/stmt.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum StmtType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Statement` is never constructed [INFO] [stdout] --> src/parser/stmt.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Statement {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let mut parser = Parser::new(&tokens); [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: `parser` [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let mut parser = Parser::new(&tokens); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parser` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/number.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | Int(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Number` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - Int(i64), [INFO] [stdout] 7 + Int(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/number.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | Float(f64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Number` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 - Float(f64), [INFO] [stdout] 8 + Float(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/token.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | Ident(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 22 - Ident(String), [INFO] [stdout] 22 + Ident(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/token.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | Number(Number), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 - Number(Number), [INFO] [stdout] 28 + Number(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/token.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | StrLit(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 31 - StrLit(String), [INFO] [stdout] 31 + StrLit(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tokens` is never read [INFO] [stdout] --> src/parser/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Parser { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 7 | tokens: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `tokens` is never used [INFO] [stdout] --> src/parser/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn tokens(&self) -> &[Token] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Expr` is never constructed [INFO] [stdout] --> src/parser/expr.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Expr {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StmtType` is never used [INFO] [stdout] --> src/parser/stmt.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum StmtType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Statement` is never constructed [INFO] [stdout] --> src/parser/stmt.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Statement {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.72s [INFO] running `Command { std: "docker" "inspect" "7859091fd4a89745287ff823dea62bf78950d4559ca4ea8e0292a122308ba3d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7859091fd4a89745287ff823dea62bf78950d4559ca4ea8e0292a122308ba3d5", kill_on_drop: false }` [INFO] [stdout] 7859091fd4a89745287ff823dea62bf78950d4559ca4ea8e0292a122308ba3d5