[INFO] cloning repository https://github.com/CN-Language/CN-Lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CN-Language/CN-Lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCN-Language%2FCN-Lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCN-Language%2FCN-Lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5a42d4356cdf5ff3d88e3f3b44c4ddef2c88864d [INFO] testing CN-Language/CN-Lang against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCN-Language%2FCN-Lang" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CN-Language/CN-Lang on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CN-Language/CN-Lang [INFO] finished tweaking git repo https://github.com/CN-Language/CN-Lang [INFO] tweaked toml for git repo https://github.com/CN-Language/CN-Lang written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/CN-Language/CN-Lang already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00262fa0ffc7f623c3b3392b9fc8604691730b957d2bbc2e95faef4cc44e4e1f [INFO] running `Command { std: "docker" "start" "-a" "00262fa0ffc7f623c3b3392b9fc8604691730b957d2bbc2e95faef4cc44e4e1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00262fa0ffc7f623c3b3392b9fc8604691730b957d2bbc2e95faef4cc44e4e1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00262fa0ffc7f623c3b3392b9fc8604691730b957d2bbc2e95faef4cc44e4e1f", kill_on_drop: false }` [INFO] [stdout] 00262fa0ffc7f623c3b3392b9fc8604691730b957d2bbc2e95faef4cc44e4e1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbe679f5361173ef8112903eea9e263cb1b20308fd4631b73c0ab4e3e0cf6b7b [INFO] running `Command { std: "docker" "start" "-a" "cbe679f5361173ef8112903eea9e263cb1b20308fd4631b73c0ab4e3e0cf6b7b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling minimal-lexical v0.1.2 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling CN-Lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `super::array` [INFO] [stdout] --> src/parser/expr/struct_.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use super::{array, literal}; [INFO] [stdout] | ^^^^^ no `array` in `parser::expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/parser/stmt/mod.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | cond: Expr, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/parser/stmt/mod.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | cond: Expr, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/parser/stmt/mod.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 14 | enum For { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 15 | ForC { [INFO] [stdout] 16 | c1: Option, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/parser/stmt/mod.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 14 | enum For { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 17 | c2: Option, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/parser/stmt/mod.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 14 | enum For { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 18 | c3: Option, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Decl` in this scope [INFO] [stdout] --> src/parser/stmt/mod.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | decl: Decl, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/parser/stmt/mod.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | from: Expr, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(io_read_to_string)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(with_options)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(exclusive_range_pattern)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `is_digit`, `take_while1` [INFO] [stdout] --> src/lexer/mod.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | bytes::complete::{tag, take_while1}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 4 | character::{complete::digit1, is_digit}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `character::complete::one_of` [INFO] [stdout] --> src/parser/mod.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use nom::{bytes::complete::take_till1, character::complete::one_of, IResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `take`, `tuple` [INFO] [stdout] --> src/parser/name.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | bytes::complete::{take, take_till, take_till1}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | combinator::recognize, [INFO] [stdout] 5 | sequence::{pair, tuple}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File`, `io::Write` [INFO] [stdout] --> src/parser/name.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | fs::{read_to_string, File}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | io::Write, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::complete::tag` [INFO] [stdout] --> src/parser/expr/literal/mod.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use nom::{branch::alt, bytes::complete::tag, combinator::map, IResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/parser/expr/literal/string.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::read_to_string` [INFO] [stdout] --> src/parser/expr/literal/string.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::read_to_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `tag_no_case`, `tag`, `take_until`, `take_while`, `take` [INFO] [stdout] --> src/parser/expr/literal/string.rs:5:51 [INFO] [stdout] | [INFO] [stdout] 5 | use nom::bytes::complete::{escaped, is_a, is_not, tag, tag_no_case, take, take_until, take_while}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `anychar`, `digit1`, `hex_digit1`, `none_of` [INFO] [stdout] --> src/parser/expr/literal/string.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use nom::character::complete::{anychar, char, digit1, hex_digit1, none_of, one_of}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::character::streaming::not_line_ending` [INFO] [stdout] --> src/parser/expr/literal/string.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use nom::character::streaming::not_line_ending; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::combinator::map` [INFO] [stdout] --> src/parser/expr/literal/string.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use nom::combinator::map; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::error::Error` [INFO] [stdout] --> src/parser/expr/literal/string.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use nom::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `pair`, `tuple` [INFO] [stdout] --> src/parser/expr/literal/string.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | use nom::sequence::{delimited, pair, tuple}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Parser` [INFO] [stdout] --> src/parser/expr/literal/string.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | use nom::{IResult, Parser}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `is_ws`, `ws` [INFO] [stdout] --> src/parser/expr/literal/string.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::parser::{is_ws, ws}; [INFO] [stdout] | ^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ident` [INFO] [stdout] --> src/parser/expr/struct_.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::parser::{ident, name::valid_name}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `literal` [INFO] [stdout] --> src/parser/expr/struct_.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use super::{array, literal}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `hash::Hash` [INFO] [stdout] --> src/parser/ident.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, hash::Hash}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `branch::alt`, `bytes::complete::tag`, `combinator::not`, `error::Error`, `sequence::pair` [INFO] [stdout] --> src/parser/ident.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | branch::alt, bytes::complete::tag, combinator::not, error::Error, sequence::pair, IResult, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delimited` [INFO] [stdout] --> src/parser/ty.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | sequence::{delimited, pair, tuple}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer` [INFO] [stdout] --> src/parser/ty.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::lexer; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/parser/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::character::complete::digit1` [INFO] [stdout] --> src/parser/utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use nom::character::complete::digit1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `map` [INFO] [stdout] --> src/parser/utils.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use nom::combinator::{map, opt}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::error::Error` [INFO] [stdout] --> src/parser/utils.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use nom::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `combinator::not`, `take_until`, `take_while` [INFO] [stdout] --> src/parser/utils.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | bytes::complete::{tag, take_until, take_while}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 10 | combinator::not, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `is_ws` [INFO] [stdout] --> src/parser/utils.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use super::{is_ws, ws}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(impl FnMut(&str)-> Result<(&str, &str), nom::Err>>,): nom::branch::Alt<_, _, _>` is not satisfied [INFO] [stdout] --> src/parser/expr/struct_.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | alt(( [INFO] [stdout] | _____________---_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 26 | | recognize(tuple(( [INFO] [stdout] 27 | | tag("{"), [INFO] [stdout] 28 | | separated_list0(tag(","), field_init), [INFO] [stdout] ... | [INFO] [stdout] 31 | | // [INFO] [stdout] 32 | | )), [INFO] [stdout] | |_____________^ the trait `nom::branch::Alt<_, _, _>` is not implemented for `(impl FnMut(&str)-> Result<(&str, &str), nom::Err>>,)` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] <(A, B) as nom::branch::Alt> [INFO] [stdout] <(A, B, C) as nom::branch::Alt> [INFO] [stdout] <(A, B, C, D) as nom::branch::Alt> [INFO] [stdout] <(A, B, C, D, E) as nom::branch::Alt> [INFO] [stdout] and 16 others [INFO] [stdout] note: required by a bound in `alt` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nom-7.0.0/src/branch/mod.rs:71:49 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn alt, List: Alt>( [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `alt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0432, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `CN-Lang` due to 13 previous errors; 28 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cbe679f5361173ef8112903eea9e263cb1b20308fd4631b73c0ab4e3e0cf6b7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbe679f5361173ef8112903eea9e263cb1b20308fd4631b73c0ab4e3e0cf6b7b", kill_on_drop: false }` [INFO] [stdout] cbe679f5361173ef8112903eea9e263cb1b20308fd4631b73c0ab4e3e0cf6b7b