[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 try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkvinwang%2Frocket-apitoken" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kvinwang/rocket-apitoken on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fb8b699d4d00b5d17018413a7fcb0bbde872750a262ee5dabd86ace4372ea08d
[INFO] running `Command { std: "docker" "start" "-a" "fb8b699d4d00b5d17018413a7fcb0bbde872750a262ee5dabd86ace4372ea08d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fb8b699d4d00b5d17018413a7fcb0bbde872750a262ee5dabd86ace4372ea08d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fb8b699d4d00b5d17018413a7fcb0bbde872750a262ee5dabd86ace4372ea08d", kill_on_drop: false }`
[INFO] [stdout] fb8b699d4d00b5d17018413a7fcb0bbde872750a262ee5dabd86ace4372ea08d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 9e9b2b940b7de6664282b11438b318364d30f0e5297b22b93de1af904e55d541
[INFO] running `Command { std: "docker" "start" "-a" "9e9b2b940b7de6664282b11438b318364d30f0e5297b22b93de1af904e55d541", 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 bytes v1.9.0
[INFO] [stderr]    Compiling serde v1.0.215
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling inlinable_string v0.1.15
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling futures-core v0.3.31
[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 tracing-core v0.1.33
[INFO] [stderr]    Compiling ref-cast v1.0.23
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling uncased v0.9.10
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling stable-pattern v0.1.0
[INFO] [stderr]    Compiling rustix v0.38.41
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling winnow v0.6.20
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling state v0.6.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 is-terminal v0.4.13
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling indexmap v2.7.0
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling tokio v1.41.1
[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 syn v2.0.90
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling rocket v0.5.1
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling fastrand v2.2.0
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling atomic v0.5.3
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling tempfile v3.14.0
[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 async-trait v0.1.83
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling pear v0.2.9
[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 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 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 h2 v0.3.26
[INFO] [stderr]    Compiling toml_edit v0.22.22
[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 55.28s
[INFO] running `Command { std: "docker" "inspect" "9e9b2b940b7de6664282b11438b318364d30f0e5297b22b93de1af904e55d541", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9e9b2b940b7de6664282b11438b318364d30f0e5297b22b93de1af904e55d541", kill_on_drop: false }`
[INFO] [stdout] 9e9b2b940b7de6664282b11438b318364d30f0e5297b22b93de1af904e55d541
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] d859f73af2d20459c3e3c3198be45bccaf85fe4632c39a6f540d442e68f35d11
[INFO] running `Command { std: "docker" "start" "-a" "d859f73af2d20459c3e3c3198be45bccaf85fe4632c39a6f540d442e68f35d11", 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.65s
[INFO] running `Command { std: "docker" "inspect" "d859f73af2d20459c3e3c3198be45bccaf85fe4632c39a6f540d442e68f35d11", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d859f73af2d20459c3e3c3198be45bccaf85fe4632c39a6f540d442e68f35d11", kill_on_drop: false }`
[INFO] [stdout] d859f73af2d20459c3e3c3198be45bccaf85fe4632c39a6f540d442e68f35d11
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] ee64bd56effb92d2fa87ddcfc07831d2ee3842c678cc45825c7cd8a85cf220a9
[INFO] running `Command { std: "docker" "start" "-a" "ee64bd56effb92d2fa87ddcfc07831d2ee3842c678cc45825c7cd8a85cf220a9", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/rocket-apitoken/7660d47e597c195f/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.13s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "ee64bd56effb92d2fa87ddcfc07831d2ee3842c678cc45825c7cd8a85cf220a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee64bd56effb92d2fa87ddcfc07831d2ee3842c678cc45825c7cd8a85cf220a9", kill_on_drop: false }`
[INFO] [stdout] ee64bd56effb92d2fa87ddcfc07831d2ee3842c678cc45825c7cd8a85cf220a9
