[INFO] cloning repository https://github.com/gsingh93/rlex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gsingh93/rlex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgsingh93%2Frlex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgsingh93%2Frlex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f6cf4cc7f348b156fa1efd013455343623b4251c [INFO] checking gsingh93/rlex against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgsingh93%2Frlex" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gsingh93/rlex on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 /workspace/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4087fce963f280780c3066882503a0d154cd7d8c948fb15d254e39843b93c96e [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" "4087fce963f280780c3066882503a0d154cd7d8c948fb15d254e39843b93c96e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4087fce963f280780c3066882503a0d154cd7d8c948fb15d254e39843b93c96e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4087fce963f280780c3066882503a0d154cd7d8c948fb15d254e39843b93c96e", kill_on_drop: false }` [INFO] [stdout] 4087fce963f280780c3066882503a0d154cd7d8c948fb15d254e39843b93c96e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4280ff79f32db0193ee459acacea019ddc9cb61ec8317dd15ec529568b9bb41a [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" "4280ff79f32db0193ee459acacea019ddc9cb61ec8317dd15ec529568b9bb41a", kill_on_drop: false }` [INFO] [stderr] Checking rlex v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected identifier, found keyword `move` [INFO] [stdout] --> src/automata.rs:310:39 [INFO] [stdout] | [INFO] [stdout] 310 | self.cur_state = self.fsm.move(self.cur_state.get_ref(), [INFO] [stdout] | ^^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: you can escape reserved keywords to use them as identifiers [INFO] [stdout] | [INFO] [stdout] 310 | self.cur_state = self.fsm.r#move(self.cur_state.get_ref(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `move` [INFO] [stdout] --> src/automata.rs:310:39 [INFO] [stdout] | [INFO] [stdout] 310 | self.cur_state = self.fsm.move(self.cur_state.get_ref(), [INFO] [stdout] | ^^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: you can escape reserved keywords to use them as identifiers [INFO] [stdout] | [INFO] [stdout] 310 | self.cur_state = self.fsm.r#move(self.cur_state.get_ref(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/automata.rs:98:38 [INFO] [stdout] | [INFO] [stdout] 98 | let (cur_state, input) = try!(res.unwrap()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/automata.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | try!(write!(f, "Initial State: {}\n", self.initial_state)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/automata.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | try!(write!(f, "Final States: ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/automata.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | try!(write!(f, "{} ", s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/automata.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | try!(dfa.insert_transition(&cur_state, &new_state, &input)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stdout] --> src/automata.rs:325:43 [INFO] [stdout] | [INFO] [stdout] 325 | ... inputs: box v.iter() }; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49733 for more information [INFO] [stdout] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/automata.rs:98:38 [INFO] [stdout] | [INFO] [stdout] 98 | let (cur_state, input) = try!(res.unwrap()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/automata.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | try!(write!(f, "Initial State: {}\n", self.initial_state)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/automata.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | try!(write!(f, "Final States: ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/automata.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | try!(write!(f, "{} ", s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/automata.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | try!(dfa.insert_transition(&cur_state, &new_state, &input)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/automata.rs:293:21 [INFO] [stdout] | [INFO] [stdout] 293 | inputs: Box> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator<&'a String>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `I` may not live long enough [INFO] [stdout] --> src/automata.rs:86:34 [INFO] [stdout] | [INFO] [stdout] 42 | impl Automaton { [INFO] [stdout] | -- help: consider adding an explicit lifetime bound...: `I: 'a +` [INFO] [stdout] ... [INFO] [stdout] 86 | fn simulate<'a, It: Iterator>(&self, inputs: Vec) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^ ...so that the reference type `&'a I` does not outlive the data it points at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 0, found 1 [INFO] [stdout] --> src/automata.rs:293:30 [INFO] [stdout] | [INFO] [stdout] 293 | inputs: Box> [INFO] [stdout] | ^^^^^^^^^^ unexpected type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0309`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rlex` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0191]: the value of the associated type `Item` (from trait `Iterator`) must be specified [INFO] [stdout] --> src/automata.rs:293:21 [INFO] [stdout] | [INFO] [stdout] 293 | inputs: Box> [INFO] [stdout] | ^^^^^^^^^----------^ [INFO] [stdout] | | [INFO] [stdout] | help: specify the associated type: `Item = &'a String` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stdout] error: aborting due to 4 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0191, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4280ff79f32db0193ee459acacea019ddc9cb61ec8317dd15ec529568b9bb41a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4280ff79f32db0193ee459acacea019ddc9cb61ec8317dd15ec529568b9bb41a", kill_on_drop: false }` [INFO] [stdout] 4280ff79f32db0193ee459acacea019ddc9cb61ec8317dd15ec529568b9bb41a