[INFO] cloning repository https://github.com/takeshiD/purelisp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/takeshiD/purelisp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtakeshiD%2Fpurelisp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtakeshiD%2Fpurelisp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 934e0e4cbae3650734b09cd400e12ea2fcf2069d [INFO] checking takeshiD/purelisp against try#099af82bc034c1e4895c90e5407fafdd61976cdb for pr-145457 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtakeshiD%2Fpurelisp" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/takeshiD/purelisp [INFO] finished tweaking git repo https://github.com/takeshiD/purelisp [INFO] tweaked toml for git repo https://github.com/takeshiD/purelisp written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/takeshiD/purelisp 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/takeshiD/purelisp 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-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9fdfd9a99814c7a44c26c6674065111955650dce384b0aab9f0436189333359 [INFO] running `Command { std: "docker" "start" "-a" "d9fdfd9a99814c7a44c26c6674065111955650dce384b0aab9f0436189333359", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9fdfd9a99814c7a44c26c6674065111955650dce384b0aab9f0436189333359", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9fdfd9a99814c7a44c26c6674065111955650dce384b0aab9f0436189333359", kill_on_drop: false }` [INFO] [stdout] d9fdfd9a99814c7a44c26c6674065111955650dce384b0aab9f0436189333359 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 917fd1cd9804b815f4cc8cef76dc8c2b708794b0e123b604d5648a4b1f4e87b6 [INFO] running `Command { std: "docker" "start" "-a" "917fd1cd9804b815f4cc8cef76dc8c2b708794b0e123b604d5648a4b1f4e87b6", kill_on_drop: false }` [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anyhow v1.0.91 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstyle v1.0.9 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking anstream v0.6.17 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking purelisp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,` [INFO] [stdout] --> src/main.rs:175:30 [INFO] [stdout] | [INFO] [stdout] 175 | Ok(Expr::Nil), [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/main.rs:182:10 [INFO] [stdout] | [INFO] [stdout] 182 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 183 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,` [INFO] [stdout] --> src/main.rs:175:30 [INFO] [stdout] | [INFO] [stdout] 175 | Ok(Expr::Nil), [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/main.rs:182:10 [INFO] [stdout] | [INFO] [stdout] 182 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 183 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rest` in this scope [INFO] [stdout] --> src/main.rs:170:37 [INFO] [stdout] | [INFO] [stdout] 170 | parse_procedure(rest)?, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rest` in this scope [INFO] [stdout] --> src/main.rs:171:32 [INFO] [stdout] | [INFO] [stdout] 171 | parse_list(rest)? [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rest` in this scope [INFO] [stdout] --> src/main.rs:179:37 [INFO] [stdout] | [INFO] [stdout] 179 | Box::new(parse_list(rest)?), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `anyhow` [INFO] [stdout] --> src/main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, Context, Result}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rest` in this scope [INFO] [stdout] --> src/main.rs:170:37 [INFO] [stdout] | [INFO] [stdout] 170 | parse_procedure(rest)?, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rest` in this scope [INFO] [stdout] --> src/main.rs:171:32 [INFO] [stdout] | [INFO] [stdout] 171 | parse_list(rest)? [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rest` in this scope [INFO] [stdout] --> src/main.rs:179:37 [INFO] [stdout] | [INFO] [stdout] 179 | Box::new(parse_list(rest)?), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `anyhow` [INFO] [stdout] --> src/main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, Context, Result}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0533]: expected value, found struct variant `Expr::Pair` [INFO] [stdout] --> src/main.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | Expr::Pair( [INFO] [stdout] | ^^^^^^^^^^ not a value [INFO] [stdout] | [INFO] [stdout] help: you might have meant to create a new value of the struct [INFO] [stdout] | [INFO] [stdout] 169 - Expr::Pair( [INFO] [stdout] 170 - parse_procedure(rest)?, [INFO] [stdout] 171 - parse_list(rest)? [INFO] [stdout] 172 - ); [INFO] [stdout] 169 + Expr::Pair { car: /* value */, cdr: /* value */ }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0533]: expected value, found struct variant `Expr::Pair` [INFO] [stdout] --> src/main.rs:177:33 [INFO] [stdout] | [INFO] [stdout] 177 | Token::Num(n) => Ok(Expr::Pair( [INFO] [stdout] | ^^^^^^^^^^ not a value [INFO] [stdout] | [INFO] [stdout] help: you might have meant to create a new value of the struct [INFO] [stdout] | [INFO] [stdout] 177 - Token::Num(n) => Ok(Expr::Pair( [INFO] [stdout] 178 - Box::new(Expr::Number(n)), [INFO] [stdout] 179 - Box::new(parse_list(rest)?), [INFO] [stdout] 180 - )), [INFO] [stdout] 177 + Token::Num(n) => Ok(Expr::Pair { car: /* value */, cdr: /* value */ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0533]: expected value, found struct variant `Expr::Pair` [INFO] [stdout] --> src/main.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | Expr::Pair( [INFO] [stdout] | ^^^^^^^^^^ not a value [INFO] [stdout] | [INFO] [stdout] help: you might have meant to create a new value of the struct [INFO] [stdout] | [INFO] [stdout] 169 - Expr::Pair( [INFO] [stdout] 170 - parse_procedure(rest)?, [INFO] [stdout] 171 - parse_list(rest)? [INFO] [stdout] 172 - ); [INFO] [stdout] 169 + Expr::Pair { car: /* value */, cdr: /* value */ }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/main.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | fn eval(expr: &Expr) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0533]: expected value, found struct variant `Expr::Pair` [INFO] [stdout] --> src/main.rs:177:33 [INFO] [stdout] | [INFO] [stdout] 177 | Token::Num(n) => Ok(Expr::Pair( [INFO] [stdout] | ^^^^^^^^^^ not a value [INFO] [stdout] | [INFO] [stdout] help: you might have meant to create a new value of the struct [INFO] [stdout] | [INFO] [stdout] 177 - Token::Num(n) => Ok(Expr::Pair( [INFO] [stdout] 178 - Box::new(Expr::Number(n)), [INFO] [stdout] 179 - Box::new(parse_list(rest)?), [INFO] [stdout] 180 - )), [INFO] [stdout] 177 + Token::Num(n) => Ok(Expr::Pair { car: /* value */, cdr: /* value */ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/main.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | let expr = parse_expr(&tokens); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | let mut tokens = tokenize(code); [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] Some errors have detailed explanations: E0425, E0533. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/main.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | fn eval(expr: &Expr) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `purelisp` (bin "purelisp" test) due to 7 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0425, E0533. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `purelisp` (bin "purelisp") due to 7 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "917fd1cd9804b815f4cc8cef76dc8c2b708794b0e123b604d5648a4b1f4e87b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "917fd1cd9804b815f4cc8cef76dc8c2b708794b0e123b604d5648a4b1f4e87b6", kill_on_drop: false }` [INFO] [stdout] 917fd1cd9804b815f4cc8cef76dc8c2b708794b0e123b604d5648a4b1f4e87b6