[INFO] cloning repository https://github.com/DaoHuyTuan/rust-api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DaoHuyTuan/rust-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaoHuyTuan%2Frust-api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaoHuyTuan%2Frust-api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b01d9c97d858ffd18e479711a927e1697eeb6002
[INFO] checking DaoHuyTuan/rust-api against try#438eb4c1a1c3841523d7f672601e8adbe04cff28 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaoHuyTuan%2Frust-api" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/DaoHuyTuan/rust-api
[INFO] finished tweaking git repo https://github.com/DaoHuyTuan/rust-api
[INFO] tweaked toml for git repo https://github.com/DaoHuyTuan/rust-api written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/DaoHuyTuan/rust-api on toolchain 438eb4c1a1c3841523d7f672601e8adbe04cff28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/DaoHuyTuan/rust-api 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" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cde9bbe0702af01dd02b257effae72fc6097a92e69fa1acda42aa77f348e8fe1
[INFO] running `Command { std: "docker" "start" "-a" "cde9bbe0702af01dd02b257effae72fc6097a92e69fa1acda42aa77f348e8fe1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cde9bbe0702af01dd02b257effae72fc6097a92e69fa1acda42aa77f348e8fe1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cde9bbe0702af01dd02b257effae72fc6097a92e69fa1acda42aa77f348e8fe1", kill_on_drop: false }`
[INFO] [stdout] cde9bbe0702af01dd02b257effae72fc6097a92e69fa1acda42aa77f348e8fe1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0cde92014862c43ccb79a5d10cd8fc73491aca7fc2404c0bb5e0cf72190f1a7f
[INFO] running `Command { std: "docker" "start" "-a" "0cde92014862c43ccb79a5d10cd8fc73491aca7fc2404c0bb5e0cf72190f1a7f", kill_on_drop: false }`
[INFO] [stderr]     Checking rust-api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: missing parameters for function definition
[INFO] [stdout]   --> src/models/user.rs:15:37
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn assign_permission_to_role
[INFO] [stdout]    |                                     ^
[INFO] [stdout]    |
[INFO] [stdout] help: add a parameter list
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn assign_permission_to_role()
[INFO] [stdout]    |                                     ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `->`, `<`, `where`, or `{`, found `}`
[INFO] [stdout]   --> src/models/user.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn assign_permission_to_role
[INFO] [stdout]    |            -------------------------- expected one of `->`, `<`, `where`, or `{`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            while parsing this `fn`
[INFO] [stdout] 16 | }
[INFO] [stdout]    | ^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: associated function in `impl` without body
[INFO] [stdout]   --> src/models/user.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn assign_permission_to_role
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::services::user_service::UserServices`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::services::user_service::UserServices;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: missing parameters for function definition
[INFO] [stdout]   --> src/models/user.rs:15:37
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn assign_permission_to_role
[INFO] [stdout]    |                                     ^
[INFO] [stdout]    |
[INFO] [stdout] help: add a parameter list
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn assign_permission_to_role()
[INFO] [stdout]    |                                     ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `->`, `<`, `where`, or `{`, found `}`
[INFO] [stdout]   --> src/models/user.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn assign_permission_to_role
[INFO] [stdout]    |            -------------------------- expected one of `->`, `<`, `where`, or `{`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            while parsing this `fn`
[INFO] [stdout] 16 | }
[INFO] [stdout]    | ^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: associated function in `impl` without body
[INFO] [stdout]   --> src/models/user.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn assign_permission_to_role
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::services::user_service::UserServices`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::services::user_service::UserServices;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `org`
[INFO] [stdout]   --> src/models/organazition.rs:14:15
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn create(org: Organization) {}
[INFO] [stdout]    |               ^^^ help: if this is intentional, prefix it with an underscore: `_org`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/models/organazition.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn edit(id: String, org: Organization) {}
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `org`
[INFO] [stdout]   --> src/models/organazition.rs:15:25
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn edit(id: String, org: Organization) {}
[INFO] [stdout]    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_org`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/models/organazition.rs:16:15
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn delete(id: String) {}
[INFO] [stdout]    |               ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `toggle`
[INFO] [stdout]  --> src/models/permission.rs:9:27
[INFO] [stdout]   |
[INFO] [stdout] 9 |     fn toggle_super_admin(toggle: bool) -> bool {
[INFO] [stdout]   |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_toggle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `toggle`
[INFO] [stdout]   --> src/models/permission.rs:12:27
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn toggle_create_role(toggle: bool) -> bool {
[INFO] [stdout]    |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_toggle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `toggle`
[INFO] [stdout]   --> src/models/permission.rs:15:25
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn toggle_edit_role(toggle: bool) -> bool {
[INFO] [stdout]    |                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_toggle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `toggle`
[INFO] [stdout]   --> src/models/permission.rs:18:25
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn toggle_edit_user(toggle: bool) -> bool {
[INFO] [stdout]    |                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_toggle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `role`
[INFO] [stdout]   --> src/models/role.rs:11:19
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn create(role: Role) {}
[INFO] [stdout]    |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_role`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `role`
[INFO] [stdout]   --> src/models/role.rs:12:17
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn edit(role: Role) {}
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_role`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `role`
[INFO] [stdout]   --> src/models/role.rs:13:19
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn delete(role: Role) {}
[INFO] [stdout]    |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_role`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout]   --> src/models/user.rs:11:19
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn create(user: User) {}
[INFO] [stdout]    |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout]   --> src/models/user.rs:12:17
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn edit(user: User) {}
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/models/user.rs:13:19
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn delete(id: String) {}
[INFO] [stdout]    |                   ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_id`
[INFO] [stdout]   --> src/models/user.rs:14:32
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn assign_role_to_user(user_id: String, role_id: String) {}
[INFO] [stdout]    |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `role_id`
[INFO] [stdout]   --> src/models/user.rs:14:49
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn assign_role_to_user(user_id: String, role_id: String) {}
[INFO] [stdout]    |                                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_role_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_id`
[INFO] [stdout]  --> src/services/user_service.rs:6:27
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub fn get_user_by_id(user_id: String) {}
[INFO] [stdout]   |                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `org_id`
[INFO] [stdout]  --> src/services/user_service.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub fn get_all_users(org_id: String) {}
[INFO] [stdout]   |                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_org_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `user`
[INFO] [stdout]   --> src/main.rs:52:30
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let user = User {
[INFO] [stdout]    |         ---- move occurs because `user` has type `User`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 48 |         employee: vec![user],
[INFO] [stdout]    |                        ---- value moved here
[INFO] [stdout] ...
[INFO] [stdout] 52 |     println!("Roles: {:#?}", user);
[INFO] [stdout]    |                              ^^^^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 48 |         employee: vec![user.clone()],
[INFO] [stdout]    |                            ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `google`
[INFO] [stdout]   --> src/main.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let google: Organization = Organization {
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_google`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-api` (bin "rust-api") due to 4 previous errors; 20 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `org`
[INFO] [stdout]   --> src/models/organazition.rs:14:15
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn create(org: Organization) {}
[INFO] [stdout]    |               ^^^ help: if this is intentional, prefix it with an underscore: `_org`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/models/organazition.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn edit(id: String, org: Organization) {}
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `org`
[INFO] [stdout]   --> src/models/organazition.rs:15:25
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn edit(id: String, org: Organization) {}
[INFO] [stdout]    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_org`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/models/organazition.rs:16:15
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn delete(id: String) {}
[INFO] [stdout]    |               ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `toggle`
[INFO] [stdout]  --> src/models/permission.rs:9:27
[INFO] [stdout]   |
[INFO] [stdout] 9 |     fn toggle_super_admin(toggle: bool) -> bool {
[INFO] [stdout]   |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_toggle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-api` (bin "rust-api" test) due to 4 previous errors; 20 warnings emitted
[INFO] [stdout] warning: unused variable: `toggle`
[INFO] [stdout]   --> src/models/permission.rs:12:27
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn toggle_create_role(toggle: bool) -> bool {
[INFO] [stdout]    |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_toggle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `toggle`
[INFO] [stdout]   --> src/models/permission.rs:15:25
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn toggle_edit_role(toggle: bool) -> bool {
[INFO] [stdout]    |                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_toggle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `toggle`
[INFO] [stdout]   --> src/models/permission.rs:18:25
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn toggle_edit_user(toggle: bool) -> bool {
[INFO] [stdout]    |                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_toggle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `role`
[INFO] [stdout]   --> src/models/role.rs:11:19
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn create(role: Role) {}
[INFO] [stdout]    |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_role`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `role`
[INFO] [stdout]   --> src/models/role.rs:12:17
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn edit(role: Role) {}
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_role`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `role`
[INFO] [stdout]   --> src/models/role.rs:13:19
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn delete(role: Role) {}
[INFO] [stdout]    |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_role`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout]   --> src/models/user.rs:11:19
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn create(user: User) {}
[INFO] [stdout]    |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout]   --> src/models/user.rs:12:17
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn edit(user: User) {}
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/models/user.rs:13:19
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn delete(id: String) {}
[INFO] [stdout]    |                   ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_id`
[INFO] [stdout]   --> src/models/user.rs:14:32
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn assign_role_to_user(user_id: String, role_id: String) {}
[INFO] [stdout]    |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `role_id`
[INFO] [stdout]   --> src/models/user.rs:14:49
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn assign_role_to_user(user_id: String, role_id: String) {}
[INFO] [stdout]    |                                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_role_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_id`
[INFO] [stdout]  --> src/services/user_service.rs:6:27
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub fn get_user_by_id(user_id: String) {}
[INFO] [stdout]   |                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `org_id`
[INFO] [stdout]  --> src/services/user_service.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub fn get_all_users(org_id: String) {}
[INFO] [stdout]   |                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_org_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `user`
[INFO] [stdout]   --> src/main.rs:52:30
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let user = User {
[INFO] [stdout]    |         ---- move occurs because `user` has type `User`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 48 |         employee: vec![user],
[INFO] [stdout]    |                        ---- value moved here
[INFO] [stdout] ...
[INFO] [stdout] 52 |     println!("Roles: {:#?}", user);
[INFO] [stdout]    |                              ^^^^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 48 |         employee: vec![user.clone()],
[INFO] [stdout]    |                            ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `google`
[INFO] [stdout]   --> src/main.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let google: Organization = Organization {
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_google`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "0cde92014862c43ccb79a5d10cd8fc73491aca7fc2404c0bb5e0cf72190f1a7f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0cde92014862c43ccb79a5d10cd8fc73491aca7fc2404c0bb5e0cf72190f1a7f", kill_on_drop: false }`
[INFO] [stdout] 0cde92014862c43ccb79a5d10cd8fc73491aca7fc2404c0bb5e0cf72190f1a7f
