[INFO] cloning repository https://github.com/garentyler/nyst [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/garentyler/nyst" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgarentyler%2Fnyst", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgarentyler%2Fnyst'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eb8cb98ced054f4a709bb65291f8900d0363af46 [INFO] testing garentyler/nyst against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgarentyler%2Fnyst" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/garentyler/nyst on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/garentyler/nyst [INFO] finished tweaking git repo https://github.com/garentyler/nyst [INFO] tweaked toml for git repo https://github.com/garentyler/nyst written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/garentyler/nyst already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff91cde96702bab8b300df0d4c3a9e0ac3879a48f35a745a4ae0dfc6cac87e88 [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" "ff91cde96702bab8b300df0d4c3a9e0ac3879a48f35a745a4ae0dfc6cac87e88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff91cde96702bab8b300df0d4c3a9e0ac3879a48f35a745a4ae0dfc6cac87e88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff91cde96702bab8b300df0d4c3a9e0ac3879a48f35a745a4ae0dfc6cac87e88", kill_on_drop: false }` [INFO] [stdout] ff91cde96702bab8b300df0d4c3a9e0ac3879a48f35a745a4ae0dfc6cac87e88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 359d91ea5a809526dc46718582eca980873cc020b1dbc587c0dc81f48eb06c38 [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" "359d91ea5a809526dc46718582eca980873cc020b1dbc587c0dc81f48eb06c38", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling ron v0.6.4 [INFO] [stderr] Compiling nyst v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.97s [INFO] running `Command { std: "docker" "inspect" "359d91ea5a809526dc46718582eca980873cc020b1dbc587c0dc81f48eb06c38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "359d91ea5a809526dc46718582eca980873cc020b1dbc587c0dc81f48eb06c38", kill_on_drop: false }` [INFO] [stdout] 359d91ea5a809526dc46718582eca980873cc020b1dbc587c0dc81f48eb06c38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0512e968b06499d4230ade148ad3f1c0bd5021106517ef21b4cce2c87f073a22 [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" "0512e968b06499d4230ade148ad3f1c0bd5021106517ef21b4cce2c87f073a22", kill_on_drop: false }` [INFO] [stderr] Compiling nyst v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.96s [INFO] running `Command { std: "docker" "inspect" "0512e968b06499d4230ade148ad3f1c0bd5021106517ef21b4cce2c87f073a22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0512e968b06499d4230ade148ad3f1c0bd5021106517ef21b4cce2c87f073a22", kill_on_drop: false }` [INFO] [stdout] 0512e968b06499d4230ade148ad3f1c0bd5021106517ef21b4cce2c87f073a22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 52365a36defc21c4b5d160ce6249c1a04013f1d98f8a3d64fcf8cdf5e0bf97d5 [INFO] running `Command { std: "docker" "start" "-a" "52365a36defc21c4b5d160ce6249c1a04013f1d98f8a3d64fcf8cdf5e0bf97d5", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/nyst-762086d960c8049e) [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 nyst [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lib.rs - Parser::and (line 216) ... FAILED [INFO] [stdout] test src/lib.rs - Parser::optional (line 325) ... FAILED [INFO] [stdout] test src/lib.rs - Parser::or (line 242) ... FAILED [INFO] [stdout] test src/lib.rs - Parser::regex (line 192) ... FAILED [INFO] [stdout] test src/lib.rs - Parser::ignore (line 269) ... FAILED [INFO] [stdout] test src/lib.rs - Parser::repeat_range (line 294) ... FAILED [INFO] [stdout] test src/lib.rs - Parser::map (line 357) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Parser::and (line 216) stdout ---- [INFO] [stdout] error: suffixes on a string literal are invalid [INFO] [stdout] --> src/lib.rs:224:7 [INFO] [stdout] | [INFO] [stdout] 10 | Ok(("["abc","123"]"), "") [INFO] [stdout] | ^^^^^^ invalid suffix `abc` [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `","` [INFO] [stdout] --> src/lib.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 10 | Ok(("["abc","123"]"), "") [INFO] [stdout] | -^^ [INFO] [stdout] | | [INFO] [stdout] | expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `123` [INFO] [stdout] --> src/lib.rs:224:16 [INFO] [stdout] | [INFO] [stdout] 10 | Ok(("["abc","123"]"), "") [INFO] [stdout] | -^^ [INFO] [stdout] | | [INFO] [stdout] | expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `"]"` [INFO] [stdout] --> src/lib.rs:224:19 [INFO] [stdout] | [INFO] [stdout] 10 | Ok(("["abc","123"]"), "") [INFO] [stdout] | -^^ [INFO] [stdout] | | [INFO] [stdout] | expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/lib.rs:218:22 [INFO] [stdout] | [INFO] [stdout] 4 | let letters_parser = Parser::regex(r"[a-zA-Z]+"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use nyst::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/lib.rs:219:22 [INFO] [stdout] | [INFO] [stdout] 5 | let numbers_parser = Parser::regex(r"\d+"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use nyst::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0061]: this enum variant takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/lib.rs:224:3 [INFO] [stdout] | [INFO] [stdout] 10 | Ok(("["abc","123"]"), "") [INFO] [stdout] | ^^ ----------------- -- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Parser::optional (line 325) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/lib.rs:328:17 [INFO] [stdout] | [INFO] [stdout] 5 | let ab_parser = Parser::regex(r"a"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use nyst::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/lib.rs:330:25 [INFO] [stdout] | [INFO] [stdout] 7 | let optional_c_parser = Parser::regex(r"c").optional(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use nyst::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Parser::or (line 242) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/lib.rs:245:22 [INFO] [stdout] | [INFO] [stdout] 5 | let letters_parser = Parser::regex(r"[a-zA-Z]+"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use nyst::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/lib.rs:246:22 [INFO] [stdout] | [INFO] [stdout] 6 | let numbers_parser = Parser::regex(r"\d+"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use nyst::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0061]: this enum variant takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/lib.rs:251:3 [INFO] [stdout] | [INFO] [stdout] 11 | Ok(("abc"), "") [INFO] [stdout] | ^^ ------- -- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] error[E0061]: this enum variant takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/lib.rs:255:3 [INFO] [stdout] | [INFO] [stdout] 15 | Ok(("123"), "") [INFO] [stdout] | ^^ ------- -- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Parser::regex (line 192) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/lib.rs:195:20 [INFO] [stdout] | [INFO] [stdout] 5 | let regex_parser = Parser::regex(r"[a-zA-Z]"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use nyst::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Parser::ignore (line 269) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/lib.rs:271:15 [INFO] [stdout] | [INFO] [stdout] 4 | let letters = Parser::regex(r"[a-zA-Z]+"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use nyst::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Parser::repeat_range (line 294) stdout ---- [INFO] [stdout] error: suffixes on a string literal are invalid [INFO] [stdout] --> src/lib.rs:307:7 [INFO] [stdout] | [INFO] [stdout] 15 | Ok(("["a", "a", "a", "a", "a"]", "")) [INFO] [stdout] | ^^^^ invalid suffix `a` [INFO] [stdout] [INFO] [stdout] error: suffixes on a string literal are invalid [INFO] [stdout] --> src/lib.rs:307:11 [INFO] [stdout] | [INFO] [stdout] 15 | Ok(("["a", "a", "a", "a", "a"]", "")) [INFO] [stdout] | ^^^^^ invalid suffix `a` [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `", "a` [INFO] [stdout] --> src/lib.rs:307:11 [INFO] [stdout] | [INFO] [stdout] 15 | Ok(("["a", "a", "a", "a", "a"]", "")) [INFO] [stdout] | -^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error: suffixes on a string literal are invalid [INFO] [stdout] --> src/lib.rs:307:16 [INFO] [stdout] | [INFO] [stdout] 15 | Ok(("["a", "a", "a", "a", "a"]", "")) [INFO] [stdout] | ^^^^^ invalid suffix `a` [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `", "a` [INFO] [stdout] --> src/lib.rs:307:16 [INFO] [stdout] | [INFO] [stdout] 15 | Ok(("["a", "a", "a", "a", "a"]", "")) [INFO] [stdout] | -^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error: suffixes on a string literal are invalid [INFO] [stdout] --> src/lib.rs:307:21 [INFO] [stdout] | [INFO] [stdout] 15 | Ok(("["a", "a", "a", "a", "a"]", "")) [INFO] [stdout] | ^^^^^ invalid suffix `a` [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `", "a` [INFO] [stdout] --> src/lib.rs:307:21 [INFO] [stdout] | [INFO] [stdout] 15 | Ok(("["a", "a", "a", "a", "a"]", "")) [INFO] [stdout] | -^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error: suffixes on a string literal are invalid [INFO] [stdout] --> src/lib.rs:307:26 [INFO] [stdout] | [INFO] [stdout] 15 | Ok(("["a", "a", "a", "a", "a"]", "")) [INFO] [stdout] | ^^^^^ invalid suffix `a` [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `", "a` [INFO] [stdout] --> src/lib.rs:307:26 [INFO] [stdout] | [INFO] [stdout] 15 | Ok(("["a", "a", "a", "a", "a"]", "")) [INFO] [stdout] | -^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `"]"` [INFO] [stdout] --> src/lib.rs:307:31 [INFO] [stdout] | [INFO] [stdout] 15 | Ok(("["a", "a", "a", "a", "a"]", "")) [INFO] [stdout] | -^^ [INFO] [stdout] | | [INFO] [stdout] | expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error: suffixes on a string literal are invalid [INFO] [stdout] --> src/lib.rs:311:7 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(("["a", "a", "a", "a", "a", "a"]", "aa")) [INFO] [stdout] | ^^^^ invalid suffix `a` [INFO] [stdout] [INFO] [stdout] error: suffixes on a string literal are invalid [INFO] [stdout] --> src/lib.rs:311:11 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(("["a", "a", "a", "a", "a", "a"]", "aa")) [INFO] [stdout] | ^^^^^ invalid suffix `a` [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `", "a` [INFO] [stdout] --> src/lib.rs:311:11 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(("["a", "a", "a", "a", "a", "a"]", "aa")) [INFO] [stdout] | -^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error: suffixes on a string literal are invalid [INFO] [stdout] --> src/lib.rs:311:16 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(("["a", "a", "a", "a", "a", "a"]", "aa")) [INFO] [stdout] | ^^^^^ invalid suffix `a` [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `", "a` [INFO] [stdout] --> src/lib.rs:311:16 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(("["a", "a", "a", "a", "a", "a"]", "aa")) [INFO] [stdout] | -^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error: suffixes on a string literal are invalid [INFO] [stdout] --> src/lib.rs:311:21 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(("["a", "a", "a", "a", "a", "a"]", "aa")) [INFO] [stdout] | ^^^^^ invalid suffix `a` [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `", "a` [INFO] [stdout] --> src/lib.rs:311:21 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(("["a", "a", "a", "a", "a", "a"]", "aa")) [INFO] [stdout] | -^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error: suffixes on a string literal are invalid [INFO] [stdout] --> src/lib.rs:311:26 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(("["a", "a", "a", "a", "a", "a"]", "aa")) [INFO] [stdout] | ^^^^^ invalid suffix `a` [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `", "a` [INFO] [stdout] --> src/lib.rs:311:26 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(("["a", "a", "a", "a", "a", "a"]", "aa")) [INFO] [stdout] | -^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error: suffixes on a string literal are invalid [INFO] [stdout] --> src/lib.rs:311:31 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(("["a", "a", "a", "a", "a", "a"]", "aa")) [INFO] [stdout] | ^^^^^ invalid suffix `a` [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `", "a` [INFO] [stdout] --> src/lib.rs:311:31 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(("["a", "a", "a", "a", "a", "a"]", "aa")) [INFO] [stdout] | -^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `"]"` [INFO] [stdout] --> src/lib.rs:311:36 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(("["a", "a", "a", "a", "a", "a"]", "aa")) [INFO] [stdout] | -^^ [INFO] [stdout] | | [INFO] [stdout] | expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/lib.rs:298:16 [INFO] [stdout] | [INFO] [stdout] 6 | let a_parser = Parser::regex(r"a"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use nyst::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Parser::map (line 357) stdout ---- [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/lib.rs:367:60 [INFO] [stdout] | [INFO] [stdout] 12 | let numbered_letters = letters.iter().enumerate().collect>(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: use `::<...>` instead of `<...>` to specify type or const arguments [INFO] [stdout] | [INFO] [stdout] 12 | let numbered_letters = letters.iter().enumerate().collect::>(); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: suffixes on a string literal are invalid [INFO] [stdout] --> src/lib.rs:363:51 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(multiple_letter_parser.parse(src), Ok(("["a", "b", "c"]", ""))); [INFO] [stdout] | ^^^^ invalid suffix `a` [INFO] [stdout] [INFO] [stdout] error: suffixes on a string literal are invalid [INFO] [stdout] --> src/lib.rs:363:55 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(multiple_letter_parser.parse(src), Ok(("["a", "b", "c"]", ""))); [INFO] [stdout] | ^^^^^ invalid suffix `b` [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `", "b` [INFO] [stdout] --> src/lib.rs:363:55 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(multiple_letter_parser.parse(src), Ok(("["a", "b", "c"]", ""))); [INFO] [stdout] | -^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error: suffixes on a string literal are invalid [INFO] [stdout] --> src/lib.rs:363:60 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(multiple_letter_parser.parse(src), Ok(("["a", "b", "c"]", ""))); [INFO] [stdout] | ^^^^^ invalid suffix `c` [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `", "c` [INFO] [stdout] --> src/lib.rs:363:60 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(multiple_letter_parser.parse(src), Ok(("["a", "b", "c"]", ""))); [INFO] [stdout] | -^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `"]"` [INFO] [stdout] --> src/lib.rs:363:65 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(multiple_letter_parser.parse(src), Ok(("["a", "b", "c"]", ""))); [INFO] [stdout] | -^^ [INFO] [stdout] | | [INFO] [stdout] | expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error: suffixes on a string literal are invalid [INFO] [stdout] --> src/lib.rs:372:7 [INFO] [stdout] | [INFO] [stdout] 17 | Ok(("[(0, "a"), (1, "b"), (2, "c")]", "")) [INFO] [stdout] | ^^^^^^^^ invalid suffix `a` [INFO] [stdout] [INFO] [stdout] error: suffixes on a string literal are invalid [INFO] [stdout] --> src/lib.rs:372:15 [INFO] [stdout] | [INFO] [stdout] 17 | Ok(("[(0, "a"), (1, "b"), (2, "c")]", "")) [INFO] [stdout] | ^^^^^^^^^^ invalid suffix `b` [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `"), (1, "b` [INFO] [stdout] --> src/lib.rs:372:15 [INFO] [stdout] | [INFO] [stdout] 17 | Ok(("[(0, "a"), (1, "b"), (2, "c")]", "")) [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error: suffixes on a string literal are invalid [INFO] [stdout] --> src/lib.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 17 | Ok(("[(0, "a"), (1, "b"), (2, "c")]", "")) [INFO] [stdout] | ^^^^^^^^^^ invalid suffix `c` [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `"), (2, "c` [INFO] [stdout] --> src/lib.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 17 | Ok(("[(0, "a"), (1, "b"), (2, "c")]", "")) [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `")]"` [INFO] [stdout] --> src/lib.rs:372:35 [INFO] [stdout] | [INFO] [stdout] 17 | Ok(("[(0, "a"), (1, "b"), (2, "c")]", "")) [INFO] [stdout] | -^^^ [INFO] [stdout] | | [INFO] [stdout] | expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/lib.rs:361:30 [INFO] [stdout] | [INFO] [stdout] 6 | let multiple_letter_parser = Parser::regex(r"[a-zA-Z]").repeat_range(0..usize::MAX); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use nyst::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:365:42 [INFO] [stdout] | [INFO] [stdout] 10 | let mapped = multiple_letter_parser.map(|result| { [INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 10 | let mapped = multiple_letter_parser.map(|&result| { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - Parser::and (line 216) [INFO] [stdout] src/lib.rs - Parser::ignore (line 269) [INFO] [stdout] src/lib.rs - Parser::map (line 357) [INFO] [stdout] src/lib.rs - Parser::optional (line 325) [INFO] [stdout] src/lib.rs - Parser::or (line 242) [INFO] [stdout] src/lib.rs - Parser::regex (line 192) [INFO] [stdout] src/lib.rs - Parser::repeat_range (line 294) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.08s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "52365a36defc21c4b5d160ce6249c1a04013f1d98f8a3d64fcf8cdf5e0bf97d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52365a36defc21c4b5d160ce6249c1a04013f1d98f8a3d64fcf8cdf5e0bf97d5", kill_on_drop: false }` [INFO] [stdout] 52365a36defc21c4b5d160ce6249c1a04013f1d98f8a3d64fcf8cdf5e0bf97d5