[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 try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhakomori64%2Fdrbac" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 96% (1038/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 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "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-3-tc2/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" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"` [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e957f2d37fd2b4ac3998b360c4f387a14bfffb0045f3dbede6249b039e461a78 [INFO] running `Command { std: "docker" "start" "-a" "e957f2d37fd2b4ac3998b360c4f387a14bfffb0045f3dbede6249b039e461a78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e957f2d37fd2b4ac3998b360c4f387a14bfffb0045f3dbede6249b039e461a78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e957f2d37fd2b4ac3998b360c4f387a14bfffb0045f3dbede6249b039e461a78", kill_on_drop: false }` [INFO] [stdout] e957f2d37fd2b4ac3998b360c4f387a14bfffb0045f3dbede6249b039e461a78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6a7829b466ceb17a62d7aba753e21f01401f2b9c6723dfecbecf1e6f7fa84fe [INFO] running `Command { std: "docker" "start" "-a" "b6a7829b466ceb17a62d7aba753e21f01401f2b9c6723dfecbecf1e6f7fa84fe", kill_on_drop: false }` [INFO] [stderr] warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"` [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] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling names v0.12.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking signature v1.3.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking ed25519 v1.2.0 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking shell v0.1.0 (/opt/rustwide/workdir/shell) [INFO] [stderr] Compiling load-dotenv v0.1.2 [INFO] [stderr] Compiling libsqlite3-sys v0.9.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking getrandom v0.1.16 [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 rand_core v0.5.1 [INFO] [stderr] Checking command-run v1.0.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking docker-command v1.0.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking aead v0.4.3 [INFO] [stderr] Checking rand v0.7.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 polyval v0.5.3 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking ghash v0.4.4 [INFO] [stderr] Checking aes-gcm v0.9.4 [INFO] [stderr] Checking tempfile v3.2.0 [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 serde_derive v1.0.130 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling strum_macros v0.22.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking zeroize v1.4.1 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking x25519-dalek v1.1.1 [INFO] [stderr] Checking strum v0.22.0 [INFO] [stderr] Checking serde v1.0.130 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking handlebars v3.5.5 [INFO] [stderr] Checking 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] error: 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] | ^^^^^^^^ unnecessary method 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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method 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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method 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] error: 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] | ^^^^^^^^ unnecessary method 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] error: 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] | ^^^^^^^^ unnecessary method 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] error: 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] | ^^^^^^^^ unnecessary method 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] error: 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] | ^^^^^^^^ unnecessary method 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] error: 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] | ^^^^^^^^ unnecessary method 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] error: 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] | ^^^^^^^^ unnecessary method 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:67:105 [INFO] [stdout] | [INFO] [stdout] 67 | ...e(), role_name.clone(), role_name.clone()); [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:67:124 [INFO] [stdout] | [INFO] [stdout] 67 | ...e(), role_name.clone()); [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: 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] | ^^^^^^^^ unnecessary method 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] error: 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] | ^^^^^^^^ unnecessary method 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] error: 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] | ^^^^^^^^ unnecessary method 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] error: 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] | ^^^^^^^^ unnecessary method 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] error: 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] | ^^^^^^^^ unnecessary method 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] error: 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] | ^^^^^^^^ unnecessary method 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] error: 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] | ^^^^^^^^ unnecessary method 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] error: 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] | ^^^^^^^^ unnecessary method 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] error: 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] | ^^^^^^^^ unnecessary method 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:67:105 [INFO] [stdout] | [INFO] [stdout] 67 | ...e(), role_name.clone(), role_name.clone()); [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:67:124 [INFO] [stdout] | [INFO] [stdout] 67 | ...e(), role_name.clone()); [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: 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] | ^^^^^^^^ unnecessary method 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] error: 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] | ^^^^^^^^ unnecessary method 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] error: aborting due to 12 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `common` (lib) due to 13 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `common` (lib test) due to 13 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b6a7829b466ceb17a62d7aba753e21f01401f2b9c6723dfecbecf1e6f7fa84fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6a7829b466ceb17a62d7aba753e21f01401f2b9c6723dfecbecf1e6f7fa84fe", kill_on_drop: false }` [INFO] [stdout] b6a7829b466ceb17a62d7aba753e21f01401f2b9c6723dfecbecf1e6f7fa84fe