[INFO] cloning repository https://github.com/jonay2000/valley [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jonay2000/valley" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonay2000%2Fvalley", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonay2000%2Fvalley'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5f3779f240f8dc61db0130f20b9ca7e682026610 [INFO] checking jonay2000/valley against try#9d63f825c0d409b0e1743a2c84b33f86965e5929 for pr-136968 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonay2000%2Fvalley" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jonay2000/valley on toolchain 9d63f825c0d409b0e1743a2c84b33f86965e5929 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jonay2000/valley [INFO] finished tweaking git repo https://github.com/jonay2000/valley [INFO] tweaked toml for git repo https://github.com/jonay2000/valley written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jonay2000/valley 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" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking jonay2000/valley against try#9d63f825c0d409b0e1743a2c84b33f86965e5929 for pr-136968 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonay2000%2Fvalley" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jonay2000/valley on toolchain 9d63f825c0d409b0e1743a2c84b33f86965e5929 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jonay2000/valley [INFO] finished tweaking git repo https://github.com/jonay2000/valley [INFO] tweaked toml for git repo https://github.com/jonay2000/valley written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jonay2000/valley 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" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mashup v0.1.13+deprecated [INFO] [stderr] Downloaded proc-macro-hack v0.4.3 [INFO] [stderr] Downloaded flurry v0.3.1 [INFO] [stderr] Downloaded mashup-impl v0.1.13+deprecated [INFO] [stderr] Downloaded proc-macro-hack-impl v0.4.3 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 372107ee89c362db45705c65a62bb5dede359c5b2176da34982d03065ec879b4 [INFO] running `Command { std: "docker" "start" "-a" "372107ee89c362db45705c65a62bb5dede359c5b2176da34982d03065ec879b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "372107ee89c362db45705c65a62bb5dede359c5b2176da34982d03065ec879b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "372107ee89c362db45705c65a62bb5dede359c5b2176da34982d03065ec879b4", kill_on_drop: false }` [INFO] [stdout] 372107ee89c362db45705c65a62bb5dede359c5b2176da34982d03065ec879b4 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e5e3ab39cbadb16d593ab0c2c52c28b5a2a2721654d303df6f9d9fb53ca73fd [INFO] running `Command { std: "docker" "start" "-a" "6e5e3ab39cbadb16d593ab0c2c52c28b5a2a2721654d303df6f9d9fb53ca73fd", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling proc-macro-hack-impl v0.4.3 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro-hack v0.4.3 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling mashup-impl v0.1.13+deprecated [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking flurry v0.3.1 [INFO] [stderr] Checking mashup v0.1.13+deprecated [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking thiserror v1.0.25 [INFO] [stderr] Checking valley v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:41:51 [INFO] [stdout] | [INFO] [stdout] 40 | impl<'s> Block<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] 41 | pub fn parse(block: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:99:59 [INFO] [stdout] | [INFO] [stdout] 98 | impl<'s> FuncDef<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] 99 | fn parse_param(params: Pair<'s>) -> Result, ParseProgramError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:112:53 [INFO] [stdout] | [INFO] [stdout] 98 | impl<'s> FuncDef<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn parse(funcdef: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:140:51 [INFO] [stdout] | [INFO] [stdout] 139 | impl<'s> BlockExpr<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] 140 | pub fn parse(block: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:162:50 [INFO] [stdout] | [INFO] [stdout] 161 | impl<'s> Atom<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] 162 | pub fn parse(expr: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:198:50 [INFO] [stdout] | [INFO] [stdout] 197 | impl<'s> Primary<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] 198 | pub fn parse(expr: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:226:50 [INFO] [stdout] | [INFO] [stdout] 225 | impl<'s> FuncCall<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] 226 | pub fn parse(expr: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:256:43 [INFO] [stdout] | [INFO] [stdout] 255 | impl<'s> Expression<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] 256 | fn parse_sum(sum: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:256:55 [INFO] [stdout] | [INFO] [stdout] 255 | impl<'s> Expression<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] 256 | fn parse_sum(sum: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:279:45 [INFO] [stdout] | [INFO] [stdout] 255 | impl<'s> Expression<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] ... [INFO] [stdout] 279 | fn parse_term(term: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:279:57 [INFO] [stdout] | [INFO] [stdout] 255 | impl<'s> Expression<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] ... [INFO] [stdout] 279 | fn parse_term(term: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:306:49 [INFO] [stdout] | [INFO] [stdout] 255 | impl<'s> Expression<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] ... [INFO] [stdout] 306 | fn parse_factor(factor: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:306:61 [INFO] [stdout] | [INFO] [stdout] 255 | impl<'s> Expression<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] ... [INFO] [stdout] 306 | fn parse_factor(factor: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:327:48 [INFO] [stdout] | [INFO] [stdout] 255 | impl<'s> Expression<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] ... [INFO] [stdout] 327 | fn parse_power(factor: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:327:60 [INFO] [stdout] | [INFO] [stdout] 255 | impl<'s> Expression<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] ... [INFO] [stdout] 327 | fn parse_power(factor: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:347:51 [INFO] [stdout] | [INFO] [stdout] 255 | impl<'s> Expression<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] ... [INFO] [stdout] 347 | fn parse_expr(expr: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:359:50 [INFO] [stdout] | [INFO] [stdout] 358 | impl<'s> Assignment<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] 359 | pub fn parse(line: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:382:50 [INFO] [stdout] | [INFO] [stdout] 381 | impl<'s> LetAssignment<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] 382 | pub fn parse(line: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:408:50 [INFO] [stdout] | [INFO] [stdout] 407 | impl<'s> Line<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] 408 | pub fn parse(line: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:443:56 [INFO] [stdout] | [INFO] [stdout] 442 | impl<'s> Program<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] 443 | pub fn from_string(input: &'s str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BlockExpr` [INFO] [stdout] --> src/gencode.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | Assignment, Atom, Block, BlockExpr, Expression, FuncCall, FuncDef, LetAssignment, Line, Name, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/gencode.rs:79:64 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn instructions<'a>(&'a self) -> impl Iterator + 'a { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/gencode.rs:79:67 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn instructions<'a>(&'a self) -> impl Iterator + 'a { [INFO] [stdout] | -- lifetime `'a` declared here ^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:41:51 [INFO] [stdout] | [INFO] [stdout] 40 | impl<'s> Block<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] 41 | pub fn parse(block: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:99:59 [INFO] [stdout] | [INFO] [stdout] 98 | impl<'s> FuncDef<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] 99 | fn parse_param(params: Pair<'s>) -> Result, ParseProgramError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:112:53 [INFO] [stdout] | [INFO] [stdout] 98 | impl<'s> FuncDef<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn parse(funcdef: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:140:51 [INFO] [stdout] | [INFO] [stdout] 139 | impl<'s> BlockExpr<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] 140 | pub fn parse(block: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:162:50 [INFO] [stdout] | [INFO] [stdout] 161 | impl<'s> Atom<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] 162 | pub fn parse(expr: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:198:50 [INFO] [stdout] | [INFO] [stdout] 197 | impl<'s> Primary<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] 198 | pub fn parse(expr: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:226:50 [INFO] [stdout] | [INFO] [stdout] 225 | impl<'s> FuncCall<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] 226 | pub fn parse(expr: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:256:43 [INFO] [stdout] | [INFO] [stdout] 255 | impl<'s> Expression<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] 256 | fn parse_sum(sum: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:256:55 [INFO] [stdout] | [INFO] [stdout] 255 | impl<'s> Expression<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] 256 | fn parse_sum(sum: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:279:45 [INFO] [stdout] | [INFO] [stdout] 255 | impl<'s> Expression<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] ... [INFO] [stdout] 279 | fn parse_term(term: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:279:57 [INFO] [stdout] | [INFO] [stdout] 255 | impl<'s> Expression<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] ... [INFO] [stdout] 279 | fn parse_term(term: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:306:49 [INFO] [stdout] | [INFO] [stdout] 255 | impl<'s> Expression<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] ... [INFO] [stdout] 306 | fn parse_factor(factor: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:306:61 [INFO] [stdout] | [INFO] [stdout] 255 | impl<'s> Expression<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] ... [INFO] [stdout] 306 | fn parse_factor(factor: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:327:48 [INFO] [stdout] | [INFO] [stdout] 255 | impl<'s> Expression<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] ... [INFO] [stdout] 327 | fn parse_power(factor: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:327:60 [INFO] [stdout] | [INFO] [stdout] 255 | impl<'s> Expression<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] ... [INFO] [stdout] 327 | fn parse_power(factor: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:347:51 [INFO] [stdout] | [INFO] [stdout] 255 | impl<'s> Expression<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] ... [INFO] [stdout] 347 | fn parse_expr(expr: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:359:50 [INFO] [stdout] | [INFO] [stdout] 358 | impl<'s> Assignment<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] 359 | pub fn parse(line: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:382:50 [INFO] [stdout] | [INFO] [stdout] 381 | impl<'s> LetAssignment<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] 382 | pub fn parse(line: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:408:50 [INFO] [stdout] | [INFO] [stdout] 407 | impl<'s> Line<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] 408 | pub fn parse(line: Pair<'s>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast.rs:443:56 [INFO] [stdout] | [INFO] [stdout] 442 | impl<'s> Program<'s> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] 443 | pub fn from_string(input: &'s str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BlockExpr` [INFO] [stdout] --> src/gencode.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | Assignment, Atom, Block, BlockExpr, Expression, FuncCall, FuncDef, LetAssignment, Line, Name, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/gencode.rs:79:64 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn instructions<'a>(&'a self) -> impl Iterator + 'a { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/gencode.rs:79:67 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn instructions<'a>(&'a self) -> impl Iterator + 'a { [INFO] [stdout] | -- lifetime `'a` declared here ^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Assignment`, `Atom`, `Block`, `Expression`, `FuncCall`, `FuncDef`, `Line`, `Name`, and `Primary` [INFO] [stdout] --> src/gencode.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | Assignment, Atom, Block, Expression, FuncCall, FuncDef, Line, Name, Primary, Program, [INFO] [stdout] | ^^^^^^^^^^ ^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^ ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::gencode::Instruction::*` [INFO] [stdout] --> src/gencode.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | use crate::gencode::Instruction::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FunctionBlock` [INFO] [stdout] --> src/gencode.rs:276:43 [INFO] [stdout] | [INFO] [stdout] 276 | use crate::gencode::{gencode_program, FunctionBlock, GeneratedProgram}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `parse_test` [INFO] [stdout] --> src/gencode.rs:278:18 [INFO] [stdout] | [INFO] [stdout] 278 | macro_rules! parse_test { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/gencode.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 35 | match self { [INFO] [stdout] | ---------- `match` arms have incompatible types [INFO] [stdout] 36 | Self::Label(x) => format!("{}:", x.value), [INFO] [stdout] | ----------------------- this is found to be of type `String` [INFO] [stdout] 37 | Self::StackPointerToX => "STX", [INFO] [stdout] | ^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | [INFO] [stdout] | expected `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gencode_blockexpr` in this scope [INFO] [stdout] --> src/gencode.rs:258:27 [INFO] [stdout] | [INFO] [stdout] 258 | Atom::Block(b) => gencode_blockexpr(b, g), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `gencode_block` [INFO] [stdout] ... [INFO] [stdout] 262 | pub fn gencode_block<'s>(p: Block<'s>, g: &'_ mut FunctionBlock<'s>) -> Result<(), GenCodeError> { [INFO] [stdout] | ------------------------------------------------------------------------------------------------ similarly named function `gencode_block` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/gencode.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 35 | match self { [INFO] [stdout] | ---------- `match` arms have incompatible types [INFO] [stdout] 36 | Self::Label(x) => format!("{}:", x.value), [INFO] [stdout] | ----------------------- this is found to be of type `String` [INFO] [stdout] 37 | Self::StackPointerToX => "STX", [INFO] [stdout] | ^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | [INFO] [stdout] | expected `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gencode_blockexpr` in this scope [INFO] [stdout] --> src/gencode.rs:258:27 [INFO] [stdout] | [INFO] [stdout] 258 | Atom::Block(b) => gencode_blockexpr(b, g), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `gencode_block` [INFO] [stdout] ... [INFO] [stdout] 262 | pub fn gencode_block<'s>(p: Block<'s>, g: &'_ mut FunctionBlock<'s>) -> Result<(), GenCodeError> { [INFO] [stdout] | ------------------------------------------------------------------------------------------------ similarly named function `gencode_block` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ast.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut inner = block.into_inner(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ast.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut inner = block.into_inner(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gencode.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut stack_layout = StackLayout::new(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/gencode.rs:177:22 [INFO] [stdout] | [INFO] [stdout] 177 | let Assignment { to, expr } = p; [INFO] [stdout] | ^^ help: try ignoring the field: `to: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gencode.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut stack_layout = StackLayout::new(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/gencode.rs:177:22 [INFO] [stdout] | [INFO] [stdout] 177 | let Assignment { to, expr } = p; [INFO] [stdout] | ^^ help: try ignoring the field: `to: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `valley` (bin "valley") due to 2 previous errors; 26 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `valley` (bin "valley" test) due to 2 previous errors; 30 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6e5e3ab39cbadb16d593ab0c2c52c28b5a2a2721654d303df6f9d9fb53ca73fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e5e3ab39cbadb16d593ab0c2c52c28b5a2a2721654d303df6f9d9fb53ca73fd", kill_on_drop: false }` [INFO] [stdout] 6e5e3ab39cbadb16d593ab0c2c52c28b5a2a2721654d303df6f9d9fb53ca73fd