[INFO] cloning repository https://github.com/AryanGodara/rustly
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AryanGodara/rustly" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAryanGodara%2Frustly", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAryanGodara%2Frustly'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] db45fc8e470d26378e52b37e5c3609242b899cd4
[INFO] testing AryanGodara/rustly against 1.75.0 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAryanGodara%2Frustly" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/AryanGodara/rustly on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/AryanGodara/rustly
[INFO] finished tweaking git repo https://github.com/AryanGodara/rustly
[INFO] tweaked toml for git repo https://github.com/AryanGodara/rustly written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/AryanGodara/rustly 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" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded harsh v0.2.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1c2c6f53e5afc3f52c0f479c70464071f1afba42b934c249df162482cc593e78
[INFO] running `Command { std: "docker" "start" "-a" "1c2c6f53e5afc3f52c0f479c70464071f1afba42b934c249df162482cc593e78", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1c2c6f53e5afc3f52c0f479c70464071f1afba42b934c249df162482cc593e78", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1c2c6f53e5afc3f52c0f479c70464071f1afba42b934c249df162482cc593e78", kill_on_drop: false }`
[INFO] [stdout] 1c2c6f53e5afc3f52c0f479c70464071f1afba42b934c249df162482cc593e78
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1d076abefcf3b86430c0388bc44262e68041cff9935231a5edcf6abee3081962
[INFO] running `Command { std: "docker" "start" "-a" "1d076abefcf3b86430c0388bc44262e68041cff9935231a5edcf6abee3081962", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.69
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling libc v0.2.149
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling serde v1.0.190
[INFO] [stderr]    Compiling futures-channel v0.3.29
[INFO] [stderr]    Compiling futures-core v0.3.29
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]    Compiling itoa v1.0.9
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling yansi v1.0.0-rc.1
[INFO] [stderr]    Compiling memchr v2.6.4
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling futures-task v0.3.29
[INFO] [stderr]    Compiling futures-sink v0.3.29
[INFO] [stderr]    Compiling futures-util v0.3.29
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling http v0.2.9
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling try-lock v0.2.4
[INFO] [stderr]    Compiling futures-io v0.3.29
[INFO] [stderr]    Compiling time-macros v0.2.15
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling deranged v0.3.9
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling cookie v0.17.0
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling smallvec v1.11.1
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling ref-cast v1.0.20
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling inlinable_string v0.1.15
[INFO] [stderr]    Compiling uncased v0.9.9
[INFO] [stderr]    Compiling syn v2.0.38
[INFO] [stderr]    Compiling socket2 v0.5.5
[INFO] [stderr]    Compiling mio v0.8.9
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]    Compiling hashbrown v0.14.2
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling rustix v0.38.21
[INFO] [stderr]    Compiling percent-encoding v2.3.0
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling bitflags v2.4.1
[INFO] [stderr]    Compiling tokio v1.33.0
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling stable-pattern v0.1.0
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling winnow v0.5.17
[INFO] [stderr]    Compiling state v0.5.3
[INFO] [stderr]    Compiling linux-raw-sys v0.4.10
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling indexmap v2.0.2
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling multer v2.1.0
[INFO] [stderr]    Compiling figment v0.10.11
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling async-trait v0.1.74
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling encoding_rs v0.8.33
[INFO] [stderr]    Compiling rocket v0.5.0-rc.3
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling fastrand v2.0.1
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling time v0.3.30
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling futures v0.3.29
[INFO] [stderr]    Compiling binascii v0.1.4
[INFO] [stderr]    Compiling atomic v0.5.3
[INFO] [stderr]    Compiling cpufeatures v0.2.11
[INFO] [stderr]    Compiling yansi v0.5.1
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling harsh v0.2.2
[INFO] [stderr]    Compiling is-terminal v0.4.9
[INFO] [stderr]    Compiling tempfile v3.8.1
[INFO] [stderr]    Compiling hyper v0.14.27
[INFO] [stderr]    Compiling devise_core v0.4.1
[INFO] [stderr]    Compiling serde_derive v1.0.190
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling pear_codegen v0.2.7
[INFO] [stderr]    Compiling ref-cast-impl v1.0.20
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]    Compiling devise_codegen v0.4.1
[INFO] [stderr]    Compiling async-stream v0.3.5
[INFO] [stderr]    Compiling devise v0.4.1
[INFO] [stderr]    Compiling pear v0.2.7
[INFO] [stderr]    Compiling rocket_http v0.5.0-rc.3
[INFO] [stderr]    Compiling rocket_codegen v0.5.0-rc.3
[INFO] [stderr]    Compiling tokio-util v0.7.10
[INFO] [stderr]    Compiling tokio-stream v0.1.14
[INFO] [stderr]    Compiling toml_datetime v0.6.5
[INFO] [stderr]    Compiling serde_spanned v0.6.4
[INFO] [stderr]    Compiling ubyte v0.10.4
[INFO] [stderr]    Compiling toml_edit v0.20.7
[INFO] [stderr]    Compiling h2 v0.3.21
[INFO] [stderr]    Compiling toml v0.8.6
[INFO] [stderr]    Compiling rustly v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `&`
[INFO] [stdout]   --> src/main.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn lookup(state &AppState ,id: &str) -> Result<Redirect, &'static str> {
[INFO] [stdout]    |                 ^ expected one of `:`, `@`, or `|`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `&`
[INFO] [stdout]   --> src/main.rs:59:18
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn shorten(state &AppState,url_form: Form<Url>) -> Result<String, String> {
[INFO] [stdout]    |                  ^ expected one of `:`, `@`, or `|`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `:`
[INFO] [stdout]        = help: #[get] can only be used on functions
[INFO] [stdout]   --> src/main.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn lookup(state &AppState ,id: &str) -> Result<Redirect, &'static str> {
[INFO] [stdout]    |                 ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `:`
[INFO] [stdout]        = help: #[post] can only be used on functions
[INFO] [stdout]   --> src/main.rs:59:18
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn shorten(state &AppState,url_form: Form<Url>) -> Result<String, String> {
[INFO] [stdout]    |                  ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `lookup` in this scope
[INFO] [stdout]   --> src/main.rs:73:36
[INFO] [stdout]    |
[INFO] [stdout] 73 |         .mount("/", routes![index, lookup, shorten])
[INFO] [stdout]    |                                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `shorten` in this scope
[INFO] [stdout]   --> src/main.rs:73:44
[INFO] [stdout]    |
[INFO] [stdout] 73 |         .mount("/", routes![index, lookup, shorten])
[INFO] [stdout]    |                                            ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::State`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rocket::State;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::form::Form`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rocket::form::Form;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::response::Redirect`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rocket::response::Redirect;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC <https://rust-lang.github.io/rfcs/2145-type-privacy.html> for more information
[INFO] [stdout]   --> src/main.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | struct Url {
[INFO] [stdout]    | ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `from_request` do not match the trait declaration
[INFO] [stdout]   --> src/appstate.rs:31:20
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn from_request(request: &'a Request<'_>) -> Outcome<Self, Self::Error> {
[INFO] [stdout]    |                    ^ lifetimes do not match method in trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `State<AppState>: FromRequest<'_>` is not satisfied
[INFO] [stdout]   --> src/appstate.rs:32:29
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let state = request.guard::<State<AppState>>()?;
[INFO] [stdout]    |                             ^^^^^ the trait `FromRequest<'_>` is not implemented for `State<AppState>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromRequest<'_>` is implemented for `&State<_>`
[INFO] [stdout]    = help: for that trait implementation, expected `&State<_>`, found `State<AppState>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try`
[INFO] [stdout]   --> src/appstate.rs:32:21
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let state = request.guard::<State<AppState>>()?;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `Pin<Box<dyn std::future::Future<Output = Outcome<State<AppState>, (Status, _), ()>> + std::marker::Send>>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Try` is not implemented for `Pin<Box<dyn std::future::Future<Output = Outcome<State<AppState>, (Status, _), ()>> + std::marker::Send>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a method that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/appstate.rs:32:55
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn from_request(request: &'a Request<'_>) -> Outcome<Self, Self::Error> {
[INFO] [stdout]    |     ----------------------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 32 |         let state = request.guard::<State<AppState>>()?;
[INFO] [stdout]    |                                                       ^ cannot use the `?` operator in a method that returns `Outcome<&AppState, (Status, ()), ()>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `Outcome<&AppState, (Status, ()), ()>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:69:35
[INFO] [stdout]    |
[INFO] [stdout] 69 |     let app_state = AppState::new(repository);
[INFO] [stdout]    |                     ------------- ^^^^^^^^^^ expected `State<RwLock<Repository>>`, found `RwLock<Repository>`
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `State<std::sync::RwLock<_>>`
[INFO] [stdout]               found struct `std::sync::RwLock<_>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/appstate.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn new(repository: State<RwLock<Repository>>) -> Self {
[INFO] [stdout]    |            ^^^ -------------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/appstate.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0195, E0277, E0308, E0422.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0195`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustly` (bin "rustly") due to 12 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "1d076abefcf3b86430c0388bc44262e68041cff9935231a5edcf6abee3081962", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1d076abefcf3b86430c0388bc44262e68041cff9935231a5edcf6abee3081962", kill_on_drop: false }`
[INFO] [stdout] 1d076abefcf3b86430c0388bc44262e68041cff9935231a5edcf6abee3081962
