[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 master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpjsph%2Fceya" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pjsph/ceya on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v4.4.10 [INFO] [stderr] Downloaded clap_builder v4.4.9 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4d82bd2b58e02f6c34dde65abc36a7ce474512b5915f5b653207a83b87f2a53 [INFO] running `Command { std: "docker" "start" "-a" "d4d82bd2b58e02f6c34dde65abc36a7ce474512b5915f5b653207a83b87f2a53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4d82bd2b58e02f6c34dde65abc36a7ce474512b5915f5b653207a83b87f2a53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4d82bd2b58e02f6c34dde65abc36a7ce474512b5915f5b653207a83b87f2a53", kill_on_drop: false }` [INFO] [stdout] d4d82bd2b58e02f6c34dde65abc36a7ce474512b5915f5b653207a83b87f2a53 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 274d5790108d0ccfb14b68eb6e57c0dcc6ea25cfb4cf51be8247d71d64adad32 [INFO] running `Command { std: "docker" "start" "-a" "274d5790108d0ccfb14b68eb6e57c0dcc6ea25cfb4cf51be8247d71d64adad32", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking clap_lex v0.6.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] Checking getrandom v0.2.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling syn v2.0.39 [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)]` (part of `#[warn(unused)]`) 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 import: `command` [INFO] [stdout] --> src/main.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | use clap::{Parser, Subcommand, command, Args}; [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)]` (part of `#[warn(unused)]`) 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 import: `command` [INFO] [stdout] --> src/main.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | use clap::{Parser, Subcommand, command, Args}; [INFO] [stdout] | ^^^^^^^ [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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) 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:17 [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: 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) 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:17 [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: 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)]` (part of `#[warn(unused)]`) 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 8.83s [INFO] running `Command { std: "docker" "inspect" "274d5790108d0ccfb14b68eb6e57c0dcc6ea25cfb4cf51be8247d71d64adad32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "274d5790108d0ccfb14b68eb6e57c0dcc6ea25cfb4cf51be8247d71d64adad32", kill_on_drop: false }` [INFO] [stdout] 274d5790108d0ccfb14b68eb6e57c0dcc6ea25cfb4cf51be8247d71d64adad32