[INFO] cloning repository https://github.com/abhishek98754/rust-fb
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/abhishek98754/rust-fb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabhishek98754%2Frust-fb"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabhishek98754%2Frust-fb'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 6ae79906c8828bea233b239ae2abc81a68b33a36
[INFO] testing abhishek98754/rust-fb against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabhishek98754%2Frust-fb" "/workspace/builds/worker-1-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/abhishek98754/rust-fb
[INFO] finished tweaking git repo https://github.com/abhishek98754/rust-fb
[INFO] tweaked toml for git repo https://github.com/abhishek98754/rust-fb written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/abhishek98754/rust-fb on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/abhishek98754/rust-fb already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 97831eeefbcf5fb412eb5f93440aff68653e926db4099cf4a95ef76ad4869d3b
[INFO] running `"docker" "start" "97831eeefbcf5fb412eb5f93440aff68653e926db4099cf4a95ef76ad4869d3b"`
[INFO] running `"docker" "inspect" "97831eeefbcf5fb412eb5f93440aff68653e926db4099cf4a95ef76ad4869d3b"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "97831eeefbcf5fb412eb5f93440aff68653e926db4099cf4a95ef76ad4869d3b" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "97831eeefbcf5fb412eb5f93440aff68653e926db4099cf4a95ef76ad4869d3b"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "97831eeefbcf5fb412eb5f93440aff68653e926db4099cf4a95ef76ad4869d3b" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling cc v1.0.105
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling bytes v1.6.0
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling syn v2.0.69
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling httparse v1.9.4
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling serde v1.0.204
[INFO] [stderr]    Compiling tinyvec v1.7.0
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling serde_json v1.0.120
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling encoding_rs v0.8.34
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling ipnet v2.9.0
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling tokio-macros v2.3.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.204
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling tokio v1.38.0
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling pin-project v1.1.5
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-io-timeout v1.2.0
[INFO] [stderr]    Compiling sct v0.6.1
[INFO] [stderr]    Compiling webpki v0.21.4
[INFO] [stderr]    Compiling ct-logs v0.8.0
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling rustls v0.19.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling tokio-rustls v0.22.0
[INFO] [stderr]    Compiling rustls-native-certs v0.5.0
[INFO] [stderr]    Compiling hyper v0.14.29
[INFO] [stderr]    Compiling hyper-rustls v0.22.1
[INFO] [stderr]    Compiling hyper-timeout v0.4.1
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling eventsource-client v0.10.2
[INFO] [stderr]    Compiling firebase-rs v2.1.2
[INFO] [stderr]    Compiling rust-fb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0428]: the name `get_user` is defined multiple times
[INFO] [stdout]   --> src/main.rs:58:1
[INFO] [stdout]    |
[INFO] [stdout] 50 | async fn get_user(firebase_client: &Firebase) -> HashMap<String, User>{
[INFO] [stdout]    | ---------------------------------------------------------------------- previous definition of the value `get_user` here
[INFO] [stdout] ...
[INFO] [stdout] 58 | async fn get_user(firebase_client: &Firebase, id: &String) -> User{
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `get_user` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `get_user` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `_user` in this scope
[INFO] [stdout]   --> src/main.rs:66:28
[INFO] [stdout]    |
[INFO] [stdout] 66 |     return string_to_user(&_user.unwrap().data);
[INFO] [stdout]    |                            ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 66 -     return string_to_user(&_user.unwrap().data);
[INFO] [stdout] 66 +     return string_to_user(&user.unwrap().data);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:71:29
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let result = firebase = firebase.delete().await;
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^ expected `Firebase`, found `Result<Response, RequestError>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `firebase_rs::Firebase`
[INFO] [stdout]                 found enum `Result<firebase_rs::constants::Response, RequestError>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [stdout]   --> src/main.rs:30:20
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let mut user = get_user(&firebase, &response.name).await;
[INFO] [stdout]    |                    ^^^^^^^^            -------------- unexpected argument #2 of type `&std::string::String`
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/main.rs:50:10
[INFO] [stdout]    |
[INFO] [stdout] 50 | async fn get_user(firebase_client: &Firebase) -> HashMap<String, User>{
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] 30 -     let mut user = get_user(&firebase, &response.name).await;
[INFO] [stdout] 30 +     let mut user = get_user(&firebase).await;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_users` in this scope
[INFO] [stdout]   --> src/main.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let users = get_users(&firebase).await;
[INFO] [stdout]    |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] note: similarly named function `get_user` defined here
[INFO] [stdout]   --> src/main.rs:50:1
[INFO] [stdout]    |
[INFO] [stdout] 50 | async fn get_user(firebase_client: &Firebase) -> HashMap<String, User>{
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 33 -     let users = get_users(&firebase).await;
[INFO] [stdout] 33 +     let users = get_user(&firebase).await;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `email` on type `HashMap<std::string::String, User>`
[INFO] [stdout]   --> src/main.rs:36:10
[INFO] [stdout]    |
[INFO] [stdout] 36 |     user.email = "updated.mail@gmail.com".to_string();
[INFO] [stdout]    |          ^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:37:63
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let updated_user = update_user(&firebase, &response.name, &user).await;
[INFO] [stdout]    |                        -----------                            ^^^^^ expected `&User`, found `&HashMap<String, User>`
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&User`
[INFO] [stdout]               found reference `&HashMap<std::string::String, User>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/main.rs:63:10
[INFO] [stdout]    |
[INFO] [stdout] 63 | async fn update_user(firebase_client: &Firebase, id: &String, user: &User) -> User{
[INFO] [stdout]    |          ^^^^^^^^^^^                                          -----------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0425, E0428, E0609.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-fb` (bin "rust-fb") due to 7 previous errors
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] running `"docker" "inspect" "97831eeefbcf5fb412eb5f93440aff68653e926db4099cf4a95ef76ad4869d3b"`
[INFO] running `"docker" "rm" "-f" "97831eeefbcf5fb412eb5f93440aff68653e926db4099cf4a95ef76ad4869d3b"`
[INFO] [stdout] 97831eeefbcf5fb412eb5f93440aff68653e926db4099cf4a95ef76ad4869d3b
