[INFO] cloning repository https://github.com/jiegec/ebnf-tools [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jiegec/ebnf-tools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjiegec%2Febnf-tools", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjiegec%2Febnf-tools'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0b81c9ecbfe92f94349a42cac65666bda4ebf99c [INFO] testing jiegec/ebnf-tools against try#eafdee2dfae8c2233b74f98b123308be7ccefcc6 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjiegec%2Febnf-tools" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jiegec/ebnf-tools on toolchain eafdee2dfae8c2233b74f98b123308be7ccefcc6 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jiegec/ebnf-tools [INFO] finished tweaking git repo https://github.com/jiegec/ebnf-tools [INFO] tweaked toml for git repo https://github.com/jiegec/ebnf-tools written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/jiegec/ebnf-tools already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/MashPlant/lalr1` [INFO] [stderr] Updating git repository `https://github.com/MashPlant/re2dfa` [INFO] [stderr] Updating git repository `https://github.com/MashPlant/bitset` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typed-arena v1.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6aedbd8f399813e9864acdbabe5030f98442bf0c90a50e55cee04f69c6781fb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d6aedbd8f399813e9864acdbabe5030f98442bf0c90a50e55cee04f69c6781fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6aedbd8f399813e9864acdbabe5030f98442bf0c90a50e55cee04f69c6781fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6aedbd8f399813e9864acdbabe5030f98442bf0c90a50e55cee04f69c6781fb", kill_on_drop: false }` [INFO] [stdout] d6aedbd8f399813e9864acdbabe5030f98442bf0c90a50e55cee04f69c6781fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85af67f1f7b5cccee0bd57ad662734913fb6309f2e212cf65c2027da50211c10 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "85af67f1f7b5cccee0bd57ad662734913fb6309f2e212cf65c2027da50211c10", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling hashbrown v0.5.0 [INFO] [stderr] Compiling bitset v0.1.0 (https://github.com/MashPlant/bitset#a20d7b54) [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling static_assertions v0.3.4 [INFO] [stderr] Compiling print v0.1.0 (https://github.com/MashPlant/re2dfa#d3544ab7) [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling typed-arena v1.6.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling nom v5.0.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling lexical-core v0.4.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling re2dfa v1.0.0 (https://github.com/MashPlant/re2dfa#d3544ab7) [INFO] [stderr] Compiling indexmap v1.2.0 [INFO] [stderr] Compiling toml v0.5.3 [INFO] [stderr] Compiling grammar-config v0.1.0 (https://github.com/MashPlant/lalr1#f2d91421) [INFO] [stderr] Compiling ll1-core v0.1.0 (https://github.com/MashPlant/lalr1#f2d91421) [INFO] [stderr] Compiling lalr1-core v0.1.0 (https://github.com/MashPlant/lalr1#f2d91421) [INFO] [stderr] Compiling parser-gen v0.1.0 (https://github.com/MashPlant/lalr1#f2d91421) [INFO] [stderr] Compiling parser-macros v0.1.0 (https://github.com/MashPlant/lalr1#f2d91421) [INFO] [stderr] Compiling ebnf-tools v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/lib.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | #[lalr1(File)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: attempted to leave type `[lalr1_core::Act; 2]` uninitialized, which is invalid [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/lib.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | let mut lexer = Lexer::new(code.as_bytes()); // Lexer can be used independently from Parser, you can use it to debug [INFO] [stdout] | ^^^^^ use of undeclared type `Lexer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/lib.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | TokenKind::_Err => { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> src/lib.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | impl<'p> Token<'p> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Lexer` in this scope [INFO] [stdout] --> src/lib.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | impl Lexer<'_> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `parse` found for struct `Parser<'_>` in the current scope [INFO] [stdout] --> src/lib.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | match parser.parse(&mut lexer) { [INFO] [stdout] | ^^^^^ method not found in `Parser<'_>` [INFO] [stdout] ... [INFO] [stdout] 52 | pub struct Parser<'p> { [INFO] [stdout] | --------------------- method `parse` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ebnf-tools` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "85af67f1f7b5cccee0bd57ad662734913fb6309f2e212cf65c2027da50211c10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85af67f1f7b5cccee0bd57ad662734913fb6309f2e212cf65c2027da50211c10", kill_on_drop: false }` [INFO] [stdout] 85af67f1f7b5cccee0bd57ad662734913fb6309f2e212cf65c2027da50211c10