[INFO] cloning repository https://github.com/hakomori64/drbac
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hakomori64/drbac" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhakomori64%2Fdrbac", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhakomori64%2Fdrbac'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0d0eba5d89d153569ab7f30912d459b2a2dff3b5
[INFO] checking hakomori64/drbac against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhakomori64%2Fdrbac" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  91% (980/1074)
Updating files:  92% (989/1074)
Updating files:  93% (999/1074)
Updating files:  94% (1010/1074)
Updating files:  95% (1021/1074)
Updating files:  96% (1032/1074)
Updating files:  97% (1042/1074)
Updating files:  98% (1053/1074)
Updating files:  99% (1064/1074)
Updating files: 100% (1074/1074)
Updating files: 100% (1074/1074), done.
[INFO] validating manifest of git repo https://github.com/hakomori64/drbac on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/hakomori64/drbac
[INFO] finished tweaking git repo https://github.com/hakomori64/drbac
[INFO] tweaked toml for git repo https://github.com/hakomori64/drbac written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/hakomori64/drbac 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libmount v0.1.15
[INFO] [stderr]   Downloaded load-dotenv v0.1.2
[INFO] [stderr]   Downloaded libsqlite3-sys v0.9.3
[INFO] [stderr]   Downloaded docker-command v1.0.1
[INFO] [stderr]   Downloaded command-run v1.0.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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ed92cfe9955df3dab942236234472e6be1763d57c091e82d7779470476265487
[INFO] running `Command { std: "docker" "start" "-a" "ed92cfe9955df3dab942236234472e6be1763d57c091e82d7779470476265487", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ed92cfe9955df3dab942236234472e6be1763d57c091e82d7779470476265487", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed92cfe9955df3dab942236234472e6be1763d57c091e82d7779470476265487", kill_on_drop: false }`
[INFO] [stdout] ed92cfe9955df3dab942236234472e6be1763d57c091e82d7779470476265487
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4c7041114099d08f381e5279574f0c9162c0f77777ab4742873fc941c42033c4
[INFO] running `Command { std: "docker" "start" "-a" "4c7041114099d08f381e5279574f0c9162c0f77777ab4742873fc941c42033c4", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling proc-macro2 v1.0.29
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.76
[INFO] [stderr]    Compiling libc v0.2.109
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling typenum v1.14.0
[INFO] [stderr]    Compiling pkg-config v0.3.20
[INFO] [stderr]    Compiling cc v1.0.70
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling serde_derive v1.0.130
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling anyhow v1.0.43
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking cpufeatures v0.2.1
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling ucd-trie v0.1.3
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling maplit v1.0.2
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling pest v2.1.3
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling unicode-segmentation v1.8.0
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]    Compiling serde_json v1.0.68
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]     Checking signature v1.3.1
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]    Compiling names v0.12.0
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking ed25519 v1.2.0
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]     Checking once_cell v1.8.0
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking base64 v0.13.0
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]     Checking quick-error v2.0.1
[INFO] [stderr]     Checking shell v0.1.0 (/opt/rustwide/workdir/shell)
[INFO] [stderr]    Compiling pest_meta v2.1.3
[INFO] [stderr]    Compiling libsqlite3-sys v0.9.3
[INFO] [stderr]    Compiling load-dotenv v0.1.2
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]     Checking users v0.11.0
[INFO] [stderr]     Checking nix v0.23.0
[INFO] [stderr]     Checking os_pipe v0.9.2
[INFO] [stderr]     Checking command-run v1.0.2
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking docker-command v1.0.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking universal-hash v0.4.1
[INFO] [stderr]     Checking cipher v0.3.0
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking aead v0.4.3
[INFO] [stderr]     Checking polyval v0.5.3
[INFO] [stderr]     Checking sha2 v0.9.8
[INFO] [stderr]     Checking ctr v0.8.0
[INFO] [stderr]     Checking aes v0.7.5
[INFO] [stderr]     Checking ghash v0.4.4
[INFO] [stderr]     Checking regex v1.5.4
[INFO] [stderr]     Checking aes-gcm v0.9.4
[INFO] [stderr]     Checking tempfile v3.2.0
[INFO] [stderr]     Checking pem v0.8.3
[INFO] [stderr]     Checking libmount v0.1.15
[INFO] [stderr]    Compiling synstructure v0.12.5
[INFO] [stderr]    Compiling pest_generator v2.1.3
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]    Compiling zeroize_derive v1.1.0
[INFO] [stderr]    Compiling pest_derive v2.1.0
[INFO] [stderr]    Compiling strum_macros v0.22.0
[INFO] [stderr]     Checking zeroize v1.4.1
[INFO] [stderr]     Checking curve25519-dalek v3.2.0
[INFO] [stderr]     Checking strum v0.22.0
[INFO] [stderr]     Checking x25519-dalek v1.1.1
[INFO] [stderr]     Checking uuid v0.8.2
[INFO] [stderr]     Checking ed25519-dalek v1.0.1
[INFO] [stderr]     Checking handlebars v3.5.5
[INFO] [stderr]    Compiling diesel v1.4.8
[INFO] [stderr]     Checking migrations_internals v1.4.1
[INFO] [stderr]    Compiling migrations_macros v1.4.2
[INFO] [stderr]     Checking diesel_migrations v1.4.0
[INFO] [stderr]     Checking common v0.2.0 (/opt/rustwide/workdir/common)
[INFO] [stdout] warning: unused import: `std::os::unix::process::CommandExt`
[INFO] [stdout]   --> common/src/jail.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::os::unix::process::CommandExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `get_user_by_name`
[INFO] [stdout]   --> common/src/jail.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     get_user_by_name,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::unix::process::CommandExt`
[INFO] [stdout]   --> common/src/jail.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::os::unix::process::CommandExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `get_user_by_name`
[INFO] [stdout]   --> common/src/jail.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     get_user_by_name,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> common/src/policy.rs:27:37
[INFO] [stdout]    |
[INFO] [stdout] 27 |     mp.insert("role_name", role_name.clone());
[INFO] [stdout]    |                                     ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> common/src/policy.rs:31:68
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let mut file = File::create(format!("roles/{}/{}.te", role_name.clone(), role_name.clone()))?;
[INFO] [stdout]    |                                                                    ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> common/src/policy.rs:31:87
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let mut file = File::create(format!("roles/{}/{}.te", role_name.clone(), role_name.clone()))?;
[INFO] [stdout]    |                                                                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> common/src/policy.rs:45:68
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let mut file = File::create(format!("roles/{}/{}.fc", role_name.clone(), role_name.clone()))?;
[INFO] [stdout]    |                                                                    ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> common/src/policy.rs:45:87
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let mut file = File::create(format!("roles/{}/{}.fc", role_name.clone(), role_name.clone()))?;
[INFO] [stdout]    |                                                                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> common/src/policy.rs:51:72
[INFO] [stdout]    |
[INFO] [stdout] 51 |     std::fs::copy("roles/base_binary", format!("roles/{}/{}", role_name.clone(), role_name.clone()))?;
[INFO] [stdout]    |                                                                        ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> common/src/policy.rs:51:91
[INFO] [stdout]    |
[INFO] [stdout] 51 |     std::fs::copy("roles/base_binary", format!("roles/{}/{}", role_name.clone(), role_name.clone()))?;
[INFO] [stdout]    |                                                                                           ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> common/src/policy.rs:67:86
[INFO] [stdout]    |
[INFO] [stdout] 67 | ...role_name.clone(), role_name.clone(), role_name.clone());
[INFO] [stdout]    |             ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> common/src/policy.rs:67:105
[INFO] [stdout]    |
[INFO] [stdout] 67 | ...role_name.clone(), role_name.clone());
[INFO] [stdout]    |             ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> common/src/policy.rs:67:124
[INFO] [stdout]    |
[INFO] [stdout] 67 | ...role_name.clone());
[INFO] [stdout]    |             ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> common/src/policy.rs:68:57
[INFO] [stdout]    |
[INFO] [stdout] 68 |     println!("cd {}/roles/{}", path.display(), role_name.clone());
[INFO] [stdout]    |                                                         ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> common/src/policy.rs:71:44
[INFO] [stdout]    |
[INFO] [stdout] 71 |     println!("semodule -i {}.pp", role_name.clone());
[INFO] [stdout]    |                                            ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> common/src/policy.rs:27:37
[INFO] [stdout]    |
[INFO] [stdout] 27 |     mp.insert("role_name", role_name.clone());
[INFO] [stdout]    |                                     ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> common/src/policy.rs:31:68
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let mut file = File::create(format!("roles/{}/{}.te", role_name.clone(), role_name.clone()))?;
[INFO] [stdout]    |                                                                    ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> common/src/policy.rs:31:87
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let mut file = File::create(format!("roles/{}/{}.te", role_name.clone(), role_name.clone()))?;
[INFO] [stdout]    |                                                                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> common/src/policy.rs:45:68
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let mut file = File::create(format!("roles/{}/{}.fc", role_name.clone(), role_name.clone()))?;
[INFO] [stdout]    |                                                                    ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> common/src/policy.rs:45:87
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let mut file = File::create(format!("roles/{}/{}.fc", role_name.clone(), role_name.clone()))?;
[INFO] [stdout]    |                                                                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> common/src/policy.rs:51:72
[INFO] [stdout]    |
[INFO] [stdout] 51 |     std::fs::copy("roles/base_binary", format!("roles/{}/{}", role_name.clone(), role_name.clone()))?;
[INFO] [stdout]    |                                                                        ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> common/src/policy.rs:51:91
[INFO] [stdout]    |
[INFO] [stdout] 51 |     std::fs::copy("roles/base_binary", format!("roles/{}/{}", role_name.clone(), role_name.clone()))?;
[INFO] [stdout]    |                                                                                           ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> common/src/policy.rs:67:86
[INFO] [stdout]    |
[INFO] [stdout] 67 | ...role_name.clone(), role_name.clone(), role_name.clone());
[INFO] [stdout]    |             ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> common/src/policy.rs:67:105
[INFO] [stdout]    |
[INFO] [stdout] 67 | ...role_name.clone(), role_name.clone());
[INFO] [stdout]    |             ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> common/src/policy.rs:67:124
[INFO] [stdout]    |
[INFO] [stdout] 67 | ...role_name.clone());
[INFO] [stdout]    |             ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> common/src/policy.rs:68:57
[INFO] [stdout]    |
[INFO] [stdout] 68 |     println!("cd {}/roles/{}", path.display(), role_name.clone());
[INFO] [stdout]    |                                                         ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> common/src/policy.rs:71:44
[INFO] [stdout]    |
[INFO] [stdout] 71 |     println!("semodule -i {}.pp", role_name.clone());
[INFO] [stdout]    |                                            ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking ca v0.1.0 (/opt/rustwide/workdir/ca)
[INFO] [stderr]     Checking entity v0.1.0 (/opt/rustwide/workdir/entity)
[INFO] [stderr]     Checking central v0.1.0 (/opt/rustwide/workdir/central)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 24.55s
[INFO] running `Command { std: "docker" "inspect" "4c7041114099d08f381e5279574f0c9162c0f77777ab4742873fc941c42033c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4c7041114099d08f381e5279574f0c9162c0f77777ab4742873fc941c42033c4", kill_on_drop: false }`
[INFO] [stdout] 4c7041114099d08f381e5279574f0c9162c0f77777ab4742873fc941c42033c4
