[INFO] fetching crate rocket-apitoken 0.1.0... [INFO] testing rocket-apitoken-0.1.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate rocket-apitoken 0.1.0 into /workspace/builds/worker-7-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rocket-apitoken 0.1.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "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 181 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a4166c4d2f4d1e8e8588c316b37e07dd967e6bc0bc6aea607e1bdbf1fd80a8d [INFO] running `Command { std: "docker" "start" "-a" "8a4166c4d2f4d1e8e8588c316b37e07dd967e6bc0bc6aea607e1bdbf1fd80a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a4166c4d2f4d1e8e8588c316b37e07dd967e6bc0bc6aea607e1bdbf1fd80a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a4166c4d2f4d1e8e8588c316b37e07dd967e6bc0bc6aea607e1bdbf1fd80a8d", kill_on_drop: false }` [INFO] [stdout] 8a4166c4d2f4d1e8e8588c316b37e07dd967e6bc0bc6aea607e1bdbf1fd80a8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99efc1cd6efba0e885d61b619b9ab0157f9510c93d137f34c4b0eef5adbae885 [INFO] running `Command { std: "docker" "start" "-a" "99efc1cd6efba0e885d61b619b9ab0157f9510c93d137f34c4b0eef5adbae885", kill_on_drop: false }` [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling hashbrown v0.17.0 [INFO] [stderr] Compiling num-conv v0.2.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling bitflags v2.11.1 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling winnow v0.7.15 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling tokio v1.52.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling rand v0.8.6 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.7.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 ref-cast v1.0.25 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling serde v1.0.228 [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 tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling rocket-apitoken v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.02s [INFO] running `Command { std: "docker" "inspect" "99efc1cd6efba0e885d61b619b9ab0157f9510c93d137f34c4b0eef5adbae885", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99efc1cd6efba0e885d61b619b9ab0157f9510c93d137f34c4b0eef5adbae885", kill_on_drop: false }` [INFO] [stdout] 99efc1cd6efba0e885d61b619b9ab0157f9510c93d137f34c4b0eef5adbae885 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a3f9cc6dc3fcfddc57d3e977258fe81434a1afa5cb543c4e4f725ef9726e213 [INFO] running `Command { std: "docker" "start" "-a" "5a3f9cc6dc3fcfddc57d3e977258fe81434a1afa5cb543c4e4f725ef9726e213", 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.72s [INFO] running `Command { std: "docker" "inspect" "5a3f9cc6dc3fcfddc57d3e977258fe81434a1afa5cb543c4e4f725ef9726e213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a3f9cc6dc3fcfddc57d3e977258fe81434a1afa5cb543c4e4f725ef9726e213", kill_on_drop: false }` [INFO] [stdout] 5a3f9cc6dc3fcfddc57d3e977258fe81434a1afa5cb543c4e4f725ef9726e213 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0a3c47e32cfb83bd8a7380d8f3e4bd89a22f8341acb0a34571d3819ff7fd66d0 [INFO] running `Command { std: "docker" "start" "-a" "0a3c47e32cfb83bd8a7380d8f3e4bd89a22f8341acb0a34571d3819ff7fd66d0", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rocket_apitoken-7ddb967ef437d12b) [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] 10 | use rocket; [INFO] [stdout] | ------ previous import of the value `rocket` here [INFO] [stdout] ... [INFO] [stdout] 20 | 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] 10 | 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] 19 | #[launch] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 7 + 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] 24 | .mount("/api", routes![protected_endpoint]) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 7 + 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] 13 | #[post("/?", data = "")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 7 + 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] 20 | fn rocket() -> _ { [INFO] [stdout] | ^ not allowed in type signatures [INFO] [stdout] | [INFO] [stdout] help: replace with the correct return type [INFO] [stdout] | [INFO] [stdout] 20 - fn rocket() -> _ { [INFO] [stdout] 20 + 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.12s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "0a3c47e32cfb83bd8a7380d8f3e4bd89a22f8341acb0a34571d3819ff7fd66d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a3c47e32cfb83bd8a7380d8f3e4bd89a22f8341acb0a34571d3819ff7fd66d0", kill_on_drop: false }` [INFO] [stdout] 0a3c47e32cfb83bd8a7380d8f3e4bd89a22f8341acb0a34571d3819ff7fd66d0