[INFO] fetching crate rocket-apitoken 0.1.0... [INFO] testing rocket-apitoken-0.1.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate rocket-apitoken 0.1.0 into /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rocket-apitoken 0.1.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 175 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e03fc7c6dafc14ede47ce412359f16b2d40a48e5c6c769b86d434daa8be0a838 [INFO] running `Command { std: "docker" "start" "-a" "e03fc7c6dafc14ede47ce412359f16b2d40a48e5c6c769b86d434daa8be0a838", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e03fc7c6dafc14ede47ce412359f16b2d40a48e5c6c769b86d434daa8be0a838", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e03fc7c6dafc14ede47ce412359f16b2d40a48e5c6c769b86d434daa8be0a838", kill_on_drop: false }` [INFO] [stdout] e03fc7c6dafc14ede47ce412359f16b2d40a48e5c6c769b86d434daa8be0a838 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 508cd9ce16817a1f8e985ffa62a0874e4fadff574ce80cbe779d48b3dbd44f12 [INFO] running `Command { std: "docker" "start" "-a" "508cd9ce16817a1f8e985ffa62a0874e4fadff574ce80cbe779d48b3dbd44f12", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling tokio v1.47.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 http-body v0.4.6 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.5.0 [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 rocket_http v0.5.1 [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 rocket_codegen v0.5.1 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-stream v0.1.17 [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 19s [INFO] running `Command { std: "docker" "inspect" "508cd9ce16817a1f8e985ffa62a0874e4fadff574ce80cbe779d48b3dbd44f12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "508cd9ce16817a1f8e985ffa62a0874e4fadff574ce80cbe779d48b3dbd44f12", kill_on_drop: false }` [INFO] [stdout] 508cd9ce16817a1f8e985ffa62a0874e4fadff574ce80cbe779d48b3dbd44f12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b192bc568fb31cf073d0c6b33cfb9ea568ad2672c2b1efa46b31381dfbb4c566 [INFO] running `Command { std: "docker" "start" "-a" "b192bc568fb31cf073d0c6b33cfb9ea568ad2672c2b1efa46b31381dfbb4c566", 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.62s [INFO] running `Command { std: "docker" "inspect" "b192bc568fb31cf073d0c6b33cfb9ea568ad2672c2b1efa46b31381dfbb4c566", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b192bc568fb31cf073d0c6b33cfb9ea568ad2672c2b1efa46b31381dfbb4c566", kill_on_drop: false }` [INFO] [stdout] b192bc568fb31cf073d0c6b33cfb9ea568ad2672c2b1efa46b31381dfbb4c566 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] aa6b1078ccc2fe462267ce75f0482917f8e55c8c8198f5413d2720d8b9cbdce2 [INFO] running `Command { std: "docker" "start" "-a" "aa6b1078ccc2fe462267ce75f0482917f8e55c8c8198f5413d2720d8b9cbdce2", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rocket_apitoken-830ff16c39a1e8eb) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests rocket_apitoken [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 - (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] | ^ [INFO] [stdout] | | [INFO] [stdout] | not allowed in type signatures [INFO] [stdout] | help: replace with the correct return type: `Rocket` [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.14s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "aa6b1078ccc2fe462267ce75f0482917f8e55c8c8198f5413d2720d8b9cbdce2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa6b1078ccc2fe462267ce75f0482917f8e55c8c8198f5413d2720d8b9cbdce2", kill_on_drop: false }` [INFO] [stdout] aa6b1078ccc2fe462267ce75f0482917f8e55c8c8198f5413d2720d8b9cbdce2