[INFO] cloning repository https://github.com/kj455/my-parser-combinator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kj455/my-parser-combinator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkj455%2Fmy-parser-combinator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkj455%2Fmy-parser-combinator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 258c98f7886b13235f7a051cfbc4977845f973b1 [INFO] checking kj455/my-parser-combinator against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkj455%2Fmy-parser-combinator" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kj455/my-parser-combinator on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kj455/my-parser-combinator [INFO] finished tweaking git repo https://github.com/kj455/my-parser-combinator [INFO] tweaked toml for git repo https://github.com/kj455/my-parser-combinator written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kj455/my-parser-combinator already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c7695d37159f2c4805c96a997e2e0e79ee1cdbea7df1f0866b0a75ffc34eef6 [INFO] running `Command { std: "docker" "start" "-a" "2c7695d37159f2c4805c96a997e2e0e79ee1cdbea7df1f0866b0a75ffc34eef6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c7695d37159f2c4805c96a997e2e0e79ee1cdbea7df1f0866b0a75ffc34eef6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c7695d37159f2c4805c96a997e2e0e79ee1cdbea7df1f0866b0a75ffc34eef6", kill_on_drop: false }` [INFO] [stdout] 2c7695d37159f2c4805c96a997e2e0e79ee1cdbea7df1f0866b0a75ffc34eef6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e9cdd583cbbc260ef71c0b6ffbaf851cbb115589214e1d1ce1b2c013a4bd6ae [INFO] running `Command { std: "docker" "start" "-a" "1e9cdd583cbbc260ef71c0b6ffbaf851cbb115589214e1d1ce1b2c013a4bd6ae", kill_on_drop: false }` [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking parser-combinator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `char::char`, `digits::digits`, `lexeme::lexeme`, `or::or`, `string::string` [INFO] [stdout] --> src/cat.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | char::char, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 3 | digits::digits, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 4 | helper::{parser_closure, Parser}, [INFO] [stdout] 5 | string::string, or::or, lexeme::lexeme, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `char::char`, `digits::digits` [INFO] [stdout] --> src/lexeme.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | char::char, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 3 | digits::digits, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `digits::digits` [INFO] [stdout] --> src/map.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | digits::digits, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `digits::digits`, `map::map`, `string::string` [INFO] [stdout] --> src/or.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | digits::digits, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 3 | helper::{parser_closure, Parser}, [INFO] [stdout] 4 | map::map, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | string::string, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `char::char`, `digits::digits`, `lexeme::lexeme`, `or::or` [INFO] [stdout] --> src/rep.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | char::char, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 3 | digits::digits, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 4 | helper::{parser_closure, Parser}, [INFO] [stdout] 5 | lexeme::lexeme, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 6 | or::or, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `char::char`, `digits::digits`, `lexeme::lexeme` [INFO] [stdout] --> src/split.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | char::char, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | digits::digits, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 6 | helper::{parser_closure, Parser}, [INFO] [stdout] 7 | lexeme::lexeme, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lexeme::lexeme` [INFO] [stdout] --> src/string.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | helper::{parser_closure, Parser}, lexeme::lexeme, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cat_multiple` is never used [INFO] [stdout] --> src/cat.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn cat_multiple(list: Vec>) -> impl Parser> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `digits` is never used [INFO] [stdout] --> src/digits.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn digits(s: &str) -> Option<(u64, &str)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `json_str` should have an upper case name [INFO] [stdout] --> src/main.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | const json_str: &str = r#"{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `JSON_STR` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parser` [INFO] [stdout] --> src/cat.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let parser = cat_multiple(list); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parser` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `json_str` should have an upper case name [INFO] [stdout] --> src/main.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | const json_str: &str = r#"{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `JSON_STR` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.96s [INFO] running `Command { std: "docker" "inspect" "1e9cdd583cbbc260ef71c0b6ffbaf851cbb115589214e1d1ce1b2c013a4bd6ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e9cdd583cbbc260ef71c0b6ffbaf851cbb115589214e1d1ce1b2c013a4bd6ae", kill_on_drop: false }` [INFO] [stdout] 1e9cdd583cbbc260ef71c0b6ffbaf851cbb115589214e1d1ce1b2c013a4bd6ae [INFO] checking kj455/my-parser-combinator against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkj455%2Fmy-parser-combinator" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kj455/my-parser-combinator on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kj455/my-parser-combinator [INFO] finished tweaking git repo https://github.com/kj455/my-parser-combinator [INFO] tweaked toml for git repo https://github.com/kj455/my-parser-combinator written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kj455/my-parser-combinator already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef698b97ccf6550ba741fda4766f233d949e429971afa603424875dc026375ee [INFO] running `Command { std: "docker" "start" "-a" "ef698b97ccf6550ba741fda4766f233d949e429971afa603424875dc026375ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef698b97ccf6550ba741fda4766f233d949e429971afa603424875dc026375ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef698b97ccf6550ba741fda4766f233d949e429971afa603424875dc026375ee", kill_on_drop: false }` [INFO] [stdout] ef698b97ccf6550ba741fda4766f233d949e429971afa603424875dc026375ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1030d5b16fc277c5b5e8a42a5b8733b24eefdf6e255d488d6de0e200aabcb490 [INFO] running `Command { std: "docker" "start" "-a" "1030d5b16fc277c5b5e8a42a5b8733b24eefdf6e255d488d6de0e200aabcb490", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking parser-combinator v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/string.rs (1 fix) [INFO] [stderr] Fixed src/lexeme.rs (1 fix) [INFO] [stderr] Fixed src/cat.rs (1 fix) [INFO] [stderr] Fixed src/or.rs (1 fix) [INFO] [stderr] Fixed src/split.rs (1 fix) [INFO] [stderr] Fixed src/rep.rs (1 fix) [INFO] [stderr] Fixed src/map.rs (1 fix) [INFO] [stdout] warning: function `cat_multiple` is never used [INFO] [stdout] --> src/cat.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn cat_multiple(list: Vec>) -> impl Parser> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `digits` is never used [INFO] [stdout] --> src/digits.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn digits(s: &str) -> Option<(u64, &str)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `json_str` should have an upper case name [INFO] [stdout] --> src/main.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | const json_str: &str = r#"{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `JSON_STR` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/cat.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(cat(char('-'), digits)("-123abc"), Some((('-', 123), "abc"))); [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `digits` in this scope [INFO] [stdout] --> src/cat.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(cat(char('-'), digits)("-123abc"), Some((('-', 123), "abc"))); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::digits::digits; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/cat.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(cat(char('-'), digits)("123abc"), None); [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `digits` in this scope [INFO] [stdout] --> src/cat.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(cat(char('-'), digits)("123abc"), None); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::digits::digits; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `digits` in this scope [INFO] [stdout] --> src/cat.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | cat(digits, string("null"))("123null"), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::digits::digits; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `string` in this scope [INFO] [stdout] --> src/cat.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | cat(digits, string("null"))("123null"), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::string::string; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `or` in this scope [INFO] [stdout] --> src/cat.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(cat(or(char('-'), char('+')), digits)("-123abc"), Some((('-', 123), "abc"))); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::or::or; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/cat.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(cat(or(char('-'), char('+')), digits)("-123abc"), Some((('-', 123), "abc"))); [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/cat.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(cat(or(char('-'), char('+')), digits)("-123abc"), Some((('-', 123), "abc"))); [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `digits` in this scope [INFO] [stdout] --> src/cat.rs:21:46 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(cat(or(char('-'), char('+')), digits)("-123abc"), Some((('-', 123), "abc"))); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::digits::digits; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `or` in this scope [INFO] [stdout] --> src/cat.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(cat(or(char('-'), char('+')), digits)("+123abc"), Some((('+', 123), "abc"))); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::or::or; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/cat.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(cat(or(char('-'), char('+')), digits)("+123abc"), Some((('+', 123), "abc"))); [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/cat.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(cat(or(char('-'), char('+')), digits)("+123abc"), Some((('+', 123), "abc"))); [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `digits` in this scope [INFO] [stdout] --> src/cat.rs:22:46 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(cat(or(char('-'), char('+')), digits)("+123abc"), Some((('+', 123), "abc"))); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::digits::digits; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/cat.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | let list = vec![char('k'), char('a'), char('j'), char('i')]; [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/cat.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | let list = vec![char('k'), char('a'), char('j'), char('i')]; [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/cat.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | let list = vec![char('k'), char('a'), char('j'), char('i')]; [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/cat.rs:44:54 [INFO] [stdout] | [INFO] [stdout] 44 | let list = vec![char('k'), char('a'), char('j'), char('i')]; [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/cat.rs:46:34 [INFO] [stdout] | [INFO] [stdout] 46 | assert_eq!(cat_multiple(vec![char('k'), char('a'), char('j'), char('i')])("kajiibuki"), Some((vec!['k', 'a', 'j', 'i'], "ibuki"))); [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/cat.rs:46:45 [INFO] [stdout] | [INFO] [stdout] 46 | assert_eq!(cat_multiple(vec![char('k'), char('a'), char('j'), char('i')])("kajiibuki"), Some((vec!['k', 'a', 'j', 'i'], "ibuki"))); [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/cat.rs:46:56 [INFO] [stdout] | [INFO] [stdout] 46 | assert_eq!(cat_multiple(vec![char('k'), char('a'), char('j'), char('i')])("kajiibuki"), Some((vec!['k', 'a', 'j', 'i'], "ibuki"))); [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/cat.rs:46:67 [INFO] [stdout] | [INFO] [stdout] 46 | assert_eq!(cat_multiple(vec![char('k'), char('a'), char('j'), char('i')])("kajiibuki"), Some((vec!['k', 'a', 'j', 'i'], "ibuki"))); [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/cat.rs:47:34 [INFO] [stdout] | [INFO] [stdout] 47 | assert_eq!(cat_multiple(vec![char('k'), char('a'), char('j'), char('i')])("kaibuki"), None); [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/cat.rs:47:45 [INFO] [stdout] | [INFO] [stdout] 47 | assert_eq!(cat_multiple(vec![char('k'), char('a'), char('j'), char('i')])("kaibuki"), None); [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/cat.rs:47:56 [INFO] [stdout] | [INFO] [stdout] 47 | assert_eq!(cat_multiple(vec![char('k'), char('a'), char('j'), char('i')])("kaibuki"), None); [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/cat.rs:47:67 [INFO] [stdout] | [INFO] [stdout] 47 | assert_eq!(cat_multiple(vec![char('k'), char('a'), char('j'), char('i')])("kaibuki"), None); [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/cat.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | assert_eq!(cat_multiple(vec![char('k'), char('a'), char('j'), char('i')])(""), None); [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/cat.rs:48:45 [INFO] [stdout] | [INFO] [stdout] 48 | assert_eq!(cat_multiple(vec![char('k'), char('a'), char('j'), char('i')])(""), None); [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/cat.rs:48:56 [INFO] [stdout] | [INFO] [stdout] 48 | assert_eq!(cat_multiple(vec![char('k'), char('a'), char('j'), char('i')])(""), None); [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/cat.rs:48:67 [INFO] [stdout] | [INFO] [stdout] 48 | assert_eq!(cat_multiple(vec![char('k'), char('a'), char('j'), char('i')])(""), None); [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lexeme` in this scope [INFO] [stdout] --> src/cat.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | lexeme(digits), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::lexeme::lexeme; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `digits` in this scope [INFO] [stdout] --> src/cat.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | lexeme(digits), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::digits::digits; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lexeme` in this scope [INFO] [stdout] --> src/cat.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | lexeme(digits), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::lexeme::lexeme; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `digits` in this scope [INFO] [stdout] --> src/cat.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | lexeme(digits), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::digits::digits; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lexeme` in this scope [INFO] [stdout] --> src/cat.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | lexeme(digits) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::lexeme::lexeme; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `digits` in this scope [INFO] [stdout] --> src/cat.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | lexeme(digits) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::digits::digits; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/lexeme.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(lexeme(char('a'))(" abc"), Some(('a', "bc"))); [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/lexeme.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(lexeme(char('a'))("abc"), Some(('a', "bc"))); [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/lexeme.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(lexeme(char('a'))(" bcd"), None); [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `digits` in this scope [INFO] [stdout] --> src/lexeme.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(lexeme(digits)("123abc"), Some((123, "abc"))); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::digits::digits; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `digits` in this scope [INFO] [stdout] --> src/lexeme.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(lexeme(digits)(" 123abc"), Some((123, "abc"))); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::digits::digits; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `digits` in this scope [INFO] [stdout] --> src/lexeme.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(lexeme(digits)(" abc"), None); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::digits::digits; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `digits` in this scope [INFO] [stdout] --> src/map.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | let parser = map(digits, |val| val * 2); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::digits::digits; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `digits` in this scope [INFO] [stdout] --> src/or.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | or(digits, map(string("null"), |_| 0))("123abc"), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::digits::digits; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `map` in this scope [INFO] [stdout] --> src/or.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | or(digits, map(string("null"), |_| 0))("123abc"), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::map::map; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `string` in this scope [INFO] [stdout] --> src/or.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | or(digits, map(string("null"), |_| 0))("123abc"), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::string::string; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `digits` in this scope [INFO] [stdout] --> src/or.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | or(digits, map(string("null"), |_| 0))("nullabc"), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::digits::digits; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `map` in this scope [INFO] [stdout] --> src/or.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | or(digits, map(string("null"), |_| 0))("nullabc"), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::map::map; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `string` in this scope [INFO] [stdout] --> src/or.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | or(digits, map(string("null"), |_| 0))("nullabc"), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::string::string; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `digits` in this scope [INFO] [stdout] --> src/or.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | assert_eq!(or(digits, map(string("null"), |_| 0))("abc"), None); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::digits::digits; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `map` in this scope [INFO] [stdout] --> src/or.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | assert_eq!(or(digits, map(string("null"), |_| 0))("abc"), None); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::map::map; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `string` in this scope [INFO] [stdout] --> src/or.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | assert_eq!(or(digits, map(string("null"), |_| 0))("abc"), None); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::string::string; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `map` in this scope [INFO] [stdout] --> src/or.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | map(string("zero"), |_| 0), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::map::map; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `string` in this scope [INFO] [stdout] --> src/or.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | map(string("zero"), |_| 0), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::string::string; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `map` in this scope [INFO] [stdout] --> src/or.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | map(string("one"), |_| 1), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::map::map; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `string` in this scope [INFO] [stdout] --> src/or.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | map(string("one"), |_| 1), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::string::string; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `digits` in this scope [INFO] [stdout] --> src/or.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | digits [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::digits::digits; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/rep.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(rep(char('a'))("aaabc"), Some((vec!['a', 'a', 'a'], "bc"))); [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/rep.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(rep(char('a'))("bcd"), Some((vec![], "bcd"))); [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `or` in this scope [INFO] [stdout] --> src/rep.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | rep(or(char('+'), char('-')))("+-+-+-abc"), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::or::or; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/rep.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | rep(or(char('+'), char('-')))("+-+-+-abc"), [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/rep.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | rep(or(char('+'), char('-')))("+-+-+-abc"), [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lexeme` in this scope [INFO] [stdout] --> src/rep.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | rep(lexeme(digits))("10 20 30"), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::lexeme::lexeme; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `digits` in this scope [INFO] [stdout] --> src/rep.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | rep(lexeme(digits))("10 20 30"), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::digits::digits; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `digits` in this scope [INFO] [stdout] --> src/split.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | split(digits, char(','))("10,20,30"), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::digits::digits; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/split.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | split(digits, char(','))("10,20,30"), [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `digits` in this scope [INFO] [stdout] --> src/split.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(split(digits, char(','))(""), Some((vec![], ""))); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::digits::digits; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/split.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(split(digits, char(','))(""), Some((vec![], ""))); [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lexeme` in this scope [INFO] [stdout] --> src/split.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | split(lexeme(digits), lexeme(char(',')))("10, 20, 30"), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::lexeme::lexeme; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `digits` in this scope [INFO] [stdout] --> src/split.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | split(lexeme(digits), lexeme(char(',')))("10, 20, 30"), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::digits::digits; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lexeme` in this scope [INFO] [stdout] --> src/split.rs:35:31 [INFO] [stdout] | [INFO] [stdout] 35 | split(lexeme(digits), lexeme(char(',')))("10, 20, 30"), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::lexeme::lexeme; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/split.rs:35:38 [INFO] [stdout] | [INFO] [stdout] 35 | split(lexeme(digits), lexeme(char(',')))("10, 20, 30"), [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lexeme` in this scope [INFO] [stdout] --> src/split.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | split(lexeme(digits), lexeme(char(',')))("10, 20, 30,"), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::lexeme::lexeme; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `digits` in this scope [INFO] [stdout] --> src/split.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | split(lexeme(digits), lexeme(char(',')))("10, 20, 30,"), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::digits::digits; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lexeme` in this scope [INFO] [stdout] --> src/split.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | split(lexeme(digits), lexeme(char(',')))("10, 20, 30,"), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::lexeme::lexeme; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/split.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 39 | split(lexeme(digits), lexeme(char(',')))("10, 20, 30,"), [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lexeme` in this scope [INFO] [stdout] --> src/string.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(lexeme(string("kaji"))(" kajiibuki"), Some(("kaji", "ibuki"))); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::lexeme::lexeme; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 77 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: could not compile `parser-combinator` (bin "parser-combinator" test) due to 78 previous errors [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "1030d5b16fc277c5b5e8a42a5b8733b24eefdf6e255d488d6de0e200aabcb490", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1030d5b16fc277c5b5e8a42a5b8733b24eefdf6e255d488d6de0e200aabcb490", kill_on_drop: false }` [INFO] [stdout] 1030d5b16fc277c5b5e8a42a5b8733b24eefdf6e255d488d6de0e200aabcb490