[INFO] cloning repository https://github.com/pjsph/ceya [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pjsph/ceya" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpjsph%2Fceya", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpjsph%2Fceya'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 743cde382fcbf6d1ff46d87c3ff888a8f86f851d [INFO] checking pjsph/ceya against try#5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpjsph%2Fceya" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pjsph/ceya [INFO] finished tweaking git repo https://github.com/pjsph/ceya [INFO] tweaked toml for git repo https://github.com/pjsph/ceya written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pjsph/ceya on toolchain 5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pjsph/ceya 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" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7a32c67d8572580aa45181a2d3e2b5f779c10b8085e94b7c797ebfa76367831 [INFO] running `Command { std: "docker" "start" "-a" "e7a32c67d8572580aa45181a2d3e2b5f779c10b8085e94b7c797ebfa76367831", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7a32c67d8572580aa45181a2d3e2b5f779c10b8085e94b7c797ebfa76367831", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7a32c67d8572580aa45181a2d3e2b5f779c10b8085e94b7c797ebfa76367831", kill_on_drop: false }` [INFO] [stdout] e7a32c67d8572580aa45181a2d3e2b5f779c10b8085e94b7c797ebfa76367831 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa19beff8e2ac9a8315d55d915e9bc8028ed19046fd53f9c261918adaa49cabb [INFO] running `Command { std: "docker" "start" "-a" "fa19beff8e2ac9a8315d55d915e9bc8028ed19046fd53f9c261918adaa49cabb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking clap_builder v4.4.9 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking clap v4.4.10 [INFO] [stderr] Checking ceya v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, and `self` [INFO] [stdout] --> src/main.rs:2:46 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Read, Error, ErrorKind, Write, self, BufReader, BufRead}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Fun` and `Value` [INFO] [stdout] --> src/main.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use ast::{Value, Fun}; [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, and `self` [INFO] [stdout] --> src/main.rs:2:46 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Read, Error, ErrorKind, Write, self, BufReader, BufRead}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Fun` and `Value` [INFO] [stdout] --> src/main.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use ast::{Value, Fun}; [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | Commands::Sim(args) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_env` [INFO] [stdout] --> src/main.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | let global_env = env_arena.add(None); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parser` [INFO] [stdout] --> src/main.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | let mut parser = parser::Parser { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | let mut parser = parser::Parser { [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: enum `Fun` is never used [INFO] [stdout] --> src/ast.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Fun { // TODO: make this an enum with 1 variant with a callee, so we can execute native functions [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `call` is never used [INFO] [stdout] --> src/ast.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Fun { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 12 | fn call(&self, arguments: Vec, env_arena: &mut EnvironmentArena) -> Value { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `evaluate` and `is_true` are never used [INFO] [stdout] --> src/ast.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl Expr { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 74 | //TODO: compiling errors instead of just returning null [INFO] [stdout] 75 | pub fn evaluate(&self, env_arena: &mut EnvironmentArena, environment: usize) -> Value { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 416 | fn is_true(&self, env_arena: &mut EnvironmentArena, environment: usize) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `execute` is never used [INFO] [stdout] --> src/ast.rs:441:12 [INFO] [stdout] | [INFO] [stdout] 440 | impl Stmt { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 441 | pub fn execute(&self, env_arena: &mut EnvironmentArena, environment: usize) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `default_env`, `define`, `get`, and `assign` are never used [INFO] [stdout] --> src/environment.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl EnvironmentArena { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn default_env(&mut self) -> &mut Environment { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn define(&mut self, env: usize, name: &str, value: Value) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn get(&self, env: usize, name: &Token) -> Result<&Value, Error> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn assign(&mut self, env: usize, name: &Token, value: Value) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index`, `parent`, and `values` are never read [INFO] [stdout] --> src/environment.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Environment { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 60 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 61 | parent: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 62 | values: HashMap [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | Commands::Sim(args) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_env` [INFO] [stdout] --> src/main.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | let global_env = env_arena.add(None); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parser` [INFO] [stdout] --> src/main.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | let mut parser = parser::Parser { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | let mut parser = parser::Parser { [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: enum `Fun` is never used [INFO] [stdout] --> src/ast.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Fun { // TODO: make this an enum with 1 variant with a callee, so we can execute native functions [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `call` is never used [INFO] [stdout] --> src/ast.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Fun { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 12 | fn call(&self, arguments: Vec, env_arena: &mut EnvironmentArena) -> Value { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `evaluate` and `is_true` are never used [INFO] [stdout] --> src/ast.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl Expr { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 74 | //TODO: compiling errors instead of just returning null [INFO] [stdout] 75 | pub fn evaluate(&self, env_arena: &mut EnvironmentArena, environment: usize) -> Value { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 416 | fn is_true(&self, env_arena: &mut EnvironmentArena, environment: usize) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `execute` is never used [INFO] [stdout] --> src/ast.rs:441:12 [INFO] [stdout] | [INFO] [stdout] 440 | impl Stmt { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 441 | pub fn execute(&self, env_arena: &mut EnvironmentArena, environment: usize) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `default_env`, `define`, `get`, and `assign` are never used [INFO] [stdout] --> src/environment.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl EnvironmentArena { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn default_env(&mut self) -> &mut Environment { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn define(&mut self, env: usize, name: &str, value: Value) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn get(&self, env: usize, name: &Token) -> Result<&Value, Error> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn assign(&mut self, env: usize, name: &Token, value: Value) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index`, `parent`, and `values` are never read [INFO] [stdout] --> src/environment.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Environment { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 60 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 61 | parent: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 62 | values: HashMap [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.69s [INFO] running `Command { std: "docker" "inspect" "fa19beff8e2ac9a8315d55d915e9bc8028ed19046fd53f9c261918adaa49cabb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa19beff8e2ac9a8315d55d915e9bc8028ed19046fd53f9c261918adaa49cabb", kill_on_drop: false }` [INFO] [stdout] fa19beff8e2ac9a8315d55d915e9bc8028ed19046fd53f9c261918adaa49cabb