[INFO] crate earley 0.1.0 is already in cache [INFO] extracting crate earley 0.1.0 into work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/reg/earley/0.1.0 [INFO] extracting crate earley 0.1.0 into work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/reg/earley/0.1.0 [INFO] validating manifest of earley-0.1.0 on toolchain master#435236b8877cdb98c82eaebfb7887782277265c5 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of earley-0.1.0 on toolchain try#b5c7f157c20453dde8d47371abe73b32351b4e7f [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing earley-0.1.0 [INFO] finished frobbing earley-0.1.0 [INFO] frobbed toml for earley-0.1.0 written to work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/reg/earley/0.1.0/Cargo.toml [INFO] started frobbing earley-0.1.0 [INFO] finished frobbing earley-0.1.0 [INFO] frobbed toml for earley-0.1.0 written to work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/reg/earley/0.1.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking earley-0.1.0 against try#b5c7f157c20453dde8d47371abe73b32351b4e7f for pr-62849 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-62849/worker-5/try#b5c7f157c20453dde8d47371abe73b32351b4e7f:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/reg/earley/0.1.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 4e34cfcdc3e4af98b31f7a3ea1bcadc56a80c91404d0f8aed4bf755bf88f0214 [INFO] running `"docker" "start" "-a" "4e34cfcdc3e4af98b31f7a3ea1bcadc56a80c91404d0f8aed4bf755bf88f0214"` [INFO] [stderr] Checking earley v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/grammar/production.rs:12:31 [INFO] [stderr] | [INFO] [stderr] 12 | impl<'a, T> PartialEq for &'a Production { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Production` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/grammar/production.rs:18:24 [INFO] [stderr] | [INFO] [stderr] 18 | impl<'a, T> Eq for &'a Production {} [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Production` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/grammar/rule.rs:6:26 [INFO] [stderr] | [INFO] [stderr] 6 | productions: Vec>>, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Production` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/grammar/rule.rs:11:57 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn new(name: &'static str, productions: Vec>>) -> Rule { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Production` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/grammar/rule.rs:23:44 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn get_productions(&self) -> &[Box>] { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Production` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/grammar/mod.rs:20:37 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn new(productions: Vec>>) -> Grammar { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Production` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/grammar/mod.rs:47:58 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn productions_for_starting_rule(&self) -> &[Box>] { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Production` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/grammar/mod.rs:51:56 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn productions_for(&self, name: &str) -> &[Box>] { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Production` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/item.rs:16:21 [INFO] [stderr] | [INFO] [stderr] 16 | production: &'a Production, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Production` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/item.rs:42:36 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn predict(production: &'a Production, start: usize) -> Item<'a, T> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Production` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/grammar/production.rs:12:31 [INFO] [stderr] | [INFO] [stderr] 12 | impl<'a, T> PartialEq for &'a Production { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Production` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/grammar/production.rs:18:24 [INFO] [stderr] | [INFO] [stderr] 18 | impl<'a, T> Eq for &'a Production {} [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Production` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/grammar/rule.rs:6:26 [INFO] [stderr] | [INFO] [stderr] 6 | productions: Vec>>, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Production` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/grammar/rule.rs:11:57 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn new(name: &'static str, productions: Vec>>) -> Rule { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Production` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/grammar/rule.rs:23:44 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn get_productions(&self) -> &[Box>] { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Production` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/grammar/mod.rs:20:37 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn new(productions: Vec>>) -> Grammar { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Production` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/grammar/mod.rs:47:58 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn productions_for_starting_rule(&self) -> &[Box>] { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Production` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/grammar/mod.rs:51:56 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn productions_for(&self, name: &str) -> &[Box>] { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Production` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/item.rs:16:21 [INFO] [stderr] | [INFO] [stderr] 16 | production: &'a Production, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Production` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/item.rs:42:36 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn predict(production: &'a Production, start: usize) -> Item<'a, T> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Production` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/item_table.rs:88:21 [INFO] [stderr] | [INFO] [stderr] 88 | if let Some(mut items) = self.table.get_mut(index) { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/item_table.rs:88:21 [INFO] [stderr] | [INFO] [stderr] 88 | if let Some(mut items) = self.table.get_mut(index) { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> tests/empty_rules.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/empty_rules.rs:7:30 [INFO] [stderr] | [INFO] [stderr] 7 | let productions: Vec>> = vec![ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Production` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> tests/nullability.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/nullability.rs:7:30 [INFO] [stderr] | [INFO] [stderr] 7 | let productions: Vec>> = vec![ [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Production` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> examples/basic.rs:1:1 [INFO] [stderr] | [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] --> tests/basic.rs:1:1 [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/basic.rs:7:30 [INFO] [stderr] | [INFO] [stderr] 7 | let productions: Vec>> = vec![ [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Production` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: no rules expected the token `:` [INFO] [stderr] --> benches/basic.rs:12:82 [INFO] [stderr] | [INFO] [stderr] 12 | earley_production!("Sum" => [{"Sum"}, ["+"], {"Product"}] (result: u32) { result[0].get() + result[2].get() }), [INFO] [stderr] | ^ no rules expected this token in macro call [INFO] [stderr] [INFO] [stderr] error: no rules expected the token `:` [INFO] [stderr] --> benches/basic.rs:13:82 [INFO] [stderr] | [INFO] [stderr] 13 | earley_production!("Sum" => [{"Product"}] (result: u32) { result[0].get() }), [INFO] [stderr] | ^ no rules expected this token in macro call [INFO] [stderr] [INFO] [stderr] error: no rules expected the token `:` [INFO] [stderr] --> benches/basic.rs:14:82 [INFO] [stderr] | [INFO] [stderr] 14 | earley_production!("Product" => [{"Product"}, ["*"], {"Factor"}] (result: u32) { result[0].get() * result[2].get() }), [INFO] [stderr] | ^ no rules expected this token in macro call [INFO] [stderr] [INFO] [stderr] error: no rules expected the token `:` [INFO] [stderr] --> benches/basic.rs:15:82 [INFO] [stderr] | [INFO] [stderr] 15 | earley_production!("Product" => [{"Factor"}] (result: u32) { result[0].get() }), [INFO] [stderr] | ^ no rules expected this token in macro call [INFO] [stderr] [INFO] [stderr] error: no rules expected the token `:` [INFO] [stderr] --> benches/basic.rs:16:82 [INFO] [stderr] | [INFO] [stderr] 16 | earley_production!("Factor" => [["("], {"Sum"}, [")"]] (result: u32) { result[1].get() }), [INFO] [stderr] | ^ no rules expected this token in macro call [INFO] [stderr] [INFO] [stderr] error: no rules expected the token `:` [INFO] [stderr] --> benches/basic.rs:17:82 [INFO] [stderr] | [INFO] [stderr] 17 | earley_production!("Factor" => [{"Number"}] (result: u32) { result[0].get() }), [INFO] [stderr] | ^ no rules expected this token in macro call [INFO] [stderr] [INFO] [stderr] error: no rules expected the token `:` [INFO] [stderr] --> benches/basic.rs:18:82 [INFO] [stderr] | [INFO] [stderr] 18 | earley_production!("Number" => [["1"]] (result: u32) { 1 }), [INFO] [stderr] | ^ no rules expected this token in macro call [INFO] [stderr] [INFO] [stderr] error: no rules expected the token `:` [INFO] [stderr] --> benches/basic.rs:19:82 [INFO] [stderr] | [INFO] [stderr] 19 | earley_production!("Number" => [["2"]] (result: u32) { 2 }), [INFO] [stderr] | ^ no rules expected this token in macro call [INFO] [stderr] [INFO] [stderr] error: no rules expected the token `:` [INFO] [stderr] --> benches/basic.rs:20:82 [INFO] [stderr] | [INFO] [stderr] 20 | earley_production!("Number" => [["3"]] (result: u32) { 3 }), [INFO] [stderr] | ^ no rules expected this token in macro call [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> benches/basic.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> benches/basic.rs:11:30 [INFO] [stderr] | [INFO] [stderr] 11 | let productions: Vec>> = vec![ [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Production` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> tests/rules.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/rules.rs:7:30 [INFO] [stderr] | [INFO] [stderr] 7 | let productions: Vec>> = vec![ [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Production` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `earley`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `unwrap` found for type `()` in the current scope [INFO] [stderr] --> examples/basic.rs:8:24 [INFO] [stderr] | [INFO] [stderr] 8 | env_logger::init().unwrap(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0599`. [INFO] [stderr] error: Could not compile `earley`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "4e34cfcdc3e4af98b31f7a3ea1bcadc56a80c91404d0f8aed4bf755bf88f0214"` [INFO] running `"docker" "rm" "-f" "4e34cfcdc3e4af98b31f7a3ea1bcadc56a80c91404d0f8aed4bf755bf88f0214"` [INFO] [stdout] 4e34cfcdc3e4af98b31f7a3ea1bcadc56a80c91404d0f8aed4bf755bf88f0214