[INFO] cloning repository https://github.com/amanuel2/goc-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/amanuel2/goc-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famanuel2%2Fgoc-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famanuel2%2Fgoc-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7d8c339d93a03123df2f872cc89790a8a805d929 [INFO] checking amanuel2/goc-rs against try#099af82bc034c1e4895c90e5407fafdd61976cdb for pr-145457 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famanuel2%2Fgoc-rs" "/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/amanuel2/goc-rs [INFO] finished tweaking git repo https://github.com/amanuel2/goc-rs [INFO] tweaked toml for git repo https://github.com/amanuel2/goc-rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/amanuel2/goc-rs on toolchain 099af82bc034c1e4895c90e5407fafdd61976cdb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/amanuel2/goc-rs 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" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking amanuel2/goc-rs against try#099af82bc034c1e4895c90e5407fafdd61976cdb for pr-145457 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famanuel2%2Fgoc-rs" "/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/amanuel2/goc-rs [INFO] finished tweaking git repo https://github.com/amanuel2/goc-rs [INFO] tweaked toml for git repo https://github.com/amanuel2/goc-rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/amanuel2/goc-rs on toolchain 099af82bc034c1e4895c90e5407fafdd61976cdb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/amanuel2/goc-rs 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" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "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" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d5ee0c8566cef70d68ce4611c9a92b3c3b3a258901bdecd04f8e6bd02e3fe27 [INFO] running `Command { std: "docker" "start" "-a" "6d5ee0c8566cef70d68ce4611c9a92b3c3b3a258901bdecd04f8e6bd02e3fe27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d5ee0c8566cef70d68ce4611c9a92b3c3b3a258901bdecd04f8e6bd02e3fe27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d5ee0c8566cef70d68ce4611c9a92b3c3b3a258901bdecd04f8e6bd02e3fe27", kill_on_drop: false }` [INFO] [stdout] 6d5ee0c8566cef70d68ce4611c9a92b3c3b3a258901bdecd04f8e6bd02e3fe27 [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" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d6d61ba4cb2e3b846dac44d4f5c4cca93891a1c99bb8914545be5d52f14fc01 [INFO] running `Command { std: "docker" "start" "-a" "5d6d61ba4cb2e3b846dac44d4f5c4cca93891a1c99bb8914545be5d52f14fc01", kill_on_drop: false }` [INFO] [stderr] Checking frontend v0.1.0 (/opt/rustwide/workdir/frontend) [INFO] [stderr] Checking goc-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `backtrace::BacktraceStatus` and `mem::ManuallyDrop` [INFO] [stdout] --> frontend/src/lexer/token.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{backtrace::BacktraceStatus, char, mem::ManuallyDrop}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> frontend/src/lexer/scan.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `backtrace::BacktraceStatus` and `mem::ManuallyDrop` [INFO] [stdout] --> frontend/src/lexer/token.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{backtrace::BacktraceStatus, char, mem::ManuallyDrop}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> frontend/src/lexer/scan.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> frontend/src/lib.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add` in this scope [INFO] [stdout] --> frontend/src/lib.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | let result = add(2, 2); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: use the `.` operator to call the method `Add::add` on `{integer}` [INFO] [stdout] | [INFO] [stdout] 10 - let result = add(2, 2); [INFO] [stdout] 10 + let result = 2.add(2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Byte` [INFO] [stdout] --> frontend/src/lexer/token.rs:150:24 [INFO] [stdout] | [INFO] [stdout] 150 | Rune::Byte(Byte) => "\\b", [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Byte` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str` [INFO] [stdout] --> frontend/src/lexer/token.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | fn from(str: &'static str) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Byte` [INFO] [stdout] --> frontend/src/lexer/token.rs:150:24 [INFO] [stdout] | [INFO] [stdout] 150 | Rune::Byte(Byte) => "\\b", [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Byte` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str` [INFO] [stdout] --> frontend/src/lexer/token.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | fn from(str: &'static str) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> frontend/src/lexer/token.rs:572:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ------- matches any value [INFO] [stdout] 572 | Number => "Number", [INFO] [stdout] | ^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> frontend/src/lexer/token.rs:573:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ------- matches any value [INFO] [stdout] 572 | Number => "Number", [INFO] [stdout] 573 | Float => "Float", [INFO] [stdout] | ^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> frontend/src/lexer/token.rs:574:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ------- matches any value [INFO] [stdout] ... [INFO] [stdout] 574 | Rune => "Rune", [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> frontend/src/lexer/token.rs:575:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ------- matches any value [INFO] [stdout] ... [INFO] [stdout] 575 | String => "String", [INFO] [stdout] | ^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> frontend/src/lexer/token.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ------- matches any value [INFO] [stdout] ... [INFO] [stdout] 576 | Keyword => "Keyword", [INFO] [stdout] | ^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> frontend/src/lexer/token.rs:577:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ------- matches any value [INFO] [stdout] ... [INFO] [stdout] 577 | Punctuation => "Punctuation", [INFO] [stdout] | ^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> frontend/src/lexer/token.rs:578:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ------- matches any value [INFO] [stdout] ... [INFO] [stdout] 578 | Operator => "Operator", [INFO] [stdout] | ^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> frontend/src/lexer/token.rs:579:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ------- matches any value [INFO] [stdout] ... [INFO] [stdout] 579 | Hidden => "Hidden" [INFO] [stdout] | ^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Literal` [INFO] [stdout] --> frontend/src/lexer/token.rs:571:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Number` [INFO] [stdout] --> frontend/src/lexer/token.rs:572:13 [INFO] [stdout] | [INFO] [stdout] 572 | Number => "Number", [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_Number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Float` [INFO] [stdout] --> frontend/src/lexer/token.rs:573:13 [INFO] [stdout] | [INFO] [stdout] 573 | Float => "Float", [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_Float` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Rune` [INFO] [stdout] --> frontend/src/lexer/token.rs:574:13 [INFO] [stdout] | [INFO] [stdout] 574 | Rune => "Rune", [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Rune` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `String` [INFO] [stdout] --> frontend/src/lexer/token.rs:575:13 [INFO] [stdout] | [INFO] [stdout] 575 | String => "String", [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Keyword` [INFO] [stdout] --> frontend/src/lexer/token.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | Keyword => "Keyword", [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Keyword` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Punctuation` [INFO] [stdout] --> frontend/src/lexer/token.rs:577:13 [INFO] [stdout] | [INFO] [stdout] 577 | Punctuation => "Punctuation", [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Punctuation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Operator` [INFO] [stdout] --> frontend/src/lexer/token.rs:578:13 [INFO] [stdout] | [INFO] [stdout] 578 | Operator => "Operator", [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Hidden` [INFO] [stdout] --> frontend/src/lexer/token.rs:579:13 [INFO] [stdout] | [INFO] [stdout] 579 | Hidden => "Hidden" [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_Hidden` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> frontend/src/lexer/token.rs:583:13 [INFO] [stdout] | [INFO] [stdout] 583 | fn from(s: &'static str) -> Option { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> frontend/src/lexer/token.rs:572:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ------- matches any value [INFO] [stdout] 572 | Number => "Number", [INFO] [stdout] | ^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> frontend/src/lexer/token.rs:573:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ------- matches any value [INFO] [stdout] 572 | Number => "Number", [INFO] [stdout] 573 | Float => "Float", [INFO] [stdout] | ^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> frontend/src/lexer/token.rs:574:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ------- matches any value [INFO] [stdout] ... [INFO] [stdout] 574 | Rune => "Rune", [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> frontend/src/lexer/token.rs:575:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ------- matches any value [INFO] [stdout] ... [INFO] [stdout] 575 | String => "String", [INFO] [stdout] | ^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> frontend/src/lexer/token.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ------- matches any value [INFO] [stdout] ... [INFO] [stdout] 576 | Keyword => "Keyword", [INFO] [stdout] | ^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> frontend/src/lexer/token.rs:577:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ------- matches any value [INFO] [stdout] ... [INFO] [stdout] 577 | Punctuation => "Punctuation", [INFO] [stdout] | ^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> frontend/src/lexer/token.rs:578:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ------- matches any value [INFO] [stdout] ... [INFO] [stdout] 578 | Operator => "Operator", [INFO] [stdout] | ^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> frontend/src/lexer/token.rs:579:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ------- matches any value [INFO] [stdout] ... [INFO] [stdout] 579 | Hidden => "Hidden" [INFO] [stdout] | ^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Literal` [INFO] [stdout] --> frontend/src/lexer/token.rs:571:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Number` [INFO] [stdout] --> frontend/src/lexer/token.rs:572:13 [INFO] [stdout] | [INFO] [stdout] 572 | Number => "Number", [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_Number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Float` [INFO] [stdout] --> frontend/src/lexer/token.rs:573:13 [INFO] [stdout] | [INFO] [stdout] 573 | Float => "Float", [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_Float` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Rune` [INFO] [stdout] --> frontend/src/lexer/token.rs:574:13 [INFO] [stdout] | [INFO] [stdout] 574 | Rune => "Rune", [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Rune` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `String` [INFO] [stdout] --> frontend/src/lexer/token.rs:575:13 [INFO] [stdout] | [INFO] [stdout] 575 | String => "String", [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Keyword` [INFO] [stdout] --> frontend/src/lexer/token.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | Keyword => "Keyword", [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Keyword` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Punctuation` [INFO] [stdout] --> frontend/src/lexer/token.rs:577:13 [INFO] [stdout] | [INFO] [stdout] 577 | Punctuation => "Punctuation", [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Punctuation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Operator` [INFO] [stdout] --> frontend/src/lexer/token.rs:578:13 [INFO] [stdout] | [INFO] [stdout] 578 | Operator => "Operator", [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Hidden` [INFO] [stdout] --> frontend/src/lexer/token.rs:579:13 [INFO] [stdout] | [INFO] [stdout] 579 | Hidden => "Hidden" [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_Hidden` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> frontend/src/lexer/token.rs:583:13 [INFO] [stdout] | [INFO] [stdout] 583 | fn from(s: &'static str) -> Option { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Hidden` is never used [INFO] [stdout] --> frontend/src/lexer/token.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Hidden { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: union `Literal` is never used [INFO] [stdout] --> frontend/src/lexer/token.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub union Literal { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StringLiteral` is never used [INFO] [stdout] --> frontend/src/lexer/token.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum StringLiteral { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Float` is never used [INFO] [stdout] --> frontend/src/lexer/token.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum Float { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NumberLiteral` is never used [INFO] [stdout] --> frontend/src/lexer/token.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | pub enum NumberLiteral { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Byte` is never used [INFO] [stdout] --> frontend/src/lexer/token.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 128 | pub enum Byte { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Rune` is never used [INFO] [stdout] --> frontend/src/lexer/token.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 140 | pub enum Rune { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operator` is never used [INFO] [stdout] --> frontend/src/lexer/token.rs:177:10 [INFO] [stdout] | [INFO] [stdout] 177 | pub enum Operator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LogicalOp` is never used [INFO] [stdout] --> frontend/src/lexer/token.rs:189:10 [INFO] [stdout] | [INFO] [stdout] 189 | pub enum LogicalOp { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RelationOp` is never used [INFO] [stdout] --> frontend/src/lexer/token.rs:214:10 [INFO] [stdout] | [INFO] [stdout] 214 | pub enum RelationOp { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ArithmeticOp` is never used [INFO] [stdout] --> frontend/src/lexer/token.rs:257:10 [INFO] [stdout] | [INFO] [stdout] 257 | pub enum ArithmeticOp { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UnaryOp` is never used [INFO] [stdout] --> frontend/src/lexer/token.rs:296:10 [INFO] [stdout] | [INFO] [stdout] 296 | pub enum UnaryOp { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MixedOp` is never used [INFO] [stdout] --> frontend/src/lexer/token.rs:323:10 [INFO] [stdout] | [INFO] [stdout] 323 | pub enum MixedOp { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Punctuation` is never used [INFO] [stdout] --> frontend/src/lexer/token.rs:374:10 [INFO] [stdout] | [INFO] [stdout] 374 | pub enum Punctuation { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Keyword` is never used [INFO] [stdout] --> frontend/src/lexer/token.rs:440:10 [INFO] [stdout] | [INFO] [stdout] 440 | pub enum Keyword { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TokenType` is never used [INFO] [stdout] --> frontend/src/lexer/token.rs:538:10 [INFO] [stdout] | [INFO] [stdout] 538 | pub enum TokenType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TokenRepr` is never used [INFO] [stdout] --> frontend/src/lexer/token.rs:550:7 [INFO] [stdout] | [INFO] [stdout] 550 | trait TokenRepr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Token` is never constructed [INFO] [stdout] --> frontend/src/lexer/token.rs:562:8 [INFO] [stdout] | [INFO] [stdout] 562 | struct Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_str` and `from` are never used [INFO] [stdout] --> frontend/src/lexer/token.rs:569:8 [INFO] [stdout] | [INFO] [stdout] 568 | impl TokenType { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 569 | fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 583 | fn from(s: &'static str) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lexer` is never constructed [INFO] [stdout] --> frontend/src/lexer/scan.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Lexer<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> frontend/src/lexer/scan.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'a> Lexer<'a> { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 16 | fn new(_path: &'static str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Byte` should have a snake case name [INFO] [stdout] --> frontend/src/lexer/token.rs:150:24 [INFO] [stdout] | [INFO] [stdout] 150 | Rune::Byte(Byte) => "\\b", [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `byte` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Literal` should have a snake case name [INFO] [stdout] --> frontend/src/lexer/token.rs:571:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Number` should have a snake case name [INFO] [stdout] --> frontend/src/lexer/token.rs:572:13 [INFO] [stdout] | [INFO] [stdout] 572 | Number => "Number", [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Float` should have a snake case name [INFO] [stdout] --> frontend/src/lexer/token.rs:573:13 [INFO] [stdout] | [INFO] [stdout] 573 | Float => "Float", [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `float` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Rune` should have a snake case name [INFO] [stdout] --> frontend/src/lexer/token.rs:574:13 [INFO] [stdout] | [INFO] [stdout] 574 | Rune => "Rune", [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `rune` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `String` should have a snake case name [INFO] [stdout] --> frontend/src/lexer/token.rs:575:13 [INFO] [stdout] | [INFO] [stdout] 575 | String => "String", [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Keyword` should have a snake case name [INFO] [stdout] --> frontend/src/lexer/token.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | Keyword => "Keyword", [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `keyword` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Punctuation` should have a snake case name [INFO] [stdout] --> frontend/src/lexer/token.rs:577:13 [INFO] [stdout] | [INFO] [stdout] 577 | Punctuation => "Punctuation", [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `punctuation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Operator` should have a snake case name [INFO] [stdout] --> frontend/src/lexer/token.rs:578:13 [INFO] [stdout] | [INFO] [stdout] 578 | Operator => "Operator", [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Hidden` should have a snake case name [INFO] [stdout] --> frontend/src/lexer/token.rs:579:13 [INFO] [stdout] | [INFO] [stdout] 579 | Hidden => "Hidden" [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `hidden` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> frontend/src/lexer/scan.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | fn new(_path: &'static str) -> Option { [INFO] [stdout] | ^^^^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'static` [INFO] [stdout] | [INFO] [stdout] 16 | fn new(_path: &'static str) -> Option> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `frontend` (lib test) due to 1 previous error; 23 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "5d6d61ba4cb2e3b846dac44d4f5c4cca93891a1c99bb8914545be5d52f14fc01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d6d61ba4cb2e3b846dac44d4f5c4cca93891a1c99bb8914545be5d52f14fc01", kill_on_drop: false }` [INFO] [stdout] 5d6d61ba4cb2e3b846dac44d4f5c4cca93891a1c99bb8914545be5d52f14fc01