[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#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkvinwang%2Frocket-apitoken" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-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-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kvinwang/rocket-apitoken on toolchain 1ef7943ee607160a564655b6596f83670ef95df5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "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" "+1ef7943ee607160a564655b6596f83670ef95df5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded uncased v0.9.10
[INFO] [stderr]   Downloaded devise_core v0.4.2
[INFO] [stderr]   Downloaded tempfile v3.14.0
[INFO] [stderr]   Downloaded rocket_http v0.5.1
[INFO] [stderr]   Downloaded devise_codegen v0.4.2
[INFO] [stderr]   Downloaded rocket v0.5.1
[INFO] [stderr]   Downloaded pear v0.2.9
[INFO] [stderr]   Downloaded cc v1.2.2
[INFO] [stderr]   Downloaded atomic v0.5.3
[INFO] [stderr]   Downloaded hyper v0.14.31
[INFO] [stderr]   Downloaded libc v0.2.167
[INFO] [stderr]   Downloaded rocket_codegen v0.5.1
[INFO] [stderr]   Downloaded ref-cast v1.0.23
[INFO] [stderr]   Downloaded ubyte v0.10.4
[INFO] [stderr]   Downloaded pear_codegen v0.2.9
[INFO] [stderr]   Downloaded generator v0.7.5
[INFO] [stderr]   Downloaded state v0.6.0
[INFO] [stderr]   Downloaded figment v0.10.19
[INFO] [stderr]   Downloaded multer v3.1.0
[INFO] [stderr]   Downloaded atomic v0.6.0
[INFO] [stderr]   Downloaded ref-cast-impl v1.0.23
[INFO] [stderr]   Downloaded devise v0.4.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 600af99585f78c854156b7bd5d919ebcb23a367c37570a8a71f219c6225a6289
[INFO] running `Command { std: "docker" "start" "-a" "600af99585f78c854156b7bd5d919ebcb23a367c37570a8a71f219c6225a6289", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "600af99585f78c854156b7bd5d919ebcb23a367c37570a8a71f219c6225a6289", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "600af99585f78c854156b7bd5d919ebcb23a367c37570a8a71f219c6225a6289", kill_on_drop: false }`
[INFO] [stdout] 600af99585f78c854156b7bd5d919ebcb23a367c37570a8a71f219c6225a6289
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f998b4af12d5cc0fbea74cf922cd05f185960b61f7bad0bc8a2e679043cc1625
[INFO] running `Command { std: "docker" "start" "-a" "f998b4af12d5cc0fbea74cf922cd05f185960b61f7bad0bc8a2e679043cc1625", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling libc v0.2.167
[INFO] [stderr]    Compiling pin-project-lite v0.2.15
[INFO] [stderr]    Compiling serde v1.0.215
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling inlinable_string v0.1.15
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling ref-cast v1.0.23
[INFO] [stderr]    Compiling uncased v0.9.10
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling stable-pattern v0.1.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling rustix v0.38.41
[INFO] [stderr]    Compiling state v0.6.0
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling winnow v0.6.20
[INFO] [stderr]    Compiling figment v0.10.19
[INFO] [stderr]    Compiling indexmap v2.7.0
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling rocket v0.5.1
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling is-terminal v0.4.13
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling fastrand v2.2.0
[INFO] [stderr]    Compiling tokio v1.41.1
[INFO] [stderr]    Compiling spin v0.9.8
[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 parking_lot v0.12.3
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling hyper v0.14.31
[INFO] [stderr]    Compiling tempfile v3.14.0
[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 zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling ref-cast-impl v1.0.23
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling pear v0.2.9
[INFO] [stderr]    Compiling devise_codegen v0.4.2
[INFO] [stderr]    Compiling devise v0.4.2
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling rocket_http v0.5.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[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 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 tokio-util v0.7.12
[INFO] [stderr]    Compiling tokio-stream v0.1.16
[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 13s
[INFO] running `Command { std: "docker" "inspect" "f998b4af12d5cc0fbea74cf922cd05f185960b61f7bad0bc8a2e679043cc1625", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f998b4af12d5cc0fbea74cf922cd05f185960b61f7bad0bc8a2e679043cc1625", kill_on_drop: false }`
[INFO] [stdout] f998b4af12d5cc0fbea74cf922cd05f185960b61f7bad0bc8a2e679043cc1625
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 58b0dc708705b82b0d9dcac40d64c29457be9552137a65f6bb15fc53d256d539
[INFO] running `Command { std: "docker" "start" "-a" "58b0dc708705b82b0d9dcac40d64c29457be9552137a65f6bb15fc53d256d539", 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.91s
[INFO] running `Command { std: "docker" "inspect" "58b0dc708705b82b0d9dcac40d64c29457be9552137a65f6bb15fc53d256d539", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "58b0dc708705b82b0d9dcac40d64c29457be9552137a65f6bb15fc53d256d539", kill_on_drop: false }`
[INFO] [stdout] 58b0dc708705b82b0d9dcac40d64c29457be9552137a65f6bb15fc53d256d539
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 54ff678e562915a0d088ca21883d5e79e1bb70d024fb557f4f12c26f0b64b401
[INFO] running `Command { std: "docker" "start" "-a" "54ff678e562915a0d088ca21883d5e79e1bb70d024fb557f4f12c26f0b64b401", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rocket_apitoken-3bf9f6970c2fa723)
[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("/<method>?<json>", data = "<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<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.17s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "54ff678e562915a0d088ca21883d5e79e1bb70d024fb557f4f12c26f0b64b401", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "54ff678e562915a0d088ca21883d5e79e1bb70d024fb557f4f12c26f0b64b401", kill_on_drop: false }`
[INFO] [stdout] 54ff678e562915a0d088ca21883d5e79e1bb70d024fb557f4f12c26f0b64b401
