[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#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [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] validating manifest of git repo https://github.com/pjsph/ceya on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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] 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec7649634f96d21a76e91c93f56b83aae0438144fef950b86e879cc4b1b0e763 [INFO] running `Command { std: "docker" "start" "-a" "ec7649634f96d21a76e91c93f56b83aae0438144fef950b86e879cc4b1b0e763", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec7649634f96d21a76e91c93f56b83aae0438144fef950b86e879cc4b1b0e763", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec7649634f96d21a76e91c93f56b83aae0438144fef950b86e879cc4b1b0e763", kill_on_drop: false }` [INFO] [stdout] ec7649634f96d21a76e91c93f56b83aae0438144fef950b86e879cc4b1b0e763 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1852865b32f21ffd7a44bf5ffd0fe87c128414e79aa91fbb9989ccc5f99fb99b [INFO] running `Command { std: "docker" "start" "-a" "1852865b32f21ffd7a44bf5ffd0fe87c128414e79aa91fbb9989ccc5f99fb99b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [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] Checking getrandom v0.2.11 [INFO] [stderr] Compiling syn v2.0.39 [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: `Fun` has a derived impl for the trait `Clone`, 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: 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: 12 warnings emitted [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: `Fun` has a derived impl for the trait `Clone`, 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: 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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.91s [INFO] running `Command { std: "docker" "inspect" "1852865b32f21ffd7a44bf5ffd0fe87c128414e79aa91fbb9989ccc5f99fb99b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1852865b32f21ffd7a44bf5ffd0fe87c128414e79aa91fbb9989ccc5f99fb99b", kill_on_drop: false }` [INFO] [stdout] 1852865b32f21ffd7a44bf5ffd0fe87c128414e79aa91fbb9989ccc5f99fb99b