[INFO] fetching crate restless-web 0.1.1...
[INFO] checking restless-web-0.1.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] extracting crate restless-web 0.1.1 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate restless-web 0.1.1
[INFO] finished tweaking crates.io crate restless-web 0.1.1
[INFO] tweaked toml for crates.io crate restless-web 0.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate restless-web 0.1.1 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 48 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0e1521641f44aeee50536149ea19869d0674fb9003098fae40b39c61be17cf4f
[INFO] running `Command { std: "docker" "start" "-a" "0e1521641f44aeee50536149ea19869d0674fb9003098fae40b39c61be17cf4f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0e1521641f44aeee50536149ea19869d0674fb9003098fae40b39c61be17cf4f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e1521641f44aeee50536149ea19869d0674fb9003098fae40b39c61be17cf4f", kill_on_drop: false }`
[INFO] [stdout] 0e1521641f44aeee50536149ea19869d0674fb9003098fae40b39c61be17cf4f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cd0f4caab8165fded2cf78a9324d9a4bb42938bf7e492b7ac5cc87033c782ff1
[INFO] running `Command { std: "docker" "start" "-a" "cd0f4caab8165fded2cf78a9324d9a4bb42938bf7e492b7ac5cc87033c782ff1", kill_on_drop: false }`
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]     Checking tokio v1.48.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking restless-web v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr] error: could not compile `restless-web` (lib) due to 7 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/app.rs:24:18
[INFO] [stdout]    |
[INFO] [stdout] 24 |         unsafe { &mut APP }
[INFO] [stdout]    |                  ^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 24 |         unsafe { &raw mut APP }
[INFO] [stdout]    |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/app.rs:115:58
[INFO] [stdout]     |
[INFO] [stdout] 115 |     fn get_route<'a>(&'static self, req: &Req) -> Option<&Route<'a>> {
[INFO] [stdout]     |                       ------- the lifetime is named here ^^^^^^^^^^ the same lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'static`
[INFO] [stdout]     |
[INFO] [stdout] 115 |     fn get_route<'a>(&'static self, req: &Req) -> Option<&'static Route<'a>> {
[INFO] [stdout]     |                                                           +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> src/request.rs:67:20
[INFO] [stdout]    |
[INFO] [stdout] 67 |         req.path = path.parse().unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> src/request.rs:68:24
[INFO] [stdout]    |
[INFO] [stdout] 68 |         req.protocol = protocol.parse().unwrap();
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> src/request.rs:77:25
[INFO] [stdout]    |
[INFO] [stdout] 77 |                 .insert(header_name.parse().unwrap(), header_value.parse().unwrap());
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> src/request.rs:77:55
[INFO] [stdout]    |
[INFO] [stdout] 77 |                 .insert(header_name.parse().unwrap(), header_value.parse().unwrap());
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]    --> src/request.rs:127:21
[INFO] [stdout]     |
[INFO] [stdout] 127 |         self.path = pure_path.parse().unwrap();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]    --> src/response.rs:105:21
[INFO] [stdout]     |
[INFO] [stdout] 105 |             .insert(header_key.parse().unwrap(), header_value.parse().unwrap());
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]    --> src/response.rs:105:50
[INFO] [stdout]     |
[INFO] [stdout] 105 |             .insert(header_key.parse().unwrap(), header_value.parse().unwrap());
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/route.rs:18:23
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub fn new(value: &str, r#type: PathItemType) -> PathItem {
[INFO] [stdout]    |                       ^^^^                           ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub fn new(value: &str, r#type: PathItemType) -> PathItem<'_> {
[INFO] [stdout]    |                                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/route.rs:43:25
[INFO] [stdout]    |
[INFO] [stdout] 43 |     fn parse_path(path: &str) -> Vec<PathItem> {
[INFO] [stdout]    |                         ^^^^         ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 43 |     fn parse_path(path: &str) -> Vec<PathItem<'_>> {
[INFO] [stdout]    |                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/app.rs:24:18
[INFO] [stdout]    |
[INFO] [stdout] 24 |         unsafe { &mut APP }
[INFO] [stdout]    |                  ^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 24 |         unsafe { &raw mut APP }
[INFO] [stdout]    |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/app.rs:115:58
[INFO] [stdout]     |
[INFO] [stdout] 115 |     fn get_route<'a>(&'static self, req: &Req) -> Option<&Route<'a>> {
[INFO] [stdout]     |                       ------- the lifetime is named here ^^^^^^^^^^ the same lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'static`
[INFO] [stdout]     |
[INFO] [stdout] 115 |     fn get_route<'a>(&'static self, req: &Req) -> Option<&'static Route<'a>> {
[INFO] [stdout]     |                                                           +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> src/request.rs:67:20
[INFO] [stdout]    |
[INFO] [stdout] 67 |         req.path = path.parse().unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> src/request.rs:68:24
[INFO] [stdout]    |
[INFO] [stdout] 68 |         req.protocol = protocol.parse().unwrap();
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> src/request.rs:77:25
[INFO] [stdout]    |
[INFO] [stdout] 77 |                 .insert(header_name.parse().unwrap(), header_value.parse().unwrap());
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> src/request.rs:77:55
[INFO] [stdout]    |
[INFO] [stdout] 77 |                 .insert(header_name.parse().unwrap(), header_value.parse().unwrap());
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]    --> src/request.rs:127:21
[INFO] [stdout]     |
[INFO] [stdout] 127 |         self.path = pure_path.parse().unwrap();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]    --> src/response.rs:105:21
[INFO] [stdout]     |
[INFO] [stdout] 105 |             .insert(header_key.parse().unwrap(), header_value.parse().unwrap());
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]    --> src/response.rs:105:50
[INFO] [stdout]     |
[INFO] [stdout] 105 |             .insert(header_key.parse().unwrap(), header_value.parse().unwrap());
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/route.rs:18:23
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub fn new(value: &str, r#type: PathItemType) -> PathItem {
[INFO] [stdout]    |                       ^^^^                           ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub fn new(value: &str, r#type: PathItemType) -> PathItem<'_> {
[INFO] [stdout]    |                                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/route.rs:43:25
[INFO] [stdout]    |
[INFO] [stdout] 43 |     fn parse_path(path: &str) -> Vec<PathItem> {
[INFO] [stdout]    |                         ^^^^         ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 43 |     fn parse_path(path: &str) -> Vec<PathItem<'_>> {
[INFO] [stdout]    |                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `restless-web` (lib test) due to 7 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "cd0f4caab8165fded2cf78a9324d9a4bb42938bf7e492b7ac5cc87033c782ff1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd0f4caab8165fded2cf78a9324d9a4bb42938bf7e492b7ac5cc87033c782ff1", kill_on_drop: false }`
[INFO] [stdout] cd0f4caab8165fded2cf78a9324d9a4bb42938bf7e492b7ac5cc87033c782ff1
