[INFO] fetching crate rocket-response 0.0.1-rc.2... [INFO] testing rocket-response-0.0.1-rc.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate rocket-response 0.0.1-rc.2 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate rocket-response 0.0.1-rc.2 [INFO] finished tweaking crates.io crate rocket-response 0.0.1-rc.2 [INFO] tweaked toml for crates.io crate rocket-response 0.0.1-rc.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rocket-response 0.0.1-rc.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 250 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding rocket_dyn_templates v0.1.0 (available: v0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01d9c383f2ca62c42c3085c69239353a2ad6bbc7d63db908c1fd575a428a5c38 [INFO] running `Command { std: "docker" "start" "-a" "01d9c383f2ca62c42c3085c69239353a2ad6bbc7d63db908c1fd575a428a5c38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01d9c383f2ca62c42c3085c69239353a2ad6bbc7d63db908c1fd575a428a5c38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01d9c383f2ca62c42c3085c69239353a2ad6bbc7d63db908c1fd575a428a5c38", kill_on_drop: false }` [INFO] [stdout] 01d9c383f2ca62c42c3085c69239353a2ad6bbc7d63db908c1fd575a428a5c38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da058ee1afcf8d11f094f26acd62a794fcde89e4d0b58d41cced1cbf8d2ab8f2 [INFO] running `Command { std: "docker" "start" "-a" "da058ee1afcf8d11f094f26acd62a794fcde89e4d0b58d41cced1cbf8d2ab8f2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling rocket-response v0.0.1-rc.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.11s [INFO] running `Command { std: "docker" "inspect" "da058ee1afcf8d11f094f26acd62a794fcde89e4d0b58d41cced1cbf8d2ab8f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da058ee1afcf8d11f094f26acd62a794fcde89e4d0b58d41cced1cbf8d2ab8f2", kill_on_drop: false }` [INFO] [stdout] da058ee1afcf8d11f094f26acd62a794fcde89e4d0b58d41cced1cbf8d2ab8f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4358822f9d8783e2bbcdf0d037a27dd36849130ce17c10c42f7943b60e66e48 [INFO] running `Command { std: "docker" "start" "-a" "e4358822f9d8783e2bbcdf0d037a27dd36849130ce17c10c42f7943b60e66e48", kill_on_drop: false }` [INFO] [stderr] Compiling rocket-response v0.0.1-rc.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:374:75 [INFO] [stdout] | [INFO] [stdout] 374 | 1 => RocketResponseGeneric::Unauthorized(status::Unauthorized(Some( [INFO] [stdout] | ______________________________________________________--------------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this struct are incorrect [INFO] [stdout] 375 | | "admin need authentication", [INFO] [stdout] 376 | | ))), [INFO] [stdout] | |_____________^ expected `&str`, found `Option<&str>` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found enum `std::option::Option<&str>` [INFO] [stdout] help: the type constructed contains `std::option::Option<&str>` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:374:54 [INFO] [stdout] | [INFO] [stdout] 374 | 1 => RocketResponseGeneric::Unauthorized(status::Unauthorized(Some( [INFO] [stdout] | ______________________________________________________^ - [INFO] [stdout] | |___________________________________________________________________________| [INFO] [stdout] 375 | || "admin need authentication", [INFO] [stdout] 376 | || ))), [INFO] [stdout] | ||_____________-^ [INFO] [stdout] | |______________| [INFO] [stdout] | this argument influences the type of `Unauthorized` [INFO] [stdout] note: tuple struct defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket-0.5.1/src/response/status.rs:301:18 [INFO] [stdout] | [INFO] [stdout] 301 | status_response!(Unauthorized "401 Unauthorized"); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:392:76 [INFO] [stdout] | [INFO] [stdout] 392 | 1 => RocketResponseGeneric2::Unauthorized(status::Unauthorized(Some( [INFO] [stdout] | _______________________________________________________--------------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this struct are incorrect [INFO] [stdout] 393 | | "admin need authentication", [INFO] [stdout] 394 | | ))), [INFO] [stdout] | |_____________^ expected `&str`, found `Option<&str>` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found enum `std::option::Option<&str>` [INFO] [stdout] help: the type constructed contains `std::option::Option<&str>` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:392:55 [INFO] [stdout] | [INFO] [stdout] 392 | 1 => RocketResponseGeneric2::Unauthorized(status::Unauthorized(Some( [INFO] [stdout] | _______________________________________________________^ - [INFO] [stdout] | |____________________________________________________________________________| [INFO] [stdout] 393 | || "admin need authentication", [INFO] [stdout] 394 | || ))), [INFO] [stdout] | ||_____________-^ [INFO] [stdout] | |______________| [INFO] [stdout] | this argument influences the type of `Unauthorized` [INFO] [stdout] note: tuple struct defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket-0.5.1/src/response/status.rs:301:18 [INFO] [stdout] | [INFO] [stdout] 301 | status_response!(Unauthorized "401 Unauthorized"); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket-response` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "e4358822f9d8783e2bbcdf0d037a27dd36849130ce17c10c42f7943b60e66e48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4358822f9d8783e2bbcdf0d037a27dd36849130ce17c10c42f7943b60e66e48", kill_on_drop: false }` [INFO] [stdout] e4358822f9d8783e2bbcdf0d037a27dd36849130ce17c10c42f7943b60e66e48