[INFO] cloning repository https://github.com/suhr/conc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suhr/conc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhr%2Fconc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhr%2Fconc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 572cdd54dd2c90795976d24f4da669a789b9024c [INFO] testing suhr/conc against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhr%2Fconc" "/workspace/builds/worker-118/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-118/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/suhr/conc on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/suhr/conc [INFO] finished tweaking git repo https://github.com/suhr/conc [INFO] tweaked toml for git repo https://github.com/suhr/conc written to /workspace/builds/worker-118/source/Cargo.toml [INFO] crate git repo https://github.com/suhr/conc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-118/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 005a787591d209a8457206df1525503d9aa9e5358aab3f19d63796e87d3a81ef [INFO] running `Command { std: "docker" "start" "-a" "005a787591d209a8457206df1525503d9aa9e5358aab3f19d63796e87d3a81ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "005a787591d209a8457206df1525503d9aa9e5358aab3f19d63796e87d3a81ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "005a787591d209a8457206df1525503d9aa9e5358aab3f19d63796e87d3a81ef", kill_on_drop: false }` [INFO] [stdout] 005a787591d209a8457206df1525503d9aa9e5358aab3f19d63796e87d3a81ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b4a3ef3800617845ede53f7ee21b56490928a768134c7997a5d8f49759f8116 [INFO] running `Command { std: "docker" "start" "-a" "5b4a3ef3800617845ede53f7ee21b56490928a768134c7997a5d8f49759f8116", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling libc v0.2.30 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.4.1 [INFO] [stderr] Compiling either v1.4.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling regex v0.2.2 [INFO] [stderr] Compiling conc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::io::Chars` [INFO] [stdout] --> src/parser/lexer.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, Chars, BufReader, Read}; [INFO] [stdout] | ^^^^^ no `Chars` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::io::CharsError` [INFO] [stdout] --> src/parser/lexer.rs:86:23 [INFO] [stdout] | [INFO] [stdout] 86 | use self::io::CharsError::*; [INFO] [stdout] | ^^^^^^^^^^ could not find `CharsError` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CharsError` in module `io` [INFO] [stdout] --> src/parser/lexer.rs:84:31 [INFO] [stdout] | [INFO] [stdout] 84 | impl ::std::convert::From for LexerError { [INFO] [stdout] | ^^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CharsError` in module `io` [INFO] [stdout] --> src/parser/lexer.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | fn from(err: io::CharsError) -> Self { [INFO] [stdout] | ^^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Other` in this scope [INFO] [stdout] --> src/parser/lexer.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | Other(e) => LexerError::IoError(e), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexer.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | '0' ... '9' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexer.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | 'a' ... 'f' [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexer.rs:126:15 [INFO] [stdout] | [INFO] [stdout] 126 | | 'A' ... 'F' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexer.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | 'a' ... 'z' [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexer.rs:134:15 [INFO] [stdout] | [INFO] [stdout] 134 | | 'A' ... 'Z' [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexer.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | '!' ... '&' [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexer.rs:143:15 [INFO] [stdout] | [INFO] [stdout] 143 | | '*' ... '/' [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexer.rs:144:15 [INFO] [stdout] | [INFO] [stdout] 144 | | ':' ... '@' [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LexerError` [INFO] [stdout] --> src/parser/lexer.rs:588:24 [INFO] [stdout] | [INFO] [stdout] 588 | use super::{Lexer, LexerError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Lexeme` is imported redundantly [INFO] [stdout] --> src/parser/mod.rs:536:9 [INFO] [stdout] | [INFO] [stdout] 3 | use self::lexer::{Lexer, Token, Lexeme, LexerError, Position}; [INFO] [stdout] | ------ the item `Lexeme` is already imported here [INFO] [stdout] ... [INFO] [stdout] 536 | use self::Lexeme; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(io)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `io` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(io)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `chars` found for struct `BufReader` in the current scope [INFO] [stdout] --> src/parser/lexer.rs:164:52 [INFO] [stdout] | [INFO] [stdout] 164 | let mut char_iter = BufReader::new(reader).chars(); [INFO] [stdout] | ^^^^^ method not found in `BufReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/parser/lexer.rs:223:28 [INFO] [stdout] | [INFO] [stdout] 223 | position: self.cursor_position(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type for type parameter `R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/parser/lexer.rs:229:30 [INFO] [stdout] | [INFO] [stdout] 229 | let start_pos = self.cursor_point(); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type parameter `R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/parser/lexer.rs:279:36 [INFO] [stdout] | [INFO] [stdout] 279 | None => return Ok(self.point_token(Lexeme::Eof)), [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type parameter `R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/parser/lexer.rs:326:30 [INFO] [stdout] | [INFO] [stdout] 326 | let start_pos = self.cursor_point(); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type parameter `R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/parser/lexer.rs:355:30 [INFO] [stdout] | [INFO] [stdout] 355 | let start_pos = self.cursor_point(); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type parameter `R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/parser/lexer.rs:427:30 [INFO] [stdout] | [INFO] [stdout] 427 | let start_pos = self.cursor_point(); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type parameter `R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/parser/lexer.rs:464:30 [INFO] [stdout] | [INFO] [stdout] 464 | let start_pos = self.cursor_point(); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type parameter `R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/parser/lexer.rs:505:30 [INFO] [stdout] | [INFO] [stdout] 505 | let start_pos = self.cursor_point(); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type parameter `R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/parser/lexer.rs:552:30 [INFO] [stdout] | [INFO] [stdout] 552 | let start_pos = self.cursor_point(); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type parameter `R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/analysis/mod.rs:365:21 [INFO] [stdout] | [INFO] [stdout] 364 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 365 | trans.level += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0432, E0531, E0554, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `conc` due to 18 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5b4a3ef3800617845ede53f7ee21b56490928a768134c7997a5d8f49759f8116", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b4a3ef3800617845ede53f7ee21b56490928a768134c7997a5d8f49759f8116", kill_on_drop: false }` [INFO] [stdout] 5b4a3ef3800617845ede53f7ee21b56490928a768134c7997a5d8f49759f8116