[INFO] fetching crate rocket_okapi_codegen_fork 0.7.1... [INFO] testing rocket_okapi_codegen_fork-0.7.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate rocket_okapi_codegen_fork 0.7.1 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rocket_okapi_codegen_fork 0.7.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e109f1b9b2da24051ab2e6b41ebd3dae700e39fbeafe58d79177e07af9281ac4 [INFO] running `Command { std: "docker" "start" "-a" "e109f1b9b2da24051ab2e6b41ebd3dae700e39fbeafe58d79177e07af9281ac4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e109f1b9b2da24051ab2e6b41ebd3dae700e39fbeafe58d79177e07af9281ac4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e109f1b9b2da24051ab2e6b41ebd3dae700e39fbeafe58d79177e07af9281ac4", kill_on_drop: false }` [INFO] [stdout] e109f1b9b2da24051ab2e6b41ebd3dae700e39fbeafe58d79177e07af9281ac4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe109564a66bc7d8b0b4922e6d95fb16ce1b5df3f155e5a2d58196ad99a5b799 [INFO] running `Command { std: "docker" "start" "-a" "fe109564a66bc7d8b0b4922e6d95fb16ce1b5df3f155e5a2d58196ad99a5b799", kill_on_drop: false }` [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling darling v0.13.4 [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 15.77s [INFO] running `Command { std: "docker" "inspect" "fe109564a66bc7d8b0b4922e6d95fb16ce1b5df3f155e5a2d58196ad99a5b799", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe109564a66bc7d8b0b4922e6d95fb16ce1b5df3f155e5a2d58196ad99a5b799", kill_on_drop: false }` [INFO] [stdout] fe109564a66bc7d8b0b4922e6d95fb16ce1b5df3f155e5a2d58196ad99a5b799 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e52a378d67b30f81017b9c720e90d4892122f0f8bf6387ebff3145f552c00dc2 [INFO] running `Command { std: "docker" "start" "-a" "e52a378d67b30f81017b9c720e90d4892122f0f8bf6387ebff3145f552c00dc2", 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: 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 1.18s [INFO] running `Command { std: "docker" "inspect" "e52a378d67b30f81017b9c720e90d4892122f0f8bf6387ebff3145f552c00dc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e52a378d67b30f81017b9c720e90d4892122f0f8bf6387ebff3145f552c00dc2", kill_on_drop: false }` [INFO] [stdout] e52a378d67b30f81017b9c720e90d4892122f0f8bf6387ebff3145f552c00dc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1e18a6ec738478898b95eea19b2f5e9c50727da6382d45f29b9d651c3cf99804 [INFO] running `Command { std: "docker" "start" "-a" "1e18a6ec738478898b95eea19b2f5e9c50727da6382d45f29b9d651c3cf99804", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/routes_with_openapi/mod.rs:67:9 [INFO] [stderr] | [INFO] [stderr] 67 | let mut last_seg = fn_path.segments.last_mut().expect("syn::Path has segments"); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `media_type` is never read [INFO] [stderr] --> src/openapi_attr/route_attr.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct Route { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] ... [INFO] [stderr] 12 | pub media_type: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Route` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `rocket_okapi_codegen_fork` (lib) generated 2 warnings (run `cargo fix --lib -p rocket_okapi_codegen_fork` to apply 1 suggestion) [INFO] [stderr] warning: `rocket_okapi_codegen_fork` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rocket_okapi_codegen_fork-a9e19e72226e79dc) [INFO] [stderr] Doc-tests rocket_okapi_codegen_fork [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 1 test [INFO] [stdout] test src/lib.rs - openapi (line 18) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1e18a6ec738478898b95eea19b2f5e9c50727da6382d45f29b9d651c3cf99804", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e18a6ec738478898b95eea19b2f5e9c50727da6382d45f29b9d651c3cf99804", kill_on_drop: false }` [INFO] [stdout] 1e18a6ec738478898b95eea19b2f5e9c50727da6382d45f29b9d651c3cf99804