[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#19dd9535408db0f1ff3d16613619076aef524d19 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felder-george%2Fpas-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/elder-george/pas-rs on toolchain 19dd9535408db0f1ff3d16613619076aef524d19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19dd9535408db0f1ff3d16613619076aef524d19" "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-0-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" "+19dd9535408db0f1ff3d16613619076aef524d19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+19dd9535408db0f1ff3d16613619076aef524d19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f49288a18acc597c43824e558d71800502a1d153dd754d07b0d90d96337247e5 [INFO] running `Command { std: "docker" "start" "-a" "f49288a18acc597c43824e558d71800502a1d153dd754d07b0d90d96337247e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f49288a18acc597c43824e558d71800502a1d153dd754d07b0d90d96337247e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f49288a18acc597c43824e558d71800502a1d153dd754d07b0d90d96337247e5", kill_on_drop: false }` [INFO] [stdout] f49288a18acc597c43824e558d71800502a1d153dd754d07b0d90d96337247e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+19dd9535408db0f1ff3d16613619076aef524d19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f25c841610ac28d425d80107266b0097323c72c873e2d9bafa73f77fdb9f5be [INFO] running `Command { std: "docker" "start" "-a" "3f25c841610ac28d425d80107266b0097323c72c873e2d9bafa73f77fdb9f5be", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.45 [INFO] [stderr] Compiling beef v0.4.4 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.6.20 [INFO] [stderr] Compiling fnv v1.0.7 [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: multiple variants are never constructed [INFO] [stdout] --> src/expr.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) enum BinaryOp { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 6 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | Sub, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | Mul, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | Div, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | Equal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | NotEqual, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | GreaterEqual, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | Greater, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | LessEqual, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | Less, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] 17 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOp` 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: 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: variants `Neg` and `Not` are never constructed [INFO] [stdout] --> src/expr.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) enum UnaryOp { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 47 | Neg, [INFO] [stdout] | ^^^ [INFO] [stdout] 48 | Not, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnaryOp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: 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: variants `Number`, `LValue`, `Call`, `Unary`, and `Binary` are never constructed [INFO] [stdout] --> src/expr.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 137 | pub(crate) enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 138 | Number(i64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 139 | LValue(LValue), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 140 | Call { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | Unary { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | Binary { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: variants `Simple`, `Array`, and `Range` are never constructed [INFO] [stdout] --> src/types.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 6 | Simple { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | Array { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | Range { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: variants `Assign`, `If`, `While`, `Block`, and `Call` are never constructed [INFO] [stdout] --> src/stmt.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) enum Stmt { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 7 | Assign { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | If { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 16 | While { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | Block { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | Call { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: 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: variants `Proc` and `Func` are never constructed [INFO] [stdout] --> src/subroutine.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum Subroutine { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 20 | Proc { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | Func { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Subroutine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.50s [INFO] running `Command { std: "docker" "inspect" "3f25c841610ac28d425d80107266b0097323c72c873e2d9bafa73f77fdb9f5be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f25c841610ac28d425d80107266b0097323c72c873e2d9bafa73f77fdb9f5be", kill_on_drop: false }` [INFO] [stdout] 3f25c841610ac28d425d80107266b0097323c72c873e2d9bafa73f77fdb9f5be