[INFO] fetching crate revolt_rocket_okapi_codegen 0.9.1... [INFO] testing revolt_rocket_okapi_codegen-0.9.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate revolt_rocket_okapi_codegen 0.9.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate revolt_rocket_okapi_codegen 0.9.1 [INFO] finished tweaking crates.io crate revolt_rocket_okapi_codegen 0.9.1 [INFO] tweaked toml for crates.io crate revolt_rocket_okapi_codegen 0.9.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate revolt_rocket_okapi_codegen 0.9.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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.110) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db5d56997a226c476ff776953e70d99712e635f5cdf263e86ee25ce774c094df [INFO] running `Command { std: "docker" "start" "-a" "db5d56997a226c476ff776953e70d99712e635f5cdf263e86ee25ce774c094df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db5d56997a226c476ff776953e70d99712e635f5cdf263e86ee25ce774c094df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db5d56997a226c476ff776953e70d99712e635f5cdf263e86ee25ce774c094df", kill_on_drop: false }` [INFO] [stdout] db5d56997a226c476ff776953e70d99712e635f5cdf263e86ee25ce774c094df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56867d416f73db916b25f4f66797e4da9501e21400d35665c5b4cb3c7feda941 [INFO] running `Command { std: "docker" "start" "-a" "56867d416f73db916b25f4f66797e4da9501e21400d35665c5b4cb3c7feda941", kill_on_drop: false }` [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [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 syn v2.0.110 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling http v0.2.12 [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 ref-cast v1.0.25 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling tracing v0.1.41 [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 revolt_rocket_okapi_codegen v0.9.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/openapi_spec.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | 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:13:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Route { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | 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 37.30s [INFO] running `Command { std: "docker" "inspect" "56867d416f73db916b25f4f66797e4da9501e21400d35665c5b4cb3c7feda941", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56867d416f73db916b25f4f66797e4da9501e21400d35665c5b4cb3c7feda941", kill_on_drop: false }` [INFO] [stdout] 56867d416f73db916b25f4f66797e4da9501e21400d35665c5b4cb3c7feda941 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e39cac688944c9268115bf4f76d5b165054d1fb3316d9ea4707d00e2c131956b [INFO] running `Command { std: "docker" "start" "-a" "e39cac688944c9268115bf4f76d5b165054d1fb3316d9ea4707d00e2c131956b", kill_on_drop: false }` [INFO] [stderr] Compiling revolt_rocket_okapi_codegen v0.9.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/openapi_spec.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | 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:13:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Route { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | 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/openapi_spec.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | 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:13:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Route { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | 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.58s [INFO] running `Command { std: "docker" "inspect" "e39cac688944c9268115bf4f76d5b165054d1fb3316d9ea4707d00e2c131956b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e39cac688944c9268115bf4f76d5b165054d1fb3316d9ea4707d00e2c131956b", kill_on_drop: false }` [INFO] [stdout] e39cac688944c9268115bf4f76d5b165054d1fb3316d9ea4707d00e2c131956b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cfd0888d5fc674a5f0fc784c9e7b6480aca040e8db9028089a5b7dd4d5181609 [INFO] running `Command { std: "docker" "start" "-a" "cfd0888d5fc674a5f0fc784c9e7b6480aca040e8db9028089a5b7dd4d5181609", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/openapi_spec.rs:60:9 [INFO] [stderr] | [INFO] [stderr] 60 | 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:13:9 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct Route { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] ... [INFO] [stderr] 13 | 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: `revolt_rocket_okapi_codegen` (lib) generated 2 warnings (run `cargo fix --lib -p revolt_rocket_okapi_codegen` to apply 1 suggestion) [INFO] [stderr] warning: `revolt_rocket_okapi_codegen` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/revolt_rocket_okapi_codegen-d82017e888035f43) [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] Doc-tests revolt_rocket_okapi_codegen [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - open_api_from_request_derive (line 102) ... ignored [INFO] [stdout] test src/lib.rs - open_api_from_request_derive (line 94) ... ignored [INFO] [stdout] test src/lib.rs - openapi (line 24) ... ignored [INFO] [stdout] test src/lib.rs - openapi_routes (line 53) ... ignored [INFO] [stdout] test src/lib.rs - openapi_spec (line 75) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 5 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cfd0888d5fc674a5f0fc784c9e7b6480aca040e8db9028089a5b7dd4d5181609", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfd0888d5fc674a5f0fc784c9e7b6480aca040e8db9028089a5b7dd4d5181609", kill_on_drop: false }` [INFO] [stdout] cfd0888d5fc674a5f0fc784c9e7b6480aca040e8db9028089a5b7dd4d5181609