[INFO] fetching crate nyst 0.1.2... [INFO] testing nyst-0.1.2 against 1.55.0 for beta-1.56-1 [INFO] extracting crate nyst 0.1.2 into /workspace/builds/worker-42/source [INFO] validating manifest of crates.io crate nyst 0.1.2 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 crates.io crate nyst 0.1.2 [INFO] finished tweaking crates.io crate nyst 0.1.2 [INFO] tweaked toml for crates.io crate nyst 0.1.2 written to /workspace/builds/worker-42/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ron v0.6.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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] 61765a284af0505641aad14893139a60d3752a02bcfd72403b51bdba62e3fcb4 [INFO] running `Command { std: "docker" "start" "-a" "61765a284af0505641aad14893139a60d3752a02bcfd72403b51bdba62e3fcb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61765a284af0505641aad14893139a60d3752a02bcfd72403b51bdba62e3fcb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61765a284af0505641aad14893139a60d3752a02bcfd72403b51bdba62e3fcb4", kill_on_drop: false }` [INFO] [stdout] 61765a284af0505641aad14893139a60d3752a02bcfd72403b51bdba62e3fcb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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] bf8590f2012a09b61c31e68f1581948b6f3196b87071d430a0b8d350403a5186 [INFO] running `Command { std: "docker" "start" "-a" "bf8590f2012a09b61c31e68f1581948b6f3196b87071d430a0b8d350403a5186", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling ron v0.6.5 [INFO] [stderr] Compiling nyst v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.95s [INFO] running `Command { std: "docker" "inspect" "bf8590f2012a09b61c31e68f1581948b6f3196b87071d430a0b8d350403a5186", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf8590f2012a09b61c31e68f1581948b6f3196b87071d430a0b8d350403a5186", kill_on_drop: false }` [INFO] [stdout] bf8590f2012a09b61c31e68f1581948b6f3196b87071d430a0b8d350403a5186 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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] d3cb5300be4140b0e3ab85a943a724b9e47310b8459cbedd8f7fc3749dd45a2f [INFO] running `Command { std: "docker" "start" "-a" "d3cb5300be4140b0e3ab85a943a724b9e47310b8459cbedd8f7fc3749dd45a2f", kill_on_drop: false }` [INFO] [stderr] Compiling nyst v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.06s [INFO] running `Command { std: "docker" "inspect" "d3cb5300be4140b0e3ab85a943a724b9e47310b8459cbedd8f7fc3749dd45a2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3cb5300be4140b0e3ab85a943a724b9e47310b8459cbedd8f7fc3749dd45a2f", kill_on_drop: false }` [INFO] [stdout] d3cb5300be4140b0e3ab85a943a724b9e47310b8459cbedd8f7fc3749dd45a2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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] [stdout] fbdff00d7b6fc17167a398fbed5c3bb08c3f227fd1dbd2c75222877c0d5c6064 [INFO] running `Command { std: "docker" "start" "-a" "fbdff00d7b6fc17167a398fbed5c3bb08c3f227fd1dbd2c75222877c0d5c6064", 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-2abcd6b1a55daffd) [INFO] [stdout] [INFO] [stderr] Doc-tests nyst [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] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lib.rs - Parser::regex (line 192) ... FAILED [INFO] [stdout] test src/lib.rs - Parser::and (line 216) ... FAILED [INFO] [stdout] test src/lib.rs - Parser::or (line 242) ... FAILED [INFO] [stdout] test src/lib.rs - Parser::optional (line 325) ... 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::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::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::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::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::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 0.36s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "fbdff00d7b6fc17167a398fbed5c3bb08c3f227fd1dbd2c75222877c0d5c6064", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbdff00d7b6fc17167a398fbed5c3bb08c3f227fd1dbd2c75222877c0d5c6064", kill_on_drop: false }` [INFO] [stdout] fbdff00d7b6fc17167a398fbed5c3bb08c3f227fd1dbd2c75222877c0d5c6064