[INFO] cloning repository https://github.com/u66u/flock [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/u66u/flock" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fu66u%2Fflock", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fu66u%2Fflock'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3315dc75139a7309271146188d4b063ed5f31224 [INFO] checking u66u/flock against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125741 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fu66u%2Fflock" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/u66u/flock on toolchain 91c0823ee63e793d990bb9fed898dc95b5d6db51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/u66u/flock [INFO] finished tweaking git repo https://github.com/u66u/flock [INFO] tweaked toml for git repo https://github.com/u66u/flock written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/u66u/flock 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" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded yansi v1.0.1 [INFO] [stderr] Downloaded logos-derive v0.14.0 [INFO] [stderr] Downloaded logos-codegen v0.14.0 [INFO] [stderr] Downloaded ariadne v0.4.1 [INFO] [stderr] Downloaded chumsky v1.0.0-alpha.7 [INFO] [stderr] Downloaded allocator-api2 v0.2.18 [INFO] [stderr] Downloaded regex-automata v0.3.9 [INFO] [stderr] Downloaded logos v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb4994ec95d93905df3c027d7f9a04a73f2d7717e8a5864ddfb087a3fab10f25 [INFO] running `Command { std: "docker" "start" "-a" "eb4994ec95d93905df3c027d7f9a04a73f2d7717e8a5864ddfb087a3fab10f25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb4994ec95d93905df3c027d7f9a04a73f2d7717e8a5864ddfb087a3fab10f25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb4994ec95d93905df3c027d7f9a04a73f2d7717e8a5864ddfb087a3fab10f25", kill_on_drop: false }` [INFO] [stdout] eb4994ec95d93905df3c027d7f9a04a73f2d7717e8a5864ddfb087a3fab10f25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0c81ec7a8f3f10bf634f1ad80133e228b5a0dd4c2a3775ec18b5dd5c55f5d68 [INFO] running `Command { std: "docker" "start" "-a" "d0c81ec7a8f3f10bf634f1ad80133e228b5a0dd4c2a3775ec18b5dd5c55f5d68", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling chumsky v1.0.0-alpha.7 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking ariadne v0.4.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.61 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling logos-codegen v0.14.0 [INFO] [stderr] Compiling logos-derive v0.14.0 [INFO] [stderr] Checking logos v0.14.0 [INFO] [stderr] Checking flock v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::ast::*` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::*` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | Bool(bool), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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] 14 | Bool(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/ast.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 12 | Var(String), [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | Int(i64), [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | Bool(bool), [INFO] [stdout] 15 | Mult(Box, Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | Divide(Box, Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | Mod(Box, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | Plus(Box, Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | Minus(Box, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | Equal(Box, Box), [INFO] [stdout] 21 | Less(Box, Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | If(Box, Box, Box), [INFO] [stdout] | ^^ [INFO] [stdout] 23 | Func(String, Box, Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | Apply(Box, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | Pair(Box, Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | First(Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | Second(Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | Recursion(String, Box, Box), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | None(Type), [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | Cons(Box, Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | Match(Box, Box, Box, String, String, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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: enum `Commands` is never used [INFO] [stdout] --> src/ast.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum Commands { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_string_with_precedence` and `to_string` are never used [INFO] [stdout] --> src/ast.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl Type { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 55 | fn to_string_with_precedence(&self, outer_precedence: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to_string_with_precedence`, `to_string`, and `subst` are never used [INFO] [stdout] --> src/ast.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 104 | impl Expr { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 105 | fn to_string_with_precedence(&self, outer_precedence: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn subst(substitutions: &Vec<(String, Expr)>, expr: &Expr) -> Expr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EOF` is never constructed [INFO] [stdout] --> src/lexer.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Token { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 125 | EOF, [INFO] [stdout] | ^^^ [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] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_basic_binary_expr` and `parse_binary_expr` are never used [INFO] [stdout] --> src/parser.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 9 | / impl Parser [INFO] [stdout] 10 | | where [INFO] [stdout] 11 | | I: Iterator, [INFO] [stdout] | |______________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn parse_basic_binary_expr(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn parse_binary_expr(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Mult` is never constructed [INFO] [stdout] --> src/ast.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Type { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 5 | Mult(Box, Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/ast.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 12 | Var(String), [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | Int(i64), [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | Mult(Box, Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | Divide(Box, Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | Mod(Box, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | Plus(Box, Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | Minus(Box, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | Equal(Box, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | Less(Box, Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | If(Box, Box, Box), [INFO] [stdout] | ^^ [INFO] [stdout] 23 | Func(String, Box, Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | Apply(Box, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | Pair(Box, Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | First(Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | Second(Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | Recursion(String, Box, Box), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | None(Type), [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | Cons(Box, Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | Match(Box, Box, Box, String, String, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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: enum `Commands` is never used [INFO] [stdout] --> src/ast.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum Commands { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_string_with_precedence` and `to_string` are never used [INFO] [stdout] --> src/ast.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl Type { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 55 | fn to_string_with_precedence(&self, outer_precedence: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to_string_with_precedence`, `to_string`, and `subst` are never used [INFO] [stdout] --> src/ast.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 104 | impl Expr { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 105 | fn to_string_with_precedence(&self, outer_precedence: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn subst(substitutions: &Vec<(String, Expr)>, expr: &Expr) -> Expr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EOF` is never constructed [INFO] [stdout] --> src/lexer.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Token { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 125 | EOF, [INFO] [stdout] | ^^^ [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] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_ty_list`, `parse_ty_times`, `parse_basic_binary_expr`, and `parse_binary_expr` are never used [INFO] [stdout] --> src/parser.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 9 | / impl Parser [INFO] [stdout] 10 | | where [INFO] [stdout] 11 | | I: Iterator, [INFO] [stdout] | |______________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn parse_ty_list(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn parse_ty_times(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn parse_basic_binary_expr(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn parse_binary_expr(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.67s [INFO] running `Command { std: "docker" "inspect" "d0c81ec7a8f3f10bf634f1ad80133e228b5a0dd4c2a3775ec18b5dd5c55f5d68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0c81ec7a8f3f10bf634f1ad80133e228b5a0dd4c2a3775ec18b5dd5c55f5d68", kill_on_drop: false }` [INFO] [stdout] d0c81ec7a8f3f10bf634f1ad80133e228b5a0dd4c2a3775ec18b5dd5c55f5d68