[INFO] fetching crate regex_dfa 0.5.0... [INFO] checking regex_dfa-0.5.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate regex_dfa 0.5.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate regex_dfa 0.5.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate regex_dfa 0.5.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate regex_dfa 0.5.0 [INFO] tweaked toml for crates.io crate regex_dfa 0.5.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 95 packages to latest compatible versions [INFO] [stderr] Adding aho-corasick v0.5.3 (available: v1.1.3) [INFO] [stderr] Adding barrel v0.5.8 (available: v0.7.0) [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] [stderr] Adding env_logger v0.3.5 (available: v0.11.5) [INFO] [stderr] Adding itertools v0.4.19 (available: v0.13.0) [INFO] [stderr] Adding lazy_static v0.1.16 (available: v1.5.0) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.22) [INFO] [stderr] Adding memchr v0.1.11 (available: v2.7.4) [INFO] [stderr] Adding num v0.1.42 (available: v0.4.3) [INFO] [stderr] Adding num-bigint v0.1.44 (available: v0.4.6) [INFO] [stderr] Adding num-complex v0.1.43 (available: v0.4.6) [INFO] [stderr] Adding num-rational v0.1.42 (available: v0.4.2) [INFO] [stderr] Adding num-traits v0.1.43 (available: v0.2.19) [INFO] [stderr] Adding proc-macro2 v0.4.30 (available: v1.0.86) [INFO] [stderr] Adding quickcheck v0.2.27 (available: v1.0.3) [INFO] [stderr] Adding quote v0.6.13 (available: v1.0.37) [INFO] [stderr] Adding rand v0.3.23 (available: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding range-map v0.1.5 (available: v0.2.0) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] [stderr] Adding refinery v0.1.10 (available: v0.8.14) [INFO] [stderr] Adding refinery-macros v0.1.0 (available: v0.8.14) [INFO] [stderr] Adding refinery-migrations v0.1.0 (available: v0.2.2) [INFO] [stderr] Adding regex v0.1.80 (available: v1.10.6) [INFO] [stderr] Adding regex-syntax v0.2.6 (available: v0.8.4) [INFO] [stderr] Adding regex-syntax v0.3.9 (available: v0.8.4) [INFO] [stderr] Adding serde v0.6.15 (available: v1.0.210) [INFO] [stderr] Adding serde_json v0.6.1 (available: v1.0.128) [INFO] [stderr] Adding syn v0.15.44 (available: v2.0.77) [INFO] [stderr] Adding thread-id v2.0.0 (available: v4.2.2) [INFO] [stderr] Adding thread_local v0.2.7 (available: v1.1.8) [INFO] [stderr] Adding unicode-xid v0.1.0 (available: v0.2.6) [INFO] [stderr] Adding utf8-ranges v0.1.3 (available: v1.0.5) [INFO] [stderr] Adding winapi v0.2.8 (available: v0.3.9) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bench]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other benchmark targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a benchmark target: [INFO] [stderr] [INFO] [stderr] * benches/bench.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a benchmark target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobenches = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: file `/workspace/builds/worker-1-tc1/source/src/lib.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `regex_dfa` [INFO] [stderr] * `integration-test` target `crate` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_json v0.6.1 [INFO] [stderr] Downloaded serde v0.6.15 [INFO] [stderr] Downloaded quickcheck v0.2.27 [INFO] [stderr] Downloaded refinery-macros v0.1.0 [INFO] [stderr] Downloaded refinery v0.1.10 [INFO] [stderr] Downloaded range-map v0.1.5 [INFO] [stderr] Downloaded refinery-migrations v0.1.0 [INFO] [stderr] Downloaded regex-syntax v0.2.6 [INFO] [stderr] Downloaded barrel v0.5.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6082fed393b1f4cfc97c4757ce785274f7d71cc58fa67c7ec519e2d73dae289f [INFO] running `Command { std: "docker" "start" "-a" "6082fed393b1f4cfc97c4757ce785274f7d71cc58fa67c7ec519e2d73dae289f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6082fed393b1f4cfc97c4757ce785274f7d71cc58fa67c7ec519e2d73dae289f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6082fed393b1f4cfc97c4757ce785274f7d71cc58fa67c7ec519e2d73dae289f", kill_on_drop: false }` [INFO] [stdout] 6082fed393b1f4cfc97c4757ce785274f7d71cc58fa67c7ec519e2d73dae289f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2e8d69dbc4b149c37d5388e994f1ae68ec80612a001164b32904808d78aef24 [INFO] running `Command { std: "docker" "start" "-a" "a2e8d69dbc4b149c37d5388e994f1ae68ec80612a001164b32904808d78aef24", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bench]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other benchmark targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a benchmark target: [INFO] [stderr] [INFO] [stderr] * benches/bench.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a benchmark target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobenches = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/lib.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `regex_dfa` [INFO] [stderr] * `integration-test` target `crate` [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Compiling barrel v0.5.8 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking range-map v0.1.5 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde v0.6.15 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking itertools v0.4.19 [INFO] [stderr] Checking regex-syntax v0.2.6 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking serde_json v0.6.1 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Checking quickcheck v0.2.27 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Checking refinery-migrations v0.1.0 [INFO] [stderr] Compiling refinery-macros v0.1.0 [INFO] [stderr] Checking refinery v0.1.10 [INFO] [stderr] Checking regex_dfa v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `refinery::Partition` [INFO] [stdout] --> src/dfa/minimizer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use refinery::Partition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Partition` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum instead [INFO] [stdout] | [INFO] [stdout] 12 | use itertools::Partition; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `refinery::Partition` [INFO] [stdout] --> src/dfa/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use refinery::Partition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Partition` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum instead [INFO] [stdout] | [INFO] [stdout] 20 | use itertools::Partition; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `refinery::Partition` [INFO] [stdout] --> src/dfa/minimizer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use refinery::Partition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Partition` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum instead [INFO] [stdout] | [INFO] [stdout] 12 | use itertools::Partition; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `refinery::Partition` [INFO] [stdout] --> src/dfa/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use refinery::Partition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Partition` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum instead [INFO] [stdout] | [INFO] [stdout] 20 | use itertools::Partition; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dfa/mod.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 392 | try!(f.write_fmt(format_args!("Dfa ({} states):\n", self.states.len()))); [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/dfa/mod.rs:394:9 [INFO] [stdout] | [INFO] [stdout] 394 | try!(f.write_fmt(format_args!("Init: {:?}\n", self.init))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dfa/mod.rs:397:13 [INFO] [stdout] | [INFO] [stdout] 397 | try!(f.write_fmt(format_args!("\tState {} (accepting: {:?}):\n", st_idx, st.accept))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dfa/mod.rs:399:17 [INFO] [stdout] | [INFO] [stdout] 399 | try!(f.write_fmt(format_args!("\t\t{:?}\n", ret))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dfa/mod.rs:403:17 [INFO] [stdout] | [INFO] [stdout] 403 | try!(f.write_str("\t\tTransitions:\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dfa/mod.rs:406:21 [INFO] [stdout] | [INFO] [stdout] 406 | try!(f.write_fmt(format_args!("\t\t\t{} -- {} => {}\n", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dfa/mod.rs:410:21 [INFO] [stdout] | [INFO] [stdout] 410 | try!(f.write_str("\t\t\t...\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dfa/mod.rs:415:13 [INFO] [stdout] | [INFO] [stdout] 415 | try!(f.write_fmt(format_args!("\t...({} more states)\n", self.states.len() - 40))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/nfa/has_looks.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/has_looks.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | let expr = try!(Expr::parse(re)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/no_looks.rs:267:17 [INFO] [stdout] | [INFO] [stdout] 267 | try!(ret.add_utf8_sequences(i, transitions.into_iter().map(|x| x.0), tgt, max_states)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/no_looks.rs:327:21 [INFO] [stdout] | [INFO] [stdout] 327 | try!(ret.add_min_utf8_sequences(i, dfa, accept_state, max_states)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/no_looks.rs:391:21 [INFO] [stdout] | [INFO] [stdout] 391 | try!(self.add_min_utf8_sequences(loop_state, dfa, st_idx, max_states)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/no_looks.rs:392:21 [INFO] [stdout] | [INFO] [stdout] 392 | try!(self.add_min_utf8_sequences(init_state, dfa, st_idx, max_states)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/no_looks.rs:578:9 [INFO] [stdout] | [INFO] [stdout] 578 | try!(det.run(init)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/no_looks.rs:692:37 [INFO] [stdout] | [INFO] [stdout] 692 | let new_state_idx = try!(self.add_state(init_states)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/no_looks.rs:705:34 [INFO] [stdout] | [INFO] [stdout] 705 | let target_idx = try!(self.add_state(target.clone())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/mod.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | try!(f.write_fmt(format_args!("Nfa ({} states):\n", self.states.len()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/mod.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | try!(f.write_fmt(format_args!("Init: {:?}\n", self.init))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/mod.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | try!(f.write_fmt(format_args!("\tState {} ({:?}):\n", st_idx, st.accept))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/mod.rs:289:17 [INFO] [stdout] | [INFO] [stdout] 289 | try!(f.write_fmt(format_args!("\t\tlook {:?}, tokens {:?}, state {:?}\n", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/mod.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 293 | try!(f.write_str("\t\tConsuming:\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/mod.rs:296:21 [INFO] [stdout] | [INFO] [stdout] 296 | try!(f.write_fmt(format_args!("\t\t\t{:?} -- {:?} => {}\n", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/mod.rs:300:21 [INFO] [stdout] | [INFO] [stdout] 300 | try!(f.write_str("\t\t\t...\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/mod.rs:304:17 [INFO] [stdout] | [INFO] [stdout] 304 | try!(f.write_str("\t\tLooking:\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/mod.rs:306:21 [INFO] [stdout] | [INFO] [stdout] 306 | try!(f.write_fmt(format_args!("\t\t\t({:?},{:?}) => {}\n", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/mod.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | try!(f.write_fmt(format_args!("\t... ({} more states)\n", self.states.len() - 40))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/regex.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | let nfa = try!(Nfa::from_regex(re)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/regex.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | Box::new(try!(Regex::make_anchored(nfa, max_states))) as Box> [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/regex.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | Box::new(try!(Regex::make_forward_backward(nfa, max_states))) as Box> [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/regex.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | let nfa = try!(nfa.byte_me(max_states)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/regex.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | let dfa = try!(nfa.determinize(max_states)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/regex.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | let f_nfa = try!(try!(nfa.clone().byte_me(max_states)).anchor(max_states)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/regex.rs:79:26 [INFO] [stdout] | [INFO] [stdout] 79 | let f_nfa = try!(try!(nfa.clone().byte_me(max_states)).anchor(max_states)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/regex.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | let b_nfa = try!(try!(nfa.byte_me(max_states)).reverse(max_states)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/regex.rs:80:26 [INFO] [stdout] | [INFO] [stdout] 80 | let b_nfa = try!(try!(nfa.byte_me(max_states)).reverse(max_states)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/regex.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | let f_dfa = try!(f_nfa.determinize(max_states)).optimize(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/regex.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | let b_dfa = try!(b_nfa.determinize_longest(max_states)).optimize(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/runner/program.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | try!(f.write_fmt(format_args!("TableInsts ({} log_classes, {} instructions):\n", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/runner/program.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | try!(f.write_str("Byte classes: ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/runner/program.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | try!(f.debug_map() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/runner/program.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | try!(f.write_str("Accept: ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/runner/program.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | try!(f.write_str("Accept_at_eoi: ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/runner/program.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | try!(f.write_fmt(format_args!("State {}:\n", idx))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/runner/program.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | try!(f.debug_map() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/runner/program.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | try!(f.write_str("\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/runner/program.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | try!(f.write_fmt(format_args!("{} -> {:?}, ", idx, ret))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/runner/program.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | try!(f.write_fmt(format_args!("{} -> {:?}, ", idx, ret))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TestResult` and `quickcheck` [INFO] [stdout] --> src/dfa/prefix_searcher.rs:244:34 [INFO] [stdout] | [INFO] [stdout] 244 | use quickcheck::{QuickCheck, quickcheck, StdGen, TestResult}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dfa/mod.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 392 | try!(f.write_fmt(format_args!("Dfa ({} states):\n", self.states.len()))); [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/dfa/mod.rs:394:9 [INFO] [stdout] | [INFO] [stdout] 394 | try!(f.write_fmt(format_args!("Init: {:?}\n", self.init))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dfa/mod.rs:397:13 [INFO] [stdout] | [INFO] [stdout] 397 | try!(f.write_fmt(format_args!("\tState {} (accepting: {:?}):\n", st_idx, st.accept))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dfa/mod.rs:399:17 [INFO] [stdout] | [INFO] [stdout] 399 | try!(f.write_fmt(format_args!("\t\t{:?}\n", ret))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dfa/mod.rs:403:17 [INFO] [stdout] | [INFO] [stdout] 403 | try!(f.write_str("\t\tTransitions:\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dfa/mod.rs:406:21 [INFO] [stdout] | [INFO] [stdout] 406 | try!(f.write_fmt(format_args!("\t\t\t{} -- {} => {}\n", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dfa/mod.rs:410:21 [INFO] [stdout] | [INFO] [stdout] 410 | try!(f.write_str("\t\t\t...\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dfa/mod.rs:415:13 [INFO] [stdout] | [INFO] [stdout] 415 | try!(f.write_fmt(format_args!("\t...({} more states)\n", self.states.len() - 40))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dfa/mod.rs:432:19 [INFO] [stdout] | [INFO] [stdout] 432 | let nfa = try!(Nfa::from_regex(re)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dfa/mod.rs:435:19 [INFO] [stdout] | [INFO] [stdout] 435 | let nfa = try!(nfa.byte_me(max_states)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dfa/mod.rs:438:19 [INFO] [stdout] | [INFO] [stdout] 438 | let dfa = try!(nfa.determinize(max_states)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/nfa/has_looks.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/has_looks.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | let expr = try!(Expr::parse(re)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/no_looks.rs:267:17 [INFO] [stdout] | [INFO] [stdout] 267 | try!(ret.add_utf8_sequences(i, transitions.into_iter().map(|x| x.0), tgt, max_states)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/no_looks.rs:327:21 [INFO] [stdout] | [INFO] [stdout] 327 | try!(ret.add_min_utf8_sequences(i, dfa, accept_state, max_states)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/no_looks.rs:391:21 [INFO] [stdout] | [INFO] [stdout] 391 | try!(self.add_min_utf8_sequences(loop_state, dfa, st_idx, max_states)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/no_looks.rs:392:21 [INFO] [stdout] | [INFO] [stdout] 392 | try!(self.add_min_utf8_sequences(init_state, dfa, st_idx, max_states)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/no_looks.rs:578:9 [INFO] [stdout] | [INFO] [stdout] 578 | try!(det.run(init)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/no_looks.rs:692:37 [INFO] [stdout] | [INFO] [stdout] 692 | let new_state_idx = try!(self.add_state(init_states)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/no_looks.rs:705:34 [INFO] [stdout] | [INFO] [stdout] 705 | let target_idx = try!(self.add_state(target.clone())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/mod.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | try!(f.write_fmt(format_args!("Nfa ({} states):\n", self.states.len()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/mod.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | try!(f.write_fmt(format_args!("Init: {:?}\n", self.init))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/mod.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | try!(f.write_fmt(format_args!("\tState {} ({:?}):\n", st_idx, st.accept))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/mod.rs:289:17 [INFO] [stdout] | [INFO] [stdout] 289 | try!(f.write_fmt(format_args!("\t\tlook {:?}, tokens {:?}, state {:?}\n", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/mod.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 293 | try!(f.write_str("\t\tConsuming:\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/mod.rs:296:21 [INFO] [stdout] | [INFO] [stdout] 296 | try!(f.write_fmt(format_args!("\t\t\t{:?} -- {:?} => {}\n", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/mod.rs:300:21 [INFO] [stdout] | [INFO] [stdout] 300 | try!(f.write_str("\t\t\t...\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/mod.rs:304:17 [INFO] [stdout] | [INFO] [stdout] 304 | try!(f.write_str("\t\tLooking:\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/mod.rs:306:21 [INFO] [stdout] | [INFO] [stdout] 306 | try!(f.write_fmt(format_args!("\t\t\t({:?},{:?}) => {}\n", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nfa/mod.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | try!(f.write_fmt(format_args!("\t... ({} more states)\n", self.states.len() - 40))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/regex.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | let nfa = try!(Nfa::from_regex(re)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/regex.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | Box::new(try!(Regex::make_anchored(nfa, max_states))) as Box> [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/regex.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | Box::new(try!(Regex::make_forward_backward(nfa, max_states))) as Box> [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/regex.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | let nfa = try!(nfa.byte_me(max_states)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/regex.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | let dfa = try!(nfa.determinize(max_states)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/regex.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | let f_nfa = try!(try!(nfa.clone().byte_me(max_states)).anchor(max_states)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/regex.rs:79:26 [INFO] [stdout] | [INFO] [stdout] 79 | let f_nfa = try!(try!(nfa.clone().byte_me(max_states)).anchor(max_states)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/regex.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | let b_nfa = try!(try!(nfa.byte_me(max_states)).reverse(max_states)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/regex.rs:80:26 [INFO] [stdout] | [INFO] [stdout] 80 | let b_nfa = try!(try!(nfa.byte_me(max_states)).reverse(max_states)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/regex.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | let f_dfa = try!(f_nfa.determinize(max_states)).optimize(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/regex.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | let b_dfa = try!(b_nfa.determinize_longest(max_states)).optimize(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/runner/program.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | try!(f.write_fmt(format_args!("TableInsts ({} log_classes, {} instructions):\n", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/runner/program.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | try!(f.write_str("Byte classes: ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/runner/program.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | try!(f.debug_map() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/runner/program.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | try!(f.write_str("Accept: ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/runner/program.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | try!(f.write_str("Accept_at_eoi: ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/runner/program.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | try!(f.write_fmt(format_args!("State {}:\n", idx))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/runner/program.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | try!(f.debug_map() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/runner/program.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | try!(f.write_str("\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/runner/program.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | try!(f.write_fmt(format_args!("{} -> {:?}, ", idx, ret))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/runner/program.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | try!(f.write_fmt(format_args!("{} -> {:?}, ", idx, ret))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/look.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref FULL: RangeSet = RangeSet::full(); [INFO] [stdout] 27 | | static ref WORD_CHAR: RangeSet = [INFO] [stdout] 28 | | PERLW.iter().map(|&(x, y)| Range::new(x as u32, y as u32)).collect(); [INFO] [stdout] ... | [INFO] [stdout] 31 | | static ref EMPTY: RangeSet = RangeSet::new(); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/look.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref FULL: RangeSet = RangeSet::full(); [INFO] [stdout] 27 | | static ref WORD_CHAR: RangeSet = [INFO] [stdout] 28 | | PERLW.iter().map(|&(x, y)| Range::new(x as u32, y as u32)).collect(); [INFO] [stdout] ... | [INFO] [stdout] 31 | | static ref EMPTY: RangeSet = RangeSet::new(); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/look.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref FULL: RangeSet = RangeSet::full(); [INFO] [stdout] 27 | | static ref WORD_CHAR: RangeSet = [INFO] [stdout] 28 | | PERLW.iter().map(|&(x, y)| Range::new(x as u32, y as u32)).collect(); [INFO] [stdout] ... | [INFO] [stdout] 31 | | static ref EMPTY: RangeSet = RangeSet::new(); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/look.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref FULL: RangeSet = RangeSet::full(); [INFO] [stdout] 27 | | static ref WORD_CHAR: RangeSet = [INFO] [stdout] 28 | | PERLW.iter().map(|&(x, y)| Range::new(x as u32, y as u32)).collect(); [INFO] [stdout] ... | [INFO] [stdout] 31 | | static ref EMPTY: RangeSet = RangeSet::new(); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/look.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref FULL: RangeSet = RangeSet::full(); [INFO] [stdout] 27 | | static ref WORD_CHAR: RangeSet = [INFO] [stdout] 28 | | PERLW.iter().map(|&(x, y)| Range::new(x as u32, y as u32)).collect(); [INFO] [stdout] ... | [INFO] [stdout] 31 | | static ref EMPTY: RangeSet = RangeSet::new(); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/look.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref FULL: RangeSet = RangeSet::full(); [INFO] [stdout] 27 | | static ref WORD_CHAR: RangeSet = [INFO] [stdout] 28 | | PERLW.iter().map(|&(x, y)| Range::new(x as u32, y as u32)).collect(); [INFO] [stdout] ... | [INFO] [stdout] 31 | | static ref EMPTY: RangeSet = RangeSet::new(); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/look.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref FULL: RangeSet = RangeSet::full(); [INFO] [stdout] 27 | | static ref WORD_CHAR: RangeSet = [INFO] [stdout] 28 | | PERLW.iter().map(|&(x, y)| Range::new(x as u32, y as u32)).collect(); [INFO] [stdout] ... | [INFO] [stdout] 31 | | static ref EMPTY: RangeSet = RangeSet::new(); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/look.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref FULL: RangeSet = RangeSet::full(); [INFO] [stdout] 27 | | static ref WORD_CHAR: RangeSet = [INFO] [stdout] 28 | | PERLW.iter().map(|&(x, y)| Range::new(x as u32, y as u32)).collect(); [INFO] [stdout] ... | [INFO] [stdout] 31 | | static ref EMPTY: RangeSet = RangeSet::new(); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/look.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref FULL: RangeSet = RangeSet::full(); [INFO] [stdout] 27 | | static ref WORD_CHAR: RangeSet = [INFO] [stdout] 28 | | PERLW.iter().map(|&(x, y)| Range::new(x as u32, y as u32)).collect(); [INFO] [stdout] ... | [INFO] [stdout] 31 | | static ref EMPTY: RangeSet = RangeSet::new(); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/look.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref FULL: RangeSet = RangeSet::full(); [INFO] [stdout] 27 | | static ref WORD_CHAR: RangeSet = [INFO] [stdout] 28 | | PERLW.iter().map(|&(x, y)| Range::new(x as u32, y as u32)).collect(); [INFO] [stdout] ... | [INFO] [stdout] 31 | | static ref EMPTY: RangeSet = RangeSet::new(); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/nfa/no_looks.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / lazy_static! { [INFO] [stdout] 163 | | static ref WORD_CHAR_DFA: Dfa<(Look, u8)> = make_char_dfa(Look::WordChar); [INFO] [stdout] 164 | | static ref NOT_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_char_dfa(Look::NotWordChar); [INFO] [stdout] 165 | | static ref REV_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_rev_char_dfa(Look::WordChar); [INFO] [stdout] 166 | | static ref REV_NOT_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_rev_char_dfa(Look::NotWordChar); [INFO] [stdout] 167 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/nfa/no_looks.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / lazy_static! { [INFO] [stdout] 163 | | static ref WORD_CHAR_DFA: Dfa<(Look, u8)> = make_char_dfa(Look::WordChar); [INFO] [stdout] 164 | | static ref NOT_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_char_dfa(Look::NotWordChar); [INFO] [stdout] 165 | | static ref REV_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_rev_char_dfa(Look::WordChar); [INFO] [stdout] 166 | | static ref REV_NOT_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_rev_char_dfa(Look::NotWordChar); [INFO] [stdout] 167 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/nfa/no_looks.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / lazy_static! { [INFO] [stdout] 163 | | static ref WORD_CHAR_DFA: Dfa<(Look, u8)> = make_char_dfa(Look::WordChar); [INFO] [stdout] 164 | | static ref NOT_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_char_dfa(Look::NotWordChar); [INFO] [stdout] 165 | | static ref REV_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_rev_char_dfa(Look::WordChar); [INFO] [stdout] 166 | | static ref REV_NOT_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_rev_char_dfa(Look::NotWordChar); [INFO] [stdout] 167 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/nfa/no_looks.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / lazy_static! { [INFO] [stdout] 163 | | static ref WORD_CHAR_DFA: Dfa<(Look, u8)> = make_char_dfa(Look::WordChar); [INFO] [stdout] 164 | | static ref NOT_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_char_dfa(Look::NotWordChar); [INFO] [stdout] 165 | | static ref REV_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_rev_char_dfa(Look::WordChar); [INFO] [stdout] 166 | | static ref REV_NOT_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_rev_char_dfa(Look::NotWordChar); [INFO] [stdout] 167 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/nfa/no_looks.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / lazy_static! { [INFO] [stdout] 163 | | static ref WORD_CHAR_DFA: Dfa<(Look, u8)> = make_char_dfa(Look::WordChar); [INFO] [stdout] 164 | | static ref NOT_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_char_dfa(Look::NotWordChar); [INFO] [stdout] 165 | | static ref REV_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_rev_char_dfa(Look::WordChar); [INFO] [stdout] 166 | | static ref REV_NOT_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_rev_char_dfa(Look::NotWordChar); [INFO] [stdout] 167 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/nfa/no_looks.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / lazy_static! { [INFO] [stdout] 163 | | static ref WORD_CHAR_DFA: Dfa<(Look, u8)> = make_char_dfa(Look::WordChar); [INFO] [stdout] 164 | | static ref NOT_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_char_dfa(Look::NotWordChar); [INFO] [stdout] 165 | | static ref REV_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_rev_char_dfa(Look::WordChar); [INFO] [stdout] 166 | | static ref REV_NOT_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_rev_char_dfa(Look::NotWordChar); [INFO] [stdout] 167 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/nfa/no_looks.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / lazy_static! { [INFO] [stdout] 163 | | static ref WORD_CHAR_DFA: Dfa<(Look, u8)> = make_char_dfa(Look::WordChar); [INFO] [stdout] 164 | | static ref NOT_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_char_dfa(Look::NotWordChar); [INFO] [stdout] 165 | | static ref REV_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_rev_char_dfa(Look::WordChar); [INFO] [stdout] 166 | | static ref REV_NOT_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_rev_char_dfa(Look::NotWordChar); [INFO] [stdout] 167 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/nfa/no_looks.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / lazy_static! { [INFO] [stdout] 163 | | static ref WORD_CHAR_DFA: Dfa<(Look, u8)> = make_char_dfa(Look::WordChar); [INFO] [stdout] 164 | | static ref NOT_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_char_dfa(Look::NotWordChar); [INFO] [stdout] 165 | | static ref REV_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_rev_char_dfa(Look::WordChar); [INFO] [stdout] 166 | | static ref REV_NOT_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_rev_char_dfa(Look::NotWordChar); [INFO] [stdout] 167 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/regex.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | engine: Box>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | engine: Box>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph.rs:26:52 [INFO] [stdout] | [INFO] [stdout] 26 | fn neighbors<'a>(&'a self, i: StateIdx) -> Box + 'a>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | fn neighbors<'a>(&'a self, i: StateIdx) -> Box + 'a>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/runner/mod.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | fn clone_box(&self) -> Box>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | fn clone_box(&self) -> Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph.rs:168:52 [INFO] [stdout] | [INFO] [stdout] 168 | fn neighbors<'a>(&'a self, i: StateIdx) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 168 | fn neighbors<'a>(&'a self, i: StateIdx) -> Box + 'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph.rs:178:49 [INFO] [stdout] | [INFO] [stdout] 178 | fn neighbors<'a>(&'a self, i: usize) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 178 | fn neighbors<'a>(&'a self, i: usize) -> Box + 'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/nfa/no_looks.rs:86:46 [INFO] [stdout] | [INFO] [stdout] 86 | fn from_sequences<'a, I>(iter: I) -> Box + 'a> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 | fn from_sequences<'a, I>(iter: I) -> Box + 'a> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/nfa/no_looks.rs:99:43 [INFO] [stdout] | [INFO] [stdout] 99 | fn from_ranges<'a, I>(iter: I) -> Box + 'a> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 | fn from_ranges<'a, I>(iter: I) -> Box + 'a> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/regex.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | fn clone_box(&self) -> Box> { Box::new(EmptyEngine) } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | fn clone_box(&self) -> Box> { Box::new(EmptyEngine) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/runner/anchored.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 38 | fn clone_box(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | fn clone_box(&self) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/runner/forward_backward.rs:90:32 [INFO] [stdout] | [INFO] [stdout] 90 | fn clone_box(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 | fn clone_box(&self) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/look.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref FULL: RangeSet = RangeSet::full(); [INFO] [stdout] 27 | | static ref WORD_CHAR: RangeSet = [INFO] [stdout] 28 | | PERLW.iter().map(|&(x, y)| Range::new(x as u32, y as u32)).collect(); [INFO] [stdout] ... | [INFO] [stdout] 31 | | static ref EMPTY: RangeSet = RangeSet::new(); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/look.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref FULL: RangeSet = RangeSet::full(); [INFO] [stdout] 27 | | static ref WORD_CHAR: RangeSet = [INFO] [stdout] 28 | | PERLW.iter().map(|&(x, y)| Range::new(x as u32, y as u32)).collect(); [INFO] [stdout] ... | [INFO] [stdout] 31 | | static ref EMPTY: RangeSet = RangeSet::new(); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/look.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref FULL: RangeSet = RangeSet::full(); [INFO] [stdout] 27 | | static ref WORD_CHAR: RangeSet = [INFO] [stdout] 28 | | PERLW.iter().map(|&(x, y)| Range::new(x as u32, y as u32)).collect(); [INFO] [stdout] ... | [INFO] [stdout] 31 | | static ref EMPTY: RangeSet = RangeSet::new(); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/look.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref FULL: RangeSet = RangeSet::full(); [INFO] [stdout] 27 | | static ref WORD_CHAR: RangeSet = [INFO] [stdout] 28 | | PERLW.iter().map(|&(x, y)| Range::new(x as u32, y as u32)).collect(); [INFO] [stdout] ... | [INFO] [stdout] 31 | | static ref EMPTY: RangeSet = RangeSet::new(); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/look.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref FULL: RangeSet = RangeSet::full(); [INFO] [stdout] 27 | | static ref WORD_CHAR: RangeSet = [INFO] [stdout] 28 | | PERLW.iter().map(|&(x, y)| Range::new(x as u32, y as u32)).collect(); [INFO] [stdout] ... | [INFO] [stdout] 31 | | static ref EMPTY: RangeSet = RangeSet::new(); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/look.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref FULL: RangeSet = RangeSet::full(); [INFO] [stdout] 27 | | static ref WORD_CHAR: RangeSet = [INFO] [stdout] 28 | | PERLW.iter().map(|&(x, y)| Range::new(x as u32, y as u32)).collect(); [INFO] [stdout] ... | [INFO] [stdout] 31 | | static ref EMPTY: RangeSet = RangeSet::new(); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/look.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref FULL: RangeSet = RangeSet::full(); [INFO] [stdout] 27 | | static ref WORD_CHAR: RangeSet = [INFO] [stdout] 28 | | PERLW.iter().map(|&(x, y)| Range::new(x as u32, y as u32)).collect(); [INFO] [stdout] ... | [INFO] [stdout] 31 | | static ref EMPTY: RangeSet = RangeSet::new(); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/look.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref FULL: RangeSet = RangeSet::full(); [INFO] [stdout] 27 | | static ref WORD_CHAR: RangeSet = [INFO] [stdout] 28 | | PERLW.iter().map(|&(x, y)| Range::new(x as u32, y as u32)).collect(); [INFO] [stdout] ... | [INFO] [stdout] 31 | | static ref EMPTY: RangeSet = RangeSet::new(); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/look.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref FULL: RangeSet = RangeSet::full(); [INFO] [stdout] 27 | | static ref WORD_CHAR: RangeSet = [INFO] [stdout] 28 | | PERLW.iter().map(|&(x, y)| Range::new(x as u32, y as u32)).collect(); [INFO] [stdout] ... | [INFO] [stdout] 31 | | static ref EMPTY: RangeSet = RangeSet::new(); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/look.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref FULL: RangeSet = RangeSet::full(); [INFO] [stdout] 27 | | static ref WORD_CHAR: RangeSet = [INFO] [stdout] 28 | | PERLW.iter().map(|&(x, y)| Range::new(x as u32, y as u32)).collect(); [INFO] [stdout] ... | [INFO] [stdout] 31 | | static ref EMPTY: RangeSet = RangeSet::new(); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/nfa/no_looks.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / lazy_static! { [INFO] [stdout] 163 | | static ref WORD_CHAR_DFA: Dfa<(Look, u8)> = make_char_dfa(Look::WordChar); [INFO] [stdout] 164 | | static ref NOT_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_char_dfa(Look::NotWordChar); [INFO] [stdout] 165 | | static ref REV_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_rev_char_dfa(Look::WordChar); [INFO] [stdout] 166 | | static ref REV_NOT_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_rev_char_dfa(Look::NotWordChar); [INFO] [stdout] 167 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/nfa/no_looks.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / lazy_static! { [INFO] [stdout] 163 | | static ref WORD_CHAR_DFA: Dfa<(Look, u8)> = make_char_dfa(Look::WordChar); [INFO] [stdout] 164 | | static ref NOT_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_char_dfa(Look::NotWordChar); [INFO] [stdout] 165 | | static ref REV_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_rev_char_dfa(Look::WordChar); [INFO] [stdout] 166 | | static ref REV_NOT_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_rev_char_dfa(Look::NotWordChar); [INFO] [stdout] 167 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/nfa/no_looks.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / lazy_static! { [INFO] [stdout] 163 | | static ref WORD_CHAR_DFA: Dfa<(Look, u8)> = make_char_dfa(Look::WordChar); [INFO] [stdout] 164 | | static ref NOT_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_char_dfa(Look::NotWordChar); [INFO] [stdout] 165 | | static ref REV_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_rev_char_dfa(Look::WordChar); [INFO] [stdout] 166 | | static ref REV_NOT_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_rev_char_dfa(Look::NotWordChar); [INFO] [stdout] 167 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/nfa/no_looks.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / lazy_static! { [INFO] [stdout] 163 | | static ref WORD_CHAR_DFA: Dfa<(Look, u8)> = make_char_dfa(Look::WordChar); [INFO] [stdout] 164 | | static ref NOT_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_char_dfa(Look::NotWordChar); [INFO] [stdout] 165 | | static ref REV_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_rev_char_dfa(Look::WordChar); [INFO] [stdout] 166 | | static ref REV_NOT_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_rev_char_dfa(Look::NotWordChar); [INFO] [stdout] 167 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/nfa/no_looks.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / lazy_static! { [INFO] [stdout] 163 | | static ref WORD_CHAR_DFA: Dfa<(Look, u8)> = make_char_dfa(Look::WordChar); [INFO] [stdout] 164 | | static ref NOT_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_char_dfa(Look::NotWordChar); [INFO] [stdout] 165 | | static ref REV_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_rev_char_dfa(Look::WordChar); [INFO] [stdout] 166 | | static ref REV_NOT_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_rev_char_dfa(Look::NotWordChar); [INFO] [stdout] 167 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/nfa/no_looks.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / lazy_static! { [INFO] [stdout] 163 | | static ref WORD_CHAR_DFA: Dfa<(Look, u8)> = make_char_dfa(Look::WordChar); [INFO] [stdout] 164 | | static ref NOT_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_char_dfa(Look::NotWordChar); [INFO] [stdout] 165 | | static ref REV_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_rev_char_dfa(Look::WordChar); [INFO] [stdout] 166 | | static ref REV_NOT_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_rev_char_dfa(Look::NotWordChar); [INFO] [stdout] 167 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/nfa/no_looks.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / lazy_static! { [INFO] [stdout] 163 | | static ref WORD_CHAR_DFA: Dfa<(Look, u8)> = make_char_dfa(Look::WordChar); [INFO] [stdout] 164 | | static ref NOT_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_char_dfa(Look::NotWordChar); [INFO] [stdout] 165 | | static ref REV_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_rev_char_dfa(Look::WordChar); [INFO] [stdout] 166 | | static ref REV_NOT_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_rev_char_dfa(Look::NotWordChar); [INFO] [stdout] 167 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/nfa/no_looks.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / lazy_static! { [INFO] [stdout] 163 | | static ref WORD_CHAR_DFA: Dfa<(Look, u8)> = make_char_dfa(Look::WordChar); [INFO] [stdout] 164 | | static ref NOT_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_char_dfa(Look::NotWordChar); [INFO] [stdout] 165 | | static ref REV_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_rev_char_dfa(Look::WordChar); [INFO] [stdout] 166 | | static ref REV_NOT_WORD_CHAR_DFA: Dfa<(Look, u8)> = make_rev_char_dfa(Look::NotWordChar); [INFO] [stdout] 167 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/regex.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | engine: Box>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | engine: Box>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph.rs:26:52 [INFO] [stdout] | [INFO] [stdout] 26 | fn neighbors<'a>(&'a self, i: StateIdx) -> Box + 'a>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | fn neighbors<'a>(&'a self, i: StateIdx) -> Box + 'a>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/runner/mod.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | fn clone_box(&self) -> Box>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | fn clone_box(&self) -> Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph.rs:168:52 [INFO] [stdout] | [INFO] [stdout] 168 | fn neighbors<'a>(&'a self, i: StateIdx) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 168 | fn neighbors<'a>(&'a self, i: StateIdx) -> Box + 'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph.rs:178:49 [INFO] [stdout] | [INFO] [stdout] 178 | fn neighbors<'a>(&'a self, i: usize) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 178 | fn neighbors<'a>(&'a self, i: usize) -> Box + 'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/nfa/no_looks.rs:86:46 [INFO] [stdout] | [INFO] [stdout] 86 | fn from_sequences<'a, I>(iter: I) -> Box + 'a> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 | fn from_sequences<'a, I>(iter: I) -> Box + 'a> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/nfa/no_looks.rs:99:43 [INFO] [stdout] | [INFO] [stdout] 99 | fn from_ranges<'a, I>(iter: I) -> Box + 'a> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 | fn from_ranges<'a, I>(iter: I) -> Box + 'a> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/regex.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | fn clone_box(&self) -> Box> { Box::new(EmptyEngine) } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | fn clone_box(&self) -> Box> { Box::new(EmptyEngine) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/runner/anchored.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 38 | fn clone_box(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | fn clone_box(&self) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/runner/forward_backward.rs:90:32 [INFO] [stdout] | [INFO] [stdout] 90 | fn clone_box(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 | fn clone_box(&self) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | RegexSyntax(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 44 | let mut remaining_children_stack: Vec>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | let mut remaining_children_stack: Vec>> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | RegexSyntax(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 44 | let mut remaining_children_stack: Vec>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | let mut remaining_children_stack: Vec>> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/regex.rs:52:42 [INFO] [stdout] | [INFO] [stdout] 52 | Box::new(EmptyEngine) as Box> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 | Box::new(EmptyEngine) as Box> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/regex.rs:54:74 [INFO] [stdout] | [INFO] [stdout] 54 | Box::new(try!(Regex::make_anchored(nfa, max_states))) as Box> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 | Box::new(try!(Regex::make_anchored(nfa, max_states))) as Box> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/regex.rs:56:82 [INFO] [stdout] | [INFO] [stdout] 56 | Box::new(try!(Regex::make_forward_backward(nfa, max_states))) as Box> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | Box::new(try!(Regex::make_forward_backward(nfa, max_states))) as Box> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/regex.rs:52:42 [INFO] [stdout] | [INFO] [stdout] 52 | Box::new(EmptyEngine) as Box> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 | Box::new(EmptyEngine) as Box> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/regex.rs:54:74 [INFO] [stdout] | [INFO] [stdout] 54 | Box::new(try!(Regex::make_anchored(nfa, max_states))) as Box> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 | Box::new(try!(Regex::make_anchored(nfa, max_states))) as Box> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/regex.rs:56:82 [INFO] [stdout] | [INFO] [stdout] 56 | Box::new(try!(Regex::make_forward_backward(nfa, max_states))) as Box> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | Box::new(try!(Regex::make_forward_backward(nfa, max_states))) as Box> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 81 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `regex_dfa` (lib) due to 3 previous errors; 81 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 85 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `regex_dfa` (lib test) due to 3 previous errors; 85 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a2e8d69dbc4b149c37d5388e994f1ae68ec80612a001164b32904808d78aef24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2e8d69dbc4b149c37d5388e994f1ae68ec80612a001164b32904808d78aef24", kill_on_drop: false }` [INFO] [stdout] a2e8d69dbc4b149c37d5388e994f1ae68ec80612a001164b32904808d78aef24