[INFO] cloning repository https://github.com/mattwahner/rat-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mattwahner/rat-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattwahner%2Frat-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattwahner%2Frat-lang'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/sendemail-validate.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattwahner%2Frat-lang/hooks/sendemail-validate.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/mattwahner/rat-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mattwahner/rat-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattwahner%2Frat-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattwahner%2Frat-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e19c204db778fb69431aa01e7aea9e3860cff903 [INFO] checking mattwahner/rat-lang against try#7df376b035b3d12ff0386ad8b45b76dbe020257b for pr-142712 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattwahner%2Frat-lang" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mattwahner/rat-lang [INFO] finished tweaking git repo https://github.com/mattwahner/rat-lang [INFO] tweaked toml for git repo https://github.com/mattwahner/rat-lang written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mattwahner/rat-lang on toolchain 7df376b035b3d12ff0386ad8b45b76dbe020257b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mattwahner/rat-lang 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" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0aa6e5bcc86cedbb917d723141ffd4a657ffb9cb28968edd9f9854ec5c863765 [INFO] running `Command { std: "docker" "start" "-a" "0aa6e5bcc86cedbb917d723141ffd4a657ffb9cb28968edd9f9854ec5c863765", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0aa6e5bcc86cedbb917d723141ffd4a657ffb9cb28968edd9f9854ec5c863765", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0aa6e5bcc86cedbb917d723141ffd4a657ffb9cb28968edd9f9854ec5c863765", kill_on_drop: false }` [INFO] [stdout] 0aa6e5bcc86cedbb917d723141ffd4a657ffb9cb28968edd9f9854ec5c863765 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c0d60d23a1eea481767265a62f312efd25076027ac1912f1a458aa8386bb48c [INFO] running `Command { std: "docker" "start" "-a" "6c0d60d23a1eea481767265a62f312efd25076027ac1912f1a458aa8386bb48c", kill_on_drop: false }` [INFO] [stderr] Checking rat-lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `lexeme`, `line`, and `character` are never read [INFO] [stdout] --> src/grammar/lexer.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct LiteralToken { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 6 | pub literal: T, [INFO] [stdout] 7 | pub lexeme: Lexeme, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | pub line: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub character: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiteralToken` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lexeme`, `line`, and `character` are never read [INFO] [stdout] --> src/grammar/lexer.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct NonLiteralToken { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 14 | pub lexeme: Lexeme, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | pub line: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | pub character: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NonLiteralToken` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lexeme`, `line`, and `character` are never read [INFO] [stdout] --> src/grammar/lexer.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct UnexpectedToken { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 21 | pub lexeme: Lexeme, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | pub line: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | pub character: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnexpectedToken` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/grammar/lexer.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | UnexpectedToken(UnexpectedToken), [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LexerError` has a derived impl for the trait `Debug`, but this is 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 - UnexpectedToken(UnexpectedToken), [INFO] [stdout] 28 + UnexpectedToken(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `input` is never read [INFO] [stdout] --> src/grammar/lexer.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Lexeme { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 32 | input: Rc>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_value` is never used [INFO] [stdout] --> src/grammar/lexer.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl Lexeme { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 47 | pub fn get_value(&self) -> &[char] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/grammar/lexer.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | Plus(NonLiteralToken), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` has a derived impl for the trait `Debug`, but this is 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] 55 - Plus(NonLiteralToken), [INFO] [stdout] 55 + Plus(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/grammar/lexer.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | Minus(NonLiteralToken), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` has a derived impl for the trait `Debug`, but this is 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] 56 - Minus(NonLiteralToken), [INFO] [stdout] 56 + Minus(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse` and `peek` are never used [INFO] [stdout] --> src/grammar/parser.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl <'a> Parser <'a> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 33 | pub fn parse(input: &Vec) -> Expression { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn peek(&self) -> Option<&TokenType> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/grammar/parser.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | fn new(input: &Vec) -> Parser { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 38 | fn new(input: &Vec) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse` and `peek` are never used [INFO] [stdout] --> src/grammar/parser.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl <'a> Parser <'a> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 33 | pub fn parse(input: &Vec) -> Expression { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn peek(&self) -> Option<&TokenType> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/grammar/parser.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | fn new(input: &Vec) -> Parser { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 38 | fn new(input: &Vec) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "6c0d60d23a1eea481767265a62f312efd25076027ac1912f1a458aa8386bb48c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c0d60d23a1eea481767265a62f312efd25076027ac1912f1a458aa8386bb48c", kill_on_drop: false }` [INFO] [stdout] 6c0d60d23a1eea481767265a62f312efd25076027ac1912f1a458aa8386bb48c