[INFO] updating cached repository https://github.com/gsingh93/rlex [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] f6cf4cc7f348b156fa1efd013455343623b4251c [INFO] testing gsingh93/rlex against beta-2019-09-28 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgsingh93%2Frlex" "work/builds/worker-4/source"` [INFO] [stderr] Cloning into 'work/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gsingh93/rlex on toolchain beta-2019-09-28 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/gsingh93/rlex [INFO] finished tweaking git repo https://github.com/gsingh93/rlex [INFO] tweaked toml for git repo https://github.com/gsingh93/rlex written to work/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/gsingh93/rlex already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "build" "--frozen"` [INFO] [stdout] b4374036a1ece72f9a1a2c0b3a2d6faba1cf57c80fb8e1afb293b73fbe191dfc [INFO] running `"docker" "start" "-a" "b4374036a1ece72f9a1a2c0b3a2d6faba1cf57c80fb8e1afb293b73fbe191dfc"` [INFO] [stderr] Compiling rlex v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error: expected identifier, found keyword `move` [INFO] [stderr] --> src/automata.rs:310:39 [INFO] [stderr] | [INFO] [stderr] 310 | self.cur_state = self.fsm.move(self.cur_state.get_ref(), [INFO] [stderr] | ^^^^ expected identifier, found keyword [INFO] [stderr] help: you can escape reserved keywords to use them as identifiers [INFO] [stderr] | [INFO] [stderr] 310 | self.cur_state = self.fsm.r#move(self.cur_state.get_ref(), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/automata.rs:98:38 [INFO] [stderr] | [INFO] [stderr] 98 | let (cur_state, input) = try!(res.unwrap()); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/automata.rs:114:9 [INFO] [stderr] | [INFO] [stderr] 114 | try!(write!(f, "Initial State: {}\n", self.initial_state)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/automata.rs:115:9 [INFO] [stderr] | [INFO] [stderr] 115 | try!(write!(f, "Final States: ")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/automata.rs:117:13 [INFO] [stderr] | [INFO] [stderr] 117 | try!(write!(f, "{} ", s)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/automata.rs:190:13 [INFO] [stderr] | [INFO] [stderr] 190 | try!(dfa.insert_transition(&cur_state, &new_state, &input)) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0309]: the parameter type `I` may not live long enough [INFO] [stderr] --> src/automata.rs:86:5 [INFO] [stderr] | [INFO] [stderr] 42 | impl Automaton { [INFO] [stderr] | -- help: consider adding an explicit lifetime bound `I: 'a`... [INFO] [stderr] ... [INFO] [stderr] 86 | / fn simulate<'a, It: Iterator>(&self, inputs: Vec) -> Result<(), String> { [INFO] [stderr] 87 | | let mut sim: Simulator = Simulator::new(self, inputs.iter()); [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | let mut cur_state = &sim.cur_state.clone(); [INFO] [stderr] ... | [INFO] [stderr] 108 | | Ok(()) [INFO] [stderr] 109 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: ...so that the reference type `&'a I` does not outlive the data it points at [INFO] [stderr] --> src/automata.rs:86:5 [INFO] [stderr] | [INFO] [stderr] 86 | / fn simulate<'a, It: Iterator>(&self, inputs: Vec) -> Result<(), String> { [INFO] [stderr] 87 | | let mut sim: Simulator = Simulator::new(self, inputs.iter()); [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | let mut cur_state = &sim.cur_state.clone(); [INFO] [stderr] ... | [INFO] [stderr] 108 | | Ok(()) [INFO] [stderr] 109 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0309`. [INFO] [stderr] error: could not compile `rlex`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "b4374036a1ece72f9a1a2c0b3a2d6faba1cf57c80fb8e1afb293b73fbe191dfc"` [INFO] running `"docker" "rm" "-f" "b4374036a1ece72f9a1a2c0b3a2d6faba1cf57c80fb8e1afb293b73fbe191dfc"` [INFO] [stdout] b4374036a1ece72f9a1a2c0b3a2d6faba1cf57c80fb8e1afb293b73fbe191dfc