[INFO] fetching crate fancy-regex-fork-pb 0.3.2... [INFO] checking fancy-regex-fork-pb-0.3.2 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate fancy-regex-fork-pb 0.3.2 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate fancy-regex-fork-pb 0.3.2 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fancy-regex-fork-pb 0.3.2 [INFO] finished tweaking crates.io crate fancy-regex-fork-pb 0.3.2 [INFO] tweaked toml for crates.io crate fancy-regex-fork-pb 0.3.2 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate fancy-regex-fork-pb 0.3.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bstr v0.2.10 [INFO] [stderr] Downloaded aho-corasick v0.7.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f8bba97a4ec305af1c6062133bd9da7b883b6539dd263560611f80cf01a029f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8f8bba97a4ec305af1c6062133bd9da7b883b6539dd263560611f80cf01a029f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f8bba97a4ec305af1c6062133bd9da7b883b6539dd263560611f80cf01a029f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f8bba97a4ec305af1c6062133bd9da7b883b6539dd263560611f80cf01a029f", kill_on_drop: false }` [INFO] [stdout] 8f8bba97a4ec305af1c6062133bd9da7b883b6539dd263560611f80cf01a029f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d367cdd8154c759ac5748f64e0d0bffbc2d64d1eda656f62297244a7ecce0fde [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d367cdd8154c759ac5748f64e0d0bffbc2d64d1eda656f62297244a7ecce0fde", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking regex-syntax v0.6.14 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking aho-corasick v0.7.7 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking criterion-plot v0.4.1 [INFO] [stderr] Checking rayon-core v1.7.0 [INFO] [stderr] Checking plotters v0.2.12 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking regex v1.3.4 [INFO] [stderr] Checking serde_json v1.0.45 [INFO] [stderr] Checking bstr v0.2.10 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking fancy-regex-fork-pb v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/parse.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | const FLAG_CASEI: u32 = (1 << 0); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/parse.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | const FLAG_MULTI: u32 = (1 << 1); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/parse.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | const FLAG_DOTNL: u32 = (1 << 2); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/parse.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | const FLAG_SWAP_GREED: u32 = (1 << 3); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/parse.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | const FLAG_IGNORE_SPACE: u32 = (1 << 4); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/parse.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | const FLAG_UNICODE: u32 = (1 << 5); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking quickcheck v0.7.2 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tinytemplate v1.0.3 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Checking criterion v0.3.1 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fancy_regex` [INFO] [stdout] --> examples/toy.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use fancy_regex::internal::{analyze, compile, run_trace, Insn, Prog}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `fancy_regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `fancy_regex`, `fancy_regex::internal::analyze`, `fancy_regex::internal::compile`, `fancy_regex::internal::run_trace`, `fancy_regex::internal::Insn`, `fancy_regex::internal::Prog` [INFO] [stdout] --> examples/toy.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | use fancy_regex::internal::{analyze, compile, run_trace, Insn, Prog}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^ ^^^^ [INFO] [stdout] 24 | use fancy_regex::*; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `fancy_regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/parse.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | const FLAG_CASEI: u32 = (1 << 0); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/parse.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | const FLAG_MULTI: u32 = (1 << 1); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/parse.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | const FLAG_DOTNL: u32 = (1 << 2); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fancy_regex` [INFO] [stdout] --> tests/captures.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use fancy_regex::{Captures, Match, Result}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `fancy_regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/parse.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | const FLAG_SWAP_GREED: u32 = (1 << 3); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fancy_regex` [INFO] [stdout] --> tests/common/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use fancy_regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `fancy_regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/parse.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | const FLAG_IGNORE_SPACE: u32 = (1 << 4); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/parse.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | const FLAG_UNICODE: u32 = (1 << 5); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fancy_regex` [INFO] [stdout] --> tests/common/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use fancy_regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `fancy_regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fancy_regex` [INFO] [stdout] --> tests/finding.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use fancy_regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `fancy_regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fancy_regex` [INFO] [stdout] --> benches/bench.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use fancy_regex::internal::{analyze, compile, run_default}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `fancy_regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fancy_regex` [INFO] [stdout] --> tests/oniguruma.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use fancy_regex::Regex as FancyRegex; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `fancy_regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fancy_regex` [INFO] [stdout] --> tests/matching.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use fancy_regex::{Error, RegexBuilder}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `fancy_regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fancy_regex` [INFO] [stdout] --> tests/common/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use fancy_regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `fancy_regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fancy_regex` [INFO] [stdout] --> benches/bench.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use fancy_regex::Expr; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `fancy_regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `analyze` in this scope [INFO] [stdout] --> benches/bench.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | b.iter(|| analyze(&e, &br).unwrap()) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 24 | use fancy_regex_fork_pb::internal::analyze; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `analyze` in this scope [INFO] [stdout] --> benches/bench.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let a = analyze(&e, &br).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 24 | use fancy_regex_fork_pb::internal::analyze; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `compile` in this scope [INFO] [stdout] --> benches/bench.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let p = compile(&a).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 24 | use fancy_regex_fork_pb::internal::compile; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run_default` in this scope [INFO] [stdout] --> benches/bench.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | b.iter(|| run_default(&p, "babab", 0).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 24 | use fancy_regex_fork_pb::internal::run_default; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `analyze` in this scope [INFO] [stdout] --> benches/bench.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let a = analyze(&e, &br).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 24 | use fancy_regex_fork_pb::internal::analyze; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `compile` in this scope [INFO] [stdout] --> benches/bench.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let p = compile(&a).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 24 | use fancy_regex_fork_pb::internal::compile; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run_default` in this scope [INFO] [stdout] --> benches/bench.rs:82:50 [INFO] [stdout] | [INFO] [stdout] 82 | c.bench_function("run_tricky", |b| b.iter(|| run_default(&p, &s, 0).unwrap())); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 24 | use fancy_regex_fork_pb::internal::run_default; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `analyze` in this scope [INFO] [stdout] --> benches/bench.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let a = analyze(&e, &br).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 24 | use fancy_regex_fork_pb::internal::analyze; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `compile` in this scope [INFO] [stdout] --> benches/bench.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let p = compile(&a).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 24 | use fancy_regex_fork_pb::internal::compile; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run_default` in this scope [INFO] [stdout] --> benches/bench.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | b.iter(|| run_default(&p, &s, 0).unwrap_err()) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 24 | use fancy_regex_fork_pb::internal::run_default; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fancy-regex-fork-pb` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Insn` [INFO] [stdout] --> examples/toy.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | Insn::Split(a, b) => { [INFO] [stdout] | ^^^^ use of undeclared type `Insn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Insn` [INFO] [stdout] --> examples/toy.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | Insn::Jmp(target) => { [INFO] [stdout] | ^^^^ use of undeclared type `Insn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Insn` [INFO] [stdout] --> examples/toy.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | Insn::End => {} [INFO] [stdout] | ^^^^ use of undeclared type `Insn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> examples/toy.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | let e = Expr::parse(&re); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 23 | use fancy_regex_fork_pb::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> examples/toy.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | let (e, backrefs) = Expr::parse(&re).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 23 | use fancy_regex_fork_pb::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `analyze` in this scope [INFO] [stdout] --> examples/toy.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | let a = analyze(&e, &backrefs); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 23 | use fancy_regex_fork_pb::internal::analyze; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Regex` [INFO] [stdout] --> examples/toy.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | let r = Regex::new(&re).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 23 | use fancy_regex_fork_pb::Regex; [INFO] [stdout] | [INFO] [stdout] 23 | use regex::Regex; [INFO] [stdout] | [INFO] [stdout] 23 | use regex::bytes::Regex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Regex` [INFO] [stdout] --> examples/toy.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | let r = Regex::new(&re).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 23 | use fancy_regex_fork_pb::Regex; [INFO] [stdout] | [INFO] [stdout] 23 | use regex::Regex; [INFO] [stdout] | [INFO] [stdout] 23 | use regex::bytes::Regex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run_trace` in this scope [INFO] [stdout] --> examples/toy.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | run_trace(&prog, &s, 0).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 23 | use fancy_regex_fork_pb::internal::run_trace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> examples/toy.rs:81:37 [INFO] [stdout] | [INFO] [stdout] 81 | let (e, backrefs) = Expr::parse(&re).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 23 | use fancy_regex_fork_pb::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `analyze` in this scope [INFO] [stdout] --> examples/toy.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | let a = analyze(&e, &backrefs).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 23 | use fancy_regex_fork_pb::internal::analyze; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `compile` in this scope [INFO] [stdout] --> examples/toy.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | let p = compile(&a).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 23 | use fancy_regex_fork_pb::internal::compile; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run_trace` in this scope [INFO] [stdout] --> examples/toy.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | run_trace(&p, &s, 0).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 23 | use fancy_regex_fork_pb::internal::run_trace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Prog` in this scope [INFO] [stdout] --> examples/toy.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | fn prog(re: &str) -> Prog { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 23 | use fancy_regex_fork_pb::internal::Prog; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> examples/toy.rs:123:28 [INFO] [stdout] | [INFO] [stdout] 123 | let (expr, backrefs) = Expr::parse(re).expect("Expected parsing regex to work"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 23 | use fancy_regex_fork_pb::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `analyze` in this scope [INFO] [stdout] --> examples/toy.rs:124:18 [INFO] [stdout] | [INFO] [stdout] 124 | let result = analyze(&expr, &backrefs).expect("Expected analyze to succeed"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 23 | use fancy_regex_fork_pb::internal::analyze; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `compile` in this scope [INFO] [stdout] --> examples/toy.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | compile(&result).expect("Expected compile to succeed") [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 23 | use fancy_regex_fork_pb::internal::compile; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d367cdd8154c759ac5748f64e0d0bffbc2d64d1eda656f62297244a7ecce0fde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d367cdd8154c759ac5748f64e0d0bffbc2d64d1eda656f62297244a7ecce0fde", kill_on_drop: false }` [INFO] [stdout] d367cdd8154c759ac5748f64e0d0bffbc2d64d1eda656f62297244a7ecce0fde