[INFO] cloning repository https://github.com/elder-george/pas-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/elder-george/pas-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felder-george%2Fpas-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felder-george%2Fpas-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 518381880a821bd72687f4ae0df5a1fd5d1247b7 [INFO] checking elder-george/pas-rs against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felder-george%2Fpas-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/elder-george/pas-rs on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/elder-george/pas-rs [INFO] finished tweaking git repo https://github.com/elder-george/pas-rs [INFO] tweaked toml for git repo https://github.com/elder-george/pas-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/elder-george/pas-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded logos v0.11.4 [INFO] [stderr] Downloaded logos-derive v0.11.5 [INFO] [stderr] Downloaded syn v1.0.45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b267d54822e79f14c4bf799d3317215d7ace17492f15e545f1f3eac313c802b [INFO] running `Command { std: "docker" "start" "-a" "7b267d54822e79f14c4bf799d3317215d7ace17492f15e545f1f3eac313c802b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b267d54822e79f14c4bf799d3317215d7ace17492f15e545f1f3eac313c802b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b267d54822e79f14c4bf799d3317215d7ace17492f15e545f1f3eac313c802b", kill_on_drop: false }` [INFO] [stdout] 7b267d54822e79f14c4bf799d3317215d7ace17492f15e545f1f3eac313c802b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7de2f05827561a43a4e43ea806231074f90a39eba76a53e0a4718abe0c9b29c8 [INFO] running `Command { std: "docker" "start" "-a" "7de2f05827561a43a4e43ea806231074f90a39eba76a53e0a4718abe0c9b29c8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.45 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling beef v0.4.4 [INFO] [stderr] Compiling regex-syntax v0.6.20 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling logos-derive v0.11.5 [INFO] [stderr] Checking logos v0.11.4 [INFO] [stderr] Checking pas-lexer-parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `BinaryOp` is never used [INFO] [stdout] --> src/expr.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) enum BinaryOp { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `parse` and `from_token` are never used [INFO] [stdout] --> src/expr.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 20 | impl BinaryOp { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 21 | pub(crate) fn parse(ts: &[Token]) -> Result<(&[Token], Self), String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub(crate) fn from_token(tk: &Token) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UnaryOp` is never used [INFO] [stdout] --> src/expr.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) enum UnaryOp { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/expr.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 51 | impl UnaryOp { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 52 | pub(crate) fn parse(ts: &[Token]) -> Result<(&[Token], Self), String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LValue` is never constructed [INFO] [stdout] --> src/expr.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | pub(crate) struct LValue { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `parse` and `parse_indices` are never used [INFO] [stdout] --> src/expr.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 84 | impl LValue { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 85 | pub(crate) fn parse(ts: &[Token]) -> Result<(&[Token], Self), String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub(crate) fn parse_indices(ts: &[Token]) -> Result<(&[Token], Option>), String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expr` is never used [INFO] [stdout] --> src/expr.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | pub(crate) enum Expr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `parse`, `sum`, `term`, `factor`, and `parse_args` are never used [INFO] [stdout] --> src/expr.rs:163:19 [INFO] [stdout] | [INFO] [stdout] 155 | impl Expr { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 163 | pub(crate) fn parse(ts: &[Token]) -> Result<(&[Token], Self), String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | fn sum(ts: &[Token]) -> Result<(&[Token], Self), String> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | fn term(ts: &[Token]) -> Result<(&[Token], Self), String> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | fn factor(ts: &[Token]) -> Result<(&[Token], Self), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | fn parse_args(ts: &[Token]) -> Result<(&[Token], Vec), String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expect` is never used [INFO] [stdout] --> src/parse.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) fn expect<'a>(tk: &Token, tokens: &'a[Token]) -> Result<&'a[Token], String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sequence_with_sep` is never used [INFO] [stdout] --> src/parse.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) fn sequence_with_sep<'a, 'b, T>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ident` is never used [INFO] [stdout] --> src/parse.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) fn ident(ts: &[Token]) -> Result<(&[Token], String), String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `number` is never used [INFO] [stdout] --> src/parse.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) fn number(ts: &[Token]) -> Result<(&[Token], i64), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Type` is never used [INFO] [stdout] --> src/types.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) enum Type { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/types.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 19 | impl Type { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 20 | pub(crate) fn parse(ts: &[Token]) -> Result<(&[Token], Self), String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Stmt` is never used [INFO] [stdout] --> src/stmt.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) enum Stmt { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/stmt.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 29 | impl Stmt { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 30 | pub(crate) fn parse(ts: &[Token]) -> Result<(&[Token], Self), String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Eod` is never constructed [INFO] [stdout] --> src/token.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) enum Token { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 77 | Eod, // fake node to terminate token stream [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: function `tokenize_to_vec` is never used [INFO] [stdout] --> src/token.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | pub(crate) fn tokenize_to_vec(s: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Var` is never constructed [INFO] [stdout] --> src/subroutine.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct Var(pub(crate) String, pub(crate) Type); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/subroutine.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 9 | impl Var { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 10 | pub(crate) fn parse(ts: &[Token]) -> Result<(&[Token], Self), String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Subroutine` is never used [INFO] [stdout] --> src/subroutine.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | enum Subroutine { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `parse`, `parse_param_list`, `parse_vars`, and `parse_body` are never used [INFO] [stdout] --> src/subroutine.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 35 | impl Subroutine { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 36 | pub(crate) fn parse(ts: &[Token]) -> Result<(&[Token], Self), String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn parse_param_list(ts: &[Token]) -> Result<(&[Token], Vec), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | fn parse_vars(ts: &[Token]) -> Result<(&[Token], Vec), String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn parse_body(ts: &[Token]) -> Result<(&[Token], Stmt), String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.73s [INFO] running `Command { std: "docker" "inspect" "7de2f05827561a43a4e43ea806231074f90a39eba76a53e0a4718abe0c9b29c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7de2f05827561a43a4e43ea806231074f90a39eba76a53e0a4718abe0c9b29c8", kill_on_drop: false }` [INFO] [stdout] 7de2f05827561a43a4e43ea806231074f90a39eba76a53e0a4718abe0c9b29c8