[INFO] fetching crate rocket-apitoken 0.1.0... [INFO] testing rocket-apitoken-0.1.0 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate rocket-apitoken 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate rocket-apitoken 0.1.0 [INFO] finished tweaking crates.io crate rocket-apitoken 0.1.0 [INFO] tweaked toml for crates.io crate rocket-apitoken 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rocket-apitoken 0.1.0 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "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" "+beta-2025-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 174 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "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-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" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53ebf8820e607da2a83344fd1ed2cd53e9efe9c182a253470889793d1f2c4026 [INFO] running `Command { std: "docker" "start" "-a" "53ebf8820e607da2a83344fd1ed2cd53e9efe9c182a253470889793d1f2c4026", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53ebf8820e607da2a83344fd1ed2cd53e9efe9c182a253470889793d1f2c4026", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53ebf8820e607da2a83344fd1ed2cd53e9efe9c182a253470889793d1f2c4026", kill_on_drop: false }` [INFO] [stdout] 53ebf8820e607da2a83344fd1ed2cd53e9efe9c182a253470889793d1f2c4026 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 809077fd3a659a1aba3bf4a7ff476094b74dca465590918c1d486fa2d46d8be1 [INFO] running `Command { std: "docker" "start" "-a" "809077fd3a659a1aba3bf4a7ff476094b74dca465590918c1d486fa2d46d8be1", kill_on_drop: false }` [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 syn v2.0.108 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling rocket-apitoken v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 23s [INFO] running `Command { std: "docker" "inspect" "809077fd3a659a1aba3bf4a7ff476094b74dca465590918c1d486fa2d46d8be1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "809077fd3a659a1aba3bf4a7ff476094b74dca465590918c1d486fa2d46d8be1", kill_on_drop: false }` [INFO] [stdout] 809077fd3a659a1aba3bf4a7ff476094b74dca465590918c1d486fa2d46d8be1 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06a61212ff3003d6591113d6ab7ab9372bcd42ff936ff62aa92fd14520b4fceb [INFO] running `Command { std: "docker" "start" "-a" "06a61212ff3003d6591113d6ab7ab9372bcd42ff936ff62aa92fd14520b4fceb", kill_on_drop: false }` [INFO] [stderr] Compiling rocket-apitoken v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.69s [INFO] running `Command { std: "docker" "inspect" "06a61212ff3003d6591113d6ab7ab9372bcd42ff936ff62aa92fd14520b4fceb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06a61212ff3003d6591113d6ab7ab9372bcd42ff936ff62aa92fd14520b4fceb", kill_on_drop: false }` [INFO] [stdout] 06a61212ff3003d6591113d6ab7ab9372bcd42ff936ff62aa92fd14520b4fceb [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 25549989255dd23c7c3c899df0960702cbd117a554daace42c556e8419916ea7 [INFO] running `Command { std: "docker" "start" "-a" "25549989255dd23c7c3c899df0960702cbd117a554daace42c556e8419916ea7", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rocket_apitoken-0721669348095d21) [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 rocket_apitoken [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 8) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 8) stdout ---- [INFO] [stdout] error[E0255]: the name `rocket` is defined multiple times [INFO] [stdout] --> src/lib.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 5 | use rocket; [INFO] [stdout] | ------ previous import of the value `rocket` here [INFO] [stdout] ... [INFO] [stdout] 15 | fn rocket() -> _ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `rocket` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `rocket` must be defined only once in the value namespace of this block [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 5 | use rocket as other_rocket; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `launch` in this scope [INFO] [stdout] --> src/lib.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[launch] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use rocket::launch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> src/lib.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 19 | .mount("/api", routes![protected_endpoint]) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use rocket::routes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> src/lib.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[post("/?", data = "")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use rocket::post; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0121]: the placeholder `_` is not allowed within types on item signatures for return types [INFO] [stdout] --> src/lib.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 15 | fn rocket() -> _ { [INFO] [stdout] | ^ not allowed in type signatures [INFO] [stdout] | [INFO] [stdout] help: replace with the correct return type [INFO] [stdout] | [INFO] [stdout] 15 - fn rocket() -> _ { [INFO] [stdout] 15 + fn rocket() -> Rocket { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0121, E0255. [INFO] [stdout] For more information about an error, try `rustc --explain E0121`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 8) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "25549989255dd23c7c3c899df0960702cbd117a554daace42c556e8419916ea7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25549989255dd23c7c3c899df0960702cbd117a554daace42c556e8419916ea7", kill_on_drop: false }` [INFO] [stdout] 25549989255dd23c7c3c899df0960702cbd117a554daace42c556e8419916ea7