[INFO] cloning repository https://github.com/kvinwang/rocket-apitoken
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kvinwang/rocket-apitoken" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkvinwang%2Frocket-apitoken", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkvinwang%2Frocket-apitoken'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e0a39bbe05d6ced2d156742c4d29d09b7f641311
[INFO] testing kvinwang/rocket-apitoken against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkvinwang%2Frocket-apitoken" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kvinwang/rocket-apitoken
[INFO] finished tweaking git repo https://github.com/kvinwang/rocket-apitoken
[INFO] tweaked toml for git repo https://github.com/kvinwang/rocket-apitoken written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kvinwang/rocket-apitoken on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kvinwang/rocket-apitoken already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded atomic v0.6.0
[INFO] [stderr]   Downloaded ref-cast-impl v1.0.23
[INFO] [stderr]   Downloaded ref-cast v1.0.23
[INFO] [stderr]   Downloaded cc v1.2.2
[INFO] [stderr]   Downloaded libc v0.2.167
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 70081a029291700bb609473051782ce19842cfdaadf91ee9353e50279cabd1d7
[INFO] running `Command { std: "docker" "start" "-a" "70081a029291700bb609473051782ce19842cfdaadf91ee9353e50279cabd1d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "70081a029291700bb609473051782ce19842cfdaadf91ee9353e50279cabd1d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "70081a029291700bb609473051782ce19842cfdaadf91ee9353e50279cabd1d7", kill_on_drop: false }`
[INFO] [stdout] 70081a029291700bb609473051782ce19842cfdaadf91ee9353e50279cabd1d7
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c780dae18bd67b4a8f18d8fb98cbf720f901d15b7e6ef322caf2939cd6de7d10
[INFO] running `Command { std: "docker" "start" "-a" "c780dae18bd67b4a8f18d8fb98cbf720f901d15b7e6ef322caf2939cd6de7d10", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.167
[INFO] [stderr]    Compiling serde v1.0.215
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling http v0.2.12
[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 ref-cast v1.0.23
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling uncased v0.9.10
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling stable-pattern v0.1.0
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling is-terminal v0.4.13
[INFO] [stderr]    Compiling tokio v1.41.1
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling state v0.6.0
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling winnow v0.6.20
[INFO] [stderr]    Compiling rustix v0.38.41
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling indexmap v2.7.0
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]    Compiling figment v0.10.19
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling rocket v0.5.1
[INFO] [stderr]    Compiling fastrand v2.2.0
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling binascii v0.1.4
[INFO] [stderr]    Compiling atomic v0.5.3
[INFO] [stderr]    Compiling hyper v0.14.31
[INFO] [stderr]    Compiling devise_core v0.4.2
[INFO] [stderr]    Compiling serde_derive v1.0.215
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling pear_codegen v0.2.9
[INFO] [stderr]    Compiling ref-cast-impl v1.0.23
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling devise_codegen v0.4.2
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling pear v0.2.9
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling tempfile v3.14.0
[INFO] [stderr]    Compiling devise v0.4.2
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rocket_http v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rocket_codegen v0.5.1
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling tokio-stream v0.1.16
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[INFO] [stderr]    Compiling ubyte v0.10.4
[INFO] [stderr]    Compiling toml_edit v0.22.22
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling toml v0.8.19
[INFO] [stderr]    Compiling rocket-apitoken v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 55s
[INFO] running `Command { std: "docker" "inspect" "c780dae18bd67b4a8f18d8fb98cbf720f901d15b7e6ef322caf2939cd6de7d10", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c780dae18bd67b4a8f18d8fb98cbf720f901d15b7e6ef322caf2939cd6de7d10", kill_on_drop: false }`
[INFO] [stdout] c780dae18bd67b4a8f18d8fb98cbf720f901d15b7e6ef322caf2939cd6de7d10
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0279a019065b26d8aba92dc061331714d4784de7bcfe2f621b662147220da261
[INFO] running `Command { std: "docker" "start" "-a" "0279a019065b26d8aba92dc061331714d4784de7bcfe2f621b662147220da261", 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.95s
[INFO] running `Command { std: "docker" "inspect" "0279a019065b26d8aba92dc061331714d4784de7bcfe2f621b662147220da261", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0279a019065b26d8aba92dc061331714d4784de7bcfe2f621b662147220da261", kill_on_drop: false }`
[INFO] [stdout] 0279a019065b26d8aba92dc061331714d4784de7bcfe2f621b662147220da261
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] eef3b5217b22bcca7f902aabe1656d8122547c175c0ed3399b990c1d04a842e8
[INFO] running `Command { std: "docker" "start" "-a" "eef3b5217b22bcca7f902aabe1656d8122547c175c0ed3399b990c1d04a842e8", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rocket_apitoken-7660d47e597c195f)
[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("/<method>?<json>", data = "<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<Build> {
[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.25s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "eef3b5217b22bcca7f902aabe1656d8122547c175c0ed3399b990c1d04a842e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eef3b5217b22bcca7f902aabe1656d8122547c175c0ed3399b990c1d04a842e8", kill_on_drop: false }`
[INFO] [stdout] eef3b5217b22bcca7f902aabe1656d8122547c175c0ed3399b990c1d04a842e8
