[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 beta-2021-09-08 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-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/garentyler/nyst on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-6/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" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", 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] 9dc25450c2009c2e40c8f3214e9ba7908f26201de7bdee122a170dc446880a3e [INFO] running `Command { std: "docker" "start" "-a" "9dc25450c2009c2e40c8f3214e9ba7908f26201de7bdee122a170dc446880a3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9dc25450c2009c2e40c8f3214e9ba7908f26201de7bdee122a170dc446880a3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dc25450c2009c2e40c8f3214e9ba7908f26201de7bdee122a170dc446880a3e", kill_on_drop: false }` [INFO] [stdout] 9dc25450c2009c2e40c8f3214e9ba7908f26201de7bdee122a170dc446880a3e [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=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" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de80cc023fb3df49fb0acf9b05f3f82522f98e9f92042e55550a62f0b0c0d77f [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" "de80cc023fb3df49fb0acf9b05f3f82522f98e9f92042e55550a62f0b0c0d77f", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling regex v1.4.3 [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 15.84s [INFO] running `Command { std: "docker" "inspect" "de80cc023fb3df49fb0acf9b05f3f82522f98e9f92042e55550a62f0b0c0d77f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de80cc023fb3df49fb0acf9b05f3f82522f98e9f92042e55550a62f0b0c0d77f", kill_on_drop: false }` [INFO] [stdout] de80cc023fb3df49fb0acf9b05f3f82522f98e9f92042e55550a62f0b0c0d77f [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=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" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f87f94f7b8b4ffddbec39b943a4b6876d60c4927f5e96e9ef3779e189793e9a2 [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" "f87f94f7b8b4ffddbec39b943a4b6876d60c4927f5e96e9ef3779e189793e9a2", kill_on_drop: false }` [INFO] [stderr] Compiling nyst v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.32s [INFO] running `Command { std: "docker" "inspect" "f87f94f7b8b4ffddbec39b943a4b6876d60c4927f5e96e9ef3779e189793e9a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f87f94f7b8b4ffddbec39b943a4b6876d60c4927f5e96e9ef3779e189793e9a2", kill_on_drop: false }` [INFO] [stdout] f87f94f7b8b4ffddbec39b943a4b6876d60c4927f5e96e9ef3779e189793e9a2 [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=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" "+beta-2021-09-08" "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] ce4000c784748dd50dff38a965b879c68731da011f30a7c9c8a47016455bb7ff [INFO] running `Command { std: "docker" "start" "-a" "ce4000c784748dd50dff38a965b879c68731da011f30a7c9c8a47016455bb7ff", 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-fc3f45725bec1a95) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests nyst [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] [stdout] [INFO] [stdout] running 7 tests [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::and (line 216) ... 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::regex (line 192) ... 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::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::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] [stderr] error: test failed, to rerun pass '--doc' [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::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::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::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.19s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ce4000c784748dd50dff38a965b879c68731da011f30a7c9c8a47016455bb7ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce4000c784748dd50dff38a965b879c68731da011f30a7c9c8a47016455bb7ff", kill_on_drop: false }` [INFO] [stdout] ce4000c784748dd50dff38a965b879c68731da011f30a7c9c8a47016455bb7ff