[INFO] cloning repository https://github.com/alan20210202/particle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alan20210202/particle" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falan20210202%2Fparticle", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falan20210202%2Fparticle'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 55df2311ee8ab4565a0051711f26ba4890a52341 [INFO] testing alan20210202/particle against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falan20210202%2Fparticle" "/workspace/builds/worker-19/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-19/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alan20210202/particle on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alan20210202/particle [INFO] finished tweaking git repo https://github.com/alan20210202/particle [INFO] tweaked toml for git repo https://github.com/alan20210202/particle written to /workspace/builds/worker-19/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cfa68d0c274efd02c0d255939a639c7a8834cbfe4d6fab52dcd29cd15de9dae [INFO] running `Command { std: "docker" "start" "-a" "0cfa68d0c274efd02c0d255939a639c7a8834cbfe4d6fab52dcd29cd15de9dae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cfa68d0c274efd02c0d255939a639c7a8834cbfe4d6fab52dcd29cd15de9dae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cfa68d0c274efd02c0d255939a639c7a8834cbfe4d6fab52dcd29cd15de9dae", kill_on_drop: false }` [INFO] [stdout] 0cfa68d0c274efd02c0d255939a639c7a8834cbfe4d6fab52dcd29cd15de9dae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7da90574a0322f0859cc4d061d8f6ebbdf2b39ab4b34de20070685d06bac53ea [INFO] running `Command { std: "docker" "start" "-a" "7da90574a0322f0859cc4d061d8f6ebbdf2b39ab4b34de20070685d06bac53ea", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling multimap v0.4.0 [INFO] [stderr] Compiling particle v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `compile_regex_deprecated` [INFO] [stdout] --> src/regex.rs:249:4 [INFO] [stdout] | [INFO] [stdout] 249 | fn compile_regex_deprecated(regex: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/main.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | Err(msg) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `span` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | span: Span, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.20s [INFO] running `Command { std: "docker" "inspect" "7da90574a0322f0859cc4d061d8f6ebbdf2b39ab4b34de20070685d06bac53ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7da90574a0322f0859cc4d061d8f6ebbdf2b39ab4b34de20070685d06bac53ea", kill_on_drop: false }` [INFO] [stdout] 7da90574a0322f0859cc4d061d8f6ebbdf2b39ab4b34de20070685d06bac53ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cf255c78f3f4ad669f959377627e56f842f5e07db2069e48bcc5f8762e45218 [INFO] running `Command { std: "docker" "start" "-a" "7cf255c78f3f4ad669f959377627e56f842f5e07db2069e48bcc5f8762e45218", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling cast v0.1.0 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling thread-scoped v1.0.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling itertools v0.4.19 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling itertools v0.5.10 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stdout] warning: function is never used: `compile_regex_deprecated` [INFO] [stdout] --> src/regex.rs:249:4 [INFO] [stdout] | [INFO] [stdout] 249 | fn compile_regex_deprecated(regex: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling criterion-plot v0.1.3 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v0.2.13 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling isatty v0.1.9 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling simplelog v0.4.4 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling criterion-stats v0.1.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling criterion v0.1.2 [INFO] [stderr] Compiling particle v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/main.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | Err(msg) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `span` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | span: Span, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compile_regex_deprecated` [INFO] [stdout] --> src/regex.rs:249:4 [INFO] [stdout] | [INFO] [stdout] 249 | fn compile_regex_deprecated(regex: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 11.96s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/particle-2471bd157b024702) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/particle-90e04ceee28422e9) [INFO] running `Command { std: "docker" "inspect" "7cf255c78f3f4ad669f959377627e56f842f5e07db2069e48bcc5f8762e45218", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cf255c78f3f4ad669f959377627e56f842f5e07db2069e48bcc5f8762e45218", kill_on_drop: false }` [INFO] [stdout] 7cf255c78f3f4ad669f959377627e56f842f5e07db2069e48bcc5f8762e45218 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 84d4f21b651fffcf08e75bbc1bd3476f47429a770c5437c624100d5cde93b86f [INFO] running `Command { std: "docker" "start" "-a" "84d4f21b651fffcf08e75bbc1bd3476f47429a770c5437c624100d5cde93b86f", kill_on_drop: false }` [INFO] [stderr] warning: function is never used: `compile_regex_deprecated` [INFO] [stderr] --> src/regex.rs:249:4 [INFO] [stderr] | [INFO] [stderr] 249 | fn compile_regex_deprecated(regex: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `particle` (lib) generated 1 warning [INFO] [stderr] warning: unused import: `std::fs` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::fs; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> src/main.rs:66:17 [INFO] [stderr] | [INFO] [stderr] 66 | Err(msg) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `span` [INFO] [stderr] --> src/main.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | span: Span, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `particle` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: `particle` (bin "particle" test) generated 3 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/particle-2471bd157b024702) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/particle-90e04ceee28422e9) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests particle [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/automatons.rs - automatons (line 5) ... FAILED [INFO] [stdout] test src/automatons.rs - automatons (line 30) ... FAILED [INFO] [stdout] test src/lib.rs - (line 101) ... FAILED [INFO] [stdout] test src/automatons.rs - automatons (line 26) ... FAILED [INFO] [stdout] test src/automatons.rs - automatons (line 9) ... ok [INFO] [stdout] test src/regex.rs - regex (line 13) ... ok [INFO] [stdout] test src/lib.rs - (line 27) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/automatons.rs - automatons (line 5) stdout ---- [INFO] [stdout] error: unknown start of token: \ [INFO] [stdout] --> src/automatons.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 3 | [1-9][0-9]*(\.[0-9]+)?([eE](\+|-)?[1-9][0-9]*)? [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: \ [INFO] [stdout] --> src/automatons.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 3 | [1-9][0-9]*(\.[0-9]+)?([eE](\+|-)?[1-9][0-9]*)? [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: expected expression, found `.` [INFO] [stdout] --> src/automatons.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 3 | [1-9][0-9]*(\.[0-9]+)?([eE](\+|-)?[1-9][0-9]*)? [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] error: expected expression, found `+` [INFO] [stdout] --> src/automatons.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 3 | [1-9][0-9]*(\.[0-9]+)?([eE](\+|-)?[1-9][0-9]*)? [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] error: expected expression, found `)` [INFO] [stdout] --> src/automatons.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 3 | [1-9][0-9]*(\.[0-9]+)?([eE](\+|-)?[1-9][0-9]*)? [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/automatons.rs:6:47 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_automatons_rs_5_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | [1-9][0-9]*(\.[0-9]+)?([eE](\+|-)?[1-9][0-9]*)? [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 4 | | } _doctest_main_src_automatons_rs_5_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/automatons.rs - automatons (line 30) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `dfa` in this scope [INFO] [stdout] --> src/automatons.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 3 | let dfa = dfa.minimize(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 101) stdout ---- [INFO] [stdout] error: expected `;`, found `Str` [INFO] [stdout] --> src/lib.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 3 | Punctuation("{") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 4 | Str("\"age\"") [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `Punctuation` [INFO] [stdout] --> src/lib.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 4 | Str("\"age\"") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 5 | Punctuation(":") [INFO] [stdout] | ----------- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `Number` [INFO] [stdout] --> src/lib.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 5 | Punctuation(":") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 6 | Number(29.0) [INFO] [stdout] | ------ unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `Punctuation` [INFO] [stdout] --> src/lib.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 6 | Number(29.0) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 7 | Punctuation(",") [INFO] [stdout] | ----------- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `Str` [INFO] [stdout] --> src/lib.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 7 | Punctuation(",") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 8 | Str("\"name\"") [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `Punctuation` [INFO] [stdout] --> src/lib.rs:107:16 [INFO] [stdout] | [INFO] [stdout] 8 | Str("\"name\"") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 9 | Punctuation(":") [INFO] [stdout] | ----------- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `Str` [INFO] [stdout] --> src/lib.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 9 | Punctuation(":") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 10 | Str("\"Glover Duran\"") [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `Punctuation` [INFO] [stdout] --> src/lib.rs:109:24 [INFO] [stdout] | [INFO] [stdout] 10 | Str("\"Glover Duran\"") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 11 | Punctuation(",") [INFO] [stdout] | ----------- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `Str` [INFO] [stdout] --> src/lib.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 11 | Punctuation(",") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 12 | Str("\"gender\"") [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `Punctuation` [INFO] [stdout] --> src/lib.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 12 | Str("\"gender\"") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 13 | Punctuation(":") [INFO] [stdout] | ----------- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `Str` [INFO] [stdout] --> src/lib.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 13 | Punctuation(":") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 14 | Str("\"male\"") [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `Punctuation` [INFO] [stdout] --> src/lib.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 14 | Str("\"male\"") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 15 | Punctuation(",") [INFO] [stdout] | ----------- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `Str` [INFO] [stdout] --> src/lib.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 15 | Punctuation(",") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 16 | Str("\"company\"") [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `Punctuation` [INFO] [stdout] --> src/lib.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 16 | Str("\"company\"") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 17 | Punctuation(":") [INFO] [stdout] | ----------- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `Str` [INFO] [stdout] --> src/lib.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 17 | Punctuation(":") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 18 | Str("\"KINETICA\"") [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `Punctuation` [INFO] [stdout] --> src/lib.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 18 | Str("\"KINETICA\"") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 19 | Punctuation(",") [INFO] [stdout] | ----------- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `Str` [INFO] [stdout] --> src/lib.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 19 | Punctuation(",") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 20 | Str("\"phone\"") [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `Punctuation` [INFO] [stdout] --> src/lib.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 20 | Str("\"phone\"") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 21 | Punctuation(":") [INFO] [stdout] | ----------- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `Str` [INFO] [stdout] --> src/lib.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 21 | Punctuation(":") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 22 | Str("\"+1 (953) 497-3410\"") [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `Punctuation` [INFO] [stdout] --> src/lib.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 22 | Str("\"+1 (953) 497-3410\"") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 23 | Punctuation(",") [INFO] [stdout] | ----------- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `Str` [INFO] [stdout] --> src/lib.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 23 | Punctuation(",") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 24 | Str("\"address\"") [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 25 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 25 | .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 25 | ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 25 | ... [INFO] [stdout] | ^^^ help: use `..` instead [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Punctuation` in this scope [INFO] [stdout] --> src/lib.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 3 | Punctuation("{") [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 | use regex_syntax::ast::LiteralKind::Punctuation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Str` in this scope [INFO] [stdout] --> src/lib.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 4 | Str("\"age\"") [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Punctuation` in this scope [INFO] [stdout] --> src/lib.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 5 | Punctuation(":") [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 | use regex_syntax::ast::LiteralKind::Punctuation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Number` in this scope [INFO] [stdout] --> src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 6 | Number(29.0) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Punctuation` in this scope [INFO] [stdout] --> src/lib.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 7 | Punctuation(",") [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 | use regex_syntax::ast::LiteralKind::Punctuation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Str` in this scope [INFO] [stdout] --> src/lib.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 8 | Str("\"name\"") [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Punctuation` in this scope [INFO] [stdout] --> src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 9 | Punctuation(":") [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 | use regex_syntax::ast::LiteralKind::Punctuation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Str` in this scope [INFO] [stdout] --> src/lib.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 10 | Str("\"Glover Duran\"") [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Punctuation` in this scope [INFO] [stdout] --> src/lib.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 11 | Punctuation(",") [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 | use regex_syntax::ast::LiteralKind::Punctuation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Str` in this scope [INFO] [stdout] --> src/lib.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 12 | Str("\"gender\"") [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Punctuation` in this scope [INFO] [stdout] --> src/lib.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 13 | Punctuation(":") [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 | use regex_syntax::ast::LiteralKind::Punctuation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Str` in this scope [INFO] [stdout] --> src/lib.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 14 | Str("\"male\"") [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Punctuation` in this scope [INFO] [stdout] --> src/lib.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 15 | Punctuation(",") [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 | use regex_syntax::ast::LiteralKind::Punctuation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Str` in this scope [INFO] [stdout] --> src/lib.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 16 | Str("\"company\"") [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Punctuation` in this scope [INFO] [stdout] --> src/lib.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 17 | Punctuation(":") [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 | use regex_syntax::ast::LiteralKind::Punctuation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Str` in this scope [INFO] [stdout] --> src/lib.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 18 | Str("\"KINETICA\"") [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Punctuation` in this scope [INFO] [stdout] --> src/lib.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 19 | Punctuation(",") [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 | use regex_syntax::ast::LiteralKind::Punctuation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Str` in this scope [INFO] [stdout] --> src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 20 | Str("\"phone\"") [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Punctuation` in this scope [INFO] [stdout] --> src/lib.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 21 | Punctuation(":") [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 | use regex_syntax::ast::LiteralKind::Punctuation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Str` in this scope [INFO] [stdout] --> src/lib.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 22 | Str("\"+1 (953) 497-3410\"") [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Punctuation` in this scope [INFO] [stdout] --> src/lib.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 23 | Punctuation(",") [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 | use regex_syntax::ast::LiteralKind::Punctuation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 44 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/automatons.rs - automatons (line 26) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DFA` [INFO] [stdout] --> src/automatons.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 3 | let dfa = DFA::from(nfa); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use particle::automatons::DFA; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `nfa` in this scope [INFO] [stdout] --> src/automatons.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 3 | let dfa = DFA::from(nfa); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/automatons.rs - automatons (line 26) [INFO] [stdout] src/automatons.rs - automatons (line 30) [INFO] [stdout] src/automatons.rs - automatons (line 5) [INFO] [stdout] src/lib.rs - (line 101) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.21s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "84d4f21b651fffcf08e75bbc1bd3476f47429a770c5437c624100d5cde93b86f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84d4f21b651fffcf08e75bbc1bd3476f47429a770c5437c624100d5cde93b86f", kill_on_drop: false }` [INFO] [stdout] 84d4f21b651fffcf08e75bbc1bd3476f47429a770c5437c624100d5cde93b86f