[INFO] fetching crate cookie_parser 1.0.1... [INFO] testing cookie_parser-1.0.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate cookie_parser 1.0.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate cookie_parser 1.0.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cookie_parser 1.0.1 [INFO] tweaked toml for crates.io crate cookie_parser 1.0.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cookie_parser 1.0.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cookie_parser 1.0.1 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7755fbbf33e0e21d5d2ad940ada31e2ef7db08cc3998ef318afd8203d3b98f0 [INFO] running `Command { std: "docker" "start" "-a" "e7755fbbf33e0e21d5d2ad940ada31e2ef7db08cc3998ef318afd8203d3b98f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7755fbbf33e0e21d5d2ad940ada31e2ef7db08cc3998ef318afd8203d3b98f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7755fbbf33e0e21d5d2ad940ada31e2ef7db08cc3998ef318afd8203d3b98f0", kill_on_drop: false }` [INFO] [stdout] e7755fbbf33e0e21d5d2ad940ada31e2ef7db08cc3998ef318afd8203d3b98f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b644fdb706315ea987ceca47770cfd8b8065c938ddefbdba63f4703115474196 [INFO] running `Command { std: "docker" "start" "-a" "b644fdb706315ea987ceca47770cfd8b8065c938ddefbdba63f4703115474196", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling thiserror v2.0.3 [INFO] [stderr] Compiling clap_lex v0.7.3 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling clap_builder v4.5.21 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling thiserror-impl v2.0.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pest v2.7.14 [INFO] [stderr] Compiling clap v4.5.21 [INFO] [stderr] Compiling pest_meta v2.7.14 [INFO] [stderr] Compiling pest_generator v2.7.14 [INFO] [stderr] Compiling pest_derive v2.7.14 [INFO] [stderr] Compiling cookie_parser v1.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.73s [INFO] running `Command { std: "docker" "inspect" "b644fdb706315ea987ceca47770cfd8b8065c938ddefbdba63f4703115474196", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b644fdb706315ea987ceca47770cfd8b8065c938ddefbdba63f4703115474196", kill_on_drop: false }` [INFO] [stdout] b644fdb706315ea987ceca47770cfd8b8065c938ddefbdba63f4703115474196 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43eacb0f726fcd9e068a16be58b3826987ecccbd10db6da94d49596ea6a54c58 [INFO] running `Command { std: "docker" "start" "-a" "43eacb0f726fcd9e068a16be58b3826987ecccbd10db6da94d49596ea6a54c58", kill_on_drop: false }` [INFO] [stderr] Compiling cookie_parser v1.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.59s [INFO] running `Command { std: "docker" "inspect" "43eacb0f726fcd9e068a16be58b3826987ecccbd10db6da94d49596ea6a54c58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43eacb0f726fcd9e068a16be58b3826987ecccbd10db6da94d49596ea6a54c58", kill_on_drop: false }` [INFO] [stdout] 43eacb0f726fcd9e068a16be58b3826987ecccbd10db6da94d49596ea6a54c58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 53637a9abbaa43b2fa331d902936f91f8a88a7fb789bad2b6c4a9e23168fced3 [INFO] running `Command { std: "docker" "start" "-a" "53637a9abbaa43b2fa331d902936f91f8a88a7fb789bad2b6c4a9e23168fced3", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cookie_parser-3665c4df1950f3a0) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cookie_parser-2984dc6e4b885c90) [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] Running tests/grammar_tests.rs (/opt/rustwide/target/debug/deps/grammar_tests-e5eaf744282af3ac) [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] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test tests::test_parse_cookie_delimiter_in_cookie_name ... ok [INFO] [stdout] test tests::test_parse_cookie_delimiter_in_cookie_value ... ok [INFO] [stdout] test tests::test_parse_cookie_empty_cookie_name ... ok [INFO] [stdout] test tests::test_parse_cookie_ending_with_delimiter ... ok [INFO] [stdout] test tests::test_parse_cookie_no_space_between_cookies ... ok [INFO] [stdout] test tests::test_parse_cookie_string_multiple_cookies ... ok [INFO] [stdout] test tests::test_parse_cookie_no_cookie_value ... ok [INFO] [stdout] test tests::test_parse_cookie_string_single_cookie ... ok [INFO] [stdout] test tests::test_parse_set_cookie_domain ... ok [INFO] [stdout] test tests::test_parse_set_cookie_extensions ... ok [INFO] [stdout] test tests::test_parse_set_cookie_http_only ... ok [INFO] [stdout] test tests::test_parse_set_cookie_mixed ... ok [INFO] [stdout] test tests::test_parse_set_cookie_path ... ok [INFO] [stdout] test tests::test_parse_set_cookie_max_age ... ok [INFO] [stdout] test tests::test_parse_set_cookie_secure ... ok [INFO] [stdout] test tests::test_parse_set_cookie_without_attributes ... ok [INFO] [stderr] Doc-tests cookie_parser [INFO] [stdout] test tests::test_parse_set_cookie_expires ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - (line 98) ... FAILED [INFO] [stdout] test src/lib.rs - (line 21) ... FAILED [INFO] [stdout] test src/lib.rs - (line 35) ... FAILED [INFO] [stdout] test src/lib.rs - (line 73) ... FAILED [INFO] [stdout] test src/lib.rs - (line 90) ... FAILED [INFO] [stdout] test src/lib.rs - (line 62) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 98) stdout ---- [INFO] [stdout] error: expected one of `!`, `+`, `::`, `where`, or `{`, found `}` [INFO] [stdout] --> src/lib.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn parse_set_cookie(input: &str) -> Result [INFO] [stdout] | ---------------- while parsing this `fn` - expected one of `!`, `+`, `::`, `where`, or `{` [INFO] [stdout] 4 | } _doctest_main_src_lib_rs_98_0() } [INFO] [stdout] | ^ unexpected token [INFO] [stdout] [INFO] [stdout] error: free function without a body [INFO] [stdout] --> src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn parse_set_cookie(input: &str) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SetCookie` in this scope [INFO] [stdout] --> src/lib.rs:99:48 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn parse_set_cookie(input: &str) -> Result [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use cookie_parser::SetCookie; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CookieParseError` in this scope [INFO] [stdout] --> src/lib.rs:99:59 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn parse_set_cookie(input: &str) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use cookie_parser::CookieParseError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 21) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:26:71 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() { [INFO] [stdout] | --------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 7 | let cookies = parse_cookie_string("session=abc123; user=john_doe")?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 6 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 35) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:42:6 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() { [INFO] [stdout] | --------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 9 | )?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 6 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 73) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `CookiePair` in this scope [INFO] [stdout] --> src/lib.rs:75:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub pair: CookiePair, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use cookie_parser::CookiePair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 90) stdout ---- [INFO] [stdout] error: expected one of `!`, `+`, `::`, `where`, or `{`, found `}` [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn parse_cookie_string(input: &str) -> Result, CookieParseError> [INFO] [stdout] | ------------------- while parsing this `fn` - expected one of `!`, `+`, `::`, `where`, or `{` [INFO] [stdout] 4 | } _doctest_main_src_lib_rs_90_0() } [INFO] [stdout] | ^ unexpected token [INFO] [stdout] [INFO] [stdout] error: free function without a body [INFO] [stdout] --> src/lib.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn parse_cookie_string(input: &str) -> Result, CookieParseError> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CookiePair` in this scope [INFO] [stdout] --> src/lib.rs:91:55 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn parse_cookie_string(input: &str) -> Result, CookieParseError> [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use cookie_parser::CookiePair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CookieParseError` in this scope [INFO] [stdout] --> src/lib.rs:91:68 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn parse_cookie_string(input: &str) -> Result, CookieParseError> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use cookie_parser::CookieParseError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 21) [INFO] [stdout] src/lib.rs - (line 35) [INFO] [stdout] src/lib.rs - (line 73) [INFO] [stdout] src/lib.rs - (line 90) [INFO] [stdout] src/lib.rs - (line 98) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "53637a9abbaa43b2fa331d902936f91f8a88a7fb789bad2b6c4a9e23168fced3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53637a9abbaa43b2fa331d902936f91f8a88a7fb789bad2b6c4a9e23168fced3", kill_on_drop: false }` [INFO] [stdout] 53637a9abbaa43b2fa331d902936f91f8a88a7fb789bad2b6c4a9e23168fced3