[INFO] cloning repository https://github.com/OJarrisonn/rubla [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OJarrisonn/rubla" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOJarrisonn%2Frubla", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOJarrisonn%2Frubla'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f5f2cab1060d9166dc9c3e75eb1a06f5c13bb806 [INFO] checking OJarrisonn/rubla against try#3298c2ca5e390fd0d104357fdeec514a152a9561 for pr-136490 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOJarrisonn%2Frubla" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/OJarrisonn/rubla on toolchain 3298c2ca5e390fd0d104357fdeec514a152a9561 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3298c2ca5e390fd0d104357fdeec514a152a9561" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/OJarrisonn/rubla [INFO] finished tweaking git repo https://github.com/OJarrisonn/rubla [INFO] tweaked toml for git repo https://github.com/OJarrisonn/rubla written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/OJarrisonn/rubla 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" "+3298c2ca5e390fd0d104357fdeec514a152a9561" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+3298c2ca5e390fd0d104357fdeec514a152a9561" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e18a42249f217755b7d5503a3aeb3a41d65810d0182960e151d7bd9f3707d339 [INFO] running `Command { std: "docker" "start" "-a" "e18a42249f217755b7d5503a3aeb3a41d65810d0182960e151d7bd9f3707d339", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e18a42249f217755b7d5503a3aeb3a41d65810d0182960e151d7bd9f3707d339", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e18a42249f217755b7d5503a3aeb3a41d65810d0182960e151d7bd9f3707d339", kill_on_drop: false }` [INFO] [stdout] e18a42249f217755b7d5503a3aeb3a41d65810d0182960e151d7bd9f3707d339 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+3298c2ca5e390fd0d104357fdeec514a152a9561" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c95afcd015d92927d2d935403d8908825a4327846a3a5a3881483b89b3931473 [INFO] running `Command { std: "docker" "start" "-a" "c95afcd015d92927d2d935403d8908825a4327846a3a5a3881483b89b3931473", kill_on_drop: false }` [INFO] [stderr] Checking rlispy v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `chars` in this scope [INFO] [stdout] --> src/lexer.rs:132:47 [INFO] [stdout] | [INFO] [stdout] 132 | let (ch, rest) = lex_char(chars)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `chars` in this scope [INFO] [stdout] --> src/lexer.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | chars = rest; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 134 | let chars = rest; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `chars` in this scope [INFO] [stdout] --> src/lexer.rs:145:49 [INFO] [stdout] | [INFO] [stdout] 145 | c if ((c == '-' || c == '.') && chars.peek().is_some_and(|c| c.is_numeric())) || c.is_numeric() => { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `chars` in this scope [INFO] [stdout] --> src/lexer.rs:146:53 [INFO] [stdout] | [INFO] [stdout] 146 | let (number, rest) = lex_number(chars, c)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `chars` in this scope [INFO] [stdout] --> src/lexer.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | chars = rest; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 148 | let chars = rest; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `chars` in this scope [INFO] [stdout] --> src/lexer.rs:152:53 [INFO] [stdout] | [INFO] [stdout] 152 | let (symbol, rest) = lex_symbol(chars, c)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `chars` in this scope [INFO] [stdout] --> src/lexer.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | chars = rest; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 154 | let chars = rest; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `c` in this scope [INFO] [stdout] --> src/lexer.rs:157:69 [INFO] [stdout] | [INFO] [stdout] 157 | _ => return Err(format!("Unexpected character: {}", c)), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `chars` in this scope [INFO] [stdout] --> src/lexer.rs:132:47 [INFO] [stdout] | [INFO] [stdout] 132 | let (ch, rest) = lex_char(chars)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `chars` in this scope [INFO] [stdout] --> src/lexer.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | chars = rest; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 134 | let chars = rest; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `chars` in this scope [INFO] [stdout] --> src/lexer.rs:145:49 [INFO] [stdout] | [INFO] [stdout] 145 | c if ((c == '-' || c == '.') && chars.peek().is_some_and(|c| c.is_numeric())) || c.is_numeric() => { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `chars` in this scope [INFO] [stdout] --> src/lexer.rs:146:53 [INFO] [stdout] | [INFO] [stdout] 146 | let (number, rest) = lex_number(chars, c)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `chars` in this scope [INFO] [stdout] --> src/lexer.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | chars = rest; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 148 | let chars = rest; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `chars` in this scope [INFO] [stdout] --> src/lexer.rs:152:53 [INFO] [stdout] | [INFO] [stdout] 152 | let (symbol, rest) = lex_symbol(chars, c)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `chars` in this scope [INFO] [stdout] --> src/lexer.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | chars = rest; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 154 | let chars = rest; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `c` in this scope [INFO] [stdout] --> src/lexer.rs:157:69 [INFO] [stdout] | [INFO] [stdout] 157 | _ => return Err(format!("Unexpected character: {}", c)), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lexer.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 112 | / loop { [INFO] [stdout] 113 | | match self.current { [INFO] [stdout] 114 | | // Skip whitespace [INFO] [stdout] 115 | | c if c.is_whitespace() => { self.advance(); }, [INFO] [stdout] ... | [INFO] [stdout] 158 | | }; [INFO] [stdout] 159 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 160 | [INFO] [stdout] 161 | Ok(tokens) [INFO] [stdout] | ^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lexer.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 112 | / loop { [INFO] [stdout] 113 | | match self.current { [INFO] [stdout] 114 | | // Skip whitespace [INFO] [stdout] 115 | | c if c.is_whitespace() => { self.advance(); }, [INFO] [stdout] ... | [INFO] [stdout] 158 | | }; [INFO] [stdout] 159 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 160 | [INFO] [stdout] 161 | Ok(tokens) [INFO] [stdout] | ^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Index` [INFO] [stdout] --> src/lexer.rs:2:60 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fmt::{self, Display, Formatter}, iter::Peekable, ops::Index, str::{CharIndices, Chars}}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Position` [INFO] [stdout] --> src/lexer.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | assert_eq!(lexer.position(), (1, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Position [INFO] [stdout] | ({integer}, {integer}) [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<({integer}, {integer})>` might be missing for `Position` [INFO] [stdout] --> src/lexer.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Position { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ must implement `PartialEq<({integer}, {integer})>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Position` doesn't implement `Debug` [INFO] [stdout] --> src/lexer.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | assert_eq!(lexer.position(), (1, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Position` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Position` [INFO] [stdout] = note: add `#[derive(Debug)]` to `Position` or manually `impl Debug for Position` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Position` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 28 + #[derive(Debug)] [INFO] [stdout] 29 | pub struct Position { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Position` [INFO] [stdout] --> src/lexer.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 354 | assert_eq!(lexer.position(), (1, 2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Position [INFO] [stdout] | ({integer}, {integer}) [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<({integer}, {integer})>` might be missing for `Position` [INFO] [stdout] --> src/lexer.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Position { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ must implement `PartialEq<({integer}, {integer})>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Position` doesn't implement `Debug` [INFO] [stdout] --> src/lexer.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 354 | assert_eq!(lexer.position(), (1, 2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Position` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Position` [INFO] [stdout] = note: add `#[derive(Debug)]` to `Position` or manually `impl Debug for Position` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Position` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 28 + #[derive(Debug)] [INFO] [stdout] 29 | pub struct Position { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Index` [INFO] [stdout] --> src/lexer.rs:2:60 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fmt::{self, Display, Formatter}, iter::Peekable, ops::Index, str::{CharIndices, Chars}}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rlispy` (lib) due to 8 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0277, E0369, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rlispy` (lib test) due to 12 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c95afcd015d92927d2d935403d8908825a4327846a3a5a3881483b89b3931473", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c95afcd015d92927d2d935403d8908825a4327846a3a5a3881483b89b3931473", kill_on_drop: false }` [INFO] [stdout] c95afcd015d92927d2d935403d8908825a4327846a3a5a3881483b89b3931473