[INFO] fetching crate rocket_okapi_codegen_fork 0.7.1... [INFO] building rocket_okapi_codegen_fork-0.7.1 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate rocket_okapi_codegen_fork 0.7.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate rocket_okapi_codegen_fork 0.7.1 [INFO] finished tweaking crates.io crate rocket_okapi_codegen_fork 0.7.1 [INFO] tweaked toml for crates.io crate rocket_okapi_codegen_fork 0.7.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rocket_okapi_codegen_fork 0.7.1 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 122 packages to latest compatible versions [INFO] [stderr] Adding darling v0.13.4 (available: v0.21.3) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded generator v0.7.5 [INFO] [stderr] Downloaded pear_codegen v0.2.9 [INFO] [stderr] Downloaded inlinable_string v0.1.15 [INFO] [stderr] Downloaded rocket_http v0.5.1 [INFO] [stderr] Downloaded stable-pattern v0.1.0 [INFO] [stderr] Downloaded pear v0.2.9 [INFO] [stderr] Downloaded loom v0.5.6 [INFO] [stderr] Downloaded state v0.6.0 [INFO] [stderr] Downloaded uncased v0.9.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b104fb255fdd608e654604829aa0e7a342d6ac57f786fbb530ad186d36f80c66 [INFO] running `Command { std: "docker" "start" "-a" "b104fb255fdd608e654604829aa0e7a342d6ac57f786fbb530ad186d36f80c66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b104fb255fdd608e654604829aa0e7a342d6ac57f786fbb530ad186d36f80c66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b104fb255fdd608e654604829aa0e7a342d6ac57f786fbb530ad186d36f80c66", kill_on_drop: false }` [INFO] [stdout] b104fb255fdd608e654604829aa0e7a342d6ac57f786fbb530ad186d36f80c66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6db310ab70559c5434957c92bc5bcdaedf227a24f7c1e04a8c1a33a690bedf0d [INFO] running `Command { std: "docker" "start" "-a" "6db310ab70559c5434957c92bc5bcdaedf227a24f7c1e04a8c1a33a690bedf0d", kill_on_drop: false }` [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling rocket_okapi_codegen_fork v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/routes_with_openapi/mod.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let mut last_seg = fn_path.segments.last_mut().expect("syn::Path has segments"); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `media_type` is never read [INFO] [stdout] --> src/openapi_attr/route_attr.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Route { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub media_type: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Route` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.48s [INFO] running `Command { std: "docker" "inspect" "6db310ab70559c5434957c92bc5bcdaedf227a24f7c1e04a8c1a33a690bedf0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6db310ab70559c5434957c92bc5bcdaedf227a24f7c1e04a8c1a33a690bedf0d", kill_on_drop: false }` [INFO] [stdout] 6db310ab70559c5434957c92bc5bcdaedf227a24f7c1e04a8c1a33a690bedf0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bcfa764f611fef65a6ea09b60db9b1d1cfc3315e42f8c9ad9c740080244e01bd [INFO] running `Command { std: "docker" "start" "-a" "bcfa764f611fef65a6ea09b60db9b1d1cfc3315e42f8c9ad9c740080244e01bd", kill_on_drop: false }` [INFO] [stderr] Compiling rocket_okapi_codegen_fork v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/routes_with_openapi/mod.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let mut last_seg = fn_path.segments.last_mut().expect("syn::Path has segments"); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/routes_with_openapi/mod.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let mut last_seg = fn_path.segments.last_mut().expect("syn::Path has segments"); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `media_type` is never read [INFO] [stdout] --> src/openapi_attr/route_attr.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Route { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub media_type: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Route` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `media_type` is never read [INFO] [stdout] --> src/openapi_attr/route_attr.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Route { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub media_type: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Route` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.21s [INFO] running `Command { std: "docker" "inspect" "bcfa764f611fef65a6ea09b60db9b1d1cfc3315e42f8c9ad9c740080244e01bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcfa764f611fef65a6ea09b60db9b1d1cfc3315e42f8c9ad9c740080244e01bd", kill_on_drop: false }` [INFO] [stdout] bcfa764f611fef65a6ea09b60db9b1d1cfc3315e42f8c9ad9c740080244e01bd